From c67f833a0987f20ea77291d1caaf148487f22349 Mon Sep 17 00:00:00 2001
From: Olling <48805670+Ollie-nl@users.noreply.github.com>
Date: Mon, 23 Dec 2024 23:41:54 +0100
Subject: [PATCH] Development (#2)
* feat: random slide button in footer
* fix: added pnpm install on runner
* docs: all slugs added
* docs: more content
* fix: prettier
* Update slides-2024-04.json
---
.github/workflows/deploy.yml | 90 +-
ARCHITECTURE.md | 1 -
README.md | 7 +-
docs/asset-manifest.json | 3 +-
docs/data/available-months.json | 11 +-
docs/index.html | 19 +-
docs/static/css/main.2a9063d3.css | 208 +
docs/static/js/main.d6e15f43.js | 19660 ++++++++++++++++++++++++-
package.json | 2 +-
public/data/available-months.json | 5 +-
public/data/slides-2024-02.json | 18 +-
public/data/slides-2024-03.json | 84 +-
public/data/slides-2024-04.json | 65 +
public/data/slides-2024-05.json | 107 +
public/data/slides-2024-06.json | 58 +
public/data/slides-2024-08.json | 15 +-
public/data/slides-2024-09.json | 50 +-
public/data/slides-2024-10.json | 130 +-
public/data/slides-2024-12.json | 21 +-
public/images/1701.png | Bin 0 -> 403379 bytes
public/images/kuifje-outfit.png | Bin 0 -> 678088 bytes
public/images/lego-nlds.png | Bin 0 -> 2706465 bytes
public/images/logo-sm-1.png | Bin 0 -> 159999 bytes
public/images/logo-sm-2.png | Bin 0 -> 2202785 bytes
public/images/pincodes.png | Bin 0 -> 1917418 bytes
public/images/superman-logos.png | Bin 0 -> 2095993 bytes
src/__tests__/App.test.js | 6 +-
src/__tests__/DarkModeToggle.test.js | 14 +-
src/__tests__/MonthSelector.test.js | 32 +-
src/__tests__/Slide.test.js | 16 +-
src/__tests__/SlideDeck.test.js | 22 +-
src/components/SlideDeck.js | 34 +-
src/styles/index.css | 18 +-
33 files changed, 20443 insertions(+), 253 deletions(-)
create mode 100644 docs/static/css/main.2a9063d3.css
create mode 100644 public/data/slides-2024-04.json
create mode 100644 public/data/slides-2024-05.json
create mode 100644 public/data/slides-2024-06.json
create mode 100644 public/images/1701.png
create mode 100644 public/images/kuifje-outfit.png
create mode 100644 public/images/lego-nlds.png
create mode 100644 public/images/logo-sm-1.png
create mode 100644 public/images/logo-sm-2.png
create mode 100644 public/images/pincodes.png
create mode 100644 public/images/superman-logos.png
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 85ba5b2..f67a12d 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -3,54 +3,54 @@ name: ๐ Deploy to GitHub Pages
on:
push:
branches:
- - main # Voer de workflow uit bij elke push naar main
+ - main # Voer de workflow uit bij elke push naar main
permissions:
- contents: write # Vereist om GitHub Pages te deployen
+ contents: write # Vereist om GitHub Pages te deployen
jobs:
build-and-deploy:
- runs-on: ubuntu-latest # Draai de pipeline op de nieuwste Ubuntu-versie
-
+ runs-on: ubuntu-latest # Draai de pipeline op de nieuwste Ubuntu-versie
+
steps:
- - name: ๐ฅ Checkout repository
- uses: actions/checkout@v3
-
- - name: ๐๏ธ Install Node.js
- uses: actions/setup-node@v3
- with:
- node-version: '18' # Zorg ervoor dat de Node-versie klopt
- cache: 'pnpm' # Cache voor pnpm
-
- # Installeer PNPM vรณรณr het installeren van dependencies
- - name: ๐ฆ Install PNPM
- run: npm install -g pnpm # Installeer pnpm globaal
-
- # Cache afhankelijkheden om builds te versnellen
- - name: ๐ฆ Cache dependencies
- uses: actions/cache@v3
- with:
- path: ~/.pnpm-store
- key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- restore-keys: |
- ${{ runner.os }}-pnpm-
-
- # Installeer afhankelijkheden met PNPM
- - name: ๐ฆ Install dependencies
- run: pnpm install # Gebruik pnpm voor snelle dependency installatie
-
- # Draai tests voor de build (maar faal niet als tests falen)
- - name: ๐งช Run Tests
- run: pnpm test || echo "Tests failed, but continuing build..."
-
- # Bouw het project
- - name: ๐จ Build project
- run: pnpm run build
-
- # Deploy naar GitHub Pages
- - name: ๐ Deploy to GitHub Pages
- uses: peaceiris/actions-gh-pages@v3
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }} # Gebruik de standaard GitHub token
- publish_dir: ./docs # Map waarin de build staat na 'mv build docs'
- keep_files: true # Behoud bestaande bestanden zoals _redirects
+ - name: ๐ฅ Checkout repository
+ uses: actions/checkout@v3
+
+ - name: ๐๏ธ Install Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: "18" # Zorg ervoor dat de Node-versie klopt
+ cache: "pnpm" # Cache voor pnpm
+
+ # Installeer PNPM vรณรณr het installeren van dependencies
+ - name: ๐ฆ Install PNPM
+ run: npm install -g pnpm # Installeer pnpm globaal
+
+ # Cache afhankelijkheden om builds te versnellen
+ - name: ๐ฆ Cache dependencies
+ uses: actions/cache@v3
+ with:
+ path: ~/.pnpm-store
+ key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
+ restore-keys: |
+ ${{ runner.os }}-pnpm-
+
+ # Installeer afhankelijkheden met PNPM
+ - name: ๐ฆ Install dependencies
+ run: pnpm install # Gebruik pnpm voor snelle dependency installatie
+
+ # Draai tests voor de build (maar faal niet als tests falen)
+ - name: ๐งช Run Tests
+ run: pnpm test || echo "Tests failed, but continuing build..."
+
+ # Bouw het project
+ - name: ๐จ Build project
+ run: pnpm run build
+
+ # Deploy naar GitHub Pages
+ - name: ๐ Deploy to GitHub Pages
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }} # Gebruik de standaard GitHub token
+ publish_dir: ./docs # Map waarin de build staat na 'mv build docs'
+ keep_files: true # Behoud bestaande bestanden zoals _redirects
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index b2f6b62..cf97bde 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -78,7 +78,6 @@ De webapp is ontworpen om eenvoudig uitbreidbaar te zijn en maakt gebruik van Ja
- **CI/CD pipelines om automatisch te testen en te deployen bij iedere commit**.
- **More, more, mmmmoooore...**.
-
---
## ๐จ Let Op
diff --git a/README.md b/README.md
index a0c1bb8..7012807 100644
--- a/README.md
+++ b/README.md
@@ -167,6 +167,7 @@ cool-uncool/
---
## ๐
Semantic Versioning
+
We gebruiken Semantic Versioning (SemVer) om releases te beheren:
1.0.0 = Major.Minor.Patch
@@ -179,6 +180,7 @@ git tag v1.0.0
git push origin v1.0.0
```
+
## Commit Message Conventies
```bash
@@ -192,6 +194,7 @@ git commit -m "style: Styling aan gebracht"
```
## Release Draaiend Houden (Tags & Releases)
+
```bash
git tag -a v1.1.0 -m "Release 1.1.0 - Nieuwe slides en dark mode"
git push origin v1.1.0
@@ -210,12 +213,11 @@ git push origin v1.1.0
#### Verhoog de versie bij elke release:
```json
-
{
"version": "1.1.0"
}
-
```
+
#### Gebruik de volgende commando's:
```bash
@@ -225,6 +227,7 @@ npm version minor # Nieuwe feature
npm version major # Brekende verandering
```
+
#### Push tags automatisch mee:
```bash
diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json
index f04d423..4d9b21c 100644
--- a/docs/asset-manifest.json
+++ b/docs/asset-manifest.json
@@ -6,8 +6,9 @@
"main.ec9d09e5.css.map": "./static/css/main.ec9d09e5.css.map",
"main.d6e15f43.js.map": "./static/js/main.d6e15f43.js.map"
},
+
"entrypoints": [
"static/css/main.ec9d09e5.css",
"static/js/main.d6e15f43.js"
]
-}
\ No newline at end of file
+
diff --git a/docs/data/available-months.json b/docs/data/available-months.json
index 17816fa..d98e950 100644
--- a/docs/data/available-months.json
+++ b/docs/data/available-months.json
@@ -1,10 +1,3 @@
{
- "months": [
- "2024-12",
- "2024-10",
- "2024-09",
- "2024-08",
- "2024-03",
- "2024-02"
- ]
-}
\ No newline at end of file
+ "months": ["2024-12", "2024-10", "2024-09", "2024-08", "2024-03", "2024-02"]
+}
diff --git a/docs/index.html b/docs/index.html
index 224dbd6..d61081a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1 +1,18 @@
-
Cool Uncool
\ No newline at end of file
+
+
+
+
+
+
+ Cool Uncool
+
+
+
+
+
+
+
+
diff --git a/docs/static/css/main.2a9063d3.css b/docs/static/css/main.2a9063d3.css
new file mode 100644
index 0000000..a6586dd
--- /dev/null
+++ b/docs/static/css/main.2a9063d3.css
@@ -0,0 +1,208 @@
+#root,
+body,
+html {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ margin: 0;
+ overflow: hidden;
+ padding: 0;
+ width: 100%;
+}
+body {
+ align-items: center;
+ background-color: #f4f4f9;
+ color: #333;
+ display: flex;
+ font-family: Arial, sans-serif;
+ justify-content: center;
+ transition:
+ background-color 0.3s ease,
+ color 0.3s ease;
+}
+.slide {
+ -webkit-padding-before: 1rem;
+ margin: auto;
+ padding-block-start: 1rem;
+ text-align: center;
+ width: 100%;
+}
+.slide p {
+ -webkit-padding-after: 1rem;
+ font-size: 1rem;
+ line-height: 1.5;
+ margin: auto;
+ padding-block-end: 1rem;
+ width: 70%;
+}
+.slide h2 {
+ font-size: 1.5rem;
+ margin-bottom: 0.5rem;
+}
+.slide ul {
+ list-style: none;
+ margin-left: 1.5rem;
+}
+.slide a {
+ color: #007bff;
+ text-decoration: none;
+}
+.slide a:hover {
+ text-decoration: underline;
+}
+.light-mode {
+ background-color: #f4f4f9;
+ color: #333;
+}
+.dark-mode {
+ background-color: #121212;
+ color: #fff;
+}
+.video-container {
+ aspect-ratio: 16/9;
+ margin: 0 auto;
+ max-width: 1400px;
+ position: relative;
+ width: 70%;
+}
+.video-container iframe {
+ border: none;
+ height: 100%;
+ left: 0;
+ position: relative;
+ top: 0;
+ width: 100%;
+}
+h2 {
+ font-size: 1.5rem;
+ margin-bottom: 1 rem;
+ text-align: center;
+}
+h1,
+p {
+ margin: 0;
+ overflow-wrap: break-word;
+ padding: 0 0 2rem;
+}
+.slide-deck {
+ flex-direction: column;
+ height: 100vh;
+ justify-content: center;
+ position: relative;
+}
+.slide-counter,
+.slide-deck {
+ align-items: center;
+ box-sizing: border-box;
+ display: flex;
+ transition:
+ background-color 0.3s ease,
+ color 0.3s ease;
+ width: 100%;
+}
+.slide-counter {
+ background-color: #000c;
+ bottom: 0;
+ color: #fff;
+ font-size: 14px;
+ justify-content: space-between;
+ left: 0;
+ padding: 10px 0;
+ position: fixed;
+ text-align: center;
+}
+.counter-text {
+ flex: 1 1;
+ font-weight: 400;
+ text-align: center;
+}
+.light-mode .slide-counter {
+ background-color: #fffc;
+ color: #333;
+}
+.slide-icon {
+ -webkit-margin-after: 1rem;
+ -webkit-padding-end: 1rem;
+ font-size: 2rem;
+ margin-block-end: 1rem;
+ padding-inline-end: 1rem;
+ text-align: center;
+}
+.slide p img {
+ max-height: 80vh;
+ object-fit: contain;
+ width: auto;
+}
+.dark-mode-toggle {
+ align-items: center;
+ background-color: #fff;
+ background-color: var(--toggle-bg, #fff);
+ border: 2px solid #ccc;
+ border-radius: 20px;
+ color: #333;
+ color: var(--toggle-color, #333);
+ cursor: pointer;
+ display: flex;
+ gap: 10px;
+ justify-content: center;
+ padding: 10px 20px;
+ position: fixed;
+ right: 10px;
+ top: 10px;
+ transition:
+ background-color 0.3s,
+ color 0.3s,
+ transform 0.2s;
+}
+.dark-mode-toggle:hover {
+ transform: scale(1.05);
+}
+.dark-mode-toggle .icon {
+ transition:
+ transform 0.3s ease,
+ color 0.3s ease;
+}
+.dark-mode-toggle .label {
+ font-size: 14px;
+ font-weight: 700;
+}
+.dark-mode-toggle.dark {
+ --toggle-bg: #333;
+ --toggle-color: #fff;
+}
+.dark-mode-toggle.light {
+ --toggle-bg: #fff;
+ --toggle-color: #333;
+}
+.month-selector {
+ align-items: center;
+ display: flex;
+ gap: 10px;
+ margin-left: auto;
+}
+.month-dropdown {
+ -webkit-margin-start: 32px;
+ background-color: #fff;
+ background-color: var(--toggle-bg, #fff);
+ border: 2px solid #ccc;
+ border-radius: 10px;
+ color: #333;
+ color: var(--toggle-color, #333);
+ cursor: pointer;
+ font-size: 12px;
+ margin-inline-start: 32px;
+ padding: 5px 10px;
+ transition:
+ background-color 0.3s,
+ color 0.3s;
+}
+.month-dropdown:focus {
+ border-color: #666;
+ outline: none;
+}
+.month-label {
+ display: none;
+ font-size: 14px;
+ font-weight: 700;
+}
+/*# sourceMappingURL=main.2a9063d3.css.map*/
diff --git a/docs/static/js/main.d6e15f43.js b/docs/static/js/main.d6e15f43.js
index 714ecea..0b11541 100644
--- a/docs/static/js/main.d6e15f43.js
+++ b/docs/static/js/main.d6e15f43.js
@@ -1,3 +1,19657 @@
-/*! For license information please see main.d6e15f43.js.LICENSE.txt */
-(()=>{var e={28:(e,t)=>{"use strict";const n=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,u=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,a=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function i(e,t,n){do{const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++tn;){const n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return n}function c(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},341:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,u=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var u,r=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!o)return!1;for(u in e);return"undefined"===typeof u||t.call(e,u)},a=function(e,t){u&&"__proto__"===t.name?u(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},i=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,u,r,s,c,D=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"===typeof D&&(p=D,D=arguments[1]||{},f=2),(null==D||"object"!==typeof D&&"function"!==typeof D)&&(D={});f{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,u=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,i=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(i,s):s}e.exports=function(e,i){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];i=i||{};var D=1,f=1;function d(e){var t=e.match(n);t&&(D+=t.length);var u=e.lastIndexOf("\n");f=~u?e.length-u:f+e.length}function p(){var e={line:D,column:f};return function(t){return t.position=new h(e),C(),t}}function h(e){this.start=e,this.end={line:D,column:f},this.source=i.source}h.prototype.content=e;var m=[];function F(t){var n=new Error(i.source+":"+D+":"+f+": "+t);if(n.reason=t,n.filename=i.source,n.line=D,n.column=f,n.source=e,!i.silent)throw n;m.push(n)}function g(t){var n=t.exec(e);if(n){var u=n[0];return d(u),e=e.slice(u.length),n}}function C(){g(u)}function E(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return F("End of comment missing");var u=e.slice(2,n-2);return f+=2,d(u),e=e.slice(n),f+=2,t({type:"comment",comment:u})}}function v(){var e=p(),n=g(r);if(n){if(y(),!g(o))return F("property missing ':'");var u=g(l),i=e({type:"declaration",property:c(n[0].replace(t,s)),value:u?c(u[0].replace(t,s)):s});return g(a),i}}return C(),function(){var e,t=[];for(E(t);e=v();)!1!==e&&(t.push(e),E(t));return t}()}},92:(e,t,n)=>{"use strict";var u=n(395),r=n(225);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,r,u)&&(n=null),u||null===r?function(e){return!!D.call(p,e)||!D.call(d,e)&&(f.test(e)?p[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,u=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,u?e.setAttributeNS(u,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(F,g);m[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(F,g);m[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(F,g);m[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),v=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),w=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),_=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function O(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var R,z=Object.assign;function I(e){if(void 0===R)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var M=!1;function j(e,t){if(!e||M)return"";M=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var u=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){u=s}e.call(t.prototype)}else{try{throw Error()}catch(s){u=s}e()}}catch(s){if(s&&u&&"string"===typeof s.stack){for(var r=s.stack.split("\n"),o=u.stack.split("\n"),l=r.length-1,a=o.length-1;1<=l&&0<=a&&r[l]!==o[a];)a--;for(;1<=l&&0<=a;l--,a--)if(r[l]!==o[a]){if(1!==l||1!==a)do{if(l--,0>--a||r[l]!==o[a]){var i="\n"+r[l].replace(" at new "," at ");return e.displayName&&i.includes("")&&(i=i.replace("",e.displayName)),i}}while(1<=l&&0<=a);break}}}finally{M=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?I(e):""}function U(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=j(e.type,!1);case 11:return e=j(e.type.render,!1);case 1:return e=j(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case A:return"Fragment";case v:return"Portal";case k:return"Profiler";case b:return"StrictMode";case S:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case w:return(e.displayName||"Context")+".Consumer";case B:return(e._context.displayName||"Context")+".Provider";case x:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case _:t=e._payload,e=e._init;try{return H(e(t))}catch(n){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===b?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){u=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(e){u=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=$(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:u,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&C(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=W(t.value),u=t.type;if(null!=n)"number"===u?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===u||"reset"===u)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function G(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!("submit"!==u&&"reset"!==u||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,u){if(e=e.options,t){t={};for(var r=0;r"+t.valueOf().toString()+"",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,u){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=he(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(de).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]}))}));var Fe=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(Fe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ee=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ve=null,Ae=null,be=null;function ke(e){if(e=Cr(e)){if("function"!==typeof ve)throw Error(o(280));var t=e.stateNode;t&&(t=yr(t),ve(e.stateNode,e.type,t))}}function Be(e){Ae?be?be.push(e):be=[e]:Ae=e}function we(){if(Ae){var e=Ae,t=be;if(be=Ae=null,ke(e),t)for(e=0;e>>=0,0===e?32:31-(at(e)/it|0)|0},at=Math.log,it=Math.LN2;var st=64,ct=4194304;function Dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var u=0,r=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var a=l&~r;0!==a?u=Dt(a):0!==(o&=l)&&(u=Dt(o))}else 0!==(l=n&~r)?u=Dt(l):0!==o&&(u=Dt(o));if(0===u)return 0;if(0!==t&&t!==u&&0===(t&r)&&((r=u&-u)>=(o=t&-t)||16===r&&0!==(4194240&o)))return t;if(0!==(4&u)&&(u|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=u;0n;n++)t.push(e);return t}function Ft(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-lt(n),r=1<=On),In=String.fromCharCode(32),Mn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function $n(e,t,n,u){Be(u),0<(t=qu(t,"onChange")).length&&(n=new cn("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var qn=null,Qn=null;function Yn(e){Iu(e,0)}function Kn(e){if(Q(Er(e)))return e}function Xn(e,t){if("change"===e)return t}var Jn=!1;if(c){var Zn;if(c){var Gn="oninput"in document;if(!Gn){var eu=document.createElement("div");eu.setAttribute("oninput","return;"),Gn="function"===typeof eu.oninput}Zn=Gn}else Zn=!1;Jn=Zn&&(!document.documentMode||9=t)return{node:u,offset:t-e};e=n}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=su(u)}}function Du(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Du(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fu(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(u){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function du(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pu(e){var t=fu(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Du(n.ownerDocument.documentElement,n)){if(null!==u&&du(n))if(t=u.start,void 0===(e=u.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,o=Math.min(u.start,r);u=void 0===u.end?o:Math.min(u.end,r),!e.extend&&o>u&&(r=u,u=o,o=r),r=cu(n,o);var l=cu(n,u);r&&l&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>u?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n=document.documentMode,mu=null,Fu=null,gu=null,Cu=!1;function Eu(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Cu||null==mu||mu!==Y(u)||("selectionStart"in(u=mu)&&du(u)?u={start:u.selectionStart,end:u.selectionEnd}:u={anchorNode:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset},gu&&iu(gu,u)||(gu=u,0<(u=qu(Fu,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=mu)))}function yu(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var vu={animationend:yu("Animation","AnimationEnd"),animationiteration:yu("Animation","AnimationIteration"),animationstart:yu("Animation","AnimationStart"),transitionend:yu("Transition","TransitionEnd")},Au={},bu={};function ku(e){if(Au[e])return Au[e];if(!vu[e])return e;var t,n=vu[e];for(t in n)if(n.hasOwnProperty(t)&&t in bu)return Au[e]=n[t];return e}c&&(bu=document.createElement("div").style,"AnimationEvent"in window||(delete vu.animationend.animation,delete vu.animationiteration.animation,delete vu.animationstart.animation),"TransitionEvent"in window||delete vu.transitionend.transition);var Bu=ku("animationend"),wu=ku("animationiteration"),xu=ku("animationstart"),Su=ku("transitionend"),Pu=new Map,Tu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _u(e,t){Pu.set(e,t),i(t,[e])}for(var Nu=0;NuAr||(e.current=vr[Ar],vr[Ar]=null,Ar--)}function Br(e,t){Ar++,vr[Ar]=e.current,e.current=t}var wr={},xr=br(wr),Sr=br(!1),Pr=wr;function Tr(e,t){var n=e.type.contextTypes;if(!n)return wr;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in n)o[r]=t[r];return u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function _r(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Nr(){kr(Sr),kr(xr)}function Lr(e,t,n){if(xr.current!==wr)throw Error(o(168));Br(xr,t),Br(Sr,n)}function Or(e,t,n){var u=e.stateNode;if(t=t.childContextTypes,"function"!==typeof u.getChildContext)return n;for(var r in u=u.getChildContext())if(!(r in t))throw Error(o(108,V(e)||"Unknown",r));return z({},n,u)}function Rr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wr,Pr=xr.current,Br(xr,e),Br(Sr,Sr.current),!0}function zr(e,t,n){var u=e.stateNode;if(!u)throw Error(o(169));n?(e=Or(e,t,Pr),u.__reactInternalMemoizedMergedChildContext=e,kr(Sr),kr(xr),Br(xr,e)):kr(Sr),Br(Sr,n)}var Ir=null,Mr=!1,jr=!1;function Ur(e){null===Ir?Ir=[e]:Ir.push(e)}function Hr(){if(!jr&&null!==Ir){jr=!0;var e=0,t=Ct;try{var n=Ir;for(Ct=1;e>=l,r-=l,Xr=1<<32-lt(t)+r|n<h?(m=D,D=null):m=D.sibling;var F=d(r,D,a[h],i);if(null===F){null===D&&(D=m);break}e&&D&&null===F.alternate&&t(r,D),o=l(F,o,h),null===c?s=F:c.sibling=F,c=F,D=m}if(h===a.length)return n(r,D),ro&&Zr(r,h),s;if(null===D){for(;hm?(F=h,h=null):F=h.sibling;var C=d(r,h,g.value,s);if(null===C){null===h&&(h=F);break}e&&h&&null===C.alternate&&t(r,h),a=l(C,a,m),null===D?c=C:D.sibling=C,D=C,h=F}if(g.done)return n(r,h),ro&&Zr(r,m),c;if(null===h){for(;!g.done;m++,g=i.next())null!==(g=f(r,g.value,s))&&(a=l(g,a,m),null===D?c=g:D.sibling=g,D=g);return ro&&Zr(r,m),c}for(h=u(r,h);!g.done;m++,g=i.next())null!==(g=p(h,r,m,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=l(g,a,m),null===D?c=g:D.sibling=g,D=g);return e&&h.forEach((function(e){return t(r,e)})),ro&&Zr(r,m),c}return function e(u,o,l,i){if("object"===typeof l&&null!==l&&l.type===A&&null===l.key&&(l=l.props.children),"object"===typeof l&&null!==l){switch(l.$$typeof){case y:e:{for(var s=l.key,c=o;null!==c;){if(c.key===s){if((s=l.type)===A){if(7===c.tag){n(u,c.sibling),(o=r(c,l.props.children)).return=u,u=o;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===_&&Co(s)===c.type){n(u,c.sibling),(o=r(c,l.props)).ref=Fo(u,c,l),o.return=u,u=o;break e}n(u,c);break}t(u,c),c=c.sibling}l.type===A?((o=Os(l.props.children,u.mode,i,l.key)).return=u,u=o):((i=Ls(l.type,l.key,l.props,null,u.mode,i)).ref=Fo(u,o,l),i.return=u,u=i)}return a(u);case v:e:{for(c=l.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===l.containerInfo&&o.stateNode.implementation===l.implementation){n(u,o.sibling),(o=r(o,l.children||[])).return=u,u=o;break e}n(u,o);break}t(u,o),o=o.sibling}(o=Is(l,u.mode,i)).return=u,u=o}return a(u);case _:return e(u,o,(c=l._init)(l._payload),i)}if(te(l))return h(u,o,l,i);if(O(l))return m(u,o,l,i);go(u,l)}return"string"===typeof l&&""!==l||"number"===typeof l?(l=""+l,null!==o&&6===o.tag?(n(u,o.sibling),(o=r(o,l)).return=u,u=o):(n(u,o),(o=zs(l,u.mode,i)).return=u,u=o),a(u)):n(u,o)}}var yo=Eo(!0),vo=Eo(!1),Ao=br(null),bo=null,ko=null,Bo=null;function wo(){Bo=ko=bo=null}function xo(e){var t=Ao.current;kr(Ao),e._currentValue=t}function So(e,t,n){for(;null!==e;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==u&&(u.childLanes|=t)):null!==u&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}}function Po(e,t){bo=e,Bo=ko=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Ca=!0),e.firstContext=null)}function To(e){var t=e._currentValue;if(Bo!==e)if(e={context:e,memoizedValue:t,next:null},null===ko){if(null===bo)throw Error(o(308));ko=e,bo.dependencies={lanes:0,firstContext:e}}else ko=ko.next=e;return t}var _o=null;function No(e){null===_o?_o=[e]:_o.push(e)}function Lo(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,No(t)):(n.next=r.next,r.next=n),t.interleaved=n,Oo(e,u)}function Oo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function zo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Io(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jo(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,0!==(2&xi)){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Oo(e,n)}return null===(r=u.interleaved)?(t.next=t,No(u)):(t.next=r.next,r.next=t),u.interleaved=t,Oo(e,n)}function Uo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Ho(e,t){var n=e.updateQueue,u=e.alternate;if(null!==u&&n===(u=u.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:u.shared,effects:u.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vo(e,t,n,u){var r=e.updateQueue;Ro=!1;var o=r.firstBaseUpdate,l=r.lastBaseUpdate,a=r.shared.pending;if(null!==a){r.shared.pending=null;var i=a,s=i.next;i.next=null,null===l?o=s:l.next=s,l=i;var c=e.alternate;null!==c&&((a=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===a?c.firstBaseUpdate=s:a.next=s,c.lastBaseUpdate=i))}if(null!==o){var D=r.baseState;for(l=0,c=s=i=null,a=o;;){var f=a.lane,d=a.eventTime;if((u&f)===f){null!==c&&(c=c.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,h=a;switch(f=t,d=n,h.tag){case 1:if("function"===typeof(p=h.payload)){D=p.call(d,D,f);break e}D=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=h.payload)?p.call(d,D,f):p)||void 0===f)break e;D=z({},D,f);break e;case 2:Ro=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(f=r.effects)?r.effects=[a]:f.push(a))}else d={eventTime:d,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=d,i=D):c=c.next=d,l|=f;if(null===(a=a.next)){if(null===(a=r.shared.pending))break;a=(f=a).next,f.next=null,r.lastBaseUpdate=f,r.shared.pending=null}}if(null===c&&(i=D),r.baseState=i,r.firstBaseUpdate=s,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{l|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);Ri|=l,e.lanes=l,e.memoizedState=D}}function Wo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var u=ol.transition;ol.transition={};try{e(!1),t()}finally{Ct=n,ol.transition=u}}function ql(){return Cl().memoizedState}function Ql(e,t,n){var u=ts(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Kl(e))Xl(t,n);else if(null!==(n=Lo(e,t,n,u))){ns(n,e,u,es()),Jl(n,t,u)}}function Yl(e,t,n){var u=ts(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kl(e))Xl(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,a=o(l,n);if(r.hasEagerState=!0,r.eagerState=a,au(a,l)){var i=t.interleaved;return null===i?(r.next=r,No(t)):(r.next=i.next,i.next=r),void(t.interleaved=r)}}catch(s){}null!==(n=Lo(e,t,r,u))&&(ns(n,e,u,r=es()),Jl(n,t,u))}}function Kl(e){var t=e.alternate;return e===al||null!==t&&t===al}function Xl(e,t){Dl=cl=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jl(e,t,n){if(0!==(4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,gt(e,n)}}var Zl={readContext:To,useCallback:pl,useContext:pl,useEffect:pl,useImperativeHandle:pl,useInsertionEffect:pl,useLayoutEffect:pl,useMemo:pl,useReducer:pl,useRef:pl,useState:pl,useDebugValue:pl,useDeferredValue:pl,useTransition:pl,useMutableSource:pl,useSyncExternalStore:pl,useId:pl,unstable_isNewReconciler:!1},Gl={readContext:To,useCallback:function(e,t){return gl().memoizedState=[e,void 0===t?null:t],e},useContext:To,useEffect:Ol,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Nl(4194308,4,Ml.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Nl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nl(4,2,e,t)},useMemo:function(e,t){var n=gl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=gl();return t=void 0!==n?n(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=Ql.bind(null,al,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},gl().memoizedState=e},useState:Pl,useDebugValue:Ul,useDeferredValue:function(e){return gl().memoizedState=e},useTransition:function(){var e=Pl(!1),t=e[0];return e=$l.bind(null,e[1]),gl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=al,r=gl();if(ro){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Si)throw Error(o(349));0!==(30&ll)||kl(u,t,n)}r.memoizedState=n;var l={value:n,getSnapshot:t};return r.queue=l,Ol(wl.bind(null,u,l,e),[e]),u.flags|=2048,Tl(9,Bl.bind(null,u,l,n,t),void 0,null),n},useId:function(){var e=gl(),t=Si.identifierPrefix;if(ro){var n=Jr;t=":"+t+"R"+(n=(Xr&~(1<<32-lt(Xr)-1)).toString(32)+n),0<(n=fl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=dl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ea={readContext:To,useCallback:Hl,useContext:To,useEffect:Rl,useImperativeHandle:jl,useInsertionEffect:zl,useLayoutEffect:Il,useMemo:Vl,useReducer:yl,useRef:_l,useState:function(){return yl(El)},useDebugValue:Ul,useDeferredValue:function(e){return Wl(Cl(),il.memoizedState,e)},useTransition:function(){return[yl(El)[0],Cl().memoizedState]},useMutableSource:Al,useSyncExternalStore:bl,useId:ql,unstable_isNewReconciler:!1},ta={readContext:To,useCallback:Hl,useContext:To,useEffect:Rl,useImperativeHandle:jl,useInsertionEffect:zl,useLayoutEffect:Il,useMemo:Vl,useReducer:vl,useRef:_l,useState:function(){return vl(El)},useDebugValue:Ul,useDeferredValue:function(e){var t=Cl();return null===il?t.memoizedState=e:Wl(t,il.memoizedState,e)},useTransition:function(){return[vl(El)[0],Cl().memoizedState]},useMutableSource:Al,useSyncExternalStore:bl,useId:ql,unstable_isNewReconciler:!1};function na(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ua(e,t,n,u){n=null===(n=n(u,t=e.memoizedState))||void 0===n?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ra={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=es(),r=ts(e),o=Mo(u,r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=jo(e,o,r))&&(ns(t,e,r,u),Uo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=es(),r=ts(e),o=Mo(u,r);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=jo(e,o,r))&&(ns(t,e,r,u),Uo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),u=ts(e),r=Mo(n,u);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),null!==(t=jo(e,r,u))&&(ns(t,e,u,n),Uo(t,e,u))}};function oa(e,t,n,u,r,o,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!iu(n,u)||!iu(r,o))}function la(e,t,n){var u=!1,r=wr,o=t.contextType;return"object"===typeof o&&null!==o?o=To(o):(r=_r(t)?Pr:xr.current,o=(u=null!==(u=t.contextTypes)&&void 0!==u)?Tr(e,r):wr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ra,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function aa(e,t,n,u){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,u),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==e&&ra.enqueueReplaceState(t,t.state,null)}function ia(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},zo(e);var o=t.contextType;"object"===typeof o&&null!==o?r.context=To(o):(o=_r(t)?Pr:xr.current,r.context=Tr(e,o)),r.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(ua(e,t,o,n),r.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof r.getSnapshotBeforeUpdate||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||(t=r.state,"function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&ra.enqueueReplaceState(r,r.state,null),Vo(e,n,r,u),r.state=e.memoizedState),"function"===typeof r.componentDidMount&&(e.flags|=4194308)}function sa(e,t){try{var n="",u=t;do{n+=U(u),u=u.return}while(u);var r=n}catch(o){r="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:r,digest:null}}function ca(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Da(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fa="function"===typeof WeakMap?WeakMap:Map;function da(e,t,n){(n=Mo(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){Wi||(Wi=!0,$i=u),Da(0,t)},n}function pa(e,t,n){(n=Mo(-1,n)).tag=3;var u=e.type.getDerivedStateFromError;if("function"===typeof u){var r=t.value;n.payload=function(){return u(r)},n.callback=function(){Da(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){Da(0,t),"function"!==typeof u&&(null===qi?qi=new Set([this]):qi.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ha(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new fa;var r=new Set;u.set(t,r)}else void 0===(r=u.get(t))&&(r=new Set,u.set(t,r));r.has(n)||(r.add(n),e=ks.bind(null,e,t,n),t.then(e,e))}function ma(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Fa(e,t,n,u,r){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mo(-1,1)).tag=2,jo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=r,e)}var ga=E.ReactCurrentOwner,Ca=!1;function Ea(e,t,n,u){t.child=null===e?vo(t,null,n,u):yo(t,e.child,n,u)}function ya(e,t,n,u,r){n=n.render;var o=t.ref;return Po(t,r),u=ml(e,t,n,u,o,r),n=Fl(),null===e||Ca?(ro&&n&&eo(t),t.flags|=1,Ea(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Wa(e,t,r))}function va(e,t,n,u,r){if(null===e){var o=n.type;return"function"!==typeof o||_s(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ls(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Aa(e,t,o,u,r))}if(o=e.child,0===(e.lanes&r)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:iu)(l,u)&&e.ref===t.ref)return Wa(e,t,r)}return t.flags|=1,(e=Ns(o,u)).ref=t.ref,e.return=t,t.child=e}function Aa(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(iu(o,u)&&e.ref===t.ref){if(Ca=!1,t.pendingProps=u=o,0===(e.lanes&r))return t.lanes=e.lanes,Wa(e,t,r);0!==(131072&e.flags)&&(Ca=!0)}}return Ba(e,t,n,u,r)}function ba(e,t,n){var u=t.pendingProps,r=u.children,o=null!==e?e.memoizedState:null;if("hidden"===u.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Br(Ni,_i),_i|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Br(Ni,_i),_i|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,Br(Ni,_i),_i|=u}else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,Br(Ni,_i),_i|=u;return Ea(e,t,r,n),t.child}function ka(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ba(e,t,n,u,r){var o=_r(n)?Pr:xr.current;return o=Tr(t,o),Po(t,r),n=ml(e,t,n,u,o,r),u=Fl(),null===e||Ca?(ro&&u&&eo(t),t.flags|=1,Ea(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Wa(e,t,r))}function wa(e,t,n,u,r){if(_r(n)){var o=!0;Rr(t)}else o=!1;if(Po(t,r),null===t.stateNode)Va(e,t),la(t,n,u),ia(t,n,u,r),u=!0;else if(null===e){var l=t.stateNode,a=t.memoizedProps;l.props=a;var i=l.context,s=n.contextType;"object"===typeof s&&null!==s?s=To(s):s=Tr(t,s=_r(n)?Pr:xr.current);var c=n.getDerivedStateFromProps,D="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;D||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(a!==u||i!==s)&&aa(t,l,u,s),Ro=!1;var f=t.memoizedState;l.state=f,Vo(t,u,l,r),i=t.memoizedState,a!==u||f!==i||Sr.current||Ro?("function"===typeof c&&(ua(t,n,c,u),i=t.memoizedState),(a=Ro||oa(t,n,a,u,f,i,s))?(D||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||("function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"===typeof l.componentDidMount&&(t.flags|=4194308)):("function"===typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=i),l.props=u,l.state=i,l.context=s,u=a):("function"===typeof l.componentDidMount&&(t.flags|=4194308),u=!1)}else{l=t.stateNode,Io(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:na(t.type,a),l.props=s,D=t.pendingProps,f=l.context,"object"===typeof(i=n.contextType)&&null!==i?i=To(i):i=Tr(t,i=_r(n)?Pr:xr.current);var d=n.getDerivedStateFromProps;(c="function"===typeof d||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(a!==D||f!==i)&&aa(t,l,u,i),Ro=!1,f=t.memoizedState,l.state=f,Vo(t,u,l,r);var p=t.memoizedState;a!==D||f!==p||Sr.current||Ro?("function"===typeof d&&(ua(t,n,d,u),p=t.memoizedState),(s=Ro||oa(t,n,s,u,f,p,i)||!1)?(c||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(u,p,i),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,p,i)),"function"===typeof l.componentDidUpdate&&(t.flags|=4),"function"===typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof l.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=p),l.props=u,l.state=p,l.context=i,u=s):("function"!==typeof l.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),u=!1)}return xa(e,t,n,u,o,r)}function xa(e,t,n,u,r,o){ka(e,t);var l=0!==(128&t.flags);if(!u&&!l)return r&&zr(t,n,!1),Wa(e,t,o);u=t.stateNode,ga.current=t;var a=l&&"function"!==typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&l?(t.child=yo(t,e.child,null,o),t.child=yo(t,null,a,o)):Ea(e,t,a,o),t.memoizedState=u.state,r&&zr(t,n,!0),t.child}function Sa(e){var t=e.stateNode;t.pendingContext?Lr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lr(0,t.context,!1),Xo(e,t.containerInfo)}function Pa(e,t,n,u,r){return po(),ho(r),t.flags|=256,Ea(e,t,n,u),t.child}var Ta,_a,Na,La,Oa={dehydrated:null,treeContext:null,retryLane:0};function Ra(e){return{baseLanes:e,cachePool:null,transitions:null}}function za(e,t,n){var u,r=t.pendingProps,l=el.current,a=!1,i=0!==(128&t.flags);if((u=i)||(u=(null===e||null!==e.memoizedState)&&0!==(2&l)),u?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),Br(el,1&l),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(i=r.children,e=r.fallback,a?(r=t.mode,a=t.child,i={mode:"hidden",children:i},0===(1&r)&&null!==a?(a.childLanes=0,a.pendingProps=i):a=Rs(i,r,0,null),e=Os(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Ra(n),t.memoizedState=Oa,e):Ia(t,i));if(null!==(l=e.memoizedState)&&null!==(u=l.dehydrated))return function(e,t,n,u,r,l,a){if(n)return 256&t.flags?(t.flags&=-257,Ma(e,t,a,u=ca(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=u.fallback,r=t.mode,u=Rs({mode:"visible",children:u.children},r,0,null),(l=Os(l,r,a,null)).flags|=2,u.return=t,l.return=t,u.sibling=l,t.child=u,0!==(1&t.mode)&&yo(t,e.child,null,a),t.child.memoizedState=Ra(a),t.memoizedState=Oa,l);if(0===(1&t.mode))return Ma(e,t,a,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,Ma(e,t,a,u=ca(l=Error(o(419)),u,void 0))}if(i=0!==(a&e.childLanes),Ca||i){if(null!==(u=Si)){switch(a&-a){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}0!==(r=0!==(r&(u.suspendedLanes|a))?0:r)&&r!==l.retryLane&&(l.retryLane=r,Oo(e,r),ns(u,e,r,-1))}return hs(),Ma(e,t,a,u=ca(Error(o(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=ws.bind(null,e),r._reactRetry=t,null):(e=l.treeContext,uo=sr(r.nextSibling),no=t,ro=!0,oo=null,null!==e&&(Qr[Yr++]=Xr,Qr[Yr++]=Jr,Qr[Yr++]=Kr,Xr=e.id,Jr=e.overflow,Kr=t),t=Ia(t,u.children),t.flags|=4096,t)}(e,t,i,r,u,l,n);if(a){a=r.fallback,i=t.mode,u=(l=e.child).sibling;var s={mode:"hidden",children:r.children};return 0===(1&i)&&t.child!==l?((r=t.child).childLanes=0,r.pendingProps=s,t.deletions=null):(r=Ns(l,s)).subtreeFlags=14680064&l.subtreeFlags,null!==u?a=Ns(u,a):(a=Os(a,i,n,null)).flags|=2,a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,i=null===(i=e.child.memoizedState)?Ra(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~n,t.memoizedState=Oa,r}return e=(a=e.child).sibling,r=Ns(a,{mode:"visible",children:r.children}),0===(1&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ia(e,t){return(t=Rs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ma(e,t,n,u){return null!==u&&ho(u),yo(t,e.child,null,n),(e=Ia(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function ja(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),So(e.return,t,n)}function Ua(e,t,n,u,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=u,o.tail=n,o.tailMode=r)}function Ha(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Ea(e,t,u.children,n),0!==(2&(u=el.current)))u=1&u|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ja(e,n,t);else if(19===e.tag)ja(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(Br(el,u),0===(1&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===tl(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Ua(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===tl(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Ua(t,!0,n,null,o);break;case"together":Ua(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Va(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wa(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ri|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ns(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ns(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $a(e,t){if(!ro)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;null!==n;)null!==n.alternate&&(u=n),n=n.sibling;null===u?t||null===e.tail?e.tail=null:e.tail.sibling=null:u.sibling=null}}function qa(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,u=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=14680064&r.subtreeFlags,u|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function Qa(e,t,n){var u=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qa(t),null;case 1:case 17:return _r(t.type)&&Nr(),qa(t),null;case 3:return u=t.stateNode,Jo(),kr(Sr),kr(xr),ul(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),null!==e&&null!==e.child||(Do(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(ls(oo),oo=null))),_a(e,t),qa(t),null;case 5:Go(t);var r=Ko(Yo.current);if(n=t.type,null!==e&&null!=t.stateNode)Na(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(o(166));return qa(t),null}if(e=Ko(qo.current),Do(t)){u=t.stateNode,n=t.type;var l=t.memoizedProps;switch(u[fr]=t,u[dr]=l,e=0!==(1&t.mode),n){case"dialog":Mu("cancel",u),Mu("close",u);break;case"iframe":case"object":case"embed":Mu("load",u);break;case"video":case"audio":for(r=0;r<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof u.is?e=i.createElement(n,{is:u.is}):(e=i.createElement(n),"select"===n&&(i=e,u.multiple?i.multiple=!0:u.size&&(i.size=u.size))):e=i.createElementNS(e,n),e[fr]=t,e[dr]=u,Ta(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ce(n,u),n){case"dialog":Mu("cancel",e),Mu("close",e),r=u;break;case"iframe":case"object":case"embed":Mu("load",e),r=u;break;case"video":case"audio":for(r=0;rHi&&(t.flags|=128,u=!0,$a(l,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=tl(i))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$a(l,!0),null===l.tail&&"hidden"===l.tailMode&&!i.alternate&&!ro)return qa(t),null}else 2*Je()-l.renderingStartTime>Hi&&1073741824!==n&&(t.flags|=128,u=!0,$a(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=l.last)?n.sibling=i:t.child=i,l.last=i)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Je(),t.sibling=null,n=el.current,Br(el,u?1&n|2:1&n),t):(qa(t),null);case 22:case 23:return Ds(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&0!==(1&t.mode)?0!==(1073741824&_i)&&(qa(t),6&t.subtreeFlags&&(t.flags|=8192)):qa(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ya(e,t){switch(to(t),t.tag){case 1:return _r(t.type)&&Nr(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),kr(Sr),kr(xr),ul(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Go(t),null;case 13:if(kr(el),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return kr(el),null;case 4:return Jo(),null;case 10:return xo(t.type._context),null;case 22:case 23:return Ds(),null;default:return null}}Ta=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},_a=function(){},Na=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,Ko(qo.current);var o,l=null;switch(n){case"input":r=K(e,r),u=K(e,u),l=[];break;case"select":r=z({},r,{value:void 0}),u=z({},u,{value:void 0}),l=[];break;case"textarea":r=ue(e,r),u=ue(e,u),l=[];break;default:"function"!==typeof r.onClick&&"function"===typeof u.onClick&&(e.onclick=Gu)}for(c in ge(n,u),n=null,r)if(!u.hasOwnProperty(c)&&r.hasOwnProperty(c)&&null!=r[c])if("style"===c){var i=r[c];for(o in i)i.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in u){var s=u[c];if(i=null!=r?r[c]:void 0,u.hasOwnProperty(c)&&s!==i&&(null!=s||null!=i))if("style"===c)if(i){for(o in i)!i.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&i[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(l||(l=[]),l.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,i=i?i.__html:void 0,null!=s&&i!==s&&(l=l||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Mu("scroll",e),l||i===s||(l=[])):(l=l||[]).push(c,s))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},La=function(e,t,n,u){n!==u&&(t.flags|=4)};var Ka=!1,Xa=!1,Ja="function"===typeof WeakSet?WeakSet:Set,Za=null;function Ga(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(u){bs(e,t,u)}else n.current=null}function ei(e,t,n){try{n()}catch(u){bs(e,t,u)}}var ti=!1;function ni(e,t,n){var u=t.updateQueue;if(null!==(u=null!==u?u.lastEffect:null)){var r=u=u.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,void 0!==o&&ei(t,n,o)}r=r.next}while(r!==u)}}function ui(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var u=n.create;n.destroy=u()}n=n.next}while(n!==t)}}function ri(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function oi(e){var t=e.alternate;null!==t&&(e.alternate=null,oi(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fr],delete t[dr],delete t[hr],delete t[mr],delete t[Fr])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function li(e){return 5===e.tag||3===e.tag||4===e.tag}function ai(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||li(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ii(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Gu));else if(4!==u&&null!==(e=e.child))for(ii(e,t,n),e=e.sibling;null!==e;)ii(e,t,n),e=e.sibling}function si(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==u&&null!==(e=e.child))for(si(e,t,n),e=e.sibling;null!==e;)si(e,t,n),e=e.sibling}var ci=null,Di=!1;function fi(e,t,n){for(n=n.child;null!==n;)di(e,t,n),n=n.sibling}function di(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(rt,n)}catch(a){}switch(n.tag){case 5:Xa||Ga(n,t);case 6:var u=ci,r=Di;ci=null,fi(e,t,n),Di=r,null!==(ci=u)&&(Di?(e=ci,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ci.removeChild(n.stateNode));break;case 18:null!==ci&&(Di?(e=ci,n=n.stateNode,8===e.nodeType?ir(e.parentNode,n):1===e.nodeType&&ir(e,n),Ht(e)):ir(ci,n.stateNode));break;case 4:u=ci,r=Di,ci=n.stateNode.containerInfo,Di=!0,fi(e,t,n),ci=u,Di=r;break;case 0:case 11:case 14:case 15:if(!Xa&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(0!==(2&o)||0!==(4&o))&&ei(n,t,l),r=r.next}while(r!==u)}fi(e,t,n);break;case 1:if(!Xa&&(Ga(n,t),"function"===typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(a){bs(n,t,a)}fi(e,t,n);break;case 21:fi(e,t,n);break;case 22:1&n.mode?(Xa=(u=Xa)||null!==n.memoizedState,fi(e,t,n),Xa=u):fi(e,t,n);break;default:fi(e,t,n)}}function pi(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var u=xs.bind(null,e,t);n.has(t)||(n.add(t),t.then(u,u))}))}}function hi(e,t){var n=t.deletions;if(null!==n)for(var u=0;ur&&(r=a),u&=~l}if(u=r,10<(u=(120>(u=Je()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*bi(u/1960))-u)){e.timeoutHandle=ur(ys.bind(null,e,ji,Vi),u);break}ys(e,ji,Vi);break;default:throw Error(o(329))}}}return us(e,Je()),e.callbackNode===n?rs.bind(null,e):null}function os(e,t){var n=Mi;return e.current.memoizedState.isDehydrated&&(fs(e,t).flags|=256),2!==(e=ms(e,t))&&(t=ji,ji=n,null!==t&&ls(t)),e}function ls(e){null===ji?ji=e:ji.push.apply(ji,e)}function as(e,t){for(t&=~Ii,t&=~zi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Yi)var u=!1;else{if(e=Yi,Yi=null,Ki=0,0!==(6&xi))throw Error(o(331));var r=xi;for(xi|=4,Za=e.current;null!==Za;){var l=Za,a=l.child;if(0!==(16&Za.flags)){var i=l.deletions;if(null!==i){for(var s=0;sJe()-Ui?fs(e,0):Ii|=n),us(e,t)}function Bs(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=Oo(e,t))&&(Ft(e,t,n),us(e,n))}function ws(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Bs(e,n)}function xs(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(o(314))}null!==u&&u.delete(t),Bs(e,n)}function Ss(e,t){return Qe(e,t)}function Ps(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ts(e,t,n,u){return new Ps(e,t,n,u)}function _s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ns(e,t){var n=e.alternate;return null===n?((n=Ts(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ls(e,t,n,u,r,l){var a=2;if(u=e,"function"===typeof e)_s(e)&&(a=1);else if("string"===typeof e)a=5;else e:switch(e){case A:return Os(n.children,r,l,t);case b:a=8,r|=8;break;case k:return(e=Ts(12,n,t,2|r)).elementType=k,e.lanes=l,e;case S:return(e=Ts(13,n,t,r)).elementType=S,e.lanes=l,e;case P:return(e=Ts(19,n,t,r)).elementType=P,e.lanes=l,e;case N:return Rs(n,r,l,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case B:a=10;break e;case w:a=9;break e;case x:a=11;break e;case T:a=14;break e;case _:a=16,u=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ts(a,n,t,r)).elementType=e,t.type=u,t.lanes=l,t}function Os(e,t,n,u){return(e=Ts(7,e,u,t)).lanes=n,e}function Rs(e,t,n,u){return(e=Ts(22,e,u,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function zs(e,t,n){return(e=Ts(6,e,null,t)).lanes=n,e}function Is(e,t,n){return(t=Ts(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ms(e,t,n,u,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function js(e,t,n,u,r,o,l,a,i){return e=new Ms(e,t,n,a,i),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ts(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zo(o),e}function Us(e){if(!e)return wr;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_r(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(_r(n))return Or(e,n,t)}return t}function Hs(e,t,n,u,r,o,l,a,i){return(e=js(n,u,!0,e,0,o,0,a,i)).context=Us(null),n=e.current,(o=Mo(u=es(),r=ts(n))).callback=void 0!==t&&null!==t?t:null,jo(n,o,r),e.current.lanes=r,Ft(e,r,u),us(e,u),e}function Vs(e,t,n,u){var r=t.current,o=es(),l=ts(r);return n=Us(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mo(o,l)).payload={element:e},null!==(u=void 0===u?null:u)&&(t.callback=u),null!==(e=jo(r,t,l))&&(ns(e,r,l,o),Uo(e,r,l)),l}function Ws(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $s(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{"use strict";var u=n(508);t.createRoot=u.createRoot,t.hydrateRoot=u.hydrateRoot},508:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(92)},345:(e,t,n)=>{"use strict";var u=n(395),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var u,o={},s=null,c=null;for(u in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,u)&&!i.hasOwnProperty(u)&&(o[u]=t[u]);if(e&&e.defaultProps)for(u in t=e.defaultProps)void 0===o[u]&&(o[u]=t[u]);return{$$typeof:r,type:e,key:s,ref:c,props:o,_owner:a.current}}t.Fragment=o,t.jsx=s,t.jsxs=s},322:(e,t)=>{"use strict";var n=Symbol.for("react.element"),u=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),D=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function F(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function g(){}function C(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}F.prototype.isReactComponent={},F.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},F.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=F.prototype;var E=C.prototype=new g;E.constructor=C,h(E,F.prototype),E.isPureReactComponent=!0;var y=Array.isArray,v=Object.prototype.hasOwnProperty,A={current:null},b={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,u){var r,o={},l=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(l=""+t.key),t)v.call(t,r)&&!b.hasOwnProperty(r)&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=u;else if(1{"use strict";e.exports=n(322)},171:(e,t,n)=>{"use strict";e.exports=n(345)},366:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,r=e[u];if(!(0>>1;uo(i,n))so(c,i)?(e[u]=c,e[s]=n,u=s):(e[u]=i,e[a]=n,u=a);else{if(!(so(c,n)))break e;e[u]=c,e[s]=n,u=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var a=Date,i=a.now();t.unstable_now=function(){return a.now()-i}}var s=[],c=[],D=1,f=null,d=3,p=!1,h=!1,m=!1,F="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,C="undefined"!==typeof setImmediate?setImmediate:null;function E(e){for(var t=u(c);null!==t;){if(null===t.callback)r(c);else{if(!(t.startTime<=e))break;r(c),t.sortIndex=t.expirationTime,n(s,t)}t=u(c)}}function y(e){if(m=!1,E(e),!h)if(null!==u(s))h=!0,N(v);else{var t=u(c);null!==t&&L(y,t.startTime-e)}}function v(e,n){h=!1,m&&(m=!1,g(B),B=-1),p=!0;var o=d;try{for(E(n),f=u(s);null!==f&&(!(f.expirationTime>n)||e&&!S());){var l=f.callback;if("function"===typeof l){f.callback=null,d=f.priorityLevel;var a=l(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof a?f.callback=a:f===u(s)&&r(s),E(n)}else r(s);f=u(s)}if(null!==f)var i=!0;else{var D=u(c);null!==D&&L(y,D.startTime-n),i=!1}return i}finally{f=null,d=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A,b=!1,k=null,B=-1,w=5,x=-1;function S(){return!(t.unstable_now()-xe||125l?(e.sortIndex=o,n(c,e),null===u(s)&&e===u(c)&&(m?(g(B),B=-1):m=!0,L(y,o-l))):(e.sortIndex=a,n(s,e),h||p||(h=!0,N(v))),e},t.unstable_shouldYield=S,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},225:(e,t,n)=>{"use strict";e.exports=n(366)},388:function(e,t,n){"use strict";var u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var u=(0,r.default)(e),o="function"===typeof t;return u.forEach((function(e){if("declaration"===e.type){var u=e.property,r=e.value;o?t(u,r,e):r&&((n=n||{})[u]=r)}})),n};var r=u(n(846))}},t={};function n(u){var r=t[u];if(void 0!==r)return r.exports;var o=t[u]={exports:{}};return e[u].call(o.exports,o,o.exports,n),o.exports}n.d=(e,t)=>{for(var u in t)n.o(t,u)&&!n.o(e,u)&&Object.defineProperty(e,u,{enumerable:!0,get:t[u]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{boolean:()=>zt,booleanish:()=>It,commaOrSpaceSeparated:()=>Vt,commaSeparated:()=>Ht,number:()=>jt,overloadedBoolean:()=>Mt,spaceSeparated:()=>Ut});var t={};n.r(t),n.d(t,{attentionMarkers:()=>Ar,contentInitial:()=>Fr,disable:()=>br,document:()=>mr,flow:()=>Cr,flowInitial:()=>gr,insideSpan:()=>vr,string:()=>Er,text:()=>yr});var u=n(395),r=n(813);function o(e,t){if(null==e)return{};var n,u,r=function(e,t){if(null==e)return{};var n={};for(var u in e)if({}.hasOwnProperty.call(e,u)){if(t.includes(u))continue;n[u]=e[u]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(u=0;u0&&void 0!==arguments[0]?arguments[0]:{})}function g(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function C(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function E(e,t){return{usr:e.state,key:e.key,idx:t}}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3?arguments[3]:void 0;return c(c({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?A(t):t),{},{state:n,key:t&&t.key||u||Math.random().toString(36).substring(2,10)})}function v(e){let{pathname:t="/",search:n="",hash:u=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),u&&"#"!==u&&(t+="#"===u.charAt(0)?u:"#"+u),t}function A(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let u=e.indexOf("?");u>=0&&(t.search=e.substring(u),e=e.substring(0,u)),e&&(t.pathname=e)}return t}function b(e,t,n){let u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{window:r=document.defaultView,v5Compat:o=!1}=u,l=r.history,a="POP",i=null,s=D();function D(){return(l.state||{idx:null}).idx}function f(){a="POP";let e=D(),t=null==e?null:e-s;s=e,i&&i({action:a,location:p.location,delta:t})}function d(e){let t="null"!==r.location.origin?r.location.origin:r.location.href,n="string"===typeof e?e:v(e);return n=n.replace(/ $/,"%20"),g(t,"No window.location.(origin|href) available to create URL for href: ".concat(n)),new URL(n,t)}null==s&&(s=0,l.replaceState(c(c({},l.state),{},{idx:s}),""));let p={get action(){return a},get location(){return e(r,l)},listen(e){if(i)throw new Error("A history only accepts one active listener");return r.addEventListener(m,f),i=e,()=>{r.removeEventListener(m,f),i=null}},createHref:e=>t(r,e),createURL:d,encodeLocation(e){let t=d(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){a="PUSH";let u=y(p.location,e,t);n&&n(u,e),s=D()+1;let c=E(u,s),f=p.createHref(u);try{l.pushState(c,"",f)}catch(d){if(d instanceof DOMException&&"DataCloneError"===d.name)throw d;r.location.assign(f)}o&&i&&i({action:a,location:p.location,delta:1})},replace:function(e,t){a="REPLACE";let u=y(p.location,e,t);n&&n(u,e),s=D();let r=E(u,s),c=p.createHref(u);l.replaceState(r,"",c),o&&i&&i({action:a,location:p.location,delta:0})},go:e=>l.go(e)};return p}function k(e,t){return B(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",!1)}function B(e,t,n,u){let r=j(("string"===typeof t?A(t):t).pathname||"/",n);if(null==r)return null;let o=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let l=null;for(let a=0;null==l&&a1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=(e,r,o)=>{let l={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};l.relativePath.startsWith("/")&&(g(l.relativePath.startsWith(u),'Absolute route path "'.concat(l.relativePath,'" nested under path "').concat(u,'" is not valid. An absolute child route path must start with the combined path of all its parent routes.')),l.relativePath=l.relativePath.slice(u.length));let a=$([u,l.relativePath]),i=n.concat(l);e.children&&e.children.length>0&&(g(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'.concat(a,'".')),w(e.children,t,i,a)),(null!=e.path||e.index)&&t.push({path:a,score:R(a,e.index),routesMeta:i})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!==(n=e.path)&&void 0!==n&&n.includes("?"))for(let u of x(e.path))r(e,t,u);else r(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[n,...u]=t,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===u.length)return r?[o,""]:[o];let l=x(u.join("/")),a=[];return a.push(...l.map((e=>""===e?o:[o,e].join("/")))),r&&a.push(...l),a.map((t=>e.startsWith("/")&&""===t?"/":t))}var S=/^:[\w-]+$/,P=3,T=2,_=1,N=10,L=-2,O=e=>"*"===e;function R(e,t){let n=e.split("/"),u=n.length;return n.some(O)&&(u+=L),t&&(u+=T),n.filter((e=>!O(e))).reduce(((e,t)=>e+(S.test(t)?P:""===t?_:N)),u)}function z(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{routesMeta:u}=e,r={},o="/",l=[];for(let a=0;a1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];C("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'.concat(e,'" will be treated as if it were "').concat(e.replace(/\*$/,"/*"),'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "').concat(e.replace(/\*$/,"/*"),'".'));let u=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(u.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(u.push({paramName:"*"}),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))");let o=new RegExp(r,t?void 0:"i");return[o,u]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let o=r[0],l=o.replace(/(.)\/+$/,"$1"),a=r.slice(1),i=u.reduce(((e,t,n)=>{let{paramName:u,isOptional:r}=t;if("*"===u){let e=a[n]||"";l=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const i=a[n];return e[u]=r&&!i?void 0:(i||"").replace(/%2F/g,"/"),e}),{});return{params:i,pathname:o,pathnameBase:l,pattern:e}}function M(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return C(!1,'The URL path "'.concat(e,'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (').concat(t,").")),e}}function j(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,u=e.charAt(n);return u&&"/"!==u?null:e.slice(n)||"/"}function U(e,t,n,u){return"Cannot include a '".concat(e,"' character in a manually specified `to.").concat(t,"` field [").concat(JSON.stringify(u),"]. Please separate it out to the `to.").concat(n,'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.')}function H(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function V(e){let t=H(e);return t.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase))}function W(e,t,n){let u,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"string"===typeof e?u=A(e):(u=c({},e),g(!u.pathname||!u.pathname.includes("?"),U("?","pathname","search",u)),g(!u.pathname||!u.pathname.includes("#"),U("#","pathname","hash",u)),g(!u.search||!u.search.includes("#"),U("#","search","hash",u)));let o,l=""===e||""===u.pathname,a=l?"/":u.pathname;if(null==a)o=n;else{let e=t.length-1;if(!r&&a.startsWith("..")){let t=a.split("/");for(;".."===t[0];)t.shift(),e-=1;u.pathname=t.join("/")}o=e>=0?t[e]:"/"}let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",{pathname:n,search:u="",hash:r=""}="string"===typeof e?A(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:Q(u),hash:Y(r)}}(u,o),s=a&&"/"!==a&&a.endsWith("/"),D=(l||"."===a)&&n.endsWith("/");return i.pathname.endsWith("/")||!s&&!D||(i.pathname+="/"),i}var $=e=>e.join("/").replace(/\/\/+/g,"/"),q=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Y=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function K(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var X=["POST","PUT","PATCH","DELETE"],J=(new Set(X),["GET",...X]);new Set(J),Symbol("ResetLoaderData");var Z=u.createContext(null);Z.displayName="DataRouter";var G=u.createContext(null);G.displayName="DataRouterState";var ee=u.createContext({isTransitioning:!1});ee.displayName="ViewTransition";var te=u.createContext(new Map);te.displayName="Fetchers";var ne=u.createContext(null);ne.displayName="Await";var ue=u.createContext(null);ue.displayName="Navigation";var re=u.createContext(null);re.displayName="Location";var oe=u.createContext({outlet:null,matches:[],isDataRoute:!1});oe.displayName="Route";var le=u.createContext(null);le.displayName="RouteError";function ae(){return null!=u.useContext(re)}function ie(){return g(ae(),"useLocation() may be used only in the context of a component."),u.useContext(re).location}var se="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ce(e){u.useContext(ue).static||u.useLayoutEffect(e)}function De(){let{isDataRoute:e}=u.useContext(oe);return e?function(){let{router:e}=Ee("useNavigate"),t=ve("useNavigate"),n=u.useRef(!1);ce((()=>{n.current=!0}));let r=u.useCallback((async function(u){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C(n.current,se),n.current&&("number"===typeof u?e.navigate(u):await e.navigate(u,c({fromRouteId:t},r)))}),[e,t]);return r}():function(){g(ae(),"useNavigate() may be used only in the context of a component.");let e=u.useContext(Z),{basename:t,navigator:n}=u.useContext(ue),{matches:r}=u.useContext(oe),{pathname:o}=ie(),l=JSON.stringify(V(r)),a=u.useRef(!1);ce((()=>{a.current=!0}));let i=u.useCallback((function(u){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(C(a.current,se),!a.current)return;if("number"===typeof u)return void n.go(u);let i=W(u,JSON.parse(l),o,"path"===r.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:$([t,i.pathname])),(r.replace?n.replace:n.push)(i,r.state,r)}),[t,n,l,o,e]);return i}()}u.createContext(null);function fe(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:n}=u.useContext(oe),{pathname:r}=ie(),o=JSON.stringify(V(n));return u.useMemo((()=>W(e,JSON.parse(o),r,"path"===t)),[e,o,r,t])}function de(e,t,n,r){g(ae(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=u.useContext(ue),{matches:l}=u.useContext(oe),a=l[l.length-1],i=a?a.params:{},s=a?a.pathname:"/",D=a?a.pathnameBase:"/",f=a&&a.route;{let e=f&&f.path||"";ke(s,!f||e.endsWith("*")||e.endsWith("*?"),'You rendered descendant (or called `useRoutes()`) at "'.concat(s,'" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent to .'))}let d,p=ie();if(t){var h;let e="string"===typeof t?A(t):t;g("/"===D||(null===(h=e.pathname)||void 0===h?void 0:h.startsWith(D)),'When overriding the location using `` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'.concat(D,'" but pathname "').concat(e.pathname,'" was given in the `location` prop.')),d=e}else d=p;let m=d.pathname||"/",F=m;if("/"!==D){let e=D.replace(/^\//,"").split("/");F="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=k(e,{pathname:F});C(f||null!=E,'No routes matched location "'.concat(d.pathname).concat(d.search).concat(d.hash,'" ')),C(null==E||void 0!==E[E.length-1].route.element||void 0!==E[E.length-1].route.Component||void 0!==E[E.length-1].route.lazy,'Matched leaf route at location "'.concat(d.pathname).concat(d.search).concat(d.hash,'" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.'));let y=ge(E&&E.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:$([D,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?D:$([D,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,r);return t&&y?u.createElement(re.Provider,{value:{location:c({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:"POP"}},y):y}function pe(){let e=Ae(),t=K(e)?"".concat(e.status," ").concat(e.statusText):e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},l={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",e),a=u.createElement(u.Fragment,null,u.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),u.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",u.createElement("code",{style:l},"ErrorBoundary")," or"," ",u.createElement("code",{style:l},"errorElement")," prop on your route.")),u.createElement(u.Fragment,null,u.createElement("h2",null,"Unexpected Application Error!"),u.createElement("h3",{style:{fontStyle:"italic"}},t),n?u.createElement("pre",{style:o},n):null,a)}var he=u.createElement(pe,null),me=class extends u.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?u.createElement(oe.Provider,{value:this.props.routeContext},u.createElement(le.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Fe(e){let{routeContext:t,match:n,children:r}=e,o=u.useContext(Z);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),u.createElement(oe.Provider,{value:t},r)}function ge(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let r=e,o=null===n||void 0===n?void 0:n.errors;if(null!=o){let e=r.findIndex((e=>e.route.id&&void 0!==(null===o||void 0===o?void 0:o[e.route.id])));g(e>=0,"Could not find a matching route for errors on route IDs: ".concat(Object.keys(o).join(","))),r=r.slice(0,Math.min(r.length,e+1))}let l=!1,a=-1;if(n)for(let u=0;u=0?r.slice(0,a+1):[r[0]];break}}}return r.reduceRight(((e,i,s)=>{let c,D=!1,f=null,d=null;n&&(c=o&&i.route.id?o[i.route.id]:void 0,f=i.route.errorElement||he,l&&(a<0&&0===s?(ke("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,d=null):a===s&&(D=!0,d=i.route.hydrateFallbackElement||null)));let p=t.concat(r.slice(0,s+1)),h=()=>{let t;return t=c?f:D?d:i.route.Component?u.createElement(i.route.Component,null):i.route.element?i.route.element:e,u.createElement(Fe,{match:i,routeContext:{outlet:e,matches:p,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===s)?u.createElement(me,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()}),null)}function Ce(e){return"".concat(e," must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.")}function Ee(e){let t=u.useContext(Z);return g(t,Ce(e)),t}function ye(e){let t=u.useContext(G);return g(t,Ce(e)),t}function ve(e){let t=function(e){let t=u.useContext(oe);return g(t,Ce(e)),t}(e),n=t.matches[t.matches.length-1];return g(n.route.id,"".concat(e,' can only be used on routes that contain a unique "id"')),n.route.id}function Ae(){var e;let t=u.useContext(le),n=ye("useRouteError"),r=ve("useRouteError");return void 0!==t?t:null===(e=n.errors)||void 0===e?void 0:e[r]}var be={};function ke(e,t,n){t||be[e]||(be[e]=!0,C(!1,n))}u.memo((function(e){let{routes:t,future:n,state:u}=e;return de(t,void 0,u,n)}));function Be(e){let{to:t,replace:n,state:r,relative:o}=e;g(ae()," may be used only in the context of a component.");let{static:l}=u.useContext(ue);C(!l," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:a}=u.useContext(oe),{pathname:i}=ie(),s=De(),c=W(t,V(a),i,"path"===o),D=JSON.stringify(c);return u.useEffect((()=>{s(JSON.parse(D),{replace:n,state:r,relative:o})}),[s,D,o,n,r]),null}function we(e){g(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function xe(e){let{basename:t="/",children:n=null,location:r,navigationType:o="POP",navigator:l,static:a=!1}=e;g(!ae(),"You cannot render a inside another . You should never have more than one in your app.");let i=t.replace(/^\/*/,"/"),s=u.useMemo((()=>({basename:i,navigator:l,static:a,future:{}})),[i,l,a]);"string"===typeof r&&(r=A(r));let{pathname:c="/",search:D="",hash:f="",state:d=null,key:p="default"}=r,h=u.useMemo((()=>{let e=j(c,i);return null==e?null:{location:{pathname:e,search:D,hash:f,state:d,key:p},navigationType:o}}),[i,c,D,f,d,p,o]);return C(null!=h,' is not able to match the URL "').concat(c).concat(D).concat(f,"\" because it does not start with the basename, so the won't render anything.")),null==h?null:u.createElement(ue.Provider,{value:s},u.createElement(re.Provider,{children:n,value:h}))}function Se(e){let{children:t,location:n}=e;return de(Pe(t),n)}u.Component;function Pe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];return u.Children.forEach(e,((e,r)=>{if(!u.isValidElement(e))return;let o=[...t,r];if(e.type===u.Fragment)return void n.push.apply(n,Pe(e.props.children,o));g(e.type===we,"[".concat("string"===typeof e.type?e.type:e.type.name,"] is not a component. All component children of must be a or ")),g(!e.props.index||!e.props.children,"An index route cannot have child routes.");let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=Pe(e.props.children,o)),n.push(l)})),n}var Te="get",_e="application/x-www-form-urlencoded";function Ne(e){return null!=e&&"string"===typeof e.tagName}var Le=null;var Oe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Re(e){return null==e||Oe.has(e)?e:(C(!1,'"'.concat(e,'" is not a valid `encType` for `