ZAP by Checkmarx Scanning Report

Generated with ZAP on Fri 21 Nov 2025, at 22:42:11

ZAP Version: 2.16.1

ZAP by Checkmarx

Contents

About this report

Report parameters

Contexts

No contexts were selected, so all contexts were included by default.

Sites

The following sites were included:

  • https://colearn.dikshantsharma.com

(If no sites were selected, all sites were included by default.)

An included site must also be within one of the included contexts for its data to be included in the report.

Risk levels

Included: High, Medium, Low, Informational

Excluded: None

Confidence levels

Included: User Confirmed, High, Medium, Low

Excluded: User Confirmed, High, Medium, Low, False Positive

Summaries

Alert counts by risk and confidence

This table shows the number of alerts for each level of risk and confidence included in the report.

(The percentages in brackets represent the count as a percentage of the total number of alerts included in the report, rounded to one decimal place.)

Confidence
User Confirmed High Medium Low Total
Risk High 0
(0.0%)
0
(0.0%)
0
(0.0%)
0
(0.0%)
0
(0.0%)
Medium 0
(0.0%)
1
(10.0%)
2
(20.0%)
1
(10.0%)
4
(40.0%)
Low 0
(0.0%)
0
(0.0%)
1
(10.0%)
1
(10.0%)
2
(20.0%)
Informational 0
(0.0%)
0
(0.0%)
2
(20.0%)
2
(20.0%)
4
(40.0%)
Total 0
(0.0%)
1
(10.0%)
5
(50.0%)
4
(40.0%)
10
(100%)

Alert counts by site and risk

This table shows, for each site for which one or more alerts were raised, the number of alerts raised at each risk level.

Alerts with a confidence level of "False Positive" have been excluded from these counts.

(The numbers in brackets are the number of alerts raised for the site at or above that risk level.)

Risk
High
(= High)
Medium
(>= Medium)
Low
(>= Low)
Informational
(>= Informational)
Site https://colearn.dikshantsharma.com 0
(0)
4
(4)
2
(6)
4
(10)

Alert counts by alert type

This table shows the number of alerts of each alert type, together with the alert type's risk level.

(The percentages in brackets represent each count as a percentage, rounded to one decimal place, of the total number of alerts included in this report.)

Alert type Risk Count
Content Security Policy (CSP) Header Not Set Medium 3
(30.0%)
Cross-Domain Misconfiguration Medium 8
(80.0%)
Hidden File Found Medium 4
(40.0%)
Missing Anti-clickjacking Header Medium 3
(30.0%)
Timestamp Disclosure - Unix Low 1
(10.0%)
X-Content-Type-Options Header Missing Low 8
(80.0%)
Information Disclosure - Suspicious Comments Informational 1
(10.0%)
Modern Web Application Informational 3
(30.0%)
Re-examine Cache-control Directives Informational 4
(40.0%)
Retrieved from Cache Informational 8
(80.0%)
Total 10

Alerts

  1. Risk=Medium, Confidence=High (1)

    1. https://colearn.dikshantsharma.com (1)

      1. Content Security Policy (CSP) Header Not Set (1)
        1. GET https://colearn.dikshantsharma.com
          Alert tags
          Alert description

          Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.

          Request
          Request line and header section (253 bytes)
          GET https://colearn.dikshantsharma.com HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (485 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1121
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:47:31 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::bpmmg-1763744772773-afa886f6c173
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Solution

          Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header.

  2. Risk=Medium, Confidence=Medium (2)

    1. https://colearn.dikshantsharma.com (2)

      1. Cross-Domain Misconfiguration (1)
        1. GET https://colearn.dikshantsharma.com/robots.txt
          Alert tags
          Alert description

          Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server.

          Other info

          The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing.

          Request
          Request line and header section (264 bytes)
          GET https://colearn.dikshantsharma.com/robots.txt HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (508 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1260
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline; filename="index.html"
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:45:12 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::6ll45-1763744772870-a444b3d7c1ec
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Evidence
          Access-Control-Allow-Origin: *
          Solution

          Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).

          Configure the "Access-Control-Allow-Origin" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.

      2. Missing Anti-clickjacking Header (1)
        1. GET https://colearn.dikshantsharma.com/robots.txt
          Alert tags
          Alert description

          The response does not protect against 'ClickJacking' attacks. It should include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options.

          Request
          Request line and header section (264 bytes)
          GET https://colearn.dikshantsharma.com/robots.txt HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (508 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1260
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline; filename="index.html"
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:45:12 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::6ll45-1763744772870-a444b3d7c1ec
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Parameter
          x-frame-options
          Solution

          Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app.

          If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.

  3. Risk=Medium, Confidence=Low (1)

    1. https://colearn.dikshantsharma.com (1)

      1. Hidden File Found (1)
        1. GET https://colearn.dikshantsharma.com/.hg
          Alert tags
          Alert description

          A sensitive file was identified as accessible or available. This may leak administrative, configuration, or credential information which can be leveraged by a malicious individual to further attack the system or conduct social engineering efforts.

          Request
          Request line and header section (257 bytes)
          GET https://colearn.dikshantsharma.com/.hg HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (508 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1324
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline; filename="index.html"
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:07:17 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:45:12 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::6pjqv-1763744837316-426afa6fdba4
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Evidence
          HTTP/1.1 200 OK
          Solution

          Consider whether or not the component is actually required in production, if it isn't then disable it. If it is then ensure access to it requires appropriate authentication and authorization, or limit exposure to internal systems or specific source IPs, etc.

  4. Risk=Low, Confidence=Medium (1)

    1. https://colearn.dikshantsharma.com (1)

      1. X-Content-Type-Options Header Missing (1)
        1. GET https://colearn.dikshantsharma.com
          Alert tags
          Alert description

          The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

          Other info

          This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.

          At "High" threshold this scan rule will not alert on client or server error responses.

          Request
          Request line and header section (253 bytes)
          GET https://colearn.dikshantsharma.com HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (485 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1121
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:47:31 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::bpmmg-1763744772773-afa886f6c173
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Parameter
          x-content-type-options
          Solution

          Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.

          If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

  5. Risk=Low, Confidence=Low (1)

    1. https://colearn.dikshantsharma.com (1)

      1. Timestamp Disclosure - Unix (1)
        1. GET https://colearn.dikshantsharma.com/assets/index-C_l3bB_u.js
          Alert tags
          Alert description

          A timestamp was disclosed by the application/web server. - Unix

          Other info

          1540483477, which evaluates to: 2018-10-25 21:34:37.

          Request
          Request line and header section (335 bytes)
          GET https://colearn.dikshantsharma.com/assets/index-C_l3bB_u.js HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          referer: https://colearn.dikshantsharma.com/sitemap.xml
          
          
          Request body (0 bytes)
          Response
          Status line and header section (531 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1260
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline; filename="index-C_l3bB_u.js"
          Content-Length: 547909
          Content-Type: application/javascript; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:13 GMT
          Etag: "537ea595d1221b7a29d31f1dfe7b3422"
          Last-Modified: Fri, 21 Nov 2025 16:45:12 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::rsf6m-1763744773087-e657d491ee1e
          
          
          Response body (547909 bytes)
          function kE(t,a){for(var l=0;l<a.length;l++){const i=a[l];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in t)){const u=Object.getOwnPropertyDescriptor(i,s);u&&Object.defineProperty(t,s,u.get?u:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function l(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(s){if(s.ep)return;s.ep=!0;const u=l(s);fetch(s.href,u)}})();function Rb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zd={exports:{}},Ro={};var E0;function HE(){if(E0)return Ro;E0=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(i,s,u){var f=null;if(u!==void 0&&(f=""+u),s.key!==void 0&&(f=""+s.key),"key"in s){u={};for(var p in s)p!=="key"&&(u[p]=s[p])}else u=s;return s=u.ref,{$$typeof:t,type:i,key:f,ref:s!==void 0?s:null,props:u}}return Ro.Fragment=a,Ro.jsx=l,Ro.jsxs=l,Ro}var w0;function $E(){return w0||(w0=1,Zd.exports=HE()),Zd.exports}var x=$E(),Wd={exports:{}},Ue={};var C0;function PE(){if(C0)return Ue;C0=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),C=Symbol.iterator;function E(z){return z===null||typeof z!="object"?null:(z=C&&z[C]||z["@@iterator"],typeof z=="function"?z:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,R={};function j(z,G,V){this.props=z,this.context=G,this.refs=R,this.updater=V||b}j.prototype.isReactComponent={},j.prototype.setState=function(z,G){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,G,"setState")},j.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function L(){}L.prototype=j.prototype;function M(z,G,V){this.props=z,this.context=G,this.refs=R,this.updater=V||b}var _=M.prototype=new L;_.constructor=M,w(_,j.prototype),_.isPureReactComponent=!0;var N=Array.isArray;function B(){}var O={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function oe(z,G,V){var ie=V.ref;return{$$typeof:t,type:z,key:G,ref:ie!==void 0?ie:null,props:V}}function re(z,G){return oe(z.type,G,z.props)}function ce(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function A(z){var G={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(V){return G[V]})}var ee=/\/+/g;function P(z,G){return typeof z=="object"&&z!==null&&z.key!=null?A(""+z.key):G.toString(36)}function Y(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(B,B):(z.status="pending",z.then(function(G){z.status==="pending"&&(z.status="fulfilled",z.value=G)},function(G){z.status==="pending"&&(z.status="rejected",z.reason=G)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function D(z,G,V,ie,de){var be=typeof z;(be==="undefined"||be==="boolean")&&(z=null);var Ae=!1;if(z===null)Ae=!0;else switch(be){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(z.$$typeof){case t:case a:Ae=!0;break;case y:return Ae=z._init,D(Ae(z._payload),G,V,ie,de)}}if(Ae)return de=de(z),Ae=ie===""?"."+P(z,0):ie,N(de)?(V="",Ae!=null&&(V=Ae.replace(ee,"$&/")+"/"),D(de,G,V,"",function(je){return je})):de!=null&&(ce(de)&&(de=re(de,V+(de.key==null||z&&z.key===de.key?"":(""+de.key).replace(ee,"$&/")+"/")+Ae)),G.push(de)),1;Ae=0;var Je=ie===""?".":ie+":";if(N(z))for(var ze=0;ze<z.length;ze++)ie=z[ze],be=Je+P(ie,ze),Ae+=D(ie,G,V,be,de);else if(ze=E(z),typeof ze=="function")for(z=ze.call(z),ze=0;!(ie=z.next()).done;)ie=ie.value,be=Je+P(ie,ze++),Ae+=D(ie,G,V,be,de);else if(be==="object"){if(typeof z.then=="function")return D(Y(z),G,V,ie,de);throw G=String(z),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function F(z,G,V){if(z==null)return z;var ie=[],de=0;return D(z,ie,"","",function(be){return G.call(V,be,de++)}),ie}function ue(z){if(z._status===-1){var G=z._result;G=G(),G.then(function(V){(z._status===0||z._status===-1)&&(z._status=1,z._result=V)},function(V){(z._status===0||z._status===-1)&&(z._status=2,z._result=V)}),z._status===-1&&(z._status=0,z._result=G)}if(z._status===1)return z._result.default;throw z._result}var te=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},he={map:F,forEach:function(z,G,V){F(z,function(){G.apply(this,arguments)},V)},count:function(z){var G=0;return F(z,function(){G++}),G},toArray:function(z){return F(z,function(G){return G})||[]},only:function(z){if(!ce(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return Ue.Activity=v,Ue.Children=he,Ue.Component=j,Ue.Fragment=l,Ue.Profiler=s,Ue.PureComponent=M,Ue.StrictMode=i,Ue.Suspense=m,Ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,Ue.__COMPILER_RUNTIME={__proto__:null,c:function(z){return O.H.useMemoCache(z)}},Ue.cache=function(z){return function(){return z.apply(null,arguments)}},Ue.cacheSignal=function(){return null},Ue.cloneElement=function(z,G,V){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var ie=w({},z.props),de=z.key;if(G!=null)for(be in G.key!==void 0&&(de=""+G.key),G)!Q.call(G,be)||be==="key"||be==="__self"||be==="__source"||be==="ref"&&G.ref===void 0||(ie[be]=G[be]);var be=arguments.length-2;if(be===1)ie.children=V;else if(1<be){for(var Ae=Array(be),Je=0;Je<be;Je++)Ae[Je]=arguments[Je+2];ie.children=Ae}return oe(z.type,de,ie)},Ue.createContext=function(z){return z={$$typeof:f,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:u,_context:z},z},Ue.createElement=function(z,G,V){var ie,de={},be=null;if(G!=null)for(ie in G.key!==void 0&&(be=""+G.key),G)Q.call(G,ie)&&ie!=="key"&&ie!=="__self"&&ie!=="__source"&&(de[ie]=G[ie]);var Ae=arguments.length-2;if(Ae===1)de.children=V;else if(1<Ae){for(var Je=Array(Ae),ze=0;ze<Ae;ze++)Je[ze]=arguments[ze+2];de.children=Je}if(z&&z.defaultProps)for(ie in Ae=z.defaultProps,Ae)de[ie]===void 0&&(de[ie]=Ae[ie]);return oe(z,be,de)},Ue.createRef=function(){return{current:null}},Ue.forwardRef=function(z){return{$$typeof:p,render:z}},Ue.isValidElement=ce,Ue.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:ue}},Ue.memo=function(z,G){return{$$typeof:h,type:z,compare:G===void 0?null:G}},Ue.startTransition=function(z){var G=O.T,V={};O.T=V;try{var ie=z(),de=O.S;de!==null&&de(V,ie),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"&&ie.then(B,te)}catch(be){te(be)}finally{G!==null&&V.types!==null&&(G.types=V.types),O.T=G}},Ue.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},Ue.use=function(z){return O.H.use(z)},Ue.useActionState=function(z,G,V){return O.H.useActionState(z,G,V)},Ue.useCallback=function(z,G){return O.H.useCallback(z,G)},Ue.useContext=function(z){return O.H.useContext(z)},Ue.useDebugValue=function(){},Ue.useDeferredValue=function(z,G){return O.H.useDeferredValue(z,G)},Ue.useEffect=function(z,G){return O.H.useEffect(z,G)},Ue.useEffectEvent=function(z){return O.H.useEffectEvent(z)},Ue.useId=function(){return O.H.useId()},Ue.useImperativeHandle=function(z,G,V){return O.H.useImperativeHandle(z,G,V)},Ue.useInsertionEffect=function(z,G){return O.H.useInsertionEffect(z,G)},Ue.useLayoutEffect=function(z,G){return O.H.useLayoutEffect(z,G)},Ue.useMemo=function(z,G){return O.H.useMemo(z,G)},Ue.useOptimistic=function(z,G){return O.H.useOptimistic(z,G)},Ue.useReducer=function(z,G,V){return O.H.useReducer(z,G,V)},Ue.useRef=function(z){return O.H.useRef(z)},Ue.useState=function(z){return O.H.useState(z)},Ue.useSyncExternalStore=function(z,G,V){return O.H.useSyncExternalStore(z,G,V)},Ue.useTransition=function(){return O.H.useTransition()},Ue.version="19.2.0",Ue}var T0;function Zp(){return T0||(T0=1,Wd.exports=PE()),Wd.exports}var S=Zp();const ka=Rb(S),Cp=kE({__proto__:null,default:ka},[S]);var Jd={exports:{}},Ao={},ep={exports:{}},tp={};var R0;function qE(){return R0||(R0=1,(function(t){function a(D,F){var ue=D.length;D.push(F);e:for(;0<ue;){var te=ue-1>>>1,he=D[te];if(0<s(he,F))D[te]=F,D[ue]=he,ue=te;else break e}}function l(D){return D.length===0?null:D[0]}function i(D){if(D.length===0)return null;var F=D[0],ue=D.pop();if(ue!==F){D[0]=ue;e:for(var te=0,he=D.length,z=he>>>1;te<z;){var G=2*(te+1)-1,V=D[G],ie=G+1,de=D[ie];if(0>s(V,ue))ie<he&&0>s(de,V)?(D[te]=de,D[ie]=ue,te=ie):(D[te]=V,D[G]=ue,te=G);else if(ie<he&&0>s(de,ue))D[te]=de,D[ie]=ue,te=ie;else break e}}return F}function s(D,F){var ue=D.sortIndex-F.sortIndex;return ue!==0?ue:D.id-F.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,p=f.now();t.unstable_now=function(){return f.now()-p}}var m=[],h=[],y=1,v=null,C=3,E=!1,b=!1,w=!1,R=!1,j=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function _(D){for(var F=l(h);F!==null;){if(F.callback===null)i(h);else if(F.startTime<=D)i(h),F.sortIndex=F.expirationTime,a(m,F);else break;F=l(h)}}function N(D){if(w=!1,_(D),!b)if(l(m)!==null)b=!0,B||(B=!0,A());else{var F=l(h);F!==null&&Y(N,F.startTime-D)}}var B=!1,O=-1,Q=5,oe=-1;function re(){return R?!0:!(t.unstable_now()-oe<Q)}function ce(){if(R=!1,B){var D=t.unstable_now();oe=D;var F=!0;try{e:{b=!1,w&&(w=!1,L(O),O=-1),E=!0;var ue=C;try{t:{for(_(D),v=l(m);v!==null&&!(v.expirationTime>D&&re());){var te=v.callback;if(typeof te=="function"){v.callback=null,C=v.priorityLevel;var he=te(v.expirationTime<=D);if(D=t.unstable_now(),typeof he=="function"){v.callback=he,_(D),F=!0;break t}v===l(m)&&i(m),_(D)}else i(m);v=l(m)}if(v!==null)F=!0;else{var z=l(h);z!==null&&Y(N,z.startTime-D),F=!1}}break e}finally{v=null,C=ue,E=!1}F=void 0}}finally{F?A():B=!1}}}var A;if(typeof M=="function")A=function(){M(ce)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,P=ee.port2;ee.port1.onmessage=ce,A=function(){P.postMessage(null)}}else A=function(){j(ce,0)};function Y(D,F){O=j(function(){D(t.unstable_now())},F)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(D){D.callback=null},t.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<D?Math.floor(1e3/D):5},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_next=function(D){switch(C){case 1:case 2:case 3:var F=3;break;default:F=C}var ue=C;C=F;try{return D()}finally{C=ue}},t.unstable_requestPaint=function(){R=!0},t.unstable_runWithPriority=function(D,F){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var ue=C;C=D;try{return F()}finally{C=ue}},t.unstable_scheduleCallback=function(D,F,ue){var te=t.unstable_now();switch(typeof ue=="object"&&ue!==null?(ue=ue.delay,ue=typeof ue=="number"&&0<ue?te+ue:te):ue=te,D){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=ue+he,D={id:y++,callback:F,priorityLevel:D,startTime:ue,expirationTime:he,sortIndex:-1},ue>te?(D.sortIndex=ue,a(h,D),l(m)===null&&D===l(h)&&(w?(L(O),O=-1):w=!0,Y(N,ue-te))):(D.sortIndex=he,a(m,D),b||E||(b=!0,B||(B=!0,A()))),D},t.unstable_shouldYield=re,t.unstable_wrapCallback=function(D){var F=C;return function(){var ue=C;C=F;try{return D.apply(this,arguments)}finally{C=ue}}}})(tp)),tp}var A0;function FE(){return A0||(A0=1,ep.exports=qE()),ep.exports}var np={exports:{}},gn={};var O0;function VE(){if(O0)return gn;O0=1;var t=Zp();function a(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function u(m,h,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:m,containerInfo:h,implementation:y}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return gn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,gn.createPortal=function(m,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(a(299));return u(m,h,null,y)},gn.flushSync=function(m){var h=f.T,y=i.p;try{if(f.T=null,i.p=2,m)return m()}finally{f.T=h,i.p=y,i.d.f()}},gn.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(m,h))},gn.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},gn.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var y=h.as,v=p(y,h.crossOrigin),C=typeof h.integrity=="string"?h.integrity:void 0,E=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?i.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:C,fetchPriority:E}):y==="script"&&i.d.X(m,{crossOrigin:v,integrity:C,fetchPriority:E,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},gn.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=p(h.as,h.crossOrigin);i.d.M(m,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(m)},gn.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,v=p(y,h.crossOrigin);i.d.L(m,y,{crossOrigin:v,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},gn.preloadModule=function(m,h){if(typeof m=="string")if(h){var y=p(h.as,h.crossOrigin);i.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(m)},gn.requestFormReset=function(m){i.d.r(m)},gn.unstable_batchedUpdates=function(m,h){return m(h)},gn.useFormState=function(m,h,y){return f.H.useFormState(m,h,y)},gn.useFormStatus=function(){return f.H.useHostTransitionStatus()},gn.version="19.2.0",gn}var N0;function Ab(){if(N0)return np.exports;N0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),np.exports=VE(),np.exports}var M0;function YE(){if(M0)return Ao;M0=1;var t=FE(),a=Zp(),l=Ab();function i(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,r=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(r=n.return),e=n.return;while(e)}return n.tag===3?r:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function p(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(i(188))}function h(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(i(188));return n!==e?null:e}for(var r=e,o=n;;){var c=r.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){r=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===r)return m(c),e;if(d===o)return m(c),n;d=d.sibling}throw Error(i(188))}if(r.return!==o.return)r=c,o=d;else{for(var g=!1,T=c.child;T;){if(T===r){g=!0,r=c,o=d;break}if(T===o){g=!0,o=c,r=d;break}T=T.sibling}if(!g){for(T=d.child;T;){if(T===r){g=!0,r=d,o=c;break}if(T===o){g=!0,o=d,r=c;break}T=T.sibling}if(!g)throw Error(i(189))}}if(r.alternate!==o)throw Error(i(190))}if(r.tag!==3)throw Error(i(188));return r.stateNode.current===r?e:n}function y(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=y(e),n!==null)return n;e=e.sibling}return null}var v=Object.assign,C=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),M=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),re=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function A(e){return e===null||typeof e!="object"?null:(e=ce&&e[ce]||e["@@iterator"],typeof e=="function"?e:null)}var ee=Symbol.for("react.client.reference");function P(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ee?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case j:return"Profiler";case R:return"StrictMode";case N:return"Suspense";case B:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case b:return"Portal";case M:return e.displayName||"Context";case L:return(e._context.displayName||"Context")+".Consumer";case _:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case O:return n=e.displayName||null,n!==null?n:P(e.type)||"Memo";case Q:n=e._payload,e=e._init;try{return P(e(n))}catch{}}return null}var Y=Array.isArray,D=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},te=[],he=-1;function z(e){return{current:e}}function G(e){0>he||(e.current=te[he],te[he]=null,he--)}function V(e,n){he++,te[he]=e.current,e.current=n}var ie=z(null),de=z(null),be=z(null),Ae=z(null);function Je(e,n){switch(V(be,n),V(de,e),V(ie,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Yy(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Yy(n),e=Gy(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(ie),V(ie,e)}function ze(){G(ie),G(de),G(be)}function je(e){e.memoizedState!==null&&V(Ae,e);var n=ie.current,r=Gy(n,e.type);n!==r&&(V(de,e),V(ie,r))}function Oe(e){de.current===e&&(G(ie),G(de)),Ae.current===e&&(G(Ae),Eo._currentValue=ue)}var Pe,St;function Be(e){if(Pe===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);Pe=n&&n[1]||"",St=-1<r.stack.indexOf(`
              at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
          `+Pe+e+St}var Xe=!1;function en(e,n){if(!e||Xe)return"";Xe=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(J){var I=J}Reflect.construct(e,[],se)}else{try{se.call()}catch(J){I=J}e.call(se.prototype)}}else{try{throw Error()}catch(J){I=J}(se=e())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(J){if(J&&I&&typeof J.stack=="string")return[J.stack,I.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],T=d[1];if(g&&T){var U=g.split(`
          `),K=T.split(`
          `);for(c=o=0;o<U.length&&!U[o].includes("DetermineComponentFrameRoot");)o++;for(;c<K.length&&!K[c].includes("DetermineComponentFrameRoot");)c++;if(o===U.length||c===K.length)for(o=U.length-1,c=K.length-1;1<=o&&0<=c&&U[o]!==K[c];)c--;for(;1<=o&&0<=c;o--,c--)if(U[o]!==K[c]){if(o!==1||c!==1)do if(o--,c--,0>c||U[o]!==K[c]){var ne=`
          `+U[o].replace(" at new "," at ");return e.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",e.displayName)),ne}while(1<=o&&0<=c);break}}}finally{Xe=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Be(r):""}function tn(e,n){switch(e.tag){case 26:case 27:case 5:return Be(e.type);case 16:return Be("Lazy");case 13:return e.child!==n&&n!==null?Be("Suspense Fallback"):Be("Suspense");case 19:return Be("SuspenseList");case 0:case 15:return en(e.type,!1);case 11:return en(e.type.render,!1);case 1:return en(e.type,!0);case 31:return Be("Activity");default:return""}}function Nt(e){try{var n="",r=null;do n+=tn(e,r),r=e,e=e.return;while(e);return n}catch(o){return`
          Error generating stack: `+o.message+`
          `+o.stack}}var mn=Object.prototype.hasOwnProperty,$t=t.unstable_scheduleCallback,Rt=t.unstable_cancelCallback,Me=t.unstable_shouldYield,ln=t.unstable_requestPaint,Ve=t.unstable_now,ha=t.unstable_getCurrentPriorityLevel,In=t.unstable_ImmediatePriority,on=t.unstable_UserBlockingPriority,Pt=t.unstable_NormalPriority,ma=t.unstable_LowPriority,An=t.unstable_IdlePriority,ot=t.log,Ra=t.unstable_setDisableYieldValue,Kt=null,nn=null;function Ee(e){if(typeof ot=="function"&&Ra(e),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(Kt,e)}catch{}}var ke=Math.clz32?Math.clz32:Fa,qt=Math.log,ga=Math.LN2;function Fa(e){return e>>>=0,e===0?32:31-(qt(e)/ga|0)|0}var Kr=256,pr=262144,Ml=4194304;function Aa(e){var n=e&42;if(n!==0)return n;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function jl(e,n,r){var o=e.pendingLanes;if(o===0)return 0;var c=0,d=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var T=o&134217727;return T!==0?(o=T&~d,o!==0?c=Aa(o):(g&=T,g!==0?c=Aa(g):r||(r=T&~e,r!==0&&(c=Aa(r))))):(T=o&~d,T!==0?c=Aa(T):g!==0?c=Aa(g):r||(r=o&~e,r!==0&&(c=Aa(r)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,r=n&-n,d>=r||d===32&&(r&4194048)!==0)?n:c}function hr(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Dl(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ir(){var e=Ml;return Ml<<=1,(Ml&62914560)===0&&(Ml=4194304),e}function zl(e){for(var n=[],r=0;31>r;r++)n.push(e);return n}function Qr(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qc(e,n,r,o,c,d){var g=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var T=e.entanglements,U=e.expirationTimes,K=e.hiddenUpdates;for(r=g&~r;0<r;){var ne=31-ke(r),se=1<<ne;T[ne]=0,U[ne]=-1;var I=K[ne];if(I!==null)for(K[ne]=null,ne=0;ne<I.length;ne++){var J=I[ne];J!==null&&(J.lane&=-536870913)}r&=~se}o!==0&&k(e,o,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(g&~n))}function k(e,n,r){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-ke(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|r&261930}function q(e,n){var r=e.entangledLanes|=n;for(e=e.entanglements;r;){var o=31-ke(r),c=1<<o;c&n|e[o]&n&&(e[o]|=n),r&=~c}}function Z(e,n){var r=n&-n;return r=(r&42)!==0?1:fe(r),(r&(e.suspendedLanes|n))!==0?0:r}function fe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function pe(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function we(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:m0(e.type))}function Ce(e,n){var r=F.p;try{return F.p=e,n()}finally{F.p=r}}var ge=Math.random().toString(36).slice(2),me="__reactFiber$"+ge,ye="__reactProps$"+ge,xe="__reactContainer$"+ge,Re="__reactEvents$"+ge,Ze="__reactListeners$"+ge,Tt="__reactHandles$"+ge,_t="__reactResources$"+ge,Mt="__reactMarker$"+ge;function ut(e){delete e[me],delete e[ye],delete e[Re],delete e[Ze],delete e[Tt]}function et(e){var n=e[me];if(n)return n;for(var r=e.parentNode;r;){if(n=r[xe]||r[me]){if(r=n.alternate,n.child!==null||r!==null&&r.child!==null)for(e=Jy(e);e!==null;){if(r=e[me])return r;e=Jy(e)}return n}e=r,r=e.parentNode}return null}function On(e){if(e=e[me]||e[xe]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function ya(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(i(33))}function xn(e){var n=e[_t];return n||(n=e[_t]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ct(e){e[Mt]=!0}var _l=new Set,mr={};function Sn(e,n){va(e,n),va(e+"Capture",n)}function va(e,n){for(mr[e]=n,e=0;e<n.length;e++)_l.add(n[e])}var Ll=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ke={},an={};function gr(e){return mn.call(an,e)?!0:mn.call(Ke,e)?!1:Ll.test(e)?an[e]=!0:(Ke[e]=!0,!1)}function Qn(e,n,r){if(gr(n))if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+r)}}function Et(e,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+r)}}function Nn(e,n,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(n,r,""+o)}}function En(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hs(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jS(e,n,r){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,d=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){r=""+g,d.call(this,g)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(g){r=""+g},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Fc(e){if(!e._valueTracker){var n=hs(e)?"checked":"value";e._valueTracker=jS(e,n,""+e[n])}}function kh(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var r=n.getValue(),o="";return e&&(o=hs(e)?e.checked?"true":"false":e.value),e=o,e!==r?(n.setValue(e),!0):!1}function ms(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var DS=/[\n"\\]/g;function Zn(e){return e.replace(DS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Vc(e,n,r,o,c,d,g,T){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),n!=null?g==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+En(n)):e.value!==""+En(n)&&(e.value=""+En(n)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),n!=null?Yc(e,g,En(n)):r!=null?Yc(e,g,En(r)):o!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?e.name=""+En(T):e.removeAttribute("name")}function Hh(e,n,r,o,c,d,g,T){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){Fc(e);return}r=r!=null?""+En(r):"",n=n!=null?""+En(n):r,T||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=T?e.checked:!!o,e.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g),Fc(e)}function Yc(e,n,r){n==="number"&&ms(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Bl(e,n,r,o){if(e=e.options,n){n={};for(var c=0;c<r.length;c++)n["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=n.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&o&&(e[r].defaultSelected=!0)}else{for(r=""+En(r),n=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function $h(e,n,r){if(n!=null&&(n=""+En(n),n!==e.value&&(e.value=n),r==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=r!=null?""+En(r):""}function Ph(e,n,r,o){if(n==null){if(o!=null){if(r!=null)throw Error(i(92));if(Y(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),n=r}r=En(n),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o),Fc(e)}function Ul(e,n){if(n){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=n;return}}e.textContent=n}var zS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function qh(e,n,r){var o=n.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,r):typeof r!="number"||r===0||zS.has(n)?n==="float"?e.cssFloat=r:e[n]=(""+r).trim():e[n]=r+"px"}function Fh(e,n,r){if(n!=null&&typeof n!="object")throw Error(i(62));if(e=e.style,r!=null){for(var o in r)!r.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&r[c]!==o&&qh(e,c,o)}else for(var d in n)n.hasOwnProperty(d)&&qh(e,d,n[d])}function Gc(e){if(e.indexOf("-")===-1)return!1;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 _S=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),LS=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function gs(e){return LS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Va(){}var Xc=null;function Kc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kl=null,Hl=null;function Vh(e){var n=On(e);if(n&&(e=n.stateNode)){var r=e[ye]||null;e:switch(e=n.stateNode,n.type){case"input":if(Vc(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),n=r.name,r.type==="radio"&&n!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Zn(""+n)+'"][type="radio"]'),n=0;n<r.length;n++){var o=r[n];if(o!==e&&o.form===e.form){var c=o[ye]||null;if(!c)throw Error(i(90));Vc(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<r.length;n++)o=r[n],o.form===e.form&&kh(o)}break e;case"textarea":$h(e,r.value,r.defaultValue);break e;case"select":n=r.value,n!=null&&Bl(e,!!r.multiple,n,!1)}}}var Ic=!1;function Yh(e,n,r){if(Ic)return e(n,r);Ic=!0;try{var o=e(n);return o}finally{if(Ic=!1,(kl!==null||Hl!==null)&&(au(),kl&&(n=kl,e=Hl,Hl=kl=null,Vh(n),e)))for(n=0;n<e.length;n++)Vh(e[n])}}function ki(e,n){var r=e.stateNode;if(r===null)return null;var o=r[ye]||null;if(o===null)return null;r=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(i(231,n,typeof r));return r}var Ya=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qc=!1;if(Ya)try{var Hi={};Object.defineProperty(Hi,"passive",{get:function(){Qc=!0}}),window.addEventListener("test",Hi,Hi),window.removeEventListener("test",Hi,Hi)}catch{Qc=!1}var yr=null,Zc=null,ys=null;function Gh(){if(ys)return ys;var e,n=Zc,r=n.length,o,c="value"in yr?yr.value:yr.textContent,d=c.length;for(e=0;e<r&&n[e]===c[e];e++);var g=r-e;for(o=1;o<=g&&n[r-o]===c[d-o];o++);return ys=c.slice(e,1<o?1-o:void 0)}function vs(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function bs(){return!0}function Xh(){return!1}function Mn(e){function n(r,o,c,d,g){this._reactName=r,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(r=e[T],this[T]=r?r(d):d[T]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?bs:Xh,this.isPropagationStopped=Xh,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=bs)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=bs)},persist:function(){},isPersistent:bs}),n}var Zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=Mn(Zr),$i=v({},Zr,{view:0,detail:0}),BS=Mn($i),Wc,Jc,Pi,Ss=v({},$i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Pi&&(Pi&&e.type==="mousemove"?(Wc=e.screenX-Pi.screenX,Jc=e.screenY-Pi.screenY):Jc=Wc=0,Pi=e),Wc)},movementY:function(e){return"movementY"in e?e.movementY:Jc}}),Kh=Mn(Ss),US=v({},Ss,{dataTransfer:0}),kS=Mn(US),HS=v({},$i,{relatedTarget:0}),ef=Mn(HS),$S=v({},Zr,{animationName:0,elapsedTime:0,pseudoElement:0}),PS=Mn($S),qS=v({},Zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),FS=Mn(qS),VS=v({},Zr,{data:0}),Ih=Mn(VS),YS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},GS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},XS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function KS(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=XS[e])?!!n[e]:!1}function tf(){return KS}var IS=v({},$i,{key:function(e){if(e.key){var n=YS[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=vs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?GS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(e){return e.type==="keypress"?vs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),QS=Mn(IS),ZS=v({},Ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qh=Mn(ZS),WS=v({},$i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),JS=Mn(WS),e1=v({},Zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),t1=Mn(e1),n1=v({},Ss,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),a1=Mn(n1),r1=v({},Zr,{newState:0,oldState:0}),l1=Mn(r1),i1=[9,13,27,32],nf=Ya&&"CompositionEvent"in window,qi=null;Ya&&"documentMode"in document&&(qi=document.documentMode);var o1=Ya&&"TextEvent"in window&&!qi,Zh=Ya&&(!nf||qi&&8<qi&&11>=qi),Wh=" ",Jh=!1;function em(e,n){switch(e){case"keyup":return i1.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $l=!1;function s1(e,n){switch(e){case"compositionend":return tm(n);case"keypress":return n.which!==32?null:(Jh=!0,Wh);case"textInput":return e=n.data,e===Wh&&Jh?null:e;default:return null}}function u1(e,n){if($l)return e==="compositionend"||!nf&&em(e,n)?(e=Gh(),ys=Zc=yr=null,$l=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Zh&&n.locale!=="ko"?null:n.data;default:return null}}var c1={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 nm(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!c1[e.type]:n==="textarea"}function am(e,n,r,o){kl?Hl?Hl.push(o):Hl=[o]:kl=o,n=cu(n,"onChange"),0<n.length&&(r=new xs("onChange","change",null,r,o),e.push({event:r,listeners:n}))}var Fi=null,Vi=null;function f1(e){Hy(e,0)}function Es(e){var n=ya(e);if(kh(n))return e}function rm(e,n){if(e==="change")return n}var lm=!1;if(Ya){var af;if(Ya){var rf="oninput"in document;if(!rf){var im=document.createElement("div");im.setAttribute("oninput","return;"),rf=typeof im.oninput=="function"}af=rf}else af=!1;lm=af&&(!document.documentMode||9<document.documentMode)}function om(){Fi&&(Fi.detachEvent("onpropertychange",sm),Vi=Fi=null)}function sm(e){if(e.propertyName==="value"&&Es(Vi)){var n=[];am(n,Vi,e,Kc(e)),Yh(f1,n)}}function d1(e,n,r){e==="focusin"?(om(),Fi=n,Vi=r,Fi.attachEvent("onpropertychange",sm)):e==="focusout"&&om()}function p1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(Vi)}function h1(e,n){if(e==="click")return Es(n)}function m1(e,n){if(e==="input"||e==="change")return Es(n)}function g1(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Hn=typeof Object.is=="function"?Object.is:g1;function Yi(e,n){if(Hn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var r=Object.keys(e),o=Object.keys(n);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var c=r[o];if(!mn.call(n,c)||!Hn(e[c],n[c]))return!1}return!0}function um(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cm(e,n){var r=um(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=n&&o>=n)return{node:r,offset:n-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=um(r)}}function fm(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?fm(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function dm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=ms(e.document);n instanceof e.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)e=n.contentWindow;else break;n=ms(e.document)}return n}function lf(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var y1=Ya&&"documentMode"in document&&11>=document.documentMode,Pl=null,of=null,Gi=null,sf=!1;function pm(e,n,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;sf||Pl==null||Pl!==ms(o)||(o=Pl,"selectionStart"in o&&lf(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Gi&&Yi(Gi,o)||(Gi=o,o=cu(of,"onSelect"),0<o.length&&(n=new xs("onSelect","select",null,n,r),e.push({event:n,listeners:o}),n.target=Pl)))}function Wr(e,n){var r={};return r[e.toLowerCase()]=n.toLowerCase(),r["Webkit"+e]="webkit"+n,r["Moz"+e]="moz"+n,r}var ql={animationend:Wr("Animation","AnimationEnd"),animationiteration:Wr("Animation","AnimationIteration"),animationstart:Wr("Animation","AnimationStart"),transitionrun:Wr("Transition","TransitionRun"),transitionstart:Wr("Transition","TransitionStart"),transitioncancel:Wr("Transition","TransitionCancel"),transitionend:Wr("Transition","TransitionEnd")},uf={},hm={};Ya&&(hm=document.createElement("div").style,"AnimationEvent"in window||(delete ql.animationend.animation,delete ql.animationiteration.animation,delete ql.animationstart.animation),"TransitionEvent"in window||delete ql.transitionend.transition);function Jr(e){if(uf[e])return uf[e];if(!ql[e])return e;var n=ql[e],r;for(r in n)if(n.hasOwnProperty(r)&&r in hm)return uf[e]=n[r];return e}var mm=Jr("animationend"),gm=Jr("animationiteration"),ym=Jr("animationstart"),v1=Jr("transitionrun"),b1=Jr("transitionstart"),x1=Jr("transitioncancel"),vm=Jr("transitionend"),bm=new Map,cf="abort auxClick beforeToggle 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(" ");cf.push("scrollEnd");function ba(e,n){bm.set(e,n),Sn(n,[e])}var ws=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Wn=[],Fl=0,ff=0;function Cs(){for(var e=Fl,n=ff=Fl=0;n<e;){var r=Wn[n];Wn[n++]=null;var o=Wn[n];Wn[n++]=null;var c=Wn[n];Wn[n++]=null;var d=Wn[n];if(Wn[n++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}d!==0&&xm(r,c,d)}}function Ts(e,n,r,o){Wn[Fl++]=e,Wn[Fl++]=n,Wn[Fl++]=r,Wn[Fl++]=o,ff|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function df(e,n,r,o){return Ts(e,n,r,o),Rs(e)}function el(e,n){return Ts(e,null,null,n),Rs(e)}function xm(e,n,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var c=!1,d=e.return;d!==null;)d.childLanes|=r,o=d.alternate,o!==null&&(o.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-ke(r),e=d.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=r|536870912),d):null}function Rs(e){if(50<mo)throw mo=0,Sd=null,Error(i(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Vl={};function S1(e,n,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $n(e,n,r,o){return new S1(e,n,r,o)}function pf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ga(e,n){var r=e.alternate;return r===null?(r=$n(e.tag,n,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=n,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,n=e.dependencies,r.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Sm(e,n){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,n=r.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function As(e,n,r,o,c,d){var g=0;if(o=e,typeof e=="function")pf(e)&&(g=1);else if(typeof e=="string")g=RE(e,r,ie.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oe:return e=$n(31,r,n,c),e.elementType=oe,e.lanes=d,e;case w:return tl(r.children,c,d,n);case R:g=8,c|=24;break;case j:return e=$n(12,r,n,c|2),e.elementType=j,e.lanes=d,e;case N:return e=$n(13,r,n,c),e.elementType=N,e.lanes=d,e;case B:return e=$n(19,r,n,c),e.elementType=B,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:g=10;break e;case L:g=9;break e;case _:g=11;break e;case O:g=14;break e;case Q:g=16,o=null;break e}g=29,r=Error(i(130,e===null?"null":typeof e,"")),o=null}return n=$n(g,r,n,c),n.elementType=e,n.type=o,n.lanes=d,n}function tl(e,n,r,o){return e=$n(7,e,o,n),e.lanes=r,e}function hf(e,n,r){return e=$n(6,e,null,n),e.lanes=r,e}function Em(e){var n=$n(18,null,null,0);return n.stateNode=e,n}function mf(e,n,r){return n=$n(4,e.children!==null?e.children:[],e.key,n),n.lanes=r,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var wm=new WeakMap;function Jn(e,n){if(typeof e=="object"&&e!==null){var r=wm.get(e);return r!==void 0?r:(n={value:e,source:n,stack:Nt(n)},wm.set(e,n),n)}return{value:e,source:n,stack:Nt(n)}}var Yl=[],Gl=0,Os=null,Xi=0,ea=[],ta=0,vr=null,Oa=1,Na="";function Xa(e,n){Yl[Gl++]=Xi,Yl[Gl++]=Os,Os=e,Xi=n}function Cm(e,n,r){ea[ta++]=Oa,ea[ta++]=Na,ea[ta++]=vr,vr=e;var o=Oa;e=Na;var c=32-ke(o)-1;o&=~(1<<c),r+=1;var d=32-ke(n)+c;if(30<d){var g=c-c%5;d=(o&(1<<g)-1).toString(32),o>>=g,c-=g,Oa=1<<32-ke(n)+c|r<<c|o,Na=d+e}else Oa=1<<d|r<<c|o,Na=e}function gf(e){e.return!==null&&(Xa(e,1),Cm(e,1,0))}function yf(e){for(;e===Os;)Os=Yl[--Gl],Yl[Gl]=null,Xi=Yl[--Gl],Yl[Gl]=null;for(;e===vr;)vr=ea[--ta],ea[ta]=null,Na=ea[--ta],ea[ta]=null,Oa=ea[--ta],ea[ta]=null}function Tm(e,n){ea[ta++]=Oa,ea[ta++]=Na,ea[ta++]=vr,Oa=n.id,Na=n.overflow,vr=e}var un=null,At=null,We=!1,br=null,na=!1,vf=Error(i(519));function xr(e){var n=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ki(Jn(n,e)),vf}function Rm(e){var n=e.stateNode,r=e.type,o=e.memoizedProps;switch(n[me]=e,n[ye]=o,r){case"dialog":Ge("cancel",n),Ge("close",n);break;case"iframe":case"object":case"embed":Ge("load",n);break;case"video":case"audio":for(r=0;r<yo.length;r++)Ge(yo[r],n);break;case"source":Ge("error",n);break;case"img":case"image":case"link":Ge("error",n),Ge("load",n);break;case"details":Ge("toggle",n);break;case"input":Ge("invalid",n),Hh(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Ge("invalid",n);break;case"textarea":Ge("invalid",n),Ph(n,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||n.textContent===""+r||o.suppressHydrationWarning===!0||Fy(n.textContent,r)?(o.popover!=null&&(Ge("beforetoggle",n),Ge("toggle",n)),o.onScroll!=null&&Ge("scroll",n),o.onScrollEnd!=null&&Ge("scrollend",n),o.onClick!=null&&(n.onclick=Va),n=!0):n=!1,n||xr(e,!0)}function Am(e){for(un=e.return;un;)switch(un.tag){case 5:case 31:case 13:na=!1;return;case 27:case 3:na=!0;return;default:un=un.return}}function Xl(e){if(e!==un)return!1;if(!We)return Am(e),We=!0,!1;var n=e.tag,r;if((r=n!==3&&n!==27)&&((r=n===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Bd(e.type,e.memoizedProps)),r=!r),r&&At&&xr(e),Am(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));At=Wy(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));At=Wy(e)}else n===27?(n=At,_r(e.type)?(e=Pd,Pd=null,At=e):At=n):At=un?ra(e.stateNode.nextSibling):null;return!0}function nl(){At=un=null,We=!1}function bf(){var e=br;return e!==null&&(_n===null?_n=e:_n.push.apply(_n,e),br=null),e}function Ki(e){br===null?br=[e]:br.push(e)}var xf=z(null),al=null,Ka=null;function Sr(e,n,r){V(xf,n._currentValue),n._currentValue=r}function Ia(e){e._currentValue=xf.current,G(xf)}function Sf(e,n,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===r)break;e=e.return}}function Ef(e,n,r,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;e:for(;d!==null;){var T=d;d=c;for(var U=0;U<n.length;U++)if(T.context===n[U]){d.lanes|=r,T=d.alternate,T!==null&&(T.lanes|=r),Sf(d.return,r,e),o||(g=null);break e}d=T.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(i(341));g.lanes|=r,d=g.alternate,d!==null&&(d.lanes|=r),Sf(g,r,e),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===e){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Kl(e,n,r,o){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error(i(387));if(g=g.memoizedProps,g!==null){var T=c.type;Hn(c.pendingProps.value,g.value)||(e!==null?e.push(T):e=[T])}}else if(c===Ae.current){if(g=c.alternate,g===null)throw Error(i(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Eo):e=[Eo])}c=c.return}e!==null&&Ef(n,e,r,o),n.flags|=262144}function Ns(e){for(e=e.firstContext;e!==null;){if(!Hn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rl(e){al=e,Ka=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function cn(e){return Om(al,e)}function Ms(e,n){return al===null&&rl(e),Om(e,n)}function Om(e,n){var r=n._currentValue;if(n={context:n,memoizedValue:r,next:null},Ka===null){if(e===null)throw Error(i(308));Ka=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Ka=Ka.next=n;return r}var E1=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(r){return r()})}},w1=t.unstable_scheduleCallback,C1=t.unstable_NormalPriority,It={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wf(){return{controller:new E1,data:new Map,refCount:0}}function Ii(e){e.refCount--,e.refCount===0&&w1(C1,function(){e.controller.abort()})}var Qi=null,Cf=0,Il=0,Ql=null;function T1(e,n){if(Qi===null){var r=Qi=[];Cf=0,Il=Ad(),Ql={status:"pending",value:void 0,then:function(o){r.push(o)}}}return Cf++,n.then(Nm,Nm),n}function Nm(){if(--Cf===0&&Qi!==null){Ql!==null&&(Ql.status="fulfilled");var e=Qi;Qi=null,Il=0,Ql=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function R1(e,n){var r=[],o={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<r.length;c++)(0,r[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),o}var Mm=D.S;D.S=function(e,n){py=Ve(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&T1(e,n),Mm!==null&&Mm(e,n)};var ll=z(null);function Tf(){var e=ll.current;return e!==null?e:wt.pooledCache}function js(e,n){n===null?V(ll,ll.current):V(ll,n.pool)}function jm(){var e=Tf();return e===null?null:{parent:It._currentValue,pool:e}}var Zl=Error(i(460)),Rf=Error(i(474)),Ds=Error(i(542)),zs={then:function(){}};function Dm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function zm(e,n,r){switch(r=e[r],r===void 0?e.push(n):r!==n&&(n.then(Va,Va),n=r),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Lm(e),e;default:if(typeof n.status=="string")n.then(Va,Va);else{if(e=wt,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Lm(e),e}throw ol=n,Zl}}function il(e){try{var n=e._init;return n(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(ol=r,Zl):r}}var ol=null;function _m(){if(ol===null)throw Error(i(459));var e=ol;return ol=null,e}function Lm(e){if(e===Zl||e===Ds)throw Error(i(483))}var Wl=null,Zi=0;function _s(e){var n=Zi;return Zi+=1,Wl===null&&(Wl=[]),zm(Wl,e,n)}function Wi(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function Ls(e,n){throw n.$$typeof===C?Error(i(525)):(e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function Bm(e){function n($,H){if(e){var X=$.deletions;X===null?($.deletions=[H],$.flags|=16):X.push(H)}}function r($,H){if(!e)return null;for(;H!==null;)n($,H),H=H.sibling;return null}function o($){for(var H=new Map;$!==null;)$.key!==null?H.set($.key,$):H.set($.index,$),$=$.sibling;return H}function c($,H){return $=Ga($,H),$.index=0,$.sibling=null,$}function d($,H,X){return $.index=X,e?(X=$.alternate,X!==null?(X=X.index,X<H?($.flags|=67108866,H):X):($.flags|=67108866,H)):($.flags|=1048576,H)}function g($){return e&&$.alternate===null&&($.flags|=67108866),$}function T($,H,X,le){return H===null||H.tag!==6?(H=hf(X,$.mode,le),H.return=$,H):(H=c(H,X),H.return=$,H)}function U($,H,X,le){var Ne=X.type;return Ne===w?ne($,H,X.props.children,le,X.key):H!==null&&(H.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===Q&&il(Ne)===H.type)?(H=c(H,X.props),Wi(H,X),H.return=$,H):(H=As(X.type,X.key,X.props,null,$.mode,le),Wi(H,X),H.return=$,H)}function K($,H,X,le){return H===null||H.tag!==4||H.stateNode.containerInfo!==X.containerInfo||H.stateNode.implementation!==X.implementation?(H=mf(X,$.mode,le),H.return=$,H):(H=c(H,X.children||[]),H.return=$,H)}function ne($,H,X,le,Ne){return H===null||H.tag!==7?(H=tl(X,$.mode,le,Ne),H.return=$,H):(H=c(H,X),H.return=$,H)}function se($,H,X){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=hf(""+H,$.mode,X),H.return=$,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case E:return X=As(H.type,H.key,H.props,null,$.mode,X),Wi(X,H),X.return=$,X;case b:return H=mf(H,$.mode,X),H.return=$,H;case Q:return H=il(H),se($,H,X)}if(Y(H)||A(H))return H=tl(H,$.mode,X,null),H.return=$,H;if(typeof H.then=="function")return se($,_s(H),X);if(H.$$typeof===M)return se($,Ms($,H),X);Ls($,H)}return null}function I($,H,X,le){var Ne=H!==null?H.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return Ne!==null?null:T($,H,""+X,le);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case E:return X.key===Ne?U($,H,X,le):null;case b:return X.key===Ne?K($,H,X,le):null;case Q:return X=il(X),I($,H,X,le)}if(Y(X)||A(X))return Ne!==null?null:ne($,H,X,le,null);if(typeof X.then=="function")return I($,H,_s(X),le);if(X.$$typeof===M)return I($,H,Ms($,X),le);Ls($,X)}return null}function J($,H,X,le,Ne){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return $=$.get(X)||null,T(H,$,""+le,Ne);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case E:return $=$.get(le.key===null?X:le.key)||null,U(H,$,le,Ne);case b:return $=$.get(le.key===null?X:le.key)||null,K(H,$,le,Ne);case Q:return le=il(le),J($,H,X,le,Ne)}if(Y(le)||A(le))return $=$.get(X)||null,ne(H,$,le,Ne,null);if(typeof le.then=="function")return J($,H,X,_s(le),Ne);if(le.$$typeof===M)return J($,H,X,Ms(H,le),Ne);Ls(H,le)}return null}function ve($,H,X,le){for(var Ne=null,tt=null,Se=H,qe=H=0,Qe=null;Se!==null&&qe<X.length;qe++){Se.index>qe?(Qe=Se,Se=null):Qe=Se.sibling;var nt=I($,Se,X[qe],le);if(nt===null){Se===null&&(Se=Qe);break}e&&Se&&nt.alternate===null&&n($,Se),H=d(nt,H,qe),tt===null?Ne=nt:tt.sibling=nt,tt=nt,Se=Qe}if(qe===X.length)return r($,Se),We&&Xa($,qe),Ne;if(Se===null){for(;qe<X.length;qe++)Se=se($,X[qe],le),Se!==null&&(H=d(Se,H,qe),tt===null?Ne=Se:tt.sibling=Se,tt=Se);return We&&Xa($,qe),Ne}for(Se=o(Se);qe<X.length;qe++)Qe=J(Se,$,qe,X[qe],le),Qe!==null&&(e&&Qe.alternate!==null&&Se.delete(Qe.key===null?qe:Qe.key),H=d(Qe,H,qe),tt===null?Ne=Qe:tt.sibling=Qe,tt=Qe);return e&&Se.forEach(function(Hr){return n($,Hr)}),We&&Xa($,qe),Ne}function De($,H,X,le){if(X==null)throw Error(i(151));for(var Ne=null,tt=null,Se=H,qe=H=0,Qe=null,nt=X.next();Se!==null&&!nt.done;qe++,nt=X.next()){Se.index>qe?(Qe=Se,Se=null):Qe=Se.sibling;var Hr=I($,Se,nt.value,le);if(Hr===null){Se===null&&(Se=Qe);break}e&&Se&&Hr.alternate===null&&n($,Se),H=d(Hr,H,qe),tt===null?Ne=Hr:tt.sibling=Hr,tt=Hr,Se=Qe}if(nt.done)return r($,Se),We&&Xa($,qe),Ne;if(Se===null){for(;!nt.done;qe++,nt=X.next())nt=se($,nt.value,le),nt!==null&&(H=d(nt,H,qe),tt===null?Ne=nt:tt.sibling=nt,tt=nt);return We&&Xa($,qe),Ne}for(Se=o(Se);!nt.done;qe++,nt=X.next())nt=J(Se,$,qe,nt.value,le),nt!==null&&(e&&nt.alternate!==null&&Se.delete(nt.key===null?qe:nt.key),H=d(nt,H,qe),tt===null?Ne=nt:tt.sibling=nt,tt=nt);return e&&Se.forEach(function(UE){return n($,UE)}),We&&Xa($,qe),Ne}function yt($,H,X,le){if(typeof X=="object"&&X!==null&&X.type===w&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case E:e:{for(var Ne=X.key;H!==null;){if(H.key===Ne){if(Ne=X.type,Ne===w){if(H.tag===7){r($,H.sibling),le=c(H,X.props.children),le.return=$,$=le;break e}}else if(H.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===Q&&il(Ne)===H.type){r($,H.sibling),le=c(H,X.props),Wi(le,X),le.return=$,$=le;break e}r($,H);break}else n($,H);H=H.sibling}X.type===w?(le=tl(X.props.children,$.mode,le,X.key),le.return=$,$=le):(le=As(X.type,X.key,X.props,null,$.mode,le),Wi(le,X),le.return=$,$=le)}return g($);case b:e:{for(Ne=X.key;H!==null;){if(H.key===Ne)if(H.tag===4&&H.stateNode.containerInfo===X.containerInfo&&H.stateNode.implementation===X.implementation){r($,H.sibling),le=c(H,X.children||[]),le.return=$,$=le;break e}else{r($,H);break}else n($,H);H=H.sibling}le=mf(X,$.mode,le),le.return=$,$=le}return g($);case Q:return X=il(X),yt($,H,X,le)}if(Y(X))return ve($,H,X,le);if(A(X)){if(Ne=A(X),typeof Ne!="function")throw Error(i(150));return X=Ne.call(X),De($,H,X,le)}if(typeof X.then=="function")return yt($,H,_s(X),le);if(X.$$typeof===M)return yt($,H,Ms($,X),le);Ls($,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,H!==null&&H.tag===6?(r($,H.sibling),le=c(H,X),le.return=$,$=le):(r($,H),le=hf(X,$.mode,le),le.return=$,$=le),g($)):r($,H)}return function($,H,X,le){try{Zi=0;var Ne=yt($,H,X,le);return Wl=null,Ne}catch(Se){if(Se===Zl||Se===Ds)throw Se;var tt=$n(29,Se,null,$.mode);return tt.lanes=le,tt.return=$,tt}finally{}}}var sl=Bm(!0),Um=Bm(!1),Er=!1;function Af(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Of(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function wr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Cr(e,n,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(rt&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=Rs(e),xm(e,null,r),n}return Ts(e,o,n,r),Rs(e)}function Ji(e,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,q(e,r)}}function Nf(e,n){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var c=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var g={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,r=r.next}while(r!==null);d===null?c=d=n:d=d.next=n}else c=d=n;r={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=n:e.next=n,r.lastBaseUpdate=n}var Mf=!1;function eo(){if(Mf){var e=Ql;if(e!==null)throw e}}function to(e,n,r,o){Mf=!1;var c=e.updateQueue;Er=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,T=c.shared.pending;if(T!==null){c.shared.pending=null;var U=T,K=U.next;U.next=null,g===null?d=K:g.next=K,g=U;var ne=e.alternate;ne!==null&&(ne=ne.updateQueue,T=ne.lastBaseUpdate,T!==g&&(T===null?ne.firstBaseUpdate=K:T.next=K,ne.lastBaseUpdate=U))}if(d!==null){var se=c.baseState;g=0,ne=K=U=null,T=d;do{var I=T.lane&-536870913,J=I!==T.lane;if(J?(Ie&I)===I:(o&I)===I){I!==0&&I===Il&&(Mf=!0),ne!==null&&(ne=ne.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{var ve=e,De=T;I=n;var yt=r;switch(De.tag){case 1:if(ve=De.payload,typeof ve=="function"){se=ve.call(yt,se,I);break e}se=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=De.payload,I=typeof ve=="function"?ve.call(yt,se,I):ve,I==null)break e;se=v({},se,I);break e;case 2:Er=!0}}I=T.callback,I!==null&&(e.flags|=64,J&&(e.flags|=8192),J=c.callbacks,J===null?c.callbacks=[I]:J.push(I))}else J={lane:I,tag:T.tag,payload:T.payload,callback:T.callback,next:null},ne===null?(K=ne=J,U=se):ne=ne.next=J,g|=I;if(T=T.next,T===null){if(T=c.shared.pending,T===null)break;J=T,T=J.next,J.next=null,c.lastBaseUpdate=J,c.shared.pending=null}}while(!0);ne===null&&(U=se),c.baseState=U,c.firstBaseUpdate=K,c.lastBaseUpdate=ne,d===null&&(c.shared.lanes=0),Nr|=g,e.lanes=g,e.memoizedState=se}}function km(e,n){if(typeof e!="function")throw Error(i(191,e));e.call(n)}function Hm(e,n){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)km(r[e],n)}var Jl=z(null),Bs=z(0);function $m(e,n){e=rr,V(Bs,e),V(Jl,n),rr=e|n.baseLanes}function jf(){V(Bs,rr),V(Jl,Jl.current)}function Df(){rr=Bs.current,G(Jl),G(Bs)}var Pn=z(null),aa=null;function Tr(e){var n=e.alternate;V(Ft,Ft.current&1),V(Pn,e),aa===null&&(n===null||Jl.current!==null||n.memoizedState!==null)&&(aa=e)}function zf(e){V(Ft,Ft.current),V(Pn,e),aa===null&&(aa=e)}function Pm(e){e.tag===22?(V(Ft,Ft.current),V(Pn,e),aa===null&&(aa=e)):Rr()}function Rr(){V(Ft,Ft.current),V(Pn,Pn.current)}function qn(e){G(Pn),aa===e&&(aa=null),G(Ft)}var Ft=z(0);function Us(e){for(var n=e;n!==null;){if(n.tag===13){var r=n.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Hd(r)||$d(r)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Qa=0,He=null,mt=null,Qt=null,ks=!1,ei=!1,ul=!1,Hs=0,no=0,ti=null,A1=0;function Lt(){throw Error(i(321))}function _f(e,n){if(n===null)return!1;for(var r=0;r<n.length&&r<e.length;r++)if(!Hn(e[r],n[r]))return!1;return!0}function Lf(e,n,r,o,c,d){return Qa=d,He=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,D.H=e===null||e.memoizedState===null?Cg:Qf,ul=!1,d=r(o,c),ul=!1,ei&&(d=Fm(n,r,o,c)),qm(e),d}function qm(e){D.H=lo;var n=mt!==null&&mt.next!==null;if(Qa=0,Qt=mt=He=null,ks=!1,no=0,ti=null,n)throw Error(i(300));e===null||Zt||(e=e.dependencies,e!==null&&Ns(e)&&(Zt=!0))}function Fm(e,n,r,o){He=e;var c=0;do{if(ei&&(ti=null),no=0,ei=!1,25<=c)throw Error(i(301));if(c+=1,Qt=mt=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}D.H=Tg,d=n(r,o)}while(ei);return d}function O1(){var e=D.H,n=e.useState()[0];return n=typeof n.then=="function"?ao(n):n,e=e.useState()[0],(mt!==null?mt.memoizedState:null)!==e&&(He.flags|=1024),n}function Bf(){var e=Hs!==0;return Hs=0,e}function Uf(e,n,r){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~r}function kf(e){if(ks){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}ks=!1}Qa=0,Qt=mt=He=null,ei=!1,no=Hs=0,ti=null}function wn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qt===null?He.memoizedState=Qt=e:Qt=Qt.next=e,Qt}function Vt(){if(mt===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=mt.next;var n=Qt===null?He.memoizedState:Qt.next;if(n!==null)Qt=n,mt=e;else{if(e===null)throw He.alternate===null?Error(i(467)):Error(i(310));mt=e,e={memoizedState:mt.memoizedState,baseState:mt.baseState,baseQueue:mt.baseQueue,queue:mt.queue,next:null},Qt===null?He.memoizedState=Qt=e:Qt=Qt.next=e}return Qt}function $s(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ao(e){var n=no;return no+=1,ti===null&&(ti=[]),e=zm(ti,e,n),n=He,(Qt===null?n.memoizedState:Qt.next)===null&&(n=n.alternate,D.H=n===null||n.memoizedState===null?Cg:Qf),e}function Ps(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ao(e);if(e.$$typeof===M)return cn(e)}throw Error(i(438,String(e)))}function Hf(e){var n=null,r=He.updateQueue;if(r!==null&&(n=r.memoCache),n==null){var o=He.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),r===null&&(r=$s(),He.updateQueue=r),r.memoCache=n,r=n.data[n.index],r===void 0)for(r=n.data[n.index]=Array(e),o=0;o<e;o++)r[o]=re;return n.index++,r}function Za(e,n){return typeof n=="function"?n(e):n}function qs(e){var n=Vt();return $f(n,mt,e)}function $f(e,n,r){var o=e.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=r;var c=e.baseQueue,d=o.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}n.baseQueue=c=d,o.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var T=g=null,U=null,K=n,ne=!1;do{var se=K.lane&-536870913;if(se!==K.lane?(Ie&se)===se:(Qa&se)===se){var I=K.revertLane;if(I===0)U!==null&&(U=U.next={lane:0,revertLane:0,gesture:null,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),se===Il&&(ne=!0);else if((Qa&I)===I){K=K.next,I===Il&&(ne=!0);continue}else se={lane:0,revertLane:K.revertLane,gesture:null,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null},U===null?(T=U=se,g=d):U=U.next=se,He.lanes|=I,Nr|=I;se=K.action,ul&&r(d,se),d=K.hasEagerState?K.eagerState:r(d,se)}else I={lane:se,revertLane:K.revertLane,gesture:K.gesture,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null},U===null?(T=U=I,g=d):U=U.next=I,He.lanes|=se,Nr|=se;K=K.next}while(K!==null&&K!==n);if(U===null?g=d:U.next=T,!Hn(d,e.memoizedState)&&(Zt=!0,ne&&(r=Ql,r!==null)))throw r;e.memoizedState=d,e.baseState=g,e.baseQueue=U,o.lastRenderedState=d}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Pf(e){var n=Vt(),r=n.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=e;var o=r.dispatch,c=r.pending,d=n.memoizedState;if(c!==null){r.pending=null;var g=c=c.next;do d=e(d,g.action),g=g.next;while(g!==c);Hn(d,n.memoizedState)||(Zt=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),r.lastRenderedState=d}return[d,o]}function Vm(e,n,r){var o=He,c=Vt(),d=We;if(d){if(r===void 0)throw Error(i(407));r=r()}else r=n();var g=!Hn((mt||c).memoizedState,r);if(g&&(c.memoizedState=r,Zt=!0),c=c.queue,Vf(Xm.bind(null,o,c,e),[e]),c.getSnapshot!==n||g||Qt!==null&&Qt.memoizedState.tag&1){if(o.flags|=2048,ni(9,{destroy:void 0},Gm.bind(null,o,c,r,n),null),wt===null)throw Error(i(349));d||(Qa&127)!==0||Ym(o,n,r)}return r}function Ym(e,n,r){e.flags|=16384,e={getSnapshot:n,value:r},n=He.updateQueue,n===null?(n=$s(),He.updateQueue=n,n.stores=[e]):(r=n.stores,r===null?n.stores=[e]:r.push(e))}function Gm(e,n,r,o){n.value=r,n.getSnapshot=o,Km(n)&&Im(e)}function Xm(e,n,r){return r(function(){Km(n)&&Im(e)})}function Km(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!Hn(e,r)}catch{return!0}}function Im(e){var n=el(e,2);n!==null&&Ln(n,e,2)}function qf(e){var n=wn();if(typeof e=="function"){var r=e;if(e=r(),ul){Ee(!0);try{r()}finally{Ee(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:e},n}function Qm(e,n,r,o){return e.baseState=r,$f(e,mt,typeof o=="function"?o:Za)}function N1(e,n,r,o,c){if(Ys(e))throw Error(i(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};D.T!==null?r(!0):d.isTransition=!1,o(d),r=n.pending,r===null?(d.next=n.pending=d,Zm(n,d)):(d.next=r.next,n.pending=r.next=d)}}function Zm(e,n){var r=n.action,o=n.payload,c=e.state;if(n.isTransition){var d=D.T,g={};D.T=g;try{var T=r(c,o),U=D.S;U!==null&&U(g,T),Wm(e,n,T)}catch(K){Ff(e,n,K)}finally{d!==null&&g.types!==null&&(d.types=g.types),D.T=d}}else try{d=r(c,o),Wm(e,n,d)}catch(K){Ff(e,n,K)}}function Wm(e,n,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(o){Jm(e,n,o)},function(o){return Ff(e,n,o)}):Jm(e,n,r)}function Jm(e,n,r){n.status="fulfilled",n.value=r,eg(n),e.state=r,n=e.pending,n!==null&&(r=n.next,r===n?e.pending=null:(r=r.next,n.next=r,Zm(e,r)))}function Ff(e,n,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=r,eg(n),n=n.next;while(n!==o)}e.action=null}function eg(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function tg(e,n){return n}function ng(e,n){if(We){var r=wt.formState;if(r!==null){e:{var o=He;if(We){if(At){t:{for(var c=At,d=na;c.nodeType!==8;){if(!d){c=null;break t}if(c=ra(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){At=ra(c.nextSibling),o=c.data==="F!";break e}}xr(o)}o=!1}o&&(n=r[0])}}return r=wn(),r.memoizedState=r.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tg,lastRenderedState:n},r.queue=o,r=Sg.bind(null,He,o),o.dispatch=r,o=qf(!1),d=If.bind(null,He,!1,o.queue),o=wn(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,r=N1.bind(null,He,c,d,r),c.dispatch=r,o.memoizedState=e,[n,r,!1]}function ag(e){var n=Vt();return rg(n,mt,e)}function rg(e,n,r){if(n=$f(e,n,tg)[0],e=qs(Za)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=ao(n)}catch(g){throw g===Zl?Ds:g}else o=n;n=Vt();var c=n.queue,d=c.dispatch;return r!==n.memoizedState&&(He.flags|=2048,ni(9,{destroy:void 0},M1.bind(null,c,r),null)),[o,d,e]}function M1(e,n){e.action=n}function lg(e){var n=Vt(),r=mt;if(r!==null)return rg(n,r,e);Vt(),n=n.memoizedState,r=Vt();var o=r.queue.dispatch;return r.memoizedState=e,[n,o,!1]}function ni(e,n,r,o){return e={tag:e,create:r,deps:o,inst:n,next:null},n=He.updateQueue,n===null&&(n=$s(),He.updateQueue=n),r=n.lastEffect,r===null?n.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,n.lastEffect=e),e}function ig(){return Vt().memoizedState}function Fs(e,n,r,o){var c=wn();He.flags|=e,c.memoizedState=ni(1|n,{destroy:void 0},r,o===void 0?null:o)}function Vs(e,n,r,o){var c=Vt();o=o===void 0?null:o;var d=c.memoizedState.inst;mt!==null&&o!==null&&_f(o,mt.memoizedState.deps)?c.memoizedState=ni(n,d,r,o):(He.flags|=e,c.memoizedState=ni(1|n,d,r,o))}function og(e,n){Fs(8390656,8,e,n)}function Vf(e,n){Vs(2048,8,e,n)}function j1(e){He.flags|=4;var n=He.updateQueue;if(n===null)n=$s(),He.updateQueue=n,n.events=[e];else{var r=n.events;r===null?n.events=[e]:r.push(e)}}function sg(e){var n=Vt().memoizedState;return j1({ref:n,nextImpl:e}),function(){if((rt&2)!==0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}function ug(e,n){return Vs(4,2,e,n)}function cg(e,n){return Vs(4,4,e,n)}function fg(e,n){if(typeof n=="function"){e=e();var r=n(e);return function(){typeof r=="function"?r():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function dg(e,n,r){r=r!=null?r.concat([e]):null,Vs(4,4,fg.bind(null,n,e),r)}function Yf(){}function pg(e,n){var r=Vt();n=n===void 0?null:n;var o=r.memoizedState;return n!==null&&_f(n,o[1])?o[0]:(r.memoizedState=[e,n],e)}function hg(e,n){var r=Vt();n=n===void 0?null:n;var o=r.memoizedState;if(n!==null&&_f(n,o[1]))return o[0];if(o=e(),ul){Ee(!0);try{e()}finally{Ee(!1)}}return r.memoizedState=[o,n],o}function Gf(e,n,r){return r===void 0||(Qa&1073741824)!==0&&(Ie&261930)===0?e.memoizedState=n:(e.memoizedState=r,e=my(),He.lanes|=e,Nr|=e,r)}function mg(e,n,r,o){return Hn(r,n)?r:Jl.current!==null?(e=Gf(e,r,o),Hn(e,n)||(Zt=!0),e):(Qa&42)===0||(Qa&1073741824)!==0&&(Ie&261930)===0?(Zt=!0,e.memoizedState=r):(e=my(),He.lanes|=e,Nr|=e,n)}function gg(e,n,r,o,c){var d=F.p;F.p=d!==0&&8>d?d:8;var g=D.T,T={};D.T=T,If(e,!1,n,r);try{var U=c(),K=D.S;if(K!==null&&K(T,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var ne=R1(U,o);ro(e,n,ne,Yn(e))}else ro(e,n,o,Yn(e))}catch(se){ro(e,n,{then:function(){},status:"rejected",reason:se},Yn())}finally{F.p=d,g!==null&&T.types!==null&&(g.types=T.types),D.T=g}}function D1(){}function Xf(e,n,r,o){if(e.tag!==5)throw Error(i(476));var c=yg(e).queue;gg(e,c,n,ue,r===null?D1:function(){return vg(e),r(o)})}function yg(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:ue},next:null};var r={};return n.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:r},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function vg(e){var n=yg(e);n.next===null&&(n=e.alternate.memoizedState),ro(e,n.next.queue,{},Yn())}function Kf(){return cn(Eo)}function bg(){return Vt().memoizedState}function xg(){return Vt().memoizedState}function z1(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=Yn();e=wr(r);var o=Cr(n,e,r);o!==null&&(Ln(o,n,r),Ji(o,n,r)),n={cache:wf()},e.payload=n;return}n=n.return}}function _1(e,n,r){var o=Yn();r={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ys(e)?Eg(n,r):(r=df(e,n,r,o),r!==null&&(Ln(r,e,o),wg(r,n,o)))}function Sg(e,n,r){var o=Yn();ro(e,n,r,o)}function ro(e,n,r,o){var c={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ys(e))Eg(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var g=n.lastRenderedState,T=d(g,r);if(c.hasEagerState=!0,c.eagerState=T,Hn(T,g))return Ts(e,n,c,0),wt===null&&Cs(),!1}catch{}finally{}if(r=df(e,n,c,o),r!==null)return Ln(r,e,o),wg(r,n,o),!0}return!1}function If(e,n,r,o){if(o={lane:2,revertLane:Ad(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ys(e)){if(n)throw Error(i(479))}else n=df(e,r,o,2),n!==null&&Ln(n,e,2)}function Ys(e){var n=e.alternate;return e===He||n!==null&&n===He}function Eg(e,n){ei=ks=!0;var r=e.pending;r===null?n.next=n:(n.next=r.next,r.next=n),e.pending=n}function wg(e,n,r){if((r&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,q(e,r)}}var lo={readContext:cn,use:Ps,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useLayoutEffect:Lt,useInsertionEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useSyncExternalStore:Lt,useId:Lt,useHostTransitionStatus:Lt,useFormState:Lt,useActionState:Lt,useOptimistic:Lt,useMemoCache:Lt,useCacheRefresh:Lt};lo.useEffectEvent=Lt;var Cg={readContext:cn,use:Ps,useCallback:function(e,n){return wn().memoizedState=[e,n===void 0?null:n],e},useContext:cn,useEffect:og,useImperativeHandle:function(e,n,r){r=r!=null?r.concat([e]):null,Fs(4194308,4,fg.bind(null,n,e),r)},useLayoutEffect:function(e,n){return Fs(4194308,4,e,n)},useInsertionEffect:function(e,n){Fs(4,2,e,n)},useMemo:function(e,n){var r=wn();n=n===void 0?null:n;var o=e();if(ul){Ee(!0);try{e()}finally{Ee(!1)}}return r.memoizedState=[o,n],o},useReducer:function(e,n,r){var o=wn();if(r!==void 0){var c=r(n);if(ul){Ee(!0);try{r(n)}finally{Ee(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=_1.bind(null,He,e),[o.memoizedState,e]},useRef:function(e){var n=wn();return e={current:e},n.memoizedState=e},useState:function(e){e=qf(e);var n=e.queue,r=Sg.bind(null,He,n);return n.dispatch=r,[e.memoizedState,r]},useDebugValue:Yf,useDeferredValue:function(e,n){var r=wn();return Gf(r,e,n)},useTransition:function(){var e=qf(!1);return e=gg.bind(null,He,e.queue,!0,!1),wn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,r){var o=He,c=wn();if(We){if(r===void 0)throw Error(i(407));r=r()}else{if(r=n(),wt===null)throw Error(i(349));(Ie&127)!==0||Ym(o,n,r)}c.memoizedState=r;var d={value:r,getSnapshot:n};return c.queue=d,og(Xm.bind(null,o,d,e),[e]),o.flags|=2048,ni(9,{destroy:void 0},Gm.bind(null,o,d,r,n),null),r},useId:function(){var e=wn(),n=wt.identifierPrefix;if(We){var r=Na,o=Oa;r=(o&~(1<<32-ke(o)-1)).toString(32)+r,n="_"+n+"R_"+r,r=Hs++,0<r&&(n+="H"+r.toString(32)),n+="_"}else r=A1++,n="_"+n+"r_"+r.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:Kf,useFormState:ng,useActionState:ng,useOptimistic:function(e){var n=wn();n.memoizedState=n.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=r,n=If.bind(null,He,!0,r),r.dispatch=n,[e,n]},useMemoCache:Hf,useCacheRefresh:function(){return wn().memoizedState=z1.bind(null,He)},useEffectEvent:function(e){var n=wn(),r={impl:e};return n.memoizedState=r,function(){if((rt&2)!==0)throw Error(i(440));return r.impl.apply(void 0,arguments)}}},Qf={readContext:cn,use:Ps,useCallback:pg,useContext:cn,useEffect:Vf,useImperativeHandle:dg,useInsertionEffect:ug,useLayoutEffect:cg,useMemo:hg,useReducer:qs,useRef:ig,useState:function(){return qs(Za)},useDebugValue:Yf,useDeferredValue:function(e,n){var r=Vt();return mg(r,mt.memoizedState,e,n)},useTransition:function(){var e=qs(Za)[0],n=Vt().memoizedState;return[typeof e=="boolean"?e:ao(e),n]},useSyncExternalStore:Vm,useId:bg,useHostTransitionStatus:Kf,useFormState:ag,useActionState:ag,useOptimistic:function(e,n){var r=Vt();return Qm(r,mt,e,n)},useMemoCache:Hf,useCacheRefresh:xg};Qf.useEffectEvent=sg;var Tg={readContext:cn,use:Ps,useCallback:pg,useContext:cn,useEffect:Vf,useImperativeHandle:dg,useInsertionEffect:ug,useLayoutEffect:cg,useMemo:hg,useReducer:Pf,useRef:ig,useState:function(){return Pf(Za)},useDebugValue:Yf,useDeferredValue:function(e,n){var r=Vt();return mt===null?Gf(r,e,n):mg(r,mt.memoizedState,e,n)},useTransition:function(){var e=Pf(Za)[0],n=Vt().memoizedState;return[typeof e=="boolean"?e:ao(e),n]},useSyncExternalStore:Vm,useId:bg,useHostTransitionStatus:Kf,useFormState:lg,useActionState:lg,useOptimistic:function(e,n){var r=Vt();return mt!==null?Qm(r,mt,e,n):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Hf,useCacheRefresh:xg};Tg.useEffectEvent=sg;function Zf(e,n,r,o){n=e.memoizedState,r=r(o,n),r=r==null?n:v({},n,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Wf={enqueueSetState:function(e,n,r){e=e._reactInternals;var o=Yn(),c=wr(o);c.payload=n,r!=null&&(c.callback=r),n=Cr(e,c,o),n!==null&&(Ln(n,e,o),Ji(n,e,o))},enqueueReplaceState:function(e,n,r){e=e._reactInternals;var o=Yn(),c=wr(o);c.tag=1,c.payload=n,r!=null&&(c.callback=r),n=Cr(e,c,o),n!==null&&(Ln(n,e,o),Ji(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var r=Yn(),o=wr(r);o.tag=2,n!=null&&(o.callback=n),n=Cr(e,o,r),n!==null&&(Ln(n,e,r),Ji(n,e,r))}};function Rg(e,n,r,o,c,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,g):n.prototype&&n.prototype.isPureReactComponent?!Yi(r,o)||!Yi(c,d):!0}function Ag(e,n,r,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(r,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(r,o),n.state!==e&&Wf.enqueueReplaceState(n,n.state,null)}function cl(e,n){var r=n;if("ref"in n){r={};for(var o in n)o!=="ref"&&(r[o]=n[o])}if(e=e.defaultProps){r===n&&(r=v({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}function Og(e){ws(e)}function Ng(e){console.error(e)}function Mg(e){ws(e)}function Gs(e,n){try{var r=e.onUncaughtError;r(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function jg(e,n,r){try{var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Jf(e,n,r){return r=wr(r),r.tag=3,r.payload={element:null},r.callback=function(){Gs(e,n)},r}function Dg(e){return e=wr(e),e.tag=3,e}function zg(e,n,r,o){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;e.payload=function(){return c(d)},e.callback=function(){jg(n,r,o)}}var g=r.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){jg(n,r,o),typeof c!="function"&&(Mr===null?Mr=new Set([this]):Mr.add(this));var T=o.stack;this.componentDidCatch(o.value,{componentStack:T!==null?T:""})})}function L1(e,n,r,o,c){if(r.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=r.alternate,n!==null&&Kl(n,r,c,!0),r=Pn.current,r!==null){switch(r.tag){case 31:case 13:return aa===null?ru():r.alternate===null&&Bt===0&&(Bt=3),r.flags&=-257,r.flags|=65536,r.lanes=c,o===zs?r.flags|=16384:(n=r.updateQueue,n===null?r.updateQueue=new Set([o]):n.add(o),Cd(e,o,c)),!1;case 22:return r.flags|=65536,o===zs?r.flags|=16384:(n=r.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=n):(r=n.retryQueue,r===null?n.retryQueue=new Set([o]):r.add(o)),Cd(e,o,c)),!1}throw Error(i(435,r.tag))}return Cd(e,o,c),ru(),!1}if(We)return n=Pn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==vf&&(e=Error(i(422),{cause:o}),Ki(Jn(e,r)))):(o!==vf&&(n=Error(i(423),{cause:o}),Ki(Jn(n,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=Jn(o,r),c=Jf(e.stateNode,o,c),Nf(e,c),Bt!==4&&(Bt=2)),!1;var d=Error(i(520),{cause:o});if(d=Jn(d,r),ho===null?ho=[d]:ho.push(d),Bt!==4&&(Bt=2),n===null)return!0;o=Jn(o,r),r=n;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Jf(r.stateNode,o,e),Nf(r,e),!1;case 1:if(n=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Mr===null||!Mr.has(d))))return r.flags|=65536,c&=-c,r.lanes|=c,c=Dg(c),zg(c,e,r,o),Nf(r,c),!1}r=r.return}while(r!==null);return!1}var ed=Error(i(461)),Zt=!1;function fn(e,n,r,o){n.child=e===null?Um(n,null,r,o):sl(n,e.child,r,o)}function _g(e,n,r,o,c){r=r.render;var d=n.ref;if("ref"in o){var g={};for(var T in o)T!=="ref"&&(g[T]=o[T])}else g=o;return rl(n),o=Lf(e,n,r,g,d,c),T=Bf(),e!==null&&!Zt?(Uf(e,n,c),Wa(e,n,c)):(We&&T&&gf(n),n.flags|=1,fn(e,n,o,c),n.child)}function Lg(e,n,r,o,c){if(e===null){var d=r.type;return typeof d=="function"&&!pf(d)&&d.defaultProps===void 0&&r.compare===null?(n.tag=15,n.type=d,Bg(e,n,d,o,c)):(e=As(r.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!sd(e,c)){var g=d.memoizedProps;if(r=r.compare,r=r!==null?r:Yi,r(g,o)&&e.ref===n.ref)return Wa(e,n,c)}return n.flags|=1,e=Ga(d,o),e.ref=n.ref,e.return=n,n.child=e}function Bg(e,n,r,o,c){if(e!==null){var d=e.memoizedProps;if(Yi(d,o)&&e.ref===n.ref)if(Zt=!1,n.pendingProps=o=d,sd(e,c))(e.flags&131072)!==0&&(Zt=!0);else return n.lanes=e.lanes,Wa(e,n,c)}return td(e,n,r,o,c)}function Ug(e,n,r,o){var c=o.children,d=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|r:r,e!==null){for(o=n.child=e.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~d}else o=0,n.child=null;return kg(e,n,d,r,o)}if((r&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&js(n,d!==null?d.cachePool:null),d!==null?$m(n,d):jf(),Pm(n);else return o=n.lanes=536870912,kg(e,n,d!==null?d.baseLanes|r:r,r,o)}else d!==null?(js(n,d.cachePool),$m(n,d),Rr(),n.memoizedState=null):(e!==null&&js(n,null),jf(),Rr());return fn(e,n,c,r),n.child}function io(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function kg(e,n,r,o,c){var d=Tf();return d=d===null?null:{parent:It._currentValue,pool:d},n.memoizedState={baseLanes:r,cachePool:d},e!==null&&js(n,null),jf(),Pm(n),e!==null&&Kl(e,n,o,!0),n.childLanes=c,null}function Xs(e,n){return n=Is({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function Hg(e,n,r){return sl(n,e.child,null,r),e=Xs(n,n.pendingProps),e.flags|=2,qn(n),n.memoizedState=null,e}function B1(e,n,r){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(We){if(o.mode==="hidden")return e=Xs(n,o),n.lanes=536870912,io(null,e);if(zf(n),(e=At)?(e=Zy(e,na),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:vr!==null?{id:Oa,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},r=Em(e),r.return=n,n.child=r,un=n,At=null)):e=null,e===null)throw xr(n);return n.lanes=536870912,null}return Xs(n,o)}var d=e.memoizedState;if(d!==null){var g=d.dehydrated;if(zf(n),c)if(n.flags&256)n.flags&=-257,n=Hg(e,n,r);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(i(558));else if(Zt||Kl(e,n,r,!1),c=(r&e.childLanes)!==0,Zt||c){if(o=wt,o!==null&&(g=Z(o,r),g!==0&&g!==d.retryLane))throw d.retryLane=g,el(e,g),Ln(o,e,g),ed;ru(),n=Hg(e,n,r)}else e=d.treeContext,At=ra(g.nextSibling),un=n,We=!0,br=null,na=!1,e!==null&&Tm(n,e),n=Xs(n,o),n.flags|=4096;return n}return e=Ga(e.child,{mode:o.mode,children:o.children}),e.ref=n.ref,n.child=e,e.return=n,e}function Ks(e,n){var r=n.ref;if(r===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(i(284));(e===null||e.ref!==r)&&(n.flags|=4194816)}}function td(e,n,r,o,c){return rl(n),r=Lf(e,n,r,o,void 0,c),o=Bf(),e!==null&&!Zt?(Uf(e,n,c),Wa(e,n,c)):(We&&o&&gf(n),n.flags|=1,fn(e,n,r,c),n.child)}function $g(e,n,r,o,c,d){return rl(n),n.updateQueue=null,r=Fm(n,o,r,c),qm(e),o=Bf(),e!==null&&!Zt?(Uf(e,n,d),Wa(e,n,d)):(We&&o&&gf(n),n.flags|=1,fn(e,n,r,d),n.child)}function Pg(e,n,r,o,c){if(rl(n),n.stateNode===null){var d=Vl,g=r.contextType;typeof g=="object"&&g!==null&&(d=cn(g)),d=new r(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Wf,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},Af(n),g=r.contextType,d.context=typeof g=="object"&&g!==null?cn(g):Vl,d.state=n.memoizedState,g=r.getDerivedStateFromProps,typeof g=="function"&&(Zf(n,r,g,o),d.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&Wf.enqueueReplaceState(d,d.state,null),to(n,o,d,c),eo(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){d=n.stateNode;var T=n.memoizedProps,U=cl(r,T);d.props=U;var K=d.context,ne=r.contextType;g=Vl,typeof ne=="object"&&ne!==null&&(g=cn(ne));var se=r.getDerivedStateFromProps;ne=typeof se=="function"||typeof d.getSnapshotBeforeUpdate=="function",T=n.pendingProps!==T,ne||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(T||K!==g)&&Ag(n,d,o,g),Er=!1;var I=n.memoizedState;d.state=I,to(n,o,d,c),eo(),K=n.memoizedState,T||I!==K||Er?(typeof se=="function"&&(Zf(n,r,se,o),K=n.memoizedState),(U=Er||Rg(n,r,U,o,I,K,g))?(ne||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=K),d.props=o,d.state=K,d.context=g,o=U):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,Of(e,n),g=n.memoizedProps,ne=cl(r,g),d.props=ne,se=n.pendingProps,I=d.context,K=r.contextType,U=Vl,typeof K=="object"&&K!==null&&(U=cn(K)),T=r.getDerivedStateFromProps,(K=typeof T=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==se||I!==U)&&Ag(n,d,o,U),Er=!1,I=n.memoizedState,d.state=I,to(n,o,d,c),eo();var J=n.memoizedState;g!==se||I!==J||Er||e!==null&&e.dependencies!==null&&Ns(e.dependencies)?(typeof T=="function"&&(Zf(n,r,T,o),J=n.memoizedState),(ne=Er||Rg(n,r,ne,o,I,J,U)||e!==null&&e.dependencies!==null&&Ns(e.dependencies))?(K||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,J,U),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,J,U)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=J),d.props=o,d.state=J,d.context=U,o=ne):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=1024),o=!1)}return d=o,Ks(e,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,r=o&&typeof r.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&o?(n.child=sl(n,e.child,null,c),n.child=sl(n,null,r,c)):fn(e,n,r,c),n.memoizedState=d.state,e=n.child):e=Wa(e,n,c),e}function qg(e,n,r,o){return nl(),n.flags|=256,fn(e,n,r,o),n.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ad(e){return{baseLanes:e,cachePool:jm()}}function rd(e,n,r){return e=e!==null?e.childLanes&~r:0,n&&(e|=Vn),e}function Fg(e,n,r){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,g;if((g=d)||(g=e!==null&&e.memoizedState===null?!1:(Ft.current&2)!==0),g&&(c=!0,n.flags&=-129),g=(n.flags&32)!==0,n.flags&=-33,e===null){if(We){if(c?Tr(n):Rr(),(e=At)?(e=Zy(e,na),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:vr!==null?{id:Oa,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},r=Em(e),r.return=n,n.child=r,un=n,At=null)):e=null,e===null)throw xr(n);return $d(e)?n.lanes=32:n.lanes=536870912,null}var T=o.children;return o=o.fallback,c?(Rr(),c=n.mode,T=Is({mode:"hidden",children:T},c),o=tl(o,c,r,null),T.return=n,o.return=n,T.sibling=o,n.child=T,o=n.child,o.memoizedState=ad(r),o.childLanes=rd(e,g,r),n.memoizedState=nd,io(null,o)):(Tr(n),ld(n,T))}var U=e.memoizedState;if(U!==null&&(T=U.dehydrated,T!==null)){if(d)n.flags&256?(Tr(n),n.flags&=-257,n=id(e,n,r)):n.memoizedState!==null?(Rr(),n.child=e.child,n.flags|=128,n=null):(Rr(),T=o.fallback,c=n.mode,o=Is({mode:"visible",children:o.children},c),T=tl(T,c,r,null),T.flags|=2,o.return=n,T.return=n,o.sibling=T,n.child=o,sl(n,e.child,null,r),o=n.child,o.memoizedState=ad(r),o.childLanes=rd(e,g,r),n.memoizedState=nd,n=io(null,o));else if(Tr(n),$d(T)){if(g=T.nextSibling&&T.nextSibling.dataset,g)var K=g.dgst;g=K,o=Error(i(419)),o.stack="",o.digest=g,Ki({value:o,source:null,stack:null}),n=id(e,n,r)}else if(Zt||Kl(e,n,r,!1),g=(r&e.childLanes)!==0,Zt||g){if(g=wt,g!==null&&(o=Z(g,r),o!==0&&o!==U.retryLane))throw U.retryLane=o,el(e,o),Ln(g,e,o),ed;Hd(T)||ru(),n=id(e,n,r)}else Hd(T)?(n.flags|=192,n.child=e.child,n=null):(e=U.treeContext,At=ra(T.nextSibling),un=n,We=!0,br=null,na=!1,e!==null&&Tm(n,e),n=ld(n,o.children),n.flags|=4096);return n}return c?(Rr(),T=o.fallback,c=n.mode,U=e.child,K=U.sibling,o=Ga(U,{mode:"hidden",children:o.children}),o.subtreeFlags=U.subtreeFlags&65011712,K!==null?T=Ga(K,T):(T=tl(T,c,r,null),T.flags|=2),T.return=n,o.return=n,o.sibling=T,n.child=o,io(null,o),o=n.child,T=e.child.memoizedState,T===null?T=ad(r):(c=T.cachePool,c!==null?(U=It._currentValue,c=c.parent!==U?{parent:U,pool:U}:c):c=jm(),T={baseLanes:T.baseLanes|r,cachePool:c}),o.memoizedState=T,o.childLanes=rd(e,g,r),n.memoizedState=nd,io(e.child,o)):(Tr(n),r=e.child,e=r.sibling,r=Ga(r,{mode:"visible",children:o.children}),r.return=n,r.sibling=null,e!==null&&(g=n.deletions,g===null?(n.deletions=[e],n.flags|=16):g.push(e)),n.child=r,n.memoizedState=null,r)}function ld(e,n){return n=Is({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Is(e,n){return e=$n(22,e,null,n),e.lanes=0,e}function id(e,n,r){return sl(n,e.child,null,r),e=ld(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Vg(e,n,r){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),Sf(e.return,n,r)}function od(e,n,r,o,c,d){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:c,treeForkCount:d}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=o,g.tail=r,g.tailMode=c,g.treeForkCount=d)}function Yg(e,n,r){var o=n.pendingProps,c=o.revealOrder,d=o.tail;o=o.children;var g=Ft.current,T=(g&2)!==0;if(T?(g=g&1|2,n.flags|=128):g&=1,V(Ft,g),fn(e,n,o,r),o=We?Xi:0,!T&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Vg(e,r,n);else if(e.tag===19)Vg(e,r,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(r=n.child,c=null;r!==null;)e=r.alternate,e!==null&&Us(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=n.child,n.child=null):(c=r.sibling,r.sibling=null),od(n,!1,c,r,d,o);break;case"backwards":case"unstable_legacy-backwards":for(r=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&Us(e)===null){n.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}od(n,!0,r,null,d,o);break;case"together":od(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function Wa(e,n,r){if(e!==null&&(n.dependencies=e.dependencies),Nr|=n.lanes,(r&n.childLanes)===0)if(e!==null){if(Kl(e,n,r,!1),(r&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,r=Ga(e,e.pendingProps),n.child=r,r.return=n;e.sibling!==null;)e=e.sibling,r=r.sibling=Ga(e,e.pendingProps),r.return=n;r.sibling=null}return n.child}function sd(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Ns(e)))}function U1(e,n,r){switch(n.tag){case 3:Je(n,n.stateNode.containerInfo),Sr(n,It,e.memoizedState.cache),nl();break;case 27:case 5:je(n);break;case 4:Je(n,n.stateNode.containerInfo);break;case 10:Sr(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,zf(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(Tr(n),n.flags|=128,null):(r&n.child.childLanes)!==0?Fg(e,n,r):(Tr(n),e=Wa(e,n,r),e!==null?e.sibling:null);Tr(n);break;case 19:var c=(e.flags&128)!==0;if(o=(r&n.childLanes)!==0,o||(Kl(e,n,r,!1),o=(r&n.childLanes)!==0),c){if(o)return Yg(e,n,r);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),V(Ft,Ft.current),o)break;return null;case 22:return n.lanes=0,Ug(e,n,r,n.pendingProps);case 24:Sr(n,It,e.memoizedState.cache)}return Wa(e,n,r)}function Gg(e,n,r){if(e!==null)if(e.memoizedProps!==n.pendingProps)Zt=!0;else{if(!sd(e,r)&&(n.flags&128)===0)return Zt=!1,U1(e,n,r);Zt=(e.flags&131072)!==0}else Zt=!1,We&&(n.flags&1048576)!==0&&Cm(n,Xi,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(e=il(n.elementType),n.type=e,typeof e=="function")pf(e)?(o=cl(e,o),n.tag=1,n=Pg(null,n,e,o,r)):(n.tag=0,n=td(null,n,e,o,r));else{if(e!=null){var c=e.$$typeof;if(c===_){n.tag=11,n=_g(null,n,e,o,r);break e}else if(c===O){n.tag=14,n=Lg(null,n,e,o,r);break e}}throw n=P(e)||e,Error(i(306,n,""))}}return n;case 0:return td(e,n,n.type,n.pendingProps,r);case 1:return o=n.type,c=cl(o,n.pendingProps),Pg(e,n,o,c,r);case 3:e:{if(Je(n,n.stateNode.containerInfo),e===null)throw Error(i(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,Of(e,n),to(n,o,null,r);var g=n.memoizedState;if(o=g.cache,Sr(n,It,o),o!==d.cache&&Ef(n,[It],r,!0),eo(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=qg(e,n,o,r);break e}else if(o!==c){c=Jn(Error(i(424)),n),Ki(c),n=qg(e,n,o,r);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(At=ra(e.firstChild),un=n,We=!0,br=null,na=!0,r=Um(n,null,o,r),n.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(nl(),o===c){n=Wa(e,n,r);break e}fn(e,n,o,r)}n=n.child}return n;case 26:return Ks(e,n),e===null?(r=a0(n.type,null,n.pendingProps,null))?n.memoizedState=r:We||(r=n.type,e=n.pendingProps,o=fu(be.current).createElement(r),o[me]=n,o[ye]=e,dn(o,r,e),ct(o),n.stateNode=o):n.memoizedState=a0(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return je(n),e===null&&We&&(o=n.stateNode=e0(n.type,n.pendingProps,be.current),un=n,na=!0,c=At,_r(n.type)?(Pd=c,At=ra(o.firstChild)):At=c),fn(e,n,n.pendingProps.children,r),Ks(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&We&&((c=o=At)&&(o=pE(o,n.type,n.pendingProps,na),o!==null?(n.stateNode=o,un=n,At=ra(o.firstChild),na=!1,c=!0):c=!1),c||xr(n)),je(n),c=n.type,d=n.pendingProps,g=e!==null?e.memoizedProps:null,o=d.children,Bd(c,d)?o=null:g!==null&&Bd(c,g)&&(n.flags|=32),n.memoizedState!==null&&(c=Lf(e,n,O1,null,null,r),Eo._currentValue=c),Ks(e,n),fn(e,n,o,r),n.child;case 6:return e===null&&We&&((e=r=At)&&(r=hE(r,n.pendingProps,na),r!==null?(n.stateNode=r,un=n,At=null,e=!0):e=!1),e||xr(n)),null;case 13:return Fg(e,n,r);case 4:return Je(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=sl(n,null,o,r):fn(e,n,o,r),n.child;case 11:return _g(e,n,n.type,n.pendingProps,r);case 7:return fn(e,n,n.pendingProps,r),n.child;case 8:return fn(e,n,n.pendingProps.children,r),n.child;case 12:return fn(e,n,n.pendingProps.children,r),n.child;case 10:return o=n.pendingProps,Sr(n,n.type,o.value),fn(e,n,o.children,r),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,rl(n),c=cn(c),o=o(c),n.flags|=1,fn(e,n,o,r),n.child;case 14:return Lg(e,n,n.type,n.pendingProps,r);case 15:return Bg(e,n,n.type,n.pendingProps,r);case 19:return Yg(e,n,r);case 31:return B1(e,n,r);case 22:return Ug(e,n,r,n.pendingProps);case 24:return rl(n),o=cn(It),e===null?(c=Tf(),c===null&&(c=wt,d=wf(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=r),c=d),n.memoizedState={parent:o,cache:c},Af(n),Sr(n,It,c)):((e.lanes&r)!==0&&(Of(e,n),to(n,null,null,r),eo()),c=e.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),Sr(n,It,o)):(o=d.cache,Sr(n,It,o),o!==c.cache&&Ef(n,[It],r,!0))),fn(e,n,n.pendingProps.children,r),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function Ja(e){e.flags|=4}function ud(e,n,r,o,c){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(by())e.flags|=8192;else throw ol=zs,Rf}else e.flags&=-16777217}function Xg(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!s0(n))if(by())e.flags|=8192;else throw ol=zs,Rf}function Qs(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Ir():536870912,e.lanes|=n,ii|=n)}function oo(e,n){if(!We)switch(e.tailMode){case"hidden":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ot(e){var n=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(n)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function k1(e,n,r){var o=n.pendingProps;switch(yf(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(n),null;case 1:return Ot(n),null;case 3:return r=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Ia(It),ze(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Xl(n)?Ja(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,bf())),Ot(n),null;case 26:var c=n.type,d=n.memoizedState;return e===null?(Ja(n),d!==null?(Ot(n),Xg(n,d)):(Ot(n),ud(n,c,null,o,r))):d?d!==e.memoizedState?(Ja(n),Ot(n),Xg(n,d)):(Ot(n),n.flags&=-16777217):(e=e.memoizedProps,e!==o&&Ja(n),Ot(n),ud(n,c,e,o,r)),null;case 27:if(Oe(n),r=be.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Ja(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return Ot(n),null}e=ie.current,Xl(n)?Rm(n):(e=e0(c,o,r),n.stateNode=e,Ja(n))}return Ot(n),null;case 5:if(Oe(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Ja(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return Ot(n),null}if(d=ie.current,Xl(n))Rm(n);else{var g=fu(be.current);switch(d){case 1:d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=g.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?g.createElement("select",{is:o.is}):g.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?g.createElement(c,{is:o.is}):g.createElement(c)}}d[me]=n,d[ye]=o;e:for(g=n.child;g!==null;){if(g.tag===5||g.tag===6)d.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===n)break e;for(;g.sibling===null;){if(g.return===null||g.return===n)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}n.stateNode=d;e:switch(dn(d,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Ja(n)}}return Ot(n),ud(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,r),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&Ja(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(i(166));if(e=be.current,Xl(n)){if(e=n.stateNode,r=n.memoizedProps,o=null,c=un,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[me]=n,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||Fy(e.nodeValue,r)),e||xr(n,!0)}else e=fu(e).createTextNode(o),e[me]=n,n.stateNode=e}return Ot(n),null;case 31:if(r=n.memoizedState,e===null||e.memoizedState!==null){if(o=Xl(n),r!==null){if(e===null){if(!o)throw Error(i(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[me]=n}else nl(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ot(n),e=!1}else r=bf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return n.flags&256?(qn(n),n):(qn(n),null);if((n.flags&128)!==0)throw Error(i(558))}return Ot(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Xl(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(i(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(i(317));c[me]=n}else nl(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ot(n),c=!1}else c=bf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(qn(n),n):(qn(n),null)}return qn(n),(n.flags&128)!==0?(n.lanes=r,n):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)),r!==e&&r&&(n.child.flags|=8192),Qs(n,n.updateQueue),Ot(n),null);case 4:return ze(),e===null&&jd(n.stateNode.containerInfo),Ot(n),null;case 10:return Ia(n.type),Ot(n),null;case 19:if(G(Ft),o=n.memoizedState,o===null)return Ot(n),null;if(c=(n.flags&128)!==0,d=o.rendering,d===null)if(c)oo(o,!1);else{if(Bt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=Us(e),d!==null){for(n.flags|=128,oo(o,!1),e=d.updateQueue,n.updateQueue=e,Qs(n,e),n.subtreeFlags=0,e=r,r=n.child;r!==null;)Sm(r,e),r=r.sibling;return V(Ft,Ft.current&1|2),We&&Xa(n,o.treeForkCount),n.child}e=e.sibling}o.tail!==null&&Ve()>tu&&(n.flags|=128,c=!0,oo(o,!1),n.lanes=4194304)}else{if(!c)if(e=Us(d),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,Qs(n,e),oo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!We)return Ot(n),null}else 2*Ve()-o.renderingStartTime>tu&&r!==536870912&&(n.flags|=128,c=!0,oo(o,!1),n.lanes=4194304);o.isBackwards?(d.sibling=n.child,n.child=d):(e=o.last,e!==null?e.sibling=d:n.child=d,o.last=d)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ve(),e.sibling=null,r=Ft.current,V(Ft,c?r&1|2:r&1),We&&Xa(n,o.treeForkCount),e):(Ot(n),null);case 22:case 23:return qn(n),Df(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(r&536870912)!==0&&(n.flags&128)===0&&(Ot(n),n.subtreeFlags&6&&(n.flags|=8192)):Ot(n),r=n.updateQueue,r!==null&&Qs(n,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==r&&(n.flags|=2048),e!==null&&G(ll),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),Ia(It),Ot(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function H1(e,n){switch(yf(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Ia(It),ze(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Oe(n),null;case 31:if(n.memoizedState!==null){if(qn(n),n.alternate===null)throw Error(i(340));nl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(qn(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));nl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return G(Ft),null;case 4:return ze(),null;case 10:return Ia(n.type),null;case 22:case 23:return qn(n),Df(),e!==null&&G(ll),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Ia(It),null;case 25:return null;default:return null}}function Kg(e,n){switch(yf(n),n.tag){case 3:Ia(It),ze();break;case 26:case 27:case 5:Oe(n);break;case 4:ze();break;case 31:n.memoizedState!==null&&qn(n);break;case 13:qn(n);break;case 19:G(Ft);break;case 10:Ia(n.type);break;case 22:case 23:qn(n),Df(),e!==null&&G(ll);break;case 24:Ia(It)}}function so(e,n){try{var r=n.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var c=o.next;r=c;do{if((r.tag&e)===e){o=void 0;var d=r.create,g=r.inst;o=d(),g.destroy=o}r=r.next}while(r!==c)}}catch(T){dt(n,n.return,T)}}function Ar(e,n,r){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&e)===e){var g=o.inst,T=g.destroy;if(T!==void 0){g.destroy=void 0,c=n;var U=r,K=T;try{K()}catch(ne){dt(c,U,ne)}}}o=o.next}while(o!==d)}}catch(ne){dt(n,n.return,ne)}}function Ig(e){var n=e.updateQueue;if(n!==null){var r=e.stateNode;try{Hm(n,r)}catch(o){dt(e,e.return,o)}}}function Qg(e,n,r){r.props=cl(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(o){dt(e,n,o)}}function uo(e,n){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof r=="function"?e.refCleanup=r(o):r.current=o}}catch(c){dt(e,n,c)}}function Ma(e,n){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{o()}catch(c){dt(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){dt(e,n,c)}else r.current=null}function Zg(e){var n=e.type,r=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":r.autoFocus&&o.focus();break e;case"img":r.src?o.src=r.src:r.srcSet&&(o.srcset=r.srcSet)}}catch(c){dt(e,e.return,c)}}function cd(e,n,r){try{var o=e.stateNode;oE(o,e.type,r,n),o[ye]=n}catch(c){dt(e,e.return,c)}}function Wg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_r(e.type)||e.tag===4}function fd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&_r(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function dd(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,n):(n=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,n.appendChild(e),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=Va));else if(o!==4&&(o===27&&_r(e.type)&&(r=e.stateNode,n=null),e=e.child,e!==null))for(dd(e,n,r),e=e.sibling;e!==null;)dd(e,n,r),e=e.sibling}function Zs(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?r.insertBefore(e,n):r.appendChild(e);else if(o!==4&&(o===27&&_r(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Zs(e,n,r),e=e.sibling;e!==null;)Zs(e,n,r),e=e.sibling}function Jg(e){var n=e.stateNode,r=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);dn(n,o,r),n[me]=e,n[ye]=r}catch(d){dt(e,e.return,d)}}var er=!1,Wt=!1,pd=!1,ey=typeof WeakSet=="function"?WeakSet:Set,sn=null;function $1(e,n){if(e=e.containerInfo,_d=vu,e=dm(e),lf(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var g=0,T=-1,U=-1,K=0,ne=0,se=e,I=null;t:for(;;){for(var J;se!==r||c!==0&&se.nodeType!==3||(T=g+c),se!==d||o!==0&&se.nodeType!==3||(U=g+o),se.nodeType===3&&(g+=se.nodeValue.length),(J=se.firstChild)!==null;)I=se,se=J;for(;;){if(se===e)break t;if(I===r&&++K===c&&(T=g),I===d&&++ne===o&&(U=g),(J=se.nextSibling)!==null)break;se=I,I=se.parentNode}se=J}r=T===-1||U===-1?null:{start:T,end:U}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ld={focusedElem:e,selectionRange:r},vu=!1,sn=n;sn!==null;)if(n=sn,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,sn=e;else for(;sn!==null;){switch(n=sn,d=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)c=e[r],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=n,c=d.memoizedProps,d=d.memoizedState,o=r.stateNode;try{var ve=cl(r.type,c);e=o.getSnapshotBeforeUpdate(ve,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(De){dt(r,r.return,De)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,r=e.nodeType,r===9)kd(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(i(163))}if(e=n.sibling,e!==null){e.return=n.return,sn=e;break}sn=n.return}}function ty(e,n,r){var o=r.flags;switch(r.tag){case 0:case 11:case 15:nr(e,r),o&4&&so(5,r);break;case 1:if(nr(e,r),o&4)if(e=r.stateNode,n===null)try{e.componentDidMount()}catch(g){dt(r,r.return,g)}else{var c=cl(r.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(g){dt(r,r.return,g)}}o&64&&Ig(r),o&512&&uo(r,r.return);break;case 3:if(nr(e,r),o&64&&(e=r.updateQueue,e!==null)){if(n=null,r.child!==null)switch(r.child.tag){case 27:case 5:n=r.child.stateNode;break;case 1:n=r.child.stateNode}try{Hm(e,n)}catch(g){dt(r,r.return,g)}}break;case 27:n===null&&o&4&&Jg(r);case 26:case 5:nr(e,r),n===null&&o&4&&Zg(r),o&512&&uo(r,r.return);break;case 12:nr(e,r);break;case 31:nr(e,r),o&4&&ry(e,r);break;case 13:nr(e,r),o&4&&ly(e,r),o&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=I1.bind(null,r),mE(e,r))));break;case 22:if(o=r.memoizedState!==null||er,!o){n=n!==null&&n.memoizedState!==null||Wt,c=er;var d=Wt;er=o,(Wt=n)&&!d?ar(e,r,(r.subtreeFlags&8772)!==0):nr(e,r),er=c,Wt=d}break;case 30:break;default:nr(e,r)}}function ny(e){var n=e.alternate;n!==null&&(e.alternate=null,ny(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&ut(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var jt=null,jn=!1;function tr(e,n,r){for(r=r.child;r!==null;)ay(e,n,r),r=r.sibling}function ay(e,n,r){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(Kt,r)}catch{}switch(r.tag){case 26:Wt||Ma(r,n),tr(e,n,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Wt||Ma(r,n);var o=jt,c=jn;_r(r.type)&&(jt=r.stateNode,jn=!1),tr(e,n,r),bo(r.stateNode),jt=o,jn=c;break;case 5:Wt||Ma(r,n);case 6:if(o=jt,c=jn,jt=null,tr(e,n,r),jt=o,jn=c,jt!==null)if(jn)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(r.stateNode)}catch(d){dt(r,n,d)}else try{jt.removeChild(r.stateNode)}catch(d){dt(r,n,d)}break;case 18:jt!==null&&(jn?(e=jt,Iy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),hi(e)):Iy(jt,r.stateNode));break;case 4:o=jt,c=jn,jt=r.stateNode.containerInfo,jn=!0,tr(e,n,r),jt=o,jn=c;break;case 0:case 11:case 14:case 15:Ar(2,r,n),Wt||Ar(4,r,n),tr(e,n,r);break;case 1:Wt||(Ma(r,n),o=r.stateNode,typeof o.componentWillUnmount=="function"&&Qg(r,n,o)),tr(e,n,r);break;case 21:tr(e,n,r);break;case 22:Wt=(o=Wt)||r.memoizedState!==null,tr(e,n,r),Wt=o;break;default:tr(e,n,r)}}function ry(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{hi(e)}catch(r){dt(n,n.return,r)}}}function ly(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{hi(e)}catch(r){dt(n,n.return,r)}}function P1(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new ey),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new ey),n;default:throw Error(i(435,e.tag))}}function Ws(e,n){var r=P1(e);n.forEach(function(o){if(!r.has(o)){r.add(o);var c=Q1.bind(null,e,o);o.then(c,c)}})}function Dn(e,n){var r=n.deletions;if(r!==null)for(var o=0;o<r.length;o++){var c=r[o],d=e,g=n,T=g;e:for(;T!==null;){switch(T.tag){case 27:if(_r(T.type)){jt=T.stateNode,jn=!1;break e}break;case 5:jt=T.stateNode,jn=!1;break e;case 3:case 4:jt=T.stateNode.containerInfo,jn=!0;break e}T=T.return}if(jt===null)throw Error(i(160));ay(d,g,c),jt=null,jn=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)iy(n,e),n=n.sibling}var xa=null;function iy(e,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Dn(n,e),zn(e),o&4&&(Ar(3,e,e.return),so(3,e),Ar(5,e,e.return));break;case 1:Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),o&64&&er&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?o:r.concat(o))));break;case 26:var c=xa;if(Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),o&4){var d=r!==null?r.memoizedState:null;if(o=e.memoizedState,r===null)if(o===null)if(e.stateNode===null){e:{o=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Mt]||d[me]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),dn(d,o,r),d[me]=e,ct(d),o=d;break e;case"link":var g=i0("link","href",c).get(o+(r.href||""));if(g){for(var T=0;T<g.length;T++)if(d=g[T],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){g.splice(T,1);break t}}d=c.createElement(o),dn(d,o,r),c.head.appendChild(d);break;case"meta":if(g=i0("meta","content",c).get(o+(r.content||""))){for(T=0;T<g.length;T++)if(d=g[T],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){g.splice(T,1);break t}}d=c.createElement(o),dn(d,o,r),c.head.appendChild(d);break;default:throw Error(i(468,o))}d[me]=e,ct(d),o=d}e.stateNode=o}else o0(c,e.type,e.stateNode);else e.stateNode=l0(c,o,e.memoizedProps);else d!==o?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,o===null?o0(c,e.type,e.stateNode):l0(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&cd(e,e.memoizedProps,r.memoizedProps)}break;case 27:Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),r!==null&&o&4&&cd(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),e.flags&32){c=e.stateNode;try{Ul(c,"")}catch(ve){dt(e,e.return,ve)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,cd(e,c,r!==null?r.memoizedProps:c)),o&1024&&(pd=!0);break;case 6:if(Dn(n,e),zn(e),o&4){if(e.stateNode===null)throw Error(i(162));o=e.memoizedProps,r=e.stateNode;try{r.nodeValue=o}catch(ve){dt(e,e.return,ve)}}break;case 3:if(hu=null,c=xa,xa=du(n.containerInfo),Dn(n,e),xa=c,zn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{hi(n.containerInfo)}catch(ve){dt(e,e.return,ve)}pd&&(pd=!1,oy(e));break;case 4:o=xa,xa=du(e.stateNode.containerInfo),Dn(n,e),zn(e),xa=o;break;case 12:Dn(n,e),zn(e);break;case 31:Dn(n,e),zn(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Ws(e,o)));break;case 13:Dn(n,e),zn(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(eu=Ve()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Ws(e,o)));break;case 22:c=e.memoizedState!==null;var U=r!==null&&r.memoizedState!==null,K=er,ne=Wt;if(er=K||c,Wt=ne||U,Dn(n,e),Wt=ne,er=K,zn(e),o&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(r===null||U||er||Wt||fl(e)),r=null,n=e;;){if(n.tag===5||n.tag===26){if(r===null){U=r=n;try{if(d=U.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{T=U.stateNode;var se=U.memoizedProps.style,I=se!=null&&se.hasOwnProperty("display")?se.display:null;T.style.display=I==null||typeof I=="boolean"?"":(""+I).trim()}}catch(ve){dt(U,U.return,ve)}}}else if(n.tag===6){if(r===null){U=n;try{U.stateNode.nodeValue=c?"":U.memoizedProps}catch(ve){dt(U,U.return,ve)}}}else if(n.tag===18){if(r===null){U=n;try{var J=U.stateNode;c?Qy(J,!0):Qy(U.stateNode,!1)}catch(ve){dt(U,U.return,ve)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;r===n&&(r=null),n=n.return}r===n&&(r=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=e.updateQueue,o!==null&&(r=o.retryQueue,r!==null&&(o.retryQueue=null,Ws(e,r))));break;case 19:Dn(n,e),zn(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Ws(e,o)));break;case 30:break;case 21:break;default:Dn(n,e),zn(e)}}function zn(e){var n=e.flags;if(n&2){try{for(var r,o=e.return;o!==null;){if(Wg(o)){r=o;break}o=o.return}if(r==null)throw Error(i(160));switch(r.tag){case 27:var c=r.stateNode,d=fd(e);Zs(e,d,c);break;case 5:var g=r.stateNode;r.flags&32&&(Ul(g,""),r.flags&=-33);var T=fd(e);Zs(e,T,g);break;case 3:case 4:var U=r.stateNode.containerInfo,K=fd(e);dd(e,K,U);break;default:throw Error(i(161))}}catch(ne){dt(e,e.return,ne)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function oy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;oy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function nr(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)ty(e,n.alternate,n),n=n.sibling}function fl(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:Ar(4,n,n.return),fl(n);break;case 1:Ma(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&Qg(n,n.return,r),fl(n);break;case 27:bo(n.stateNode);case 26:case 5:Ma(n,n.return),fl(n);break;case 22:n.memoizedState===null&&fl(n);break;case 30:fl(n);break;default:fl(n)}e=e.sibling}}function ar(e,n,r){for(r=r&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=e,d=n,g=d.flags;switch(d.tag){case 0:case 11:case 15:ar(c,d,r),so(4,d);break;case 1:if(ar(c,d,r),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(K){dt(o,o.return,K)}if(o=d,c=o.updateQueue,c!==null){var T=o.stateNode;try{var U=c.shared.hiddenCallbacks;if(U!==null)for(c.shared.hiddenCallbacks=null,c=0;c<U.length;c++)km(U[c],T)}catch(K){dt(o,o.return,K)}}r&&g&64&&Ig(d),uo(d,d.return);break;case 27:Jg(d);case 26:case 5:ar(c,d,r),r&&o===null&&g&4&&Zg(d),uo(d,d.return);break;case 12:ar(c,d,r);break;case 31:ar(c,d,r),r&&g&4&&ry(c,d);break;case 13:ar(c,d,r),r&&g&4&&ly(c,d);break;case 22:d.memoizedState===null&&ar(c,d,r),uo(d,d.return);break;case 30:break;default:ar(c,d,r)}n=n.sibling}}function hd(e,n){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&Ii(r))}function md(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ii(e))}function Sa(e,n,r,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)sy(e,n,r,o),n=n.sibling}function sy(e,n,r,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:Sa(e,n,r,o),c&2048&&so(9,n);break;case 1:Sa(e,n,r,o);break;case 3:Sa(e,n,r,o),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ii(e)));break;case 12:if(c&2048){Sa(e,n,r,o),e=n.stateNode;try{var d=n.memoizedProps,g=d.id,T=d.onPostCommit;typeof T=="function"&&T(g,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(U){dt(n,n.return,U)}}else Sa(e,n,r,o);break;case 31:Sa(e,n,r,o);break;case 13:Sa(e,n,r,o);break;case 23:break;case 22:d=n.stateNode,g=n.alternate,n.memoizedState!==null?d._visibility&2?Sa(e,n,r,o):co(e,n):d._visibility&2?Sa(e,n,r,o):(d._visibility|=2,ai(e,n,r,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&hd(g,n);break;case 24:Sa(e,n,r,o),c&2048&&md(n.alternate,n);break;default:Sa(e,n,r,o)}}function ai(e,n,r,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=e,g=n,T=r,U=o,K=g.flags;switch(g.tag){case 0:case 11:case 15:ai(d,g,T,U,c),so(8,g);break;case 23:break;case 22:var ne=g.stateNode;g.memoizedState!==null?ne._visibility&2?ai(d,g,T,U,c):co(d,g):(ne._visibility|=2,ai(d,g,T,U,c)),c&&K&2048&&hd(g.alternate,g);break;case 24:ai(d,g,T,U,c),c&&K&2048&&md(g.alternate,g);break;default:ai(d,g,T,U,c)}n=n.sibling}}function co(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var r=e,o=n,c=o.flags;switch(o.tag){case 22:co(r,o),c&2048&&hd(o.alternate,o);break;case 24:co(r,o),c&2048&&md(o.alternate,o);break;default:co(r,o)}n=n.sibling}}var fo=8192;function ri(e,n,r){if(e.subtreeFlags&fo)for(e=e.child;e!==null;)uy(e,n,r),e=e.sibling}function uy(e,n,r){switch(e.tag){case 26:ri(e,n,r),e.flags&fo&&e.memoizedState!==null&&AE(r,xa,e.memoizedState,e.memoizedProps);break;case 5:ri(e,n,r);break;case 3:case 4:var o=xa;xa=du(e.stateNode.containerInfo),ri(e,n,r),xa=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=fo,fo=16777216,ri(e,n,r),fo=o):ri(e,n,r));break;default:ri(e,n,r)}}function cy(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function po(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];sn=o,dy(o,e)}cy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)fy(e),e=e.sibling}function fy(e){switch(e.tag){case 0:case 11:case 15:po(e),e.flags&2048&&Ar(9,e,e.return);break;case 3:po(e);break;case 12:po(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Js(e)):po(e);break;default:po(e)}}function Js(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];sn=o,dy(o,e)}cy(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:Ar(8,n,n.return),Js(n);break;case 22:r=n.stateNode,r._visibility&2&&(r._visibility&=-3,Js(n));break;default:Js(n)}e=e.sibling}}function dy(e,n){for(;sn!==null;){var r=sn;switch(r.tag){case 0:case 11:case 15:Ar(8,r,n);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var o=r.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ii(r.memoizedState.cache)}if(o=r.child,o!==null)o.return=r,sn=o;else e:for(r=e;sn!==null;){o=sn;var c=o.sibling,d=o.return;if(ny(o),o===r){sn=null;break e}if(c!==null){c.return=d,sn=c;break e}sn=d}}}var q1={getCacheForType:function(e){var n=cn(It),r=n.data.get(e);return r===void 0&&(r=e(),n.data.set(e,r)),r},cacheSignal:function(){return cn(It).controller.signal}},F1=typeof WeakMap=="function"?WeakMap:Map,rt=0,wt=null,Ye=null,Ie=0,ft=0,Fn=null,Or=!1,li=!1,gd=!1,rr=0,Bt=0,Nr=0,dl=0,yd=0,Vn=0,ii=0,ho=null,_n=null,vd=!1,eu=0,py=0,tu=1/0,nu=null,Mr=null,rn=0,jr=null,oi=null,lr=0,bd=0,xd=null,hy=null,mo=0,Sd=null;function Yn(){return(rt&2)!==0&&Ie!==0?Ie&-Ie:D.T!==null?Ad():we()}function my(){if(Vn===0)if((Ie&536870912)===0||We){var e=pr;pr<<=1,(pr&3932160)===0&&(pr=262144),Vn=e}else Vn=536870912;return e=Pn.current,e!==null&&(e.flags|=32),Vn}function Ln(e,n,r){(e===wt&&(ft===2||ft===9)||e.cancelPendingCommit!==null)&&(si(e,0),Dr(e,Ie,Vn,!1)),Qr(e,r),((rt&2)===0||e!==wt)&&(e===wt&&((rt&2)===0&&(dl|=r),Bt===4&&Dr(e,Ie,Vn,!1)),ja(e))}function gy(e,n,r){if((rt&6)!==0)throw Error(i(327));var o=!r&&(n&127)===0&&(n&e.expiredLanes)===0||hr(e,n),c=o?G1(e,n):wd(e,n,!0),d=o;do{if(c===0){li&&!o&&Dr(e,n,0,!1);break}else{if(r=e.current.alternate,d&&!V1(r)){c=wd(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){n=g;e:{var T=e;c=ho;var U=T.current.memoizedState.isDehydrated;if(U&&(si(T,g).flags|=256),g=wd(T,g,!1),g!==2){if(gd&&!U){T.errorRecoveryDisabledLanes|=d,dl|=d,c=4;break e}d=_n,_n=c,d!==null&&(_n===null?_n=d:_n.push.apply(_n,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){si(e,0),Dr(e,n,0,!0);break}e:{switch(o=e,d=c,d){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:Dr(o,n,Vn,!Or);break e;case 2:_n=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(c=eu+300-Ve(),10<c)){if(Dr(o,n,Vn,!Or),jl(o,0,!0)!==0)break e;lr=n,o.timeoutHandle=Xy(yy.bind(null,o,r,_n,nu,vd,n,Vn,dl,ii,Or,d,"Throttled",-0,0),c);break e}yy(o,r,_n,nu,vd,n,Vn,dl,ii,Or,d,null,-0,0)}}break}while(!0);ja(e)}function yy(e,n,r,o,c,d,g,T,U,K,ne,se,I,J){if(e.timeoutHandle=-1,se=n.subtreeFlags,se&8192||(se&16785408)===16785408){se={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Va},uy(n,d,se);var ve=(d&62914560)===d?eu-Ve():(d&4194048)===d?py-Ve():0;if(ve=OE(se,ve),ve!==null){lr=d,e.cancelPendingCommit=ve(Ty.bind(null,e,n,d,r,o,c,g,T,U,ne,se,null,I,J)),Dr(e,d,g,!K);return}}Ty(e,n,d,r,o,c,g,T,U)}function V1(e){for(var n=e;;){var r=n.tag;if((r===0||r===11||r===15)&&n.flags&16384&&(r=n.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var c=r[o],d=c.getSnapshot;c=c.value;try{if(!Hn(d(),c))return!1}catch{return!1}}if(r=n.child,n.subtreeFlags&16384&&r!==null)r.return=n,n=r;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Dr(e,n,r,o){n&=~yd,n&=~dl,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var d=31-ke(c),g=1<<d;o[d]=-1,c&=~g}r!==0&&k(e,r,n)}function au(){return(rt&6)===0?(go(0),!1):!0}function Ed(){if(Ye!==null){if(ft===0)var e=Ye.return;else e=Ye,Ka=al=null,kf(e),Wl=null,Zi=0,e=Ye;for(;e!==null;)Kg(e.alternate,e),e=e.return;Ye=null}}function si(e,n){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,cE(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),lr=0,Ed(),wt=e,Ye=r=Ga(e.current,null),Ie=n,ft=0,Fn=null,Or=!1,li=hr(e,n),gd=!1,ii=Vn=yd=dl=Nr=Bt=0,_n=ho=null,vd=!1,(n&8)!==0&&(n|=n&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=n;0<o;){var c=31-ke(o),d=1<<c;n|=e[c],o&=~d}return rr=n,Cs(),r}function vy(e,n){He=null,D.H=lo,n===Zl||n===Ds?(n=_m(),ft=3):n===Rf?(n=_m(),ft=4):ft=n===ed?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Fn=n,Ye===null&&(Bt=1,Gs(e,Jn(n,e.current)))}function by(){var e=Pn.current;return e===null?!0:(Ie&4194048)===Ie?aa===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?e===aa:!1}function xy(){var e=D.H;return D.H=lo,e===null?lo:e}function Sy(){var e=D.A;return D.A=q1,e}function ru(){Bt=4,Or||(Ie&4194048)!==Ie&&Pn.current!==null||(li=!0),(Nr&134217727)===0&&(dl&134217727)===0||wt===null||Dr(wt,Ie,Vn,!1)}function wd(e,n,r){var o=rt;rt|=2;var c=xy(),d=Sy();(wt!==e||Ie!==n)&&(nu=null,si(e,n)),n=!1;var g=Bt;e:do try{if(ft!==0&&Ye!==null){var T=Ye,U=Fn;switch(ft){case 8:Ed(),g=6;break e;case 3:case 2:case 9:case 6:Pn.current===null&&(n=!0);var K=ft;if(ft=0,Fn=null,ui(e,T,U,K),r&&li){g=0;break e}break;default:K=ft,ft=0,Fn=null,ui(e,T,U,K)}}Y1(),g=Bt;break}catch(ne){vy(e,ne)}while(!0);return n&&e.shellSuspendCounter++,Ka=al=null,rt=o,D.H=c,D.A=d,Ye===null&&(wt=null,Ie=0,Cs()),g}function Y1(){for(;Ye!==null;)Ey(Ye)}function G1(e,n){var r=rt;rt|=2;var o=xy(),c=Sy();wt!==e||Ie!==n?(nu=null,tu=Ve()+500,si(e,n)):li=hr(e,n);e:do try{if(ft!==0&&Ye!==null){n=Ye;var d=Fn;t:switch(ft){case 1:ft=0,Fn=null,ui(e,n,d,1);break;case 2:case 9:if(Dm(d)){ft=0,Fn=null,wy(n);break}n=function(){ft!==2&&ft!==9||wt!==e||(ft=7),ja(e)},d.then(n,n);break e;case 3:ft=7;break e;case 4:ft=5;break e;case 7:Dm(d)?(ft=0,Fn=null,wy(n)):(ft=0,Fn=null,ui(e,n,d,7));break;case 5:var g=null;switch(Ye.tag){case 26:g=Ye.memoizedState;case 5:case 27:var T=Ye;if(g?s0(g):T.stateNode.complete){ft=0,Fn=null;var U=T.sibling;if(U!==null)Ye=U;else{var K=T.return;K!==null?(Ye=K,lu(K)):Ye=null}break t}}ft=0,Fn=null,ui(e,n,d,5);break;case 6:ft=0,Fn=null,ui(e,n,d,6);break;case 8:Ed(),Bt=6;break e;default:throw Error(i(462))}}X1();break}catch(ne){vy(e,ne)}while(!0);return Ka=al=null,D.H=o,D.A=c,rt=r,Ye!==null?0:(wt=null,Ie=0,Cs(),Bt)}function X1(){for(;Ye!==null&&!Me();)Ey(Ye)}function Ey(e){var n=Gg(e.alternate,e,rr);e.memoizedProps=e.pendingProps,n===null?lu(e):Ye=n}function wy(e){var n=e,r=n.alternate;switch(n.tag){case 15:case 0:n=$g(r,n,n.pendingProps,n.type,void 0,Ie);break;case 11:n=$g(r,n,n.pendingProps,n.type.render,n.ref,Ie);break;case 5:kf(n);default:Kg(r,n),n=Ye=Sm(n,rr),n=Gg(r,n,rr)}e.memoizedProps=e.pendingProps,n===null?lu(e):Ye=n}function ui(e,n,r,o){Ka=al=null,kf(n),Wl=null,Zi=0;var c=n.return;try{if(L1(e,c,n,r,Ie)){Bt=1,Gs(e,Jn(r,e.current)),Ye=null;return}}catch(d){if(c!==null)throw Ye=c,d;Bt=1,Gs(e,Jn(r,e.current)),Ye=null;return}n.flags&32768?(We||o===1?e=!0:li||(Ie&536870912)!==0?e=!1:(Or=e=!0,(o===2||o===9||o===3||o===6)&&(o=Pn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Cy(n,e)):lu(n)}function lu(e){var n=e;do{if((n.flags&32768)!==0){Cy(n,Or);return}e=n.return;var r=k1(n.alternate,n,rr);if(r!==null){Ye=r;return}if(n=n.sibling,n!==null){Ye=n;return}Ye=n=e}while(n!==null);Bt===0&&(Bt=5)}function Cy(e,n){do{var r=H1(e.alternate,e);if(r!==null){r.flags&=32767,Ye=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!n&&(e=e.sibling,e!==null)){Ye=e;return}Ye=e=r}while(e!==null);Bt=6,Ye=null}function Ty(e,n,r,o,c,d,g,T,U){e.cancelPendingCommit=null;do iu();while(rn!==0);if((rt&6)!==0)throw Error(i(327));if(n!==null){if(n===e.current)throw Error(i(177));if(d=n.lanes|n.childLanes,d|=ff,qc(e,r,d,g,T,U),e===wt&&(Ye=wt=null,Ie=0),oi=n,jr=e,lr=r,bd=d,xd=c,hy=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Z1(Pt,function(){return My(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,c=F.p,F.p=2,g=rt,rt|=4;try{$1(e,n,r)}finally{rt=g,F.p=c,D.T=o}}rn=1,Ry(),Ay(),Oy()}}function Ry(){if(rn===1){rn=0;var e=jr,n=oi,r=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||r){r=D.T,D.T=null;var o=F.p;F.p=2;var c=rt;rt|=4;try{iy(n,e);var d=Ld,g=dm(e.containerInfo),T=d.focusedElem,U=d.selectionRange;if(g!==T&&T&&T.ownerDocument&&fm(T.ownerDocument.documentElement,T)){if(U!==null&&lf(T)){var K=U.start,ne=U.end;if(ne===void 0&&(ne=K),"selectionStart"in T)T.selectionStart=K,T.selectionEnd=Math.min(ne,T.value.length);else{var se=T.ownerDocument||document,I=se&&se.defaultView||window;if(I.getSelection){var J=I.getSelection(),ve=T.textContent.length,De=Math.min(U.start,ve),yt=U.end===void 0?De:Math.min(U.end,ve);!J.extend&&De>yt&&(g=yt,yt=De,De=g);var $=cm(T,De),H=cm(T,yt);if($&&H&&(J.rangeCount!==1||J.anchorNode!==$.node||J.anchorOffset!==$.offset||J.focusNode!==H.node||J.focusOffset!==H.offset)){var X=se.createRange();X.setStart($.node,$.offset),J.removeAllRanges(),De>yt?(J.addRange(X),J.extend(H.node,H.offset)):(X.setEnd(H.node,H.offset),J.addRange(X))}}}}for(se=[],J=T;J=J.parentNode;)J.nodeType===1&&se.push({element:J,left:J.scrollLeft,top:J.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<se.length;T++){var le=se[T];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}vu=!!_d,Ld=_d=null}finally{rt=c,F.p=o,D.T=r}}e.current=n,rn=2}}function Ay(){if(rn===2){rn=0;var e=jr,n=oi,r=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||r){r=D.T,D.T=null;var o=F.p;F.p=2;var c=rt;rt|=4;try{ty(e,n.alternate,n)}finally{rt=c,F.p=o,D.T=r}}rn=3}}function Oy(){if(rn===4||rn===3){rn=0,ln();var e=jr,n=oi,r=lr,o=hy;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?rn=5:(rn=0,oi=jr=null,Ny(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Mr=null),pe(r),n=n.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(Kt,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=D.T,c=F.p,F.p=2,D.T=null;try{for(var d=e.onRecoverableError,g=0;g<o.length;g++){var T=o[g];d(T.value,{componentStack:T.stack})}}finally{D.T=n,F.p=c}}(lr&3)!==0&&iu(),ja(e),c=e.pendingLanes,(r&261930)!==0&&(c&42)!==0?e===Sd?mo++:(mo=0,Sd=e):mo=0,go(0)}}function Ny(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Ii(n)))}function iu(){return Ry(),Ay(),Oy(),My()}function My(){if(rn!==5)return!1;var e=jr,n=bd;bd=0;var r=pe(lr),o=D.T,c=F.p;try{F.p=32>r?32:r,D.T=null,r=xd,xd=null;var d=jr,g=lr;if(rn=0,oi=jr=null,lr=0,(rt&6)!==0)throw Error(i(331));var T=rt;if(rt|=4,fy(d.current),sy(d,d.current,g,r),rt=T,go(0,!1),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(Kt,d)}catch{}return!0}finally{F.p=c,D.T=o,Ny(e,n)}}function jy(e,n,r){n=Jn(r,n),n=Jf(e.stateNode,n,2),e=Cr(e,n,2),e!==null&&(Qr(e,2),ja(e))}function dt(e,n,r){if(e.tag===3)jy(e,e,r);else for(;n!==null;){if(n.tag===3){jy(n,e,r);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Mr===null||!Mr.has(o))){e=Jn(r,e),r=Dg(2),o=Cr(n,r,2),o!==null&&(zg(r,o,n,e),Qr(o,2),ja(o));break}}n=n.return}}function Cd(e,n,r){var o=e.pingCache;if(o===null){o=e.pingCache=new F1;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(r)||(gd=!0,c.add(r),e=K1.bind(null,e,n,r),n.then(e,e))}function K1(e,n,r){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,wt===e&&(Ie&r)===r&&(Bt===4||Bt===3&&(Ie&62914560)===Ie&&300>Ve()-eu?(rt&2)===0&&si(e,0):yd|=r,ii===Ie&&(ii=0)),ja(e)}function Dy(e,n){n===0&&(n=Ir()),e=el(e,n),e!==null&&(Qr(e,n),ja(e))}function I1(e){var n=e.memoizedState,r=0;n!==null&&(r=n.retryLane),Dy(e,r)}function Q1(e,n){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(i(314))}o!==null&&o.delete(n),Dy(e,r)}function Z1(e,n){return $t(e,n)}var ou=null,ci=null,Td=!1,su=!1,Rd=!1,zr=0;function ja(e){e!==ci&&e.next===null&&(ci===null?ou=ci=e:ci=ci.next=e),su=!0,Td||(Td=!0,J1())}function go(e,n){if(!Rd&&su){Rd=!0;do for(var r=!1,o=ou;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var g=o.suspendedLanes,T=o.pingedLanes;d=(1<<31-ke(42|e)+1)-1,d&=c&~(g&~T),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,By(o,d))}else d=Ie,d=jl(o,o===wt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||hr(o,d)||(r=!0,By(o,d));o=o.next}while(r);Rd=!1}}function W1(){zy()}function zy(){su=Td=!1;var e=0;zr!==0&&uE()&&(e=zr);for(var n=Ve(),r=null,o=ou;o!==null;){var c=o.next,d=_y(o,n);d===0?(o.next=null,r===null?ou=c:r.next=c,c===null&&(ci=r)):(r=o,(e!==0||(d&3)!==0)&&(su=!0)),o=c}rn!==0&&rn!==5||go(e),zr!==0&&(zr=0)}function _y(e,n){for(var r=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var g=31-ke(d),T=1<<g,U=c[g];U===-1?((T&r)===0||(T&o)!==0)&&(c[g]=Dl(T,n)):U<=n&&(e.expiredLanes|=T),d&=~T}if(n=wt,r=Ie,r=jl(e,e===n?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,r===0||e===n&&(ft===2||ft===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Rt(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||hr(e,r)){if(n=r&-r,n===e.callbackPriority)return n;switch(o!==null&&Rt(o),pe(r)){case 2:case 8:r=on;break;case 32:r=Pt;break;case 268435456:r=An;break;default:r=Pt}return o=Ly.bind(null,e),r=$t(r,o),e.callbackPriority=n,e.callbackNode=r,n}return o!==null&&o!==null&&Rt(o),e.callbackPriority=2,e.callbackNode=null,2}function Ly(e,n){if(rn!==0&&rn!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(iu()&&e.callbackNode!==r)return null;var o=Ie;return o=jl(e,e===wt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(gy(e,o,n),_y(e,Ve()),e.callbackNode!=null&&e.callbackNode===r?Ly.bind(null,e):null)}function By(e,n){if(iu())return null;gy(e,n,!0)}function J1(){fE(function(){(rt&6)!==0?$t(In,W1):zy()})}function Ad(){if(zr===0){var e=Il;e===0&&(e=Kr,Kr<<=1,(Kr&261888)===0&&(Kr=256)),zr=e}return zr}function Uy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:gs(""+e)}function ky(e,n){var r=n.ownerDocument.createElement("input");return r.name=n.name,r.value=n.value,e.id&&r.setAttribute("form",e.id),n.parentNode.insertBefore(r,n),e=new FormData(e),r.parentNode.removeChild(r),e}function eE(e,n,r,o,c){if(n==="submit"&&r&&r.stateNode===c){var d=Uy((c[ye]||null).action),g=o.submitter;g&&(n=(n=g[ye]||null)?Uy(n.formAction):g.getAttribute("formAction"),n!==null&&(d=n,g=null));var T=new xs("action","action",null,o,c);e.push({event:T,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(zr!==0){var U=g?ky(c,g):new FormData(c);Xf(r,{pending:!0,data:U,method:c.method,action:d},null,U)}}else typeof d=="function"&&(T.preventDefault(),U=g?ky(c,g):new FormData(c),Xf(r,{pending:!0,data:U,method:c.method,action:d},d,U))},currentTarget:c}]})}}for(var Od=0;Od<cf.length;Od++){var Nd=cf[Od],tE=Nd.toLowerCase(),nE=Nd[0].toUpperCase()+Nd.slice(1);ba(tE,"on"+nE)}ba(mm,"onAnimationEnd"),ba(gm,"onAnimationIteration"),ba(ym,"onAnimationStart"),ba("dblclick","onDoubleClick"),ba("focusin","onFocus"),ba("focusout","onBlur"),ba(v1,"onTransitionRun"),ba(b1,"onTransitionStart"),ba(x1,"onTransitionCancel"),ba(vm,"onTransitionEnd"),va("onMouseEnter",["mouseout","mouseover"]),va("onMouseLeave",["mouseout","mouseover"]),va("onPointerEnter",["pointerout","pointerover"]),va("onPointerLeave",["pointerout","pointerover"]),Sn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Sn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Sn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Sn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Sn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Sn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),aE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yo));function Hy(e,n){n=(n&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],c=o.event;o=o.listeners;e:{var d=void 0;if(n)for(var g=o.length-1;0<=g;g--){var T=o[g],U=T.instance,K=T.currentTarget;if(T=T.listener,U!==d&&c.isPropagationStopped())break e;d=T,c.currentTarget=K;try{d(c)}catch(ne){ws(ne)}c.currentTarget=null,d=U}else for(g=0;g<o.length;g++){if(T=o[g],U=T.instance,K=T.currentTarget,T=T.listener,U!==d&&c.isPropagationStopped())break e;d=T,c.currentTarget=K;try{d(c)}catch(ne){ws(ne)}c.currentTarget=null,d=U}}}}function Ge(e,n){var r=n[Re];r===void 0&&(r=n[Re]=new Set);var o=e+"__bubble";r.has(o)||($y(n,e,2,!1),r.add(o))}function Md(e,n,r){var o=0;n&&(o|=4),$y(r,e,o,n)}var uu="_reactListening"+Math.random().toString(36).slice(2);function jd(e){if(!e[uu]){e[uu]=!0,_l.forEach(function(r){r!=="selectionchange"&&(aE.has(r)||Md(r,!1,e),Md(r,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[uu]||(n[uu]=!0,Md("selectionchange",!1,n))}}function $y(e,n,r,o){switch(m0(n)){case 2:var c=jE;break;case 8:c=DE;break;default:c=Gd}r=c.bind(null,n,r,e),c=void 0,!Qc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,r,{capture:!0,passive:c}):e.addEventListener(n,r,!0):c!==void 0?e.addEventListener(n,r,{passive:c}):e.addEventListener(n,r,!1)}function Dd(e,n,r,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var T=o.stateNode.containerInfo;if(T===c)break;if(g===4)for(g=o.return;g!==null;){var U=g.tag;if((U===3||U===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;T!==null;){if(g=et(T),g===null)return;if(U=g.tag,U===5||U===6||U===26||U===27){o=d=g;continue e}T=T.parentNode}}o=o.return}Yh(function(){var K=d,ne=Kc(r),se=[];e:{var I=bm.get(e);if(I!==void 0){var J=xs,ve=e;switch(e){case"keypress":if(vs(r)===0)break e;case"keydown":case"keyup":J=QS;break;case"focusin":ve="focus",J=ef;break;case"focusout":ve="blur",J=ef;break;case"beforeblur":case"afterblur":J=ef;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=Kh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=kS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=JS;break;case mm:case gm:case ym:J=PS;break;case vm:J=t1;break;case"scroll":case"scrollend":J=BS;break;case"wheel":J=a1;break;case"copy":case"cut":case"paste":J=FS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Qh;break;case"toggle":case"beforetoggle":J=l1}var De=(n&4)!==0,yt=!De&&(e==="scroll"||e==="scrollend"),$=De?I!==null?I+"Capture":null:I;De=[];for(var H=K,X;H!==null;){var le=H;if(X=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||X===null||$===null||(le=ki(H,$),le!=null&&De.push(vo(H,le,X))),yt)break;H=H.return}0<De.length&&(I=new J(I,ve,null,r,ne),se.push({event:I,listeners:De}))}}if((n&7)===0){e:{if(I=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",I&&r!==Xc&&(ve=r.relatedTarget||r.fromElement)&&(et(ve)||ve[xe]))break e;if((J||I)&&(I=ne.window===ne?ne:(I=ne.ownerDocument)?I.defaultView||I.parentWindow:window,J?(ve=r.relatedTarget||r.toElement,J=K,ve=ve?et(ve):null,ve!==null&&(yt=u(ve),De=ve.tag,ve!==yt||De!==5&&De!==27&&De!==6)&&(ve=null)):(J=null,ve=K),J!==ve)){if(De=Kh,le="onMouseLeave",$="onMouseEnter",H="mouse",(e==="pointerout"||e==="pointerover")&&(De=Qh,le="onPointerLeave",$="onPointerEnter",H="pointer"),yt=J==null?I:ya(J),X=ve==null?I:ya(ve),I=new De(le,H+"leave",J,r,ne),I.target=yt,I.relatedTarget=X,le=null,et(ne)===K&&(De=new De($,H+"enter",ve,r,ne),De.target=X,De.relatedTarget=yt,le=De),yt=le,J&&ve)t:{for(De=rE,$=J,H=ve,X=0,le=$;le;le=De(le))X++;le=0;for(var Ne=H;Ne;Ne=De(Ne))le++;for(;0<X-le;)$=De($),X--;for(;0<le-X;)H=De(H),le--;for(;X--;){if($===H||H!==null&&$===H.alternate){De=$;break t}$=De($),H=De(H)}De=null}else De=null;J!==null&&Py(se,I,J,De,!1),ve!==null&&yt!==null&&Py(se,yt,ve,De,!0)}}e:{if(I=K?ya(K):window,J=I.nodeName&&I.nodeName.toLowerCase(),J==="select"||J==="input"&&I.type==="file")var tt=rm;else if(nm(I))if(lm)tt=m1;else{tt=p1;var Se=d1}else J=I.nodeName,!J||J.toLowerCase()!=="input"||I.type!=="checkbox"&&I.type!=="radio"?K&&Gc(K.elementType)&&(tt=rm):tt=h1;if(tt&&(tt=tt(e,K))){am(se,tt,r,ne);break e}Se&&Se(e,I,K),e==="focusout"&&K&&I.type==="number"&&K.memoizedProps.value!=null&&Yc(I,"number",I.value)}switch(Se=K?ya(K):window,e){case"focusin":(nm(Se)||Se.contentEditable==="true")&&(Pl=Se,of=K,Gi=null);break;case"focusout":Gi=of=Pl=null;break;case"mousedown":sf=!0;break;case"contextmenu":case"mouseup":case"dragend":sf=!1,pm(se,r,ne);break;case"selectionchange":if(y1)break;case"keydown":case"keyup":pm(se,r,ne)}var qe;if(nf)e:{switch(e){case"compositionstart":var Qe="onCompositionStart";break e;case"compositionend":Qe="onCompositionEnd";break e;case"compositionupdate":Qe="onCompositionUpdate";break e}Qe=void 0}else $l?em(e,r)&&(Qe="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Qe="onCompositionStart");Qe&&(Zh&&r.locale!=="ko"&&($l||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&$l&&(qe=Gh()):(yr=ne,Zc="value"in yr?yr.value:yr.textContent,$l=!0)),Se=cu(K,Qe),0<Se.length&&(Qe=new Ih(Qe,e,null,r,ne),se.push({event:Qe,listeners:Se}),qe?Qe.data=qe:(qe=tm(r),qe!==null&&(Qe.data=qe)))),(qe=o1?s1(e,r):u1(e,r))&&(Qe=cu(K,"onBeforeInput"),0<Qe.length&&(Se=new Ih("onBeforeInput","beforeinput",null,r,ne),se.push({event:Se,listeners:Qe}),Se.data=qe)),eE(se,e,K,r,ne)}Hy(se,n)})}function vo(e,n,r){return{instance:e,listener:n,currentTarget:r}}function cu(e,n){for(var r=n+"Capture",o=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=ki(e,r),c!=null&&o.unshift(vo(e,c,d)),c=ki(e,n),c!=null&&o.push(vo(e,c,d))),e.tag===3)return o;e=e.return}return[]}function rE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Py(e,n,r,o,c){for(var d=n._reactName,g=[];r!==null&&r!==o;){var T=r,U=T.alternate,K=T.stateNode;if(T=T.tag,U!==null&&U===o)break;T!==5&&T!==26&&T!==27||K===null||(U=K,c?(K=ki(r,d),K!=null&&g.unshift(vo(r,K,U))):c||(K=ki(r,d),K!=null&&g.push(vo(r,K,U)))),r=r.return}g.length!==0&&e.push({event:n,listeners:g})}var lE=/\r\n?/g,iE=/\u0000|\uFFFD/g;function qy(e){return(typeof e=="string"?e:""+e).replace(lE,`
          `).replace(iE,"")}function Fy(e,n){return n=qy(n),qy(e)===n}function gt(e,n,r,o,c,d){switch(r){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&Ul(e,""+o);break;case"className":Et(e,"class",o);break;case"tabIndex":Et(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Et(e,r,o);break;case"style":Fh(e,o,d);break;case"data":if(n!=="object"){Et(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||r!=="href")){e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}o=gs(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(r==="formAction"?(n!=="input"&&gt(e,n,"name",c.name,c,null),gt(e,n,"formEncType",c.formEncType,c,null),gt(e,n,"formMethod",c.formMethod,c,null),gt(e,n,"formTarget",c.formTarget,c,null)):(gt(e,n,"encType",c.encType,c,null),gt(e,n,"method",c.method,c,null),gt(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}o=gs(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(e.onclick=Va);break;case"onScroll":o!=null&&Ge("scroll",e);break;case"onScrollEnd":o!=null&&Ge("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(i(60));e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}r=gs(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""+o):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,o):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(r,o):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):e.setAttribute(r,o);break;case"popover":Ge("beforetoggle",e),Ge("toggle",e),Qn(e,"popover",o);break;case"xlinkActuate":Nn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Nn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Nn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Nn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Nn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Nn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Nn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Nn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Nn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Qn(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=_S.get(r)||r,Qn(e,r,o))}}function zd(e,n,r,o,c,d){switch(r){case"style":Fh(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(i(60));e.innerHTML=r}}break;case"children":typeof o=="string"?Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&Ul(e,""+o);break;case"onScroll":o!=null&&Ge("scroll",e);break;case"onScrollEnd":o!=null&&Ge("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Va);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!mr.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),n=r.slice(2,c?r.length-7:void 0),d=e[ye]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(n,o,c);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):Qn(e,r,o)}}}function dn(e,n,r){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ge("error",e),Ge("load",e);var o=!1,c=!1,d;for(d in r)if(r.hasOwnProperty(d)){var g=r[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:gt(e,n,d,g,r,null)}}c&&gt(e,n,"srcSet",r.srcSet,r,null),o&&gt(e,n,"src",r.src,r,null);return;case"input":Ge("invalid",e);var T=d=g=c=null,U=null,K=null;for(o in r)if(r.hasOwnProperty(o)){var ne=r[o];if(ne!=null)switch(o){case"name":c=ne;break;case"type":g=ne;break;case"checked":U=ne;break;case"defaultChecked":K=ne;break;case"value":d=ne;break;case"defaultValue":T=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(i(137,n));break;default:gt(e,n,o,ne,r,null)}}Hh(e,d,T,U,K,g,c,!1);return;case"select":Ge("invalid",e),o=g=d=null;for(c in r)if(r.hasOwnProperty(c)&&(T=r[c],T!=null))switch(c){case"value":d=T;break;case"defaultValue":g=T;break;case"multiple":o=T;default:gt(e,n,c,T,r,null)}n=d,r=g,e.multiple=!!o,n!=null?Bl(e,!!o,n,!1):r!=null&&Bl(e,!!o,r,!0);return;case"textarea":Ge("invalid",e),d=c=o=null;for(g in r)if(r.hasOwnProperty(g)&&(T=r[g],T!=null))switch(g){case"value":o=T;break;case"defaultValue":c=T;break;case"children":d=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(i(91));break;default:gt(e,n,g,T,r,null)}Ph(e,o,c,d);return;case"option":for(U in r)if(r.hasOwnProperty(U)&&(o=r[U],o!=null))switch(U){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:gt(e,n,U,o,r,null)}return;case"dialog":Ge("beforetoggle",e),Ge("toggle",e),Ge("cancel",e),Ge("close",e);break;case"iframe":case"object":Ge("load",e);break;case"video":case"audio":for(o=0;o<yo.length;o++)Ge(yo[o],e);break;case"image":Ge("error",e),Ge("load",e);break;case"details":Ge("toggle",e);break;case"embed":case"source":case"link":Ge("error",e),Ge("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(K in r)if(r.hasOwnProperty(K)&&(o=r[K],o!=null))switch(K){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:gt(e,n,K,o,r,null)}return;default:if(Gc(n)){for(ne in r)r.hasOwnProperty(ne)&&(o=r[ne],o!==void 0&&zd(e,n,ne,o,r,void 0));return}}for(T in r)r.hasOwnProperty(T)&&(o=r[T],o!=null&&gt(e,n,T,o,r,null))}function oE(e,n,r,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,g=null,T=null,U=null,K=null,ne=null;for(J in r){var se=r[J];if(r.hasOwnProperty(J)&&se!=null)switch(J){case"checked":break;case"value":break;case"defaultValue":U=se;default:o.hasOwnProperty(J)||gt(e,n,J,null,o,se)}}for(var I in o){var J=o[I];if(se=r[I],o.hasOwnProperty(I)&&(J!=null||se!=null))switch(I){case"type":d=J;break;case"name":c=J;break;case"checked":K=J;break;case"defaultChecked":ne=J;break;case"value":g=J;break;case"defaultValue":T=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,n));break;default:J!==se&&gt(e,n,I,J,o,se)}}Vc(e,g,T,U,K,ne,d,c);return;case"select":J=g=T=I=null;for(d in r)if(U=r[d],r.hasOwnProperty(d)&&U!=null)switch(d){case"value":break;case"multiple":J=U;default:o.hasOwnProperty(d)||gt(e,n,d,null,o,U)}for(c in o)if(d=o[c],U=r[c],o.hasOwnProperty(c)&&(d!=null||U!=null))switch(c){case"value":I=d;break;case"defaultValue":T=d;break;case"multiple":g=d;default:d!==U&&gt(e,n,c,d,o,U)}n=T,r=g,o=J,I!=null?Bl(e,!!r,I,!1):!!o!=!!r&&(n!=null?Bl(e,!!r,n,!0):Bl(e,!!r,r?[]:"",!1));return;case"textarea":J=I=null;for(T in r)if(c=r[T],r.hasOwnProperty(T)&&c!=null&&!o.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:gt(e,n,T,null,o,c)}for(g in o)if(c=o[g],d=r[g],o.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":I=c;break;case"defaultValue":J=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(i(91));break;default:c!==d&&gt(e,n,g,c,o,d)}$h(e,I,J);return;case"option":for(var ve in r)if(I=r[ve],r.hasOwnProperty(ve)&&I!=null&&!o.hasOwnProperty(ve))switch(ve){case"selected":e.selected=!1;break;default:gt(e,n,ve,null,o,I)}for(U in o)if(I=o[U],J=r[U],o.hasOwnProperty(U)&&I!==J&&(I!=null||J!=null))switch(U){case"selected":e.selected=I&&typeof I!="function"&&typeof I!="symbol";break;default:gt(e,n,U,I,o,J)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var De in r)I=r[De],r.hasOwnProperty(De)&&I!=null&&!o.hasOwnProperty(De)&&gt(e,n,De,null,o,I);for(K in o)if(I=o[K],J=r[K],o.hasOwnProperty(K)&&I!==J&&(I!=null||J!=null))switch(K){case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(i(137,n));break;default:gt(e,n,K,I,o,J)}return;default:if(Gc(n)){for(var yt in r)I=r[yt],r.hasOwnProperty(yt)&&I!==void 0&&!o.hasOwnProperty(yt)&&zd(e,n,yt,void 0,o,I);for(ne in o)I=o[ne],J=r[ne],!o.hasOwnProperty(ne)||I===J||I===void 0&&J===void 0||zd(e,n,ne,I,o,J);return}}for(var $ in r)I=r[$],r.hasOwnProperty($)&&I!=null&&!o.hasOwnProperty($)&&gt(e,n,$,null,o,I);for(se in o)I=o[se],J=r[se],!o.hasOwnProperty(se)||I===J||I==null&&J==null||gt(e,n,se,I,o,J)}function Vy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function sE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var c=r[o],d=c.transferSize,g=c.initiatorType,T=c.duration;if(d&&T&&Vy(g)){for(g=0,T=c.responseEnd,o+=1;o<r.length;o++){var U=r[o],K=U.startTime;if(K>T)break;var ne=U.transferSize,se=U.initiatorType;ne&&Vy(se)&&(U=U.responseEnd,g+=ne*(U<T?1:(T-K)/(U-K)))}if(--o,n+=8*(d+g)/(c.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var _d=null,Ld=null;function fu(e){return e.nodeType===9?e:e.ownerDocument}function Yy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Gy(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Bd(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ud=null;function uE(){var e=window.event;return e&&e.type==="popstate"?e===Ud?!1:(Ud=e,!0):(Ud=null,!1)}var Xy=typeof setTimeout=="function"?setTimeout:void 0,cE=typeof clearTimeout=="function"?clearTimeout:void 0,Ky=typeof Promise=="function"?Promise:void 0,fE=typeof queueMicrotask=="function"?queueMicrotask:typeof Ky<"u"?function(e){return Ky.resolve(null).then(e).catch(dE)}:Xy;function dE(e){setTimeout(function(){throw e})}function _r(e){return e==="head"}function Iy(e,n){var r=n,o=0;do{var c=r.nextSibling;if(e.removeChild(r),c&&c.nodeType===8)if(r=c.data,r==="/$"||r==="/&"){if(o===0){e.removeChild(c),hi(n);return}o--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")o++;else if(r==="html")bo(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,bo(r);for(var d=r.firstChild;d;){var g=d.nextSibling,T=d.nodeName;d[Mt]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&d.rel.toLowerCase()==="stylesheet"||r.removeChild(d),d=g}}else r==="body"&&bo(e.ownerDocument.body);r=c}while(r);hi(n)}function Qy(e,n){var r=e;e=0;do{var o=r.nextSibling;if(r.nodeType===1?n?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(n?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=o}while(r)}function kd(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var r=n;switch(n=n.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":kd(r),ut(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function pE(e,n,r,o){for(;e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Mt])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=ra(e.nextSibling),e===null)break}return null}function hE(e,n,r){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=ra(e.nextSibling),e===null))return null;return e}function Zy(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=ra(e.nextSibling),e===null))return null;return e}function Hd(e){return e.data==="$?"||e.data==="$~"}function $d(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function mE(e,n){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||r.readyState!=="loading")n();else{var o=function(){n(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function ra(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var Pd=null;function Wy(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(n===0)return ra(e.nextSibling);n--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||n++}e=e.nextSibling}return null}function Jy(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(n===0)return e;n--}else r!=="/$"&&r!=="/&"||n++}e=e.previousSibling}return null}function e0(e,n,r){switch(n=fu(r),e){case"html":if(e=n.documentElement,!e)throw Error(i(452));return e;case"head":if(e=n.head,!e)throw Error(i(453));return e;case"body":if(e=n.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function bo(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);ut(e)}var la=new Map,t0=new Set;function du(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ir=F.d;F.d={f:gE,r:yE,D:vE,C:bE,L:xE,m:SE,X:wE,S:EE,M:CE};function gE(){var e=ir.f(),n=au();return e||n}function yE(e){var n=On(e);n!==null&&n.tag===5&&n.type==="form"?vg(n):ir.r(e)}var fi=typeof document>"u"?null:document;function n0(e,n,r){var o=fi;if(o&&typeof n=="string"&&n){var c=Zn(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),t0.has(c)||(t0.add(c),e={rel:e,crossOrigin:r,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),dn(n,"link",e),ct(n),o.head.appendChild(n)))}}function vE(e){ir.D(e),n0("dns-prefetch",e,null)}function bE(e,n){ir.C(e,n),n0("preconnect",e,n)}function xE(e,n,r){ir.L(e,n,r);var o=fi;if(o&&e&&n){var c='link[rel="preload"][as="'+Zn(n)+'"]';n==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+Zn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+Zn(r.imageSizes)+'"]')):c+='[href="'+Zn(e)+'"]';var d=c;switch(n){case"style":d=di(e);break;case"script":d=pi(e)}la.has(d)||(e=v({rel:"preload",href:n==="image"&&r&&r.imageSrcSet?void 0:e,as:n},r),la.set(d,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(xo(d))||n==="script"&&o.querySelector(So(d))||(n=o.createElement("link"),dn(n,"link",e),ct(n),o.head.appendChild(n)))}}function SE(e,n){ir.m(e,n);var r=fi;if(r&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Zn(o)+'"][href="'+Zn(e)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=pi(e)}if(!la.has(d)&&(e=v({rel:"modulepreload",href:e},n),la.set(d,e),r.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(So(d)))return}o=r.createElement("link"),dn(o,"link",e),ct(o),r.head.appendChild(o)}}}function EE(e,n,r){ir.S(e,n,r);var o=fi;if(o&&e){var c=xn(o).hoistableStyles,d=di(e);n=n||"default";var g=c.get(d);if(!g){var T={loading:0,preload:null};if(g=o.querySelector(xo(d)))T.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":n},r),(r=la.get(d))&&qd(e,r);var U=g=o.createElement("link");ct(U),dn(U,"link",e),U._p=new Promise(function(K,ne){U.onload=K,U.onerror=ne}),U.addEventListener("load",function(){T.loading|=1}),U.addEventListener("error",function(){T.loading|=2}),T.loading|=4,pu(g,n,o)}g={type:"stylesheet",instance:g,count:1,state:T},c.set(d,g)}}}function wE(e,n){ir.X(e,n);var r=fi;if(r&&e){var o=xn(r).hoistableScripts,c=pi(e),d=o.get(c);d||(d=r.querySelector(So(c)),d||(e=v({src:e,async:!0},n),(n=la.get(c))&&Fd(e,n),d=r.createElement("script"),ct(d),dn(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function CE(e,n){ir.M(e,n);var r=fi;if(r&&e){var o=xn(r).hoistableScripts,c=pi(e),d=o.get(c);d||(d=r.querySelector(So(c)),d||(e=v({src:e,async:!0,type:"module"},n),(n=la.get(c))&&Fd(e,n),d=r.createElement("script"),ct(d),dn(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function a0(e,n,r,o){var c=(c=be.current)?du(c):null;if(!c)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(n=di(r.href),r=xn(c).hoistableStyles,o=r.get(n),o||(o={type:"style",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=di(r.href);var d=xn(c).hoistableStyles,g=d.get(e);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,g),(d=c.querySelector(xo(e)))&&!d._p&&(g.instance=d,g.state.loading=5),la.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},la.set(e,r),d||TE(c,e,r,g.state))),n&&o===null)throw Error(i(528,""));return g}if(n&&o!==null)throw Error(i(529,""));return null;case"script":return n=r.async,r=r.src,typeof r=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=pi(r),r=xn(c).hoistableScripts,o=r.get(n),o||(o={type:"script",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function di(e){return'href="'+Zn(e)+'"'}function xo(e){return'link[rel="stylesheet"]['+e+"]"}function r0(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function TE(e,n,r,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),dn(n,"link",r),ct(n),e.head.appendChild(n))}function pi(e){return'[src="'+Zn(e)+'"]'}function So(e){return"script[async]"+e}function l0(e,n,r){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Zn(r.href)+'"]');if(o)return n.instance=o,ct(o),o;var c=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),ct(o),dn(o,"style",c),pu(o,r.precedence,e),n.instance=o;case"stylesheet":c=di(r.href);var d=e.querySelector(xo(c));if(d)return n.state.loading|=4,n.instance=d,ct(d),d;o=r0(r),(c=la.get(c))&&qd(o,c),d=(e.ownerDocument||e).createElement("link"),ct(d);var g=d;return g._p=new Promise(function(T,U){g.onload=T,g.onerror=U}),dn(d,"link",o),n.state.loading|=4,pu(d,r.precedence,e),n.instance=d;case"script":return d=pi(r.src),(c=e.querySelector(So(d)))?(n.instance=c,ct(c),c):(o=r,(c=la.get(d))&&(o=v({},r),Fd(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),ct(c),dn(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,pu(o,r.precedence,e));return n.instance}function pu(e,n,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,g=0;g<o.length;g++){var T=o[g];if(T.dataset.precedence===n)d=T;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=r.nodeType===9?r.head:r,n.insertBefore(e,n.firstChild))}function qd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Fd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var hu=null;function i0(e,n,r){if(hu===null){var o=new Map,c=hu=new Map;c.set(r,o)}else c=hu,o=c.get(r),o||(o=new Map,c.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var d=r[c];if(!(d[Mt]||d[me]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(n)||"";g=e+g;var T=o.get(g);T?T.push(d):o.set(g,[d])}}return o}function o0(e,n,r){e=e.ownerDocument||e,e.head.insertBefore(r,n==="title"?e.querySelector("head > title"):null)}function RE(e,n,r){if(r===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function s0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function AE(e,n,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=di(o.href),d=n.querySelector(xo(c));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=mu.bind(e),n.then(e,e)),r.state.loading|=4,r.instance=d,ct(d);return}d=n.ownerDocument||n,o=r0(o),(c=la.get(c))&&qd(o,c),d=d.createElement("link"),ct(d);var g=d;g._p=new Promise(function(T,U){g.onload=T,g.onerror=U}),dn(d,"link",o),r.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,n),(n=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=mu.bind(e),n.addEventListener("load",r),n.addEventListener("error",r))}}var Vd=0;function OE(e,n){return e.stylesheets&&e.count===0&&yu(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var o=setTimeout(function(){if(e.stylesheets&&yu(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+n);0<e.imgBytes&&Vd===0&&(Vd=62500*sE());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&yu(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Vd?50:800)+n);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function yu(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,n.forEach(NE,e),gu=null,mu.call(e))}function NE(e,n){if(!(n.state.loading&4)){var r=gu.get(e);if(r)var o=r.get(null);else{r=new Map,gu.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(r.set(g.dataset.precedence,g),o=g)}o&&r.set(null,o)}c=n.instance,g=c.getAttribute("data-precedence"),d=r.get(g)||o,d===o&&r.set(null,c),r.set(g,c),this.count++,o=mu.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var Eo={$$typeof:M,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function ME(e,n,r,o,c,d,g,T,U){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.hiddenUpdates=zl(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=U,this.incompleteTransitions=new Map}function u0(e,n,r,o,c,d,g,T,U,K,ne,se){return e=new ME(e,n,r,g,U,K,ne,se,T),n=1,d===!0&&(n|=24),d=$n(3,null,null,n),e.current=d,d.stateNode=e,n=wf(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:r,cache:n},Af(d),e}function c0(e){return e?(e=Vl,e):Vl}function f0(e,n,r,o,c,d){c=c0(c),o.context===null?o.context=c:o.pendingContext=c,o=wr(n),o.payload={element:r},d=d===void 0?null:d,d!==null&&(o.callback=d),r=Cr(e,o,n),r!==null&&(Ln(r,e,n),Ji(r,e,n))}function d0(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<n?r:n}}function Yd(e,n){d0(e,n),(e=e.alternate)&&d0(e,n)}function p0(e){if(e.tag===13||e.tag===31){var n=el(e,67108864);n!==null&&Ln(n,e,67108864),Yd(e,67108864)}}function h0(e){if(e.tag===13||e.tag===31){var n=Yn();n=fe(n);var r=el(e,n);r!==null&&Ln(r,e,n),Yd(e,n)}}var vu=!0;function jE(e,n,r,o){var c=D.T;D.T=null;var d=F.p;try{F.p=2,Gd(e,n,r,o)}finally{F.p=d,D.T=c}}function DE(e,n,r,o){var c=D.T;D.T=null;var d=F.p;try{F.p=8,Gd(e,n,r,o)}finally{F.p=d,D.T=c}}function Gd(e,n,r,o){if(vu){var c=Xd(o);if(c===null)Dd(e,n,o,bu,r),g0(e,o);else if(_E(c,e,n,r,o))o.stopPropagation();else if(g0(e,o),n&4&&-1<zE.indexOf(e)){for(;c!==null;){var d=On(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=Aa(d.pendingLanes);if(g!==0){var T=d;for(T.pendingLanes|=2,T.entangledLanes|=2;g;){var U=1<<31-ke(g);T.entanglements[1]|=U,g&=~U}ja(d),(rt&6)===0&&(tu=Ve()+500,go(0))}}break;case 31:case 13:T=el(d,2),T!==null&&Ln(T,d,2),au(),Yd(d,2)}if(d=Xd(o),d===null&&Dd(e,n,o,bu,r),d===c)break;c=d}c!==null&&o.stopPropagation()}else Dd(e,n,o,null,r)}}function Xd(e){return e=Kc(e),Kd(e)}var bu=null;function Kd(e){if(bu=null,e=et(e),e!==null){var n=u(e);if(n===null)e=null;else{var r=n.tag;if(r===13){if(e=f(n),e!==null)return e;e=null}else if(r===31){if(e=p(n),e!==null)return e;e=null}else if(r===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return bu=e,null}function m0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ha()){case In:return 2;case on:return 8;case Pt:case ma:return 32;case An:return 268435456;default:return 32}default:return 32}}var Id=!1,Lr=null,Br=null,Ur=null,wo=new Map,Co=new Map,kr=[],zE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function g0(e,n){switch(e){case"focusin":case"focusout":Lr=null;break;case"dragenter":case"dragleave":Br=null;break;case"mouseover":case"mouseout":Ur=null;break;case"pointerover":case"pointerout":wo.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Co.delete(n.pointerId)}}function To(e,n,r,o,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:r,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=On(n),n!==null&&p0(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function _E(e,n,r,o,c){switch(n){case"focusin":return Lr=To(Lr,e,n,r,o,c),!0;case"dragenter":return Br=To(Br,e,n,r,o,c),!0;case"mouseover":return Ur=To(Ur,e,n,r,o,c),!0;case"pointerover":var d=c.pointerId;return wo.set(d,To(wo.get(d)||null,e,n,r,o,c)),!0;case"gotpointercapture":return d=c.pointerId,Co.set(d,To(Co.get(d)||null,e,n,r,o,c)),!0}return!1}function y0(e){var n=et(e.target);if(n!==null){var r=u(n);if(r!==null){if(n=r.tag,n===13){if(n=f(r),n!==null){e.blockedOn=n,Ce(e.priority,function(){h0(r)});return}}else if(n===31){if(n=p(r),n!==null){e.blockedOn=n,Ce(e.priority,function(){h0(r)});return}}else if(n===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xu(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var r=Xd(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);Xc=o,r.target.dispatchEvent(o),Xc=null}else return n=On(r),n!==null&&p0(n),e.blockedOn=r,!1;n.shift()}return!0}function v0(e,n,r){xu(e)&&r.delete(n)}function LE(){Id=!1,Lr!==null&&xu(Lr)&&(Lr=null),Br!==null&&xu(Br)&&(Br=null),Ur!==null&&xu(Ur)&&(Ur=null),wo.forEach(v0),Co.forEach(v0)}function Su(e,n){e.blockedOn===n&&(e.blockedOn=null,Id||(Id=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,LE)))}var Eu=null;function b0(e){Eu!==e&&(Eu=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Eu===e&&(Eu=null);for(var n=0;n<e.length;n+=3){var r=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(Kd(o||r)===null)continue;break}var d=On(r);d!==null&&(e.splice(n,3),n-=3,Xf(d,{pending:!0,data:c,method:r.method,action:o},o,c))}}))}function hi(e){function n(U){return Su(U,e)}Lr!==null&&Su(Lr,e),Br!==null&&Su(Br,e),Ur!==null&&Su(Ur,e),wo.forEach(n),Co.forEach(n);for(var r=0;r<kr.length;r++){var o=kr[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<kr.length&&(r=kr[0],r.blockedOn===null);)y0(r),r.blockedOn===null&&kr.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var c=r[o],d=r[o+1],g=c[ye]||null;if(typeof d=="function")g||b0(r);else if(g){var T=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[ye]||null)T=g.formAction;else if(Kd(c)!==null)continue}else T=g.action;typeof T=="function"?r[o+1]=T:(r.splice(o,3),o-=3),b0(r)}}}function x0(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(r,20)}function r(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function Qd(e){this._internalRoot=e}wu.prototype.render=Qd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));var r=n.current,o=Yn();f0(r,o,e,n,null,null)},wu.prototype.unmount=Qd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;f0(e.current,2,null,e,null,null),au(),n[xe]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var n=we();e={blockedOn:null,target:e,priority:n};for(var r=0;r<kr.length&&n!==0&&n<kr[r].priority;r++);kr.splice(r,0,e),r===0&&y0(e)}};var S0=a.version;if(S0!=="19.2.0")throw Error(i(527,S0,"19.2.0"));F.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=h(n),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var BE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{Kt=Cu.inject(BE),nn=Cu}catch{}}return Ao.createRoot=function(e,n){if(!s(e))throw Error(i(299));var r=!1,o="",c=Og,d=Ng,g=Mg;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError)),n=u0(e,1,!1,null,null,r,o,null,c,d,g,x0),e[xe]=n.current,jd(e),new Qd(n)},Ao.hydrateRoot=function(e,n,r){if(!s(e))throw Error(i(299));var o=!1,c="",d=Og,g=Ng,T=Mg,U=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(T=r.onRecoverableError),r.formState!==void 0&&(U=r.formState)),n=u0(e,1,!0,n,r??null,o,c,U,d,g,T,x0),n.context=c0(null),r=n.current,o=Yn(),o=fe(o),c=wr(o),c.callback=null,Cr(r,c,o),r=o,n.current.lanes=r,Qr(n,r),ja(n),e[xe]=n.current,jd(e),new wu(n)},Ao.version="19.2.0",Ao}var j0;function GE(){if(j0)return Jd.exports;j0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),Jd.exports=YE(),Jd.exports}var XE=GE();var Ob=t=>{throw TypeError(t)},KE=(t,a,l)=>a.has(t)||Ob("Cannot "+l),ap=(t,a,l)=>(KE(t,a,"read from private field"),l?l.call(t):a.get(t)),IE=(t,a,l)=>a.has(t)?Ob("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(t):a.set(t,l),D0="popstate";function QE(t={}){function a(i,s){let{pathname:u,search:f,hash:p}=i.location;return Go("",{pathname:u,search:f,hash:p},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function l(i,s){return typeof s=="string"?s:Pa(s)}return WE(a,l,null,t)}function Fe(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function Ht(t,a){if(!t){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function ZE(){return Math.random().toString(36).substring(2,10)}function z0(t,a){return{usr:t.state,key:t.key,idx:a}}function Go(t,a,l=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof a=="string"?Gr(a):a,state:l,key:a&&a.key||i||ZE()}}function Pa({pathname:t="/",search:a="",hash:l=""}){return a&&a!=="?"&&(t+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(t+=l.charAt(0)==="#"?l:"#"+l),t}function Gr(t){let a={};if(t){let l=t.indexOf("#");l>=0&&(a.hash=t.substring(l),t=t.substring(0,l));let i=t.indexOf("?");i>=0&&(a.search=t.substring(i),t=t.substring(0,i)),t&&(a.pathname=t)}return a}function WE(t,a,l,i={}){let{window:s=document.defaultView,v5Compat:u=!1}=i,f=s.history,p="POP",m=null,h=y();h==null&&(h=0,f.replaceState({...f.state,idx:h},""));function y(){return(f.state||{idx:null}).idx}function v(){p="POP";let R=y(),j=R==null?null:R-h;h=R,m&&m({action:p,location:w.location,delta:j})}function C(R,j){p="PUSH";let L=Go(w.location,R,j);h=y()+1;let M=z0(L,h),_=w.createHref(L);try{f.pushState(M,"",_)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;s.location.assign(_)}u&&m&&m({action:p,location:w.location,delta:1})}function E(R,j){p="REPLACE";let L=Go(w.location,R,j);h=y();let M=z0(L,h),_=w.createHref(L);f.replaceState(M,"",_),u&&m&&m({action:p,location:w.location,delta:0})}function b(R){return Nb(R)}let w={get action(){return p},get location(){return t(s,f)},listen(R){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(D0,v),m=R,()=>{s.removeEventListener(D0,v),m=null}},createHref(R){return a(s,R)},createURL:b,encodeLocation(R){let j=b(R);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:C,replace:E,go(R){return f.go(R)}};return w}function Nb(t,a=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),Fe(l,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:Pa(t);return i=i.replace(/ $/,"%20"),!a&&i.startsWith("//")&&(i=l+i),new URL(i,l)}var ko,_0=class{constructor(t){if(IE(this,ko,new Map),t)for(let[a,l]of t)this.set(a,l)}get(t){if(ap(this,ko).has(t))return ap(this,ko).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,a){ap(this,ko).set(t,a)}};ko=new WeakMap;var JE=new Set(["lazy","caseSensitive","path","id","index","children"]);function ew(t){return JE.has(t)}var tw=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function nw(t){return tw.has(t)}function aw(t){return t.index===!0}function Xo(t,a,l=[],i={},s=!1){return t.map((u,f)=>{let p=[...l,String(f)],m=typeof u.id=="string"?u.id:p.join("-");if(Fe(u.index!==!0||!u.children,"Cannot specify children on an index route"),Fe(s||!i[m],`Found a route id collision on id "${m}".  Route id's must be globally unique within Data Router usages`),aw(u)){let h={...u,id:m};return i[m]=L0(h,a(h)),h}else{let h={...u,id:m,children:void 0};return i[m]=L0(h,a(h)),u.children&&(h.children=Xo(u.children,a,p,i,s)),h}})}function L0(t,a){return Object.assign(t,{...a,...typeof a.lazy=="object"&&a.lazy!=null?{lazy:{...t.lazy,...a.lazy}}:{}})}function $r(t,a,l="/"){return Ho(t,a,l,!1)}function Ho(t,a,l,i){let s=typeof a=="string"?Gr(a):a,u=ca(s.pathname||"/",l);if(u==null)return null;let f=Mb(t);lw(f);let p=null;for(let m=0;p==null&&m<f.length;++m){let h=gw(u);p=hw(f[m],h,i)}return p}function rw(t,a){let{route:l,pathname:i,params:s}=t;return{id:l.id,pathname:i,params:s,data:a[l.id],loaderData:a[l.id],handle:l.handle}}function Mb(t,a=[],l=[],i="",s=!1){let u=(f,p,m=s,h)=>{let y={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&m)return;Fe(y.relativePath.startsWith(i),`Absolute route path "${y.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(i.length)}let v=Ha([i,y.relativePath]),C=l.concat(y);f.children&&f.children.length>0&&(Fe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Mb(f.children,a,C,v,m)),!(f.path==null&&!f.index)&&a.push({path:v,score:dw(v,f.index),routesMeta:C})};return t.forEach((f,p)=>{if(f.path===""||!f.path?.includes("?"))u(f,p);else for(let m of jb(f.path))u(f,p,!0,m)}),a}function jb(t){let a=t.split("/");if(a.length===0)return[];let[l,...i]=a,s=l.endsWith("?"),u=l.replace(/\?$/,"");if(i.length===0)return s?[u,""]:[u];let f=jb(i.join("/")),p=[];return p.push(...f.map(m=>m===""?u:[u,m].join("/"))),s&&p.push(...f),p.map(m=>t.startsWith("/")&&m===""?"/":m)}function lw(t){t.sort((a,l)=>a.score!==l.score?l.score-a.score:pw(a.routesMeta.map(i=>i.childrenIndex),l.routesMeta.map(i=>i.childrenIndex)))}var iw=/^:[\w-]+$/,ow=3,sw=2,uw=1,cw=10,fw=-2,B0=t=>t==="*";function dw(t,a){let l=t.split("/"),i=l.length;return l.some(B0)&&(i+=fw),a&&(i+=sw),l.filter(s=>!B0(s)).reduce((s,u)=>s+(iw.test(u)?ow:u===""?uw:cw),i)}function pw(t,a){return t.length===a.length&&t.slice(0,-1).every((i,s)=>i===a[s])?t[t.length-1]-a[a.length-1]:0}function hw(t,a,l=!1){let{routesMeta:i}=t,s={},u="/",f=[];for(let p=0;p<i.length;++p){let m=i[p],h=p===i.length-1,y=u==="/"?a:a.slice(u.length)||"/",v=Yu({path:m.relativePath,caseSensitive:m.caseSensitive,end:h},y),C=m.route;if(!v&&h&&l&&!i[i.length-1].route.index&&(v=Yu({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},y)),!v)return null;Object.assign(s,v.params),f.push({params:s,pathname:Ha([u,v.pathname]),pathnameBase:xw(Ha([u,v.pathnameBase])),route:C}),v.pathnameBase!=="/"&&(u=Ha([u,v.pathnameBase]))}return f}function Yu(t,a){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[l,i]=mw(t.path,t.caseSensitive,t.end),s=a.match(l);if(!s)return null;let u=s[0],f=u.replace(/(.)\/+$/,"$1"),p=s.slice(1);return{params:i.reduce((h,{paramName:y,isOptional:v},C)=>{if(y==="*"){let b=p[C]||"";f=u.slice(0,u.length-b.length).replace(/(.)\/+$/,"$1")}const E=p[C];return v&&!E?h[y]=void 0:h[y]=(E||"").replace(/%2F/g,"/"),h},{}),pathname:u,pathnameBase:f,pattern:t}}function mw(t,a=!1,l=!0){Ht(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,m)=>(i.push({paramName:p,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),i]}function gw(t){try{return t.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ht(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),t}}function ca(t,a){if(a==="/")return t;if(!t.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,i=t.charAt(l);return i&&i!=="/"?null:t.slice(l)||"/"}function yw({basename:t,pathname:a}){return a==="/"?t:Ha([t,a])}var vw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fc=t=>vw.test(t);function bw(t,a="/"){let{pathname:l,search:i="",hash:s=""}=typeof t=="string"?Gr(t):t,u;if(l)if(fc(l))u=l;else{if(l.includes("//")){let f=l;l=l.replace(/\/\/+/g,"/"),Ht(!1,`Pathnames cannot have embedded double slashes - normalizing ${f} -> ${l}`)}l.startsWith("/")?u=U0(l.substring(1),"/"):u=U0(l,a)}else u=a;return{pathname:u,search:Sw(i),hash:Ew(s)}}function U0(t,a){let l=a.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?l.length>1&&l.pop():s!=="."&&l.push(s)}),l.length>1?l.join("/"):"/"}function rp(t,a,l,i){return`Cannot include a '${t}' character in a manually specified \`to.${a}\` field [${JSON.stringify(i)}].  Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Db(t){return t.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function dc(t){let a=Db(t);return a.map((l,i)=>i===a.length-1?l.pathname:l.pathnameBase)}function pc(t,a,l,i=!1){let s;typeof t=="string"?s=Gr(t):(s={...t},Fe(!s.pathname||!s.pathname.includes("?"),rp("?","pathname","search",s)),Fe(!s.pathname||!s.pathname.includes("#"),rp("#","pathname","hash",s)),Fe(!s.search||!s.search.includes("#"),rp("#","search","hash",s)));let u=t===""||s.pathname==="",f=u?"/":s.pathname,p;if(f==null)p=l;else{let v=a.length-1;if(!i&&f.startsWith("..")){let C=f.split("/");for(;C[0]==="..";)C.shift(),v-=1;s.pathname=C.join("/")}p=v>=0?a[v]:"/"}let m=bw(s,p),h=f&&f!=="/"&&f.endsWith("/"),y=(u||f===".")&&l.endsWith("/");return!m.pathname.endsWith("/")&&(h||y)&&(m.pathname+="/"),m}var Ha=t=>t.join("/").replace(/\/\/+/g,"/"),xw=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Sw=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Ew=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Gu=class{constructor(t,a,l,i=!1){this.status=t,this.statusText=a||"",this.internal=i,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Ko(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Wp(t){return t.filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var qr=Symbol("Uninstrumented");function ww(t,a){let l={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(s=>s({id:a.id,index:a.index,path:a.path,instrument(u){let f=Object.keys(l);for(let p of f)u[p]&&l[p].push(u[p])}}));let i={};if(typeof a.lazy=="function"&&l.lazy.length>0){let s=wi(l.lazy,a.lazy,()=>{});s&&(i.lazy=s)}if(typeof a.lazy=="object"){let s=a.lazy;["middleware","loader","action"].forEach(u=>{let f=s[u],p=l[`lazy.${u}`];if(typeof f=="function"&&p.length>0){let m=wi(p,f,()=>{});m&&(i.lazy=Object.assign(i.lazy||{},{[u]:m}))}})}return["loader","action"].forEach(s=>{let u=a[s];if(typeof u=="function"&&l[s].length>0){let f=u[qr]??u,p=wi(l[s],f,(...m)=>k0(m[0]));p&&(p[qr]=f,i[s]=p)}}),a.middleware&&a.middleware.length>0&&l.middleware.length>0&&(i.middleware=a.middleware.map(s=>{let u=s[qr]??s,f=wi(l.middleware,u,(...p)=>k0(p[0]));return f?(f[qr]=u,f):s})),i}function Cw(t,a){let l={navigate:[],fetch:[]};if(a.forEach(i=>i({instrument(s){let u=Object.keys(s);for(let f of u)s[f]&&l[f].push(s[f])}})),l.navigate.length>0){let i=t.navigate[qr]??t.navigate,s=wi(l.navigate,i,(...u)=>{let[f,p]=u;return{to:typeof f=="number"||typeof f=="string"?f:f?Pa(f):".",...H0(t,p??{})}});s&&(s[qr]=i,t.navigate=s)}if(l.fetch.length>0){let i=t.fetch[qr]??t.fetch,s=wi(l.fetch,i,(...u)=>{let[f,,p,m]=u;return{href:p??".",fetcherKey:f,...H0(t,m??{})}});s&&(s[qr]=i,t.fetch=s)}return t}function wi(t,a,l){return t.length===0?null:async(...i)=>{let s=await zb(t,l(...i),()=>a(...i),t.length-1);if(s.type==="error")throw s.value;return s.value}}async function zb(t,a,l,i){let s=t[i],u;if(s){let f,p=async()=>(f?console.error("You cannot call instrumented handlers more than once"):f=zb(t,a,l,i-1),u=await f,Fe(u,"Expected a result"),u.type==="error"&&u.value instanceof Error?{status:"error",error:u.value}:{status:"success",error:void 0});try{await s(p,a)}catch(m){console.error("An instrumentation function threw an error:",m)}f||await p(),await f}else try{u={type:"success",value:await l()}}catch(f){u={type:"error",value:f}}return u||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function k0(t){let{request:a,context:l,params:i,unstable_pattern:s}=t;return{request:Tw(a),params:{...i},unstable_pattern:s,context:Rw(l)}}function H0(t,a){return{currentUrl:Pa(t.state.location),..."formMethod"in a?{formMethod:a.formMethod}:{},..."formEncType"in a?{formEncType:a.formEncType}:{},..."formData"in a?{formData:a.formData}:{},..."body"in a?{body:a.body}:{}}}function Tw(t){return{method:t.method,url:t.url,headers:{get:(...a)=>t.headers.get(...a)}}}function Rw(t){if(Ow(t)){let a={...t};return Object.freeze(a),a}else return{get:a=>t.get(a)}}var Aw=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ow(t){if(t===null||typeof t!="object")return!1;const a=Object.getPrototypeOf(t);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===Aw}var _b=["POST","PUT","PATCH","DELETE"],Nw=new Set(_b),Mw=["GET",..._b],jw=new Set(Mw),Dw=new Set([301,302,303,307,308]),zw=new Set([307,308]),lp={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_w={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Oo={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Lw=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),Lb="remix-router-transitions",Bb=Symbol("ResetLoaderData");function Bw(t){const a=t.window?t.window:typeof window<"u"?window:void 0,l=typeof a<"u"&&typeof a.document<"u"&&typeof a.document.createElement<"u";Fe(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=t.hydrationRouteProperties||[],s=t.mapRouteProperties||Lw,u=s;if(t.unstable_instrumentations){let k=t.unstable_instrumentations;u=q=>({...s(q),...ww(k.map(Z=>Z.route).filter(Boolean),q)})}let f={},p=Xo(t.routes,u,void 0,f),m,h=t.basename||"/";h.startsWith("/")||(h=`/${h}`);let y=t.dataStrategy||Pw,v={...t.future},C=null,E=new Set,b=null,w=null,R=null,j=t.hydrationData!=null,L=$r(p,t.history.location,h),M=!1,_=null,N;if(L==null&&!t.patchRoutesOnNavigation){let k=ia(404,{pathname:t.history.location.pathname}),{matches:q,route:Z}=Tu(p);N=!0,L=q,_={[Z.id]:k}}else if(L&&!t.hydrationData&&Dl(L,p,t.history.location.pathname).active&&(L=null),L)if(L.some(k=>k.route.lazy))N=!1;else if(!L.some(k=>Jp(k.route)))N=!0;else{let k=t.hydrationData?t.hydrationData.loaderData:null,q=t.hydrationData?t.hydrationData.errors:null;if(q){let Z=L.findIndex(fe=>q[fe.route.id]!==void 0);N=L.slice(0,Z+1).every(fe=>!Rp(fe.route,k,q))}else N=L.every(Z=>!Rp(Z.route,k,q))}else{N=!1,L=[];let k=Dl(null,p,t.history.location.pathname);k.active&&k.matches&&(M=!0,L=k.matches)}let B,O={historyAction:t.history.action,location:t.history.location,matches:L,initialized:N,navigation:lp,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||_,fetchers:new Map,blockers:new Map},Q="POP",oe=!1,re,ce=!1,A=new Map,ee=null,P=!1,Y=!1,D=new Set,F=new Map,ue=0,te=-1,he=new Map,z=new Set,G=new Map,V=new Map,ie=new Set,de=new Map,be,Ae=null;function Je(){if(C=t.history.listen(({action:k,location:q,delta:Z})=>{if(be){be(),be=void 0;return}Ht(de.size===0||Z!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let fe=Kr({currentLocation:O.location,nextLocation:q,historyAction:k});if(fe&&Z!=null){let pe=new Promise(we=>{be=we});t.history.go(Z*-1),Fa(fe,{state:"blocked",location:q,proceed(){Fa(fe,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),pe.then(()=>t.history.go(Z))},reset(){let we=new Map(O.blockers);we.set(fe,Oo),Oe({blockers:we})}});return}return Xe(k,q)}),l){nC(a,A);let k=()=>aC(a,A);a.addEventListener("pagehide",k),ee=()=>a.removeEventListener("pagehide",k)}return O.initialized||Xe("POP",O.location,{initialHydration:!0}),B}function ze(){C&&C(),ee&&ee(),E.clear(),re&&re.abort(),O.fetchers.forEach((k,q)=>ot(q)),O.blockers.forEach((k,q)=>ga(q))}function je(k){return E.add(k),()=>E.delete(k)}function Oe(k,q={}){k.matches&&(k.matches=k.matches.map(pe=>{let we=f[pe.route.id],Ce=pe.route;return Ce.element!==we.element||Ce.errorElement!==we.errorElement||Ce.hydrateFallbackElement!==we.hydrateFallbackElement?{...pe,route:we}:pe})),O={...O,...k};let Z=[],fe=[];O.fetchers.forEach((pe,we)=>{pe.state==="idle"&&(ie.has(we)?Z.push(we):fe.push(we))}),ie.forEach(pe=>{!O.fetchers.has(pe)&&!F.has(pe)&&Z.push(pe)}),[...E].forEach(pe=>pe(O,{deletedFetchers:Z,viewTransitionOpts:q.viewTransitionOpts,flushSync:q.flushSync===!0})),Z.forEach(pe=>ot(pe)),fe.forEach(pe=>O.fetchers.delete(pe))}function Pe(k,q,{flushSync:Z}={}){let fe=O.actionData!=null&&O.navigation.formMethod!=null&&Cn(O.navigation.formMethod)&&O.navigation.state==="loading"&&k.state?._isRedirect!==!0,pe;q.actionData?Object.keys(q.actionData).length>0?pe=q.actionData:pe=null:fe?pe=O.actionData:pe=null;let we=q.loaderData?I0(O.loaderData,q.loaderData,q.matches||[],q.errors):O.loaderData,Ce=O.blockers;Ce.size>0&&(Ce=new Map(Ce),Ce.forEach((xe,Re)=>Ce.set(Re,Oo)));let ge=P?!1:hr(k,q.matches||O.matches),me=oe===!0||O.navigation.formMethod!=null&&Cn(O.navigation.formMethod)&&k.state?._isRedirect!==!0;m&&(p=m,m=void 0),P||Q==="POP"||(Q==="PUSH"?t.history.push(k,k.state):Q==="REPLACE"&&t.history.replace(k,k.state));let ye;if(Q==="POP"){let xe=A.get(O.location.pathname);xe&&xe.has(k.pathname)?ye={currentLocation:O.location,nextLocation:k}:A.has(k.pathname)&&(ye={currentLocation:k,nextLocation:O.location})}else if(ce){let xe=A.get(O.location.pathname);xe?xe.add(k.pathname):(xe=new Set([k.pathname]),A.set(O.location.pathname,xe)),ye={currentLocation:O.location,nextLocation:k}}Oe({...q,actionData:pe,loaderData:we,historyAction:Q,location:k,initialized:!0,navigation:lp,revalidation:"idle",restoreScrollPosition:ge,preventScrollReset:me,blockers:Ce},{viewTransitionOpts:ye,flushSync:Z===!0}),Q="POP",oe=!1,ce=!1,P=!1,Y=!1,Ae?.resolve(),Ae=null}async function St(k,q){if(typeof k=="number"){t.history.go(k);return}let Z=Tp(O.location,O.matches,h,k,q?.fromRouteId,q?.relative),{path:fe,submission:pe,error:we}=$0(!1,Z,q),Ce=O.location,ge=Go(O.location,fe,q&&q.state);ge={...ge,...t.history.encodeLocation(ge)};let me=q&&q.replace!=null?q.replace:void 0,ye="PUSH";me===!0?ye="REPLACE":me===!1||pe!=null&&Cn(pe.formMethod)&&pe.formAction===O.location.pathname+O.location.search&&(ye="REPLACE");let xe=q&&"preventScrollReset"in q?q.preventScrollReset===!0:void 0,Re=(q&&q.flushSync)===!0,Ze=Kr({currentLocation:Ce,nextLocation:ge,historyAction:ye});if(Ze){Fa(Ze,{state:"blocked",location:ge,proceed(){Fa(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:ge}),St(k,q)},reset(){let Tt=new Map(O.blockers);Tt.set(Ze,Oo),Oe({blockers:Tt})}});return}await Xe(ye,ge,{submission:pe,pendingError:we,preventScrollReset:xe,replace:q&&q.replace,enableViewTransition:q&&q.viewTransition,flushSync:Re})}function Be(){Ae||(Ae=rC()),In(),Oe({revalidation:"loading"});let k=Ae.promise;return O.navigation.state==="submitting"?k:O.navigation.state==="idle"?(Xe(O.historyAction,O.location,{startUninterruptedRevalidation:!0}),k):(Xe(Q||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation,enableViewTransition:ce===!0}),k)}async function Xe(k,q,Z){re&&re.abort(),re=null,Q=k,P=(Z&&Z.startUninterruptedRevalidation)===!0,jl(O.location,O.matches),oe=(Z&&Z.preventScrollReset)===!0,ce=(Z&&Z.enableViewTransition)===!0;let fe=m||p,pe=Z&&Z.overrideNavigation,we=Z?.initialHydration&&O.matches&&O.matches.length>0&&!M?O.matches:$r(fe,q,h),Ce=(Z&&Z.flushSync)===!0;if(we&&O.initialized&&!Y&&Iw(O.location,q)&&!(Z&&Z.submission&&Cn(Z.submission.formMethod))){Pe(q,{matches:we},{flushSync:Ce});return}let ge=Dl(we,fe,q.pathname);if(ge.active&&ge.matches&&(we=ge.matches),!we){let{error:Mt,notFoundMatches:ut,route:et}=pr(q.pathname);Pe(q,{matches:ut,loaderData:{},errors:{[et.id]:Mt}},{flushSync:Ce});return}re=new AbortController;let me=Si(t.history,q,re.signal,Z&&Z.submission),ye=t.getContext?await t.getContext():new _0,xe;if(Z&&Z.pendingError)xe=[Pr(we).route.id,{type:"error",error:Z.pendingError}];else if(Z&&Z.submission&&Cn(Z.submission.formMethod)){let Mt=await en(me,q,Z.submission,we,ye,ge.active,Z&&Z.initialHydration===!0,{replace:Z.replace,flushSync:Ce});if(Mt.shortCircuited)return;if(Mt.pendingActionResult){let[ut,et]=Mt.pendingActionResult;if(Gn(et)&&Ko(et.error)&&et.error.status===404){re=null,Pe(q,{matches:Mt.matches,loaderData:{},errors:{[ut]:et.error}});return}}we=Mt.matches||we,xe=Mt.pendingActionResult,pe=ip(q,Z.submission),Ce=!1,ge.active=!1,me=Si(t.history,me.url,me.signal)}let{shortCircuited:Re,matches:Ze,loaderData:Tt,errors:_t}=await tn(me,q,we,ye,ge.active,pe,Z&&Z.submission,Z&&Z.fetcherSubmission,Z&&Z.replace,Z&&Z.initialHydration===!0,Ce,xe);Re||(re=null,Pe(q,{matches:Ze||we,...Q0(xe),loaderData:Tt,errors:_t}))}async function en(k,q,Z,fe,pe,we,Ce,ge={}){In();let me=eC(q,Z);if(Oe({navigation:me},{flushSync:ge.flushSync===!0}),we){let Re=await Ir(fe,q.pathname,k.signal);if(Re.type==="aborted")return{shortCircuited:!0};if(Re.type==="error"){if(Re.partialMatches.length===0){let{matches:Tt,route:_t}=Tu(p);return{matches:Tt,pendingActionResult:[_t.id,{type:"error",error:Re.error}]}}let Ze=Pr(Re.partialMatches).route.id;return{matches:Re.partialMatches,pendingActionResult:[Ze,{type:"error",error:Re.error}]}}else if(Re.matches)fe=Re.matches;else{let{notFoundMatches:Ze,error:Tt,route:_t}=pr(q.pathname);return{matches:Ze,pendingActionResult:[_t.id,{type:"error",error:Tt}]}}}let ye,xe=Lu(fe,q);if(!xe.route.action&&!xe.route.lazy)ye={type:"error",error:ia(405,{method:k.method,pathname:q.pathname,routeId:xe.route.id})};else{let Re=Ci(u,f,k,fe,xe,Ce?[]:i,pe),Ze=await Ve(k,Re,pe,null);if(ye=Ze[xe.route.id],!ye){for(let Tt of fe)if(Ze[Tt.route.id]){ye=Ze[Tt.route.id];break}}if(k.signal.aborted)return{shortCircuited:!0}}if(vl(ye)){let Re;return ge&&ge.replace!=null?Re=ge.replace:Re=G0(ye.response.headers.get("Location"),new URL(k.url),h)===O.location.pathname+O.location.search,await ln(k,ye,!0,{submission:Z,replace:Re}),{shortCircuited:!0}}if(Gn(ye)){let Re=Pr(fe,xe.route.id);return(ge&&ge.replace)!==!0&&(Q="PUSH"),{matches:fe,pendingActionResult:[Re.route.id,ye,xe.route.id]}}return{matches:fe,pendingActionResult:[xe.route.id,ye]}}async function tn(k,q,Z,fe,pe,we,Ce,ge,me,ye,xe,Re){let Ze=we||ip(q,Ce),Tt=Ce||ge||W0(Ze),_t=!P&&!ye;if(pe){if(_t){let an=Nt(Re);Oe({navigation:Ze,...an!==void 0?{actionData:an}:{}},{flushSync:xe})}let Ke=await Ir(Z,q.pathname,k.signal);if(Ke.type==="aborted")return{shortCircuited:!0};if(Ke.type==="error"){if(Ke.partialMatches.length===0){let{matches:gr,route:Qn}=Tu(p);return{matches:gr,loaderData:{},errors:{[Qn.id]:Ke.error}}}let an=Pr(Ke.partialMatches).route.id;return{matches:Ke.partialMatches,loaderData:{},errors:{[an]:Ke.error}}}else if(Ke.matches)Z=Ke.matches;else{let{error:an,notFoundMatches:gr,route:Qn}=pr(q.pathname);return{matches:gr,loaderData:{},errors:{[Qn.id]:an}}}}let Mt=m||p,{dsMatches:ut,revalidatingFetchers:et}=P0(k,fe,u,f,t.history,O,Z,Tt,q,ye?[]:i,ye===!0,Y,D,ie,G,z,Mt,h,t.patchRoutesOnNavigation!=null,Re);if(te=++ue,!t.dataStrategy&&!ut.some(Ke=>Ke.shouldLoad)&&!ut.some(Ke=>Ke.route.middleware&&Ke.route.middleware.length>0)&&et.length===0){let Ke=Ee();return Pe(q,{matches:Z,loaderData:{},errors:Re&&Gn(Re[1])?{[Re[0]]:Re[1].error}:null,...Q0(Re),...Ke?{fetchers:new Map(O.fetchers)}:{}},{flushSync:xe}),{shortCircuited:!0}}if(_t){let Ke={};if(!pe){Ke.navigation=Ze;let an=Nt(Re);an!==void 0&&(Ke.actionData=an)}et.length>0&&(Ke.fetchers=mn(et)),Oe(Ke,{flushSync:xe})}et.forEach(Ke=>{Kt(Ke.key),Ke.controller&&F.set(Ke.key,Ke.controller)});let On=()=>et.forEach(Ke=>Kt(Ke.key));re&&re.signal.addEventListener("abort",On);let{loaderResults:ya,fetcherResults:xn}=await ha(ut,et,k,fe);if(k.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",On),et.forEach(Ke=>F.delete(Ke.key));let ct=Ru(ya);if(ct)return await ln(k,ct.result,!0,{replace:me}),{shortCircuited:!0};if(ct=Ru(xn),ct)return z.add(ct.key),await ln(k,ct.result,!0,{replace:me}),{shortCircuited:!0};let{loaderData:_l,errors:mr}=K0(O,Z,ya,Re,et,xn);ye&&O.errors&&(mr={...O.errors,...mr});let Sn=Ee(),va=ke(te),Ll=Sn||va||et.length>0;return{matches:Z,loaderData:_l,errors:mr,...Ll?{fetchers:new Map(O.fetchers)}:{}}}function Nt(k){if(k&&!Gn(k[1]))return{[k[0]]:k[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function mn(k){return k.forEach(q=>{let Z=O.fetchers.get(q.key),fe=No(void 0,Z?Z.data:void 0);O.fetchers.set(q.key,fe)}),new Map(O.fetchers)}async function $t(k,q,Z,fe){Kt(k);let pe=(fe&&fe.flushSync)===!0,we=m||p,Ce=Tp(O.location,O.matches,h,Z,q,fe?.relative),ge=$r(we,Ce,h),me=Dl(ge,we,Ce);if(me.active&&me.matches&&(ge=me.matches),!ge){Pt(k,q,ia(404,{pathname:Ce}),{flushSync:pe});return}let{path:ye,submission:xe,error:Re}=$0(!0,Ce,fe);if(Re){Pt(k,q,Re,{flushSync:pe});return}let Ze=t.getContext?await t.getContext():new _0,Tt=(fe&&fe.preventScrollReset)===!0;if(xe&&Cn(xe.formMethod)){await Rt(k,q,ye,ge,Ze,me.active,pe,Tt,xe);return}G.set(k,{routeId:q,path:ye}),await Me(k,q,ye,ge,Ze,me.active,pe,Tt,xe)}async function Rt(k,q,Z,fe,pe,we,Ce,ge,me){In(),G.delete(k);let ye=O.fetchers.get(k);on(k,tC(me,ye),{flushSync:Ce});let xe=new AbortController,Re=Si(t.history,Z,xe.signal,me);if(we){let Et=await Ir(fe,new URL(Re.url).pathname,Re.signal,k);if(Et.type==="aborted")return;if(Et.type==="error"){Pt(k,q,Et.error,{flushSync:Ce});return}else if(Et.matches)fe=Et.matches;else{Pt(k,q,ia(404,{pathname:Z}),{flushSync:Ce});return}}let Ze=Lu(fe,Z);if(!Ze.route.action&&!Ze.route.lazy){let Et=ia(405,{method:me.formMethod,pathname:Z,routeId:q});Pt(k,q,Et,{flushSync:Ce});return}F.set(k,xe);let Tt=ue,_t=Ci(u,f,Re,fe,Ze,i,pe),Mt=await Ve(Re,_t,pe,k),ut=Mt[Ze.route.id];if(!ut){for(let Et of _t)if(Mt[Et.route.id]){ut=Mt[Et.route.id];break}}if(Re.signal.aborted){F.get(k)===xe&&F.delete(k);return}if(ie.has(k)){if(vl(ut)||Gn(ut)){on(k,ur(void 0));return}}else{if(vl(ut))if(F.delete(k),te>Tt){on(k,ur(void 0));return}else return z.add(k),on(k,No(me)),ln(Re,ut,!1,{fetcherSubmission:me,preventScrollReset:ge});if(Gn(ut)){Pt(k,q,ut.error);return}}let et=O.navigation.location||O.location,On=Si(t.history,et,xe.signal),ya=m||p,xn=O.navigation.state!=="idle"?$r(ya,O.navigation.location,h):O.matches;Fe(xn,"Didn't find any matches after fetcher action");let ct=++ue;he.set(k,ct);let _l=No(me,ut.data);O.fetchers.set(k,_l);let{dsMatches:mr,revalidatingFetchers:Sn}=P0(On,pe,u,f,t.history,O,xn,me,et,i,!1,Y,D,ie,G,z,ya,h,t.patchRoutesOnNavigation!=null,[Ze.route.id,ut]);Sn.filter(Et=>Et.key!==k).forEach(Et=>{let Nn=Et.key,En=O.fetchers.get(Nn),hs=No(void 0,En?En.data:void 0);O.fetchers.set(Nn,hs),Kt(Nn),Et.controller&&F.set(Nn,Et.controller)}),Oe({fetchers:new Map(O.fetchers)});let va=()=>Sn.forEach(Et=>Kt(Et.key));xe.signal.addEventListener("abort",va);let{loaderResults:Ll,fetcherResults:Ke}=await ha(mr,Sn,On,pe);if(xe.signal.aborted)return;if(xe.signal.removeEventListener("abort",va),he.delete(k),F.delete(k),Sn.forEach(Et=>F.delete(Et.key)),O.fetchers.has(k)){let Et=ur(ut.data);O.fetchers.set(k,Et)}let an=Ru(Ll);if(an)return ln(On,an.result,!1,{preventScrollReset:ge});if(an=Ru(Ke),an)return z.add(an.key),ln(On,an.result,!1,{preventScrollReset:ge});let{loaderData:gr,errors:Qn}=K0(O,xn,Ll,void 0,Sn,Ke);ke(ct),O.navigation.state==="loading"&&ct>te?(Fe(Q,"Expected pending action"),re&&re.abort(),Pe(O.navigation.location,{matches:xn,loaderData:gr,errors:Qn,fetchers:new Map(O.fetchers)})):(Oe({errors:Qn,loaderData:I0(O.loaderData,gr,xn,Qn),fetchers:new Map(O.fetchers)}),Y=!1)}async function Me(k,q,Z,fe,pe,we,Ce,ge,me){let ye=O.fetchers.get(k);on(k,No(me,ye?ye.data:void 0),{flushSync:Ce});let xe=new AbortController,Re=Si(t.history,Z,xe.signal);if(we){let et=await Ir(fe,new URL(Re.url).pathname,Re.signal,k);if(et.type==="aborted")return;if(et.type==="error"){Pt(k,q,et.error,{flushSync:Ce});return}else if(et.matches)fe=et.matches;else{Pt(k,q,ia(404,{pathname:Z}),{flushSync:Ce});return}}let Ze=Lu(fe,Z);F.set(k,xe);let Tt=ue,_t=Ci(u,f,Re,fe,Ze,i,pe),ut=(await Ve(Re,_t,pe,k))[Ze.route.id];if(F.get(k)===xe&&F.delete(k),!Re.signal.aborted){if(ie.has(k)){on(k,ur(void 0));return}if(vl(ut))if(te>Tt){on(k,ur(void 0));return}else{z.add(k),await ln(Re,ut,!1,{preventScrollReset:ge});return}if(Gn(ut)){Pt(k,q,ut.error);return}on(k,ur(ut.data))}}async function ln(k,q,Z,{submission:fe,fetcherSubmission:pe,preventScrollReset:we,replace:Ce}={}){q.response.headers.has("X-Remix-Revalidate")&&(Y=!0);let ge=q.response.headers.get("Location");Fe(ge,"Expected a Location header on the redirect Response"),ge=G0(ge,new URL(k.url),h);let me=Go(O.location,ge,{_isRedirect:!0});if(l){let _t=!1;if(q.response.headers.has("X-Remix-Reload-Document"))_t=!0;else if(fc(ge)){const Mt=Nb(ge,!0);_t=Mt.origin!==a.location.origin||ca(Mt.pathname,h)==null}if(_t){Ce?a.location.replace(ge):a.location.assign(ge);return}}re=null;let ye=Ce===!0||q.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:xe,formAction:Re,formEncType:Ze}=O.navigation;!fe&&!pe&&xe&&Re&&Ze&&(fe=W0(O.navigation));let Tt=fe||pe;if(zw.has(q.response.status)&&Tt&&Cn(Tt.formMethod))await Xe(ye,me,{submission:{...Tt,formAction:ge},preventScrollReset:we||oe,enableViewTransition:Z?ce:void 0});else{let _t=ip(me,fe);await Xe(ye,me,{overrideNavigation:_t,fetcherSubmission:pe,preventScrollReset:we||oe,enableViewTransition:Z?ce:void 0})}}async function Ve(k,q,Z,fe){let pe,we={};try{pe=await Fw(y,k,q,fe,Z,!1)}catch(Ce){return q.filter(ge=>ge.shouldLoad).forEach(ge=>{we[ge.route.id]={type:"error",error:Ce}}),we}if(k.signal.aborted)return we;for(let[Ce,ge]of Object.entries(pe))if(Ww(ge)){let me=ge.result;we[Ce]={type:"redirect",response:Xw(me,k,Ce,q,h)}}else we[Ce]=await Gw(ge);return we}async function ha(k,q,Z,fe){let pe=Ve(Z,k,fe,null),we=Promise.all(q.map(async me=>{if(me.matches&&me.match&&me.request&&me.controller){let xe=(await Ve(me.request,me.matches,fe,me.key))[me.match.route.id];return{[me.key]:xe}}else return Promise.resolve({[me.key]:{type:"error",error:ia(404,{pathname:me.path})}})})),Ce=await pe,ge=(await we).reduce((me,ye)=>Object.assign(me,ye),{});return{loaderResults:Ce,fetcherResults:ge}}function In(){Y=!0,G.forEach((k,q)=>{F.has(q)&&D.add(q),Kt(q)})}function on(k,q,Z={}){O.fetchers.set(k,q),Oe({fetchers:new Map(O.fetchers)},{flushSync:(Z&&Z.flushSync)===!0})}function Pt(k,q,Z,fe={}){let pe=Pr(O.matches,q);ot(k),Oe({errors:{[pe.route.id]:Z},fetchers:new Map(O.fetchers)},{flushSync:(fe&&fe.flushSync)===!0})}function ma(k){return V.set(k,(V.get(k)||0)+1),ie.has(k)&&ie.delete(k),O.fetchers.get(k)||_w}function An(k,q){Kt(k,q?.reason),on(k,ur(null))}function ot(k){let q=O.fetchers.get(k);F.has(k)&&!(q&&q.state==="loading"&&he.has(k))&&Kt(k),G.delete(k),he.delete(k),z.delete(k),ie.delete(k),D.delete(k),O.fetchers.delete(k)}function Ra(k){let q=(V.get(k)||0)-1;q<=0?(V.delete(k),ie.add(k)):V.set(k,q),Oe({fetchers:new Map(O.fetchers)})}function Kt(k,q){let Z=F.get(k);Z&&(Z.abort(q),F.delete(k))}function nn(k){for(let q of k){let Z=ma(q),fe=ur(Z.data);O.fetchers.set(q,fe)}}function Ee(){let k=[],q=!1;for(let Z of z){let fe=O.fetchers.get(Z);Fe(fe,`Expected fetcher: ${Z}`),fe.state==="loading"&&(z.delete(Z),k.push(Z),q=!0)}return nn(k),q}function ke(k){let q=[];for(let[Z,fe]of he)if(fe<k){let pe=O.fetchers.get(Z);Fe(pe,`Expected fetcher: ${Z}`),pe.state==="loading"&&(Kt(Z),he.delete(Z),q.push(Z))}return nn(q),q.length>0}function qt(k,q){let Z=O.blockers.get(k)||Oo;return de.get(k)!==q&&de.set(k,q),Z}function ga(k){O.blockers.delete(k),de.delete(k)}function Fa(k,q){let Z=O.blockers.get(k)||Oo;Fe(Z.state==="unblocked"&&q.state==="blocked"||Z.state==="blocked"&&q.state==="blocked"||Z.state==="blocked"&&q.state==="proceeding"||Z.state==="blocked"&&q.state==="unblocked"||Z.state==="proceeding"&&q.state==="unblocked",`Invalid blocker state transition: ${Z.state} -> ${q.state}`);let fe=new Map(O.blockers);fe.set(k,q),Oe({blockers:fe})}function Kr({currentLocation:k,nextLocation:q,historyAction:Z}){if(de.size===0)return;de.size>1&&Ht(!1,"A router only supports one blocker at a time");let fe=Array.from(de.entries()),[pe,we]=fe[fe.length-1],Ce=O.blockers.get(pe);if(!(Ce&&Ce.state==="proceeding")&&we({currentLocation:k,nextLocation:q,historyAction:Z}))return pe}function pr(k){let q=ia(404,{pathname:k}),Z=m||p,{matches:fe,route:pe}=Tu(Z);return{notFoundMatches:fe,route:pe,error:q}}function Ml(k,q,Z){if(b=k,R=q,w=Z||null,!j&&O.navigation===lp){j=!0;let fe=hr(O.location,O.matches);fe!=null&&Oe({restoreScrollPosition:fe})}return()=>{b=null,R=null,w=null}}function Aa(k,q){return w&&w(k,q.map(fe=>rw(fe,O.loaderData)))||k.key}function jl(k,q){if(b&&R){let Z=Aa(k,q);b[Z]=R()}}function hr(k,q){if(b){let Z=Aa(k,q),fe=b[Z];if(typeof fe=="number")return fe}return null}function Dl(k,q,Z){if(t.patchRoutesOnNavigation)if(k){if(Object.keys(k[0].params).length>0)return{active:!0,matches:Ho(q,Z,h,!0)}}else return{active:!0,matches:Ho(q,Z,h,!0)||[]};return{active:!1,matches:null}}async function Ir(k,q,Z,fe){if(!t.patchRoutesOnNavigation)return{type:"success",matches:k};let pe=k;for(;;){let we=m==null,Ce=m||p,ge=f;try{await t.patchRoutesOnNavigation({signal:Z,path:q,matches:pe,fetcherKey:fe,patch:(xe,Re)=>{Z.aborted||q0(xe,Re,Ce,ge,u,!1)}})}catch(xe){return{type:"error",error:xe,partialMatches:pe}}finally{we&&!Z.aborted&&(p=[...p])}if(Z.aborted)return{type:"aborted"};let me=$r(Ce,q,h),ye=null;if(me){if(Object.keys(me[0].params).length===0)return{type:"success",matches:me};if(ye=Ho(Ce,q,h,!0),!(ye&&pe.length<ye.length&&zl(pe,ye.slice(0,pe.length))))return{type:"success",matches:me}}if(ye||(ye=Ho(Ce,q,h,!0)),!ye||zl(pe,ye))return{type:"success",matches:null};pe=ye}}function zl(k,q){return k.length===q.length&&k.every((Z,fe)=>Z.route.id===q[fe].route.id)}function Qr(k){f={},m=Xo(k,u,void 0,f)}function qc(k,q,Z=!1){let fe=m==null;q0(k,q,m||p,f,u,Z),fe&&(p=[...p],Oe({}))}return B={get basename(){return h},get future(){return v},get state(){return O},get routes(){return p},get window(){return a},initialize:Je,subscribe:je,enableScrollRestoration:Ml,navigate:St,fetch:$t,revalidate:Be,createHref:k=>t.history.createHref(k),encodeLocation:k=>t.history.encodeLocation(k),getFetcher:ma,resetFetcher:An,deleteFetcher:Ra,dispose:ze,getBlocker:qt,deleteBlocker:ga,patchRoutes:qc,_internalFetchControllers:F,_internalSetRoutes:Qr,_internalSetStateDoNotUseOrYouWillBreakYourApp(k){Oe(k)}},t.unstable_instrumentations&&(B=Cw(B,t.unstable_instrumentations.map(k=>k.router).filter(Boolean))),B}function Uw(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function Tp(t,a,l,i,s,u){let f,p;if(s){f=[];for(let h of a)if(f.push(h),h.route.id===s){p=h;break}}else f=a,p=a[a.length-1];let m=pc(i||".",dc(f),ca(t.pathname,l)||t.pathname,u==="path");if(i==null&&(m.search=t.search,m.hash=t.hash),(i==null||i===""||i===".")&&p){let h=eh(m.search);if(p.route.index&&!h)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!p.route.index&&h){let y=new URLSearchParams(m.search),v=y.getAll("index");y.delete("index"),v.filter(E=>E).forEach(E=>y.append("index",E));let C=y.toString();m.search=C?`?${C}`:""}}return l!=="/"&&(m.pathname=yw({basename:l,pathname:m.pathname})),Pa(m)}function $0(t,a,l){if(!l||!Uw(l))return{path:a};if(l.formMethod&&!Jw(l.formMethod))return{path:a,error:ia(405,{method:l.formMethod})};let i=()=>({path:a,error:ia(400,{type:"invalid-body"})}),u=(l.formMethod||"get").toUpperCase(),f=qb(a);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cn(u))return i();let v=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((C,[E,b])=>`${C}${E}=${b}
          `,""):String(l.body);return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:void 0,text:v}}}else if(l.formEncType==="application/json"){if(!Cn(u))return i();try{let v=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:v,text:void 0}}}catch{return i()}}}Fe(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=Op(l.formData),m=l.formData;else if(l.body instanceof FormData)p=Op(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=X0(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=X0(p)}catch{return i()}let h={formMethod:u,formAction:f,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cn(h.formMethod))return{path:a,submission:h};let y=Gr(a);return t&&y.search&&eh(y.search)&&p.append("index",""),y.search=`?${p}`,{path:Pa(y),submission:h}}function P0(t,a,l,i,s,u,f,p,m,h,y,v,C,E,b,w,R,j,L,M){let _=M?Gn(M[1])?M[1].error:M[1].data:void 0,N=s.createURL(u.location),B=s.createURL(m),O;if(y&&u.errors){let P=Object.keys(u.errors)[0];O=f.findIndex(Y=>Y.route.id===P)}else if(M&&Gn(M[1])){let P=M[0];O=f.findIndex(Y=>Y.route.id===P)-1}let Q=M?M[1].statusCode:void 0,oe=Q&&Q>=400,re={currentUrl:N,currentParams:u.matches[0]?.params||{},nextUrl:B,nextParams:f[0].params,...p,actionResult:_,actionStatus:Q},ce=Wp(f.map(P=>P.route.path)),A=f.map((P,Y)=>{let{route:D}=P,F=null;if(O!=null&&Y>O?F=!1:D.lazy?F=!0:Jp(D)?y?F=Rp(D,u.loaderData,u.errors):kw(u.loaderData,u.matches[Y],P)&&(F=!0):F=!1,F!==null)return Ap(l,i,t,ce,P,h,a,F);let ue=oe?!1:v||N.pathname+N.search===B.pathname+B.search||N.search!==B.search||Hw(u.matches[Y],P),te={...re,defaultShouldRevalidate:ue},he=Xu(P,te);return Ap(l,i,t,ce,P,h,a,he,te)}),ee=[];return b.forEach((P,Y)=>{if(y||!f.some(V=>V.route.id===P.routeId)||E.has(Y))return;let D=u.fetchers.get(Y),F=D&&D.state!=="idle"&&D.data===void 0,ue=$r(R,P.path,j);if(!ue){if(L&&F)return;ee.push({key:Y,routeId:P.routeId,path:P.path,matches:null,match:null,request:null,controller:null});return}if(w.has(Y))return;let te=Lu(ue,P.path),he=new AbortController,z=Si(s,P.path,he.signal),G=null;if(C.has(Y))C.delete(Y),G=Ci(l,i,z,ue,te,h,a);else if(F)v&&(G=Ci(l,i,z,ue,te,h,a));else{let V={...re,defaultShouldRevalidate:oe?!1:v};Xu(te,V)&&(G=Ci(l,i,z,ue,te,h,a,V))}G&&ee.push({key:Y,routeId:P.routeId,path:P.path,matches:G,match:te,request:z,controller:he})}),{dsMatches:A,revalidatingFetchers:ee}}function Jp(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function Rp(t,a,l){if(t.lazy)return!0;if(!Jp(t))return!1;let i=a!=null&&t.id in a,s=l!=null&&l[t.id]!==void 0;return!i&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!i&&!s}function kw(t,a,l){let i=!a||l.route.id!==a.route.id,s=!t.hasOwnProperty(l.route.id);return i||s}function Hw(t,a){let l=t.route.path;return t.pathname!==a.pathname||l!=null&&l.endsWith("*")&&t.params["*"]!==a.params["*"]}function Xu(t,a){if(t.route.shouldRevalidate){let l=t.route.shouldRevalidate(a);if(typeof l=="boolean")return l}return a.defaultShouldRevalidate}function q0(t,a,l,i,s,u){let f;if(t){let h=i[t];Fe(h,`No route found to patch children into: routeId = ${t}`),h.children||(h.children=[]),f=h.children}else f=l;let p=[],m=[];if(a.forEach(h=>{let y=f.find(v=>Ub(h,v));y?m.push({existingRoute:y,newRoute:h}):p.push(h)}),p.length>0){let h=Xo(p,s,[t||"_","patch",String(f?.length||"0")],i);f.push(...h)}if(u&&m.length>0)for(let h=0;h<m.length;h++){let{existingRoute:y,newRoute:v}=m[h],C=y,[E]=Xo([v],s,[],{},!0);Object.assign(C,{element:E.element?E.element:C.element,errorElement:E.errorElement?E.errorElement:C.errorElement,hydrateFallbackElement:E.hydrateFallbackElement?E.hydrateFallbackElement:C.hydrateFallbackElement})}}function Ub(t,a){return"id"in t&&"id"in a&&t.id===a.id?!0:t.index===a.index&&t.path===a.path&&t.caseSensitive===a.caseSensitive?(!t.children||t.children.length===0)&&(!a.children||a.children.length===0)?!0:t.children.every((l,i)=>a.children?.some(s=>Ub(l,s))):!1}var F0=new WeakMap,kb=({key:t,route:a,manifest:l,mapRouteProperties:i})=>{let s=l[a.id];if(Fe(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let u=s.lazy[t];if(!u)return;let f=F0.get(s);f||(f={},F0.set(s,f));let p=f[t];if(p)return p;let m=(async()=>{let h=ew(t),v=s[t]!==void 0&&t!=="hasErrorBoundary";if(h)Ht(!h,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),f[t]=Promise.resolve();else if(v)Ht(!1,`Route "${s.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let C=await u();C!=null&&(Object.assign(s,{[t]:C}),Object.assign(s,i(s)))}typeof s.lazy=="object"&&(s.lazy[t]=void 0,Object.values(s.lazy).every(C=>C===void 0)&&(s.lazy=void 0))})();return f[t]=m,m},V0=new WeakMap;function $w(t,a,l,i,s){let u=l[t.id];if(Fe(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let y=V0.get(u);if(y)return{lazyRoutePromise:y,lazyHandlerPromise:y};let v=(async()=>{Fe(typeof t.lazy=="function","No lazy route function found");let C=await t.lazy(),E={};for(let b in C){let w=C[b];if(w===void 0)continue;let R=nw(b),L=u[b]!==void 0&&b!=="hasErrorBoundary";R?Ht(!R,"Route property "+b+" is not a supported property to be returned from a lazy route function. This property will be ignored."):L?Ht(!L,`Route "${u.id}" has a static property "${b}" defined but its lazy function is also returning a value for this property. The lazy route property "${b}" will be ignored.`):E[b]=w}Object.assign(u,E),Object.assign(u,{...i(u),lazy:void 0})})();return V0.set(u,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let f=Object.keys(t.lazy),p=[],m;for(let y of f){if(s&&s.includes(y))continue;let v=kb({key:y,route:t,manifest:l,mapRouteProperties:i});v&&(p.push(v),y===a&&(m=v))}let h=p.length>0?Promise.all(p).then(()=>{}):void 0;return h?.catch(()=>{}),m?.catch(()=>{}),{lazyRoutePromise:h,lazyHandlerPromise:m}}async function Y0(t){let a=t.matches.filter(s=>s.shouldLoad),l={};return(await Promise.all(a.map(s=>s.resolve()))).forEach((s,u)=>{l[a[u].route.id]=s}),l}async function Pw(t){return t.matches.some(a=>a.route.middleware)?Hb(t,()=>Y0(t)):Y0(t)}function Hb(t,a){return qw(t,a,i=>i,Qw,l);function l(i,s,u){if(u)return Promise.resolve(Object.assign(u.value,{[s]:{type:"error",result:i}}));{let{matches:f}=t,p=Math.min(Math.max(f.findIndex(h=>h.route.id===s),0),Math.max(f.findIndex(h=>h.unstable_shouldCallHandler()),0)),m=Pr(f,f[p].route.id).route.id;return Promise.resolve({[m]:{type:"error",result:i}})}}}async function qw(t,a,l,i,s){let{matches:u,request:f,params:p,context:m,unstable_pattern:h}=t,y=u.flatMap(C=>C.route.middleware?C.route.middleware.map(E=>[C.route.id,E]):[]);return await $b({request:f,params:p,context:m,unstable_pattern:h},y,a,l,i,s)}async function $b(t,a,l,i,s,u,f=0){let{request:p}=t;if(p.signal.aborted)throw p.signal.reason??new Error(`Request aborted: ${p.method} ${p.url}`);let m=a[f];if(!m)return await l();let[h,y]=m,v,C=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await $b(t,a,l,i,s,u,f+1)},v.value}catch(E){return v={value:await u(E,h,v)},v.value}};try{let E=await y(t,C),b=E!=null?i(E):void 0;return s(b)?b:v?b??v.value:(v={value:await C()},v.value)}catch(E){return await u(E,h,v)}}function Pb(t,a,l,i,s){let u=kb({key:"middleware",route:i.route,manifest:a,mapRouteProperties:t}),f=$w(i.route,Cn(l.method)?"action":"loader",a,t,s);return{middleware:u,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function Ap(t,a,l,i,s,u,f,p,m=null){let h=!1,y=Pb(t,a,l,s,u);return{...s,_lazyPromises:y,shouldLoad:p,unstable_shouldRevalidateArgs:m,unstable_shouldCallHandler(v){return h=!0,m?typeof v=="boolean"?Xu(s,{...m,defaultShouldRevalidate:v}):Xu(s,m):p},resolve(v){let{lazy:C,loader:E,middleware:b}=s.route,w=h||p||v&&!Cn(l.method)&&(C||E),R=b&&b.length>0&&!E&&!C;return w&&(Cn(l.method)||!R)?Vw({request:l,unstable_pattern:i,match:s,lazyHandlerPromise:y?.handler,lazyRoutePromise:y?.route,handlerOverride:v,scopedContext:f}):Promise.resolve({type:"data",result:void 0})}}}function Ci(t,a,l,i,s,u,f,p=null){return i.map(m=>m.route.id!==s.route.id?{...m,shouldLoad:!1,unstable_shouldRevalidateArgs:p,unstable_shouldCallHandler:()=>!1,_lazyPromises:Pb(t,a,l,m,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Ap(t,a,l,Wp(i.map(h=>h.route.path)),m,u,f,!0,p))}async function Fw(t,a,l,i,s,u){l.some(h=>h._lazyPromises?.middleware)&&await Promise.all(l.map(h=>h._lazyPromises?.middleware));let f={request:a,unstable_pattern:Wp(l.map(h=>h.route.path)),params:l[0].params,context:s,matches:l},m=await t({...f,fetcherKey:i,runClientMiddleware:h=>{let y=f;return Hb(y,()=>h({...y,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(l.flatMap(h=>[h._lazyPromises?.handler,h._lazyPromises?.route]))}catch{}return m}async function Vw({request:t,unstable_pattern:a,match:l,lazyHandlerPromise:i,lazyRoutePromise:s,handlerOverride:u,scopedContext:f}){let p,m,h=Cn(t.method),y=h?"action":"loader",v=C=>{let E,b=new Promise((j,L)=>E=L);m=()=>E(),t.signal.addEventListener("abort",m);let w=j=>typeof C!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${y}" [routeId: ${l.route.id}]`)):C({request:t,unstable_pattern:a,params:l.params,context:f},...j!==void 0?[j]:[]),R=(async()=>{try{return{type:"data",result:await(u?u(L=>w(L)):w())}}catch(j){return{type:"error",result:j}}})();return Promise.race([R,b])};try{let C=h?l.route.action:l.route.loader;if(i||s)if(C){let E,[b]=await Promise.all([v(C).catch(w=>{E=w}),i,s]);if(E!==void 0)throw E;p=b}else{await i;let E=h?l.route.action:l.route.loader;if(E)[p]=await Promise.all([v(E),s]);else if(y==="action"){let b=new URL(t.url),w=b.pathname+b.search;throw ia(405,{method:t.method,pathname:w,routeId:l.route.id})}else return{type:"data",result:void 0}}else if(C)p=await v(C);else{let E=new URL(t.url),b=E.pathname+E.search;throw ia(404,{pathname:b})}}catch(C){return{type:"error",result:C}}finally{m&&t.signal.removeEventListener("abort",m)}return p}async function Yw(t){let a=t.headers.get("Content-Type");return a&&/\bapplication\/json\b/.test(a)?t.body==null?null:t.json():t.text()}async function Gw(t){let{result:a,type:l}=t;if(Fb(a)){let i;try{i=await Yw(a)}catch(s){return{type:"error",error:s}}return l==="error"?{type:"error",error:new Gu(a.status,a.statusText,i),statusCode:a.status,headers:a.headers}:{type:"data",data:i,statusCode:a.status,headers:a.headers}}return l==="error"?Z0(a)?a.data instanceof Error?{type:"error",error:a.data,statusCode:a.init?.status,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"error",error:new Gu(a.init?.status||500,void 0,a.data),statusCode:Ko(a)?a.status:void 0,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"error",error:a,statusCode:Ko(a)?a.status:void 0}:Z0(a)?{type:"data",data:a.data,statusCode:a.init?.status,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"data",data:a}}function Xw(t,a,l,i,s){let u=t.headers.get("Location");if(Fe(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!fc(u)){let f=i.slice(0,i.findIndex(p=>p.route.id===l)+1);u=Tp(new URL(a.url),f,s,u),t.headers.set("Location",u)}return t}function G0(t,a,l){if(fc(t)){let i=t,s=i.startsWith("//")?new URL(a.protocol+i):new URL(i),u=ca(s.pathname,l)!=null;if(s.origin===a.origin&&u)return s.pathname+s.search+s.hash}return t}function Si(t,a,l,i){let s=t.createURL(qb(a)).toString(),u={signal:l};if(i&&Cn(i.formMethod)){let{formMethod:f,formEncType:p}=i;u.method=f.toUpperCase(),p==="application/json"?(u.headers=new Headers({"Content-Type":p}),u.body=JSON.stringify(i.json)):p==="text/plain"?u.body=i.text:p==="application/x-www-form-urlencoded"&&i.formData?u.body=Op(i.formData):u.body=i.formData}return new Request(s,u)}function Op(t){let a=new URLSearchParams;for(let[l,i]of t.entries())a.append(l,typeof i=="string"?i:i.name);return a}function X0(t){let a=new FormData;for(let[l,i]of t.entries())a.append(l,i);return a}function Kw(t,a,l,i=!1,s=!1){let u={},f=null,p,m=!1,h={},y=l&&Gn(l[1])?l[1].error:void 0;return t.forEach(v=>{if(!(v.route.id in a))return;let C=v.route.id,E=a[C];if(Fe(!vl(E),"Cannot handle redirect results in processLoaderData"),Gn(E)){let b=E.error;if(y!==void 0&&(b=y,y=void 0),f=f||{},s)f[C]=b;else{let w=Pr(t,C);f[w.route.id]==null&&(f[w.route.id]=b)}i||(u[C]=Bb),m||(m=!0,p=Ko(E.error)?E.error.status:500),E.headers&&(h[C]=E.headers)}else u[C]=E.data,E.statusCode&&E.statusCode!==200&&!m&&(p=E.statusCode),E.headers&&(h[C]=E.headers)}),y!==void 0&&l&&(f={[l[0]]:y},l[2]&&(u[l[2]]=void 0)),{loaderData:u,errors:f,statusCode:p||200,loaderHeaders:h}}function K0(t,a,l,i,s,u){let{loaderData:f,errors:p}=Kw(a,l,i);return s.filter(m=>!m.matches||m.matches.some(h=>h.shouldLoad)).forEach(m=>{let{key:h,match:y,controller:v}=m;if(v&&v.signal.aborted)return;let C=u[h];if(Fe(C,"Did not find corresponding fetcher result"),Gn(C)){let E=Pr(t.matches,y?.route.id);p&&p[E.route.id]||(p={...p,[E.route.id]:C.error}),t.fetchers.delete(h)}else if(vl(C))Fe(!1,"Unhandled fetcher revalidation redirect");else{let E=ur(C.data);t.fetchers.set(h,E)}}),{loaderData:f,errors:p}}function I0(t,a,l,i){let s=Object.entries(a).filter(([,u])=>u!==Bb).reduce((u,[f,p])=>(u[f]=p,u),{});for(let u of l){let f=u.route.id;if(!a.hasOwnProperty(f)&&t.hasOwnProperty(f)&&u.route.loader&&(s[f]=t[f]),i&&i.hasOwnProperty(f))break}return s}function Q0(t){return t?Gn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Pr(t,a){return(a?t.slice(0,t.findIndex(i=>i.route.id===a)+1):[...t]).reverse().find(i=>i.route.hasErrorBoundary===!0)||t[0]}function Tu(t){let a=t.length===1?t[0]:t.find(l=>l.index||!l.path||l.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function ia(t,{pathname:a,routeId:l,method:i,type:s,message:u}={}){let f="Unknown Server Error",p="Unknown @remix-run/router error";return t===400?(f="Bad Request",i&&a&&l?p=`You made a ${i} request to "${a}" but did not provide a \`loader\` for route "${l}", so there is no way to handle the request.`:s==="invalid-body"&&(p="Unable to encode submission body")):t===403?(f="Forbidden",p=`Route "${l}" does not match URL "${a}"`):t===404?(f="Not Found",p=`No route matches URL "${a}"`):t===405&&(f="Method Not Allowed",i&&a&&l?p=`You made a ${i.toUpperCase()} request to "${a}" but did not provide an \`action\` for route "${l}", so there is no way to handle the request.`:i&&(p=`Invalid request method "${i.toUpperCase()}"`)),new Gu(t||500,f,new Error(p),!0)}function Ru(t){let a=Object.entries(t);for(let l=a.length-1;l>=0;l--){let[i,s]=a[l];if(vl(s))return{key:i,result:s}}}function qb(t){let a=typeof t=="string"?Gr(t):t;return Pa({...a,hash:""})}function Iw(t,a){return t.pathname!==a.pathname||t.search!==a.search?!1:t.hash===""?a.hash!=="":t.hash===a.hash?!0:a.hash!==""}function Qw(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([a,l])=>typeof a=="string"&&Zw(l))}function Zw(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function Ww(t){return Fb(t.result)&&Dw.has(t.result.status)}function Gn(t){return t.type==="error"}function vl(t){return(t&&t.type)==="redirect"}function Z0(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function Fb(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function Jw(t){return jw.has(t.toUpperCase())}function Cn(t){return Nw.has(t.toUpperCase())}function eh(t){return new URLSearchParams(t).getAll("index").some(a=>a==="")}function Lu(t,a){let l=typeof a=="string"?Gr(a).search:a.search;if(t[t.length-1].route.index&&eh(l||""))return t[t.length-1];let i=Db(t);return i[i.length-1]}function W0(t){let{formMethod:a,formAction:l,formEncType:i,text:s,formData:u,json:f}=t;if(!(!a||!l||!i)){if(s!=null)return{formMethod:a,formAction:l,formEncType:i,formData:void 0,json:void 0,text:s};if(u!=null)return{formMethod:a,formAction:l,formEncType:i,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:a,formAction:l,formEncType:i,formData:void 0,json:f,text:void 0}}}function ip(t,a){return a?{state:"loading",location:t,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function eC(t,a){return{state:"submitting",location:t,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function No(t,a){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function tC(t,a){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:a?a.data:void 0}}function ur(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function nC(t,a){try{let l=t.sessionStorage.getItem(Lb);if(l){let i=JSON.parse(l);for(let[s,u]of Object.entries(i||{}))u&&Array.isArray(u)&&a.set(s,new Set(u||[]))}}catch{}}function aC(t,a){if(a.size>0){let l={};for(let[i,s]of a)l[i]=[...s];try{t.sessionStorage.setItem(Lb,JSON.stringify(l))}catch(i){Ht(!1,`Failed to save applied view transitions in sessionStorage (${i}).`)}}}function rC(){let t,a,l=new Promise((i,s)=>{t=async u=>{i(u);try{await l}catch{}},a=async u=>{s(u);try{await l}catch{}}});return{promise:l,resolve:t,reject:a}}var Ol=S.createContext(null);Ol.displayName="DataRouter";var ts=S.createContext(null);ts.displayName="DataRouterState";S.createContext(!1);var th=S.createContext({isTransitioning:!1});th.displayName="ViewTransition";var Vb=S.createContext(new Map);Vb.displayName="Fetchers";var lC=S.createContext(null);lC.displayName="Await";var Ca=S.createContext(null);Ca.displayName="Navigation";var hc=S.createContext(null);hc.displayName="Location";var fa=S.createContext({outlet:null,matches:[],isDataRoute:!1});fa.displayName="Route";var nh=S.createContext(null);nh.displayName="RouteError";function iC(t,{relative:a}={}){Fe(ji(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:i}=S.useContext(Ca),{hash:s,pathname:u,search:f}=ns(t,{relative:a}),p=u;return l!=="/"&&(p=u==="/"?l:Ha([l,u])),i.createHref({pathname:p,search:f,hash:s})}function ji(){return S.useContext(hc)!=null}function Xr(){return Fe(ji(),"useLocation() may be used only in the context of a <Router> component."),S.useContext(hc).location}var Yb="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Gb(t){S.useContext(Ca).static||S.useLayoutEffect(t)}function Di(){let{isDataRoute:t}=S.useContext(fa);return t?EC():oC()}function oC(){Fe(ji(),"useNavigate() may be used only in the context of a <Router> component.");let t=S.useContext(Ol),{basename:a,navigator:l}=S.useContext(Ca),{matches:i}=S.useContext(fa),{pathname:s}=Xr(),u=JSON.stringify(dc(i)),f=S.useRef(!1);return Gb(()=>{f.current=!0}),S.useCallback((m,h={})=>{if(Ht(f.current,Yb),!f.current)return;if(typeof m=="number"){l.go(m);return}let y=pc(m,JSON.parse(u),s,h.relative==="path");t==null&&a!=="/"&&(y.pathname=y.pathname==="/"?a:Ha([a,y.pathname])),(h.replace?l.replace:l.push)(y,h.state,h)},[a,l,u,s,t])}var sC=S.createContext(null);function uC(t){let a=S.useContext(fa).outlet;return S.useMemo(()=>a&&S.createElement(sC.Provider,{value:t},a),[a,t])}function cC(){let{matches:t}=S.useContext(fa),a=t[t.length-1];return a?a.params:{}}function ns(t,{relative:a}={}){let{matches:l}=S.useContext(fa),{pathname:i}=Xr(),s=JSON.stringify(dc(l));return S.useMemo(()=>pc(t,JSON.parse(s),i,a==="path"),[t,s,i,a])}function fC(t,a,l,i,s){Fe(ji(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=S.useContext(Ca),{matches:f}=S.useContext(fa),p=f[f.length-1],m=p?p.params:{},h=p?p.pathname:"/",y=p?p.pathnameBase:"/",v=p&&p.route;{let L=v&&v.path||"";Xb(h,!v||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${L}">) 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.
          
          Please change the parent <Route path="${L}"> to <Route path="${L==="/"?"*":`${L}/*`}">.`)}let C=Xr(),E;E=C;let b=E.pathname||"/",w=b;if(y!=="/"){let L=y.replace(/^\//,"").split("/");w="/"+b.replace(/^\//,"").split("/").slice(L.length).join("/")}let R=$r(t,{pathname:w});return Ht(v||R!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Ht(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),gC(R&&R.map(L=>Object.assign({},L,{params:Object.assign({},m,L.params),pathname:Ha([y,u.encodeLocation?u.encodeLocation(L.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?y:Ha([y,u.encodeLocation?u.encodeLocation(L.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),f,l,i,s)}function dC(){let t=SC(),a=Ko(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),l=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},f=null;return console.error("Error handled by React Router default ErrorBoundary:",t),f=S.createElement(S.Fragment,null,S.createElement("p",null,"💿 Hey developer 👋"),S.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",S.createElement("code",{style:u},"ErrorBoundary")," or"," ",S.createElement("code",{style:u},"errorElement")," prop on your route.")),S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},a),l?S.createElement("pre",{style:s},l):null,f)}var pC=S.createElement(dC,null),hC=class extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,a){return a.location!==t.location||a.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:a.error,location:a.location,revalidation:t.revalidation||a.revalidation}}componentDidCatch(t,a){this.props.onError?this.props.onError(t,a):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?S.createElement(fa.Provider,{value:this.props.routeContext},S.createElement(nh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function mC({routeContext:t,match:a,children:l}){let i=S.useContext(Ol);return i&&i.static&&i.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=a.route.id),S.createElement(fa.Provider,{value:t},l)}function gC(t,a=[],l=null,i=null,s=null){if(t==null){if(!l)return null;if(l.errors)t=l.matches;else if(a.length===0&&!l.initialized&&l.matches.length>0)t=l.matches;else return null}let u=t,f=l?.errors;if(f!=null){let y=u.findIndex(v=>v.route.id&&f?.[v.route.id]!==void 0);Fe(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,y+1))}let p=!1,m=-1;if(l)for(let y=0;y<u.length;y++){let v=u[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(m=y),v.route.id){let{loaderData:C,errors:E}=l,b=v.route.loader&&!C.hasOwnProperty(v.route.id)&&(!E||E[v.route.id]===void 0);if(v.route.lazy||b){p=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}let h=l&&i?(y,v)=>{i(y,{location:l.location,params:l.matches?.[0]?.params??{},errorInfo:v})}:void 0;return u.reduceRight((y,v,C)=>{let E,b=!1,w=null,R=null;l&&(E=f&&v.route.id?f[v.route.id]:void 0,w=v.route.errorElement||pC,p&&(m<0&&C===0?(Xb("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,R=null):m===C&&(b=!0,R=v.route.hydrateFallbackElement||null)));let j=a.concat(u.slice(0,C+1)),L=()=>{let M;return E?M=w:b?M=R:v.route.Component?M=S.createElement(v.route.Component,null):v.route.element?M=v.route.element:M=y,S.createElement(mC,{match:v,routeContext:{outlet:y,matches:j,isDataRoute:l!=null},children:M})};return l&&(v.route.ErrorBoundary||v.route.errorElement||C===0)?S.createElement(hC,{location:l.location,revalidation:l.revalidation,component:w,error:E,children:L(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:h}):L()},null)}function ah(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yC(t){let a=S.useContext(Ol);return Fe(a,ah(t)),a}function vC(t){let a=S.useContext(ts);return Fe(a,ah(t)),a}function bC(t){let a=S.useContext(fa);return Fe(a,ah(t)),a}function rh(t){let a=bC(t),l=a.matches[a.matches.length-1];return Fe(l.route.id,`${t} can only be used on routes that contain a unique "id"`),l.route.id}function xC(){return rh("useRouteId")}function SC(){let t=S.useContext(nh),a=vC("useRouteError"),l=rh("useRouteError");return t!==void 0?t:a.errors?.[l]}function EC(){let{router:t}=yC("useNavigate"),a=rh("useNavigate"),l=S.useRef(!1);return Gb(()=>{l.current=!0}),S.useCallback(async(s,u={})=>{Ht(l.current,Yb),l.current&&(typeof s=="number"?t.navigate(s):await t.navigate(s,{fromRouteId:a,...u}))},[t,a])}var J0={};function Xb(t,a,l){!a&&!J0[t]&&(J0[t]=!0,Ht(!1,l))}var ev={};function tv(t,a){!t&&!ev[a]&&(ev[a]=!0,console.warn(a))}function wC(t){let a={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&Ht(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(a,{element:S.createElement(t.Component),Component:void 0})),t.HydrateFallback&&(t.hydrateFallbackElement&&Ht(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(a,{hydrateFallbackElement:S.createElement(t.HydrateFallback),HydrateFallback:void 0})),t.ErrorBoundary&&(t.errorElement&&Ht(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(a,{errorElement:S.createElement(t.ErrorBoundary),ErrorBoundary:void 0})),a}var CC=["HydrateFallback","hydrateFallbackElement"],TC=class{constructor(){this.status="pending",this.promise=new Promise((t,a)=>{this.resolve=l=>{this.status==="pending"&&(this.status="resolved",t(l))},this.reject=l=>{this.status==="pending"&&(this.status="rejected",a(l))}})}};function RC({router:t,flushSync:a,unstable_onError:l}){let[i,s]=S.useState(t.state),[u,f]=S.useState(),[p,m]=S.useState({isTransitioning:!1}),[h,y]=S.useState(),[v,C]=S.useState(),[E,b]=S.useState(),w=S.useRef(new Map),R=S.useCallback(N=>{s(B=>(N.errors&&l&&Object.entries(N.errors).forEach(([O,Q])=>{B.errors?.[O]!==Q&&l(Q,{location:N.location,params:N.matches[0]?.params??{}})}),N))},[l]),j=S.useCallback((N,{deletedFetchers:B,flushSync:O,viewTransitionOpts:Q})=>{N.fetchers.forEach((re,ce)=>{re.data!==void 0&&w.current.set(ce,re.data)}),B.forEach(re=>w.current.delete(re)),tv(O===!1||a!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let oe=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(tv(Q==null||oe,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!Q||!oe){a&&O?a(()=>R(N)):S.startTransition(()=>R(N));return}if(a&&O){a(()=>{v&&(h&&h.resolve(),v.skipTransition()),m({isTransitioning:!0,flushSync:!0,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})});let re=t.window.document.startViewTransition(()=>{a(()=>R(N))});re.finished.finally(()=>{a(()=>{y(void 0),C(void 0),f(void 0),m({isTransitioning:!1})})}),a(()=>C(re));return}v?(h&&h.resolve(),v.skipTransition(),b({state:N,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})):(f(N),m({isTransitioning:!0,flushSync:!1,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation}))},[t.window,a,v,h,R]);S.useLayoutEffect(()=>t.subscribe(j),[t,j]),S.useEffect(()=>{p.isTransitioning&&!p.flushSync&&y(new TC)},[p]),S.useEffect(()=>{if(h&&u&&t.window){let N=u,B=h.promise,O=t.window.document.startViewTransition(async()=>{S.startTransition(()=>R(N)),await B});O.finished.finally(()=>{y(void 0),C(void 0),f(void 0),m({isTransitioning:!1})}),C(O)}},[u,h,t.window,R]),S.useEffect(()=>{h&&u&&i.location.key===u.location.key&&h.resolve()},[h,v,i.location,u]),S.useEffect(()=>{!p.isTransitioning&&E&&(f(E.state),m({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),b(void 0))},[p.isTransitioning,E]);let L=S.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:N=>t.navigate(N),push:(N,B,O)=>t.navigate(N,{state:B,preventScrollReset:O?.preventScrollReset}),replace:(N,B,O)=>t.navigate(N,{replace:!0,state:B,preventScrollReset:O?.preventScrollReset})}),[t]),M=t.basename||"/",_=S.useMemo(()=>({router:t,navigator:L,static:!1,basename:M,unstable_onError:l}),[t,L,M,l]);return S.createElement(S.Fragment,null,S.createElement(Ol.Provider,{value:_},S.createElement(ts.Provider,{value:i},S.createElement(Vb.Provider,{value:w.current},S.createElement(th.Provider,{value:p},S.createElement(MC,{basename:M,location:i.location,navigationType:i.historyAction,navigator:L},S.createElement(AC,{routes:t.routes,future:t.future,state:i,unstable_onError:l})))))),null)}var AC=S.memo(OC);function OC({routes:t,future:a,state:l,unstable_onError:i}){return fC(t,void 0,l,i,a)}function Kb({to:t,replace:a,state:l,relative:i}){Fe(ji(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=S.useContext(Ca);Ht(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=S.useContext(fa),{pathname:f}=Xr(),p=Di(),m=pc(t,dc(u),f,i==="path"),h=JSON.stringify(m);return S.useEffect(()=>{p(JSON.parse(h),{replace:a,state:l,relative:i})},[p,h,i,a,l]),null}function NC(t){return uC(t.context)}function MC({basename:t="/",children:a=null,location:l,navigationType:i="POP",navigator:s,static:u=!1}){Fe(!ji(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),p=S.useMemo(()=>({basename:f,navigator:s,static:u,future:{}}),[f,s,u]);typeof l=="string"&&(l=Gr(l));let{pathname:m="/",search:h="",hash:y="",state:v=null,key:C="default"}=l,E=S.useMemo(()=>{let b=ca(m,f);return b==null?null:{location:{pathname:b,search:h,hash:y,state:v,key:C},navigationType:i}},[f,m,h,y,v,C,i]);return Ht(E!=null,`<Router basename="${f}"> is not able to match the URL "${m}${h}${y}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:S.createElement(Ca.Provider,{value:p},S.createElement(hc.Provider,{children:a,value:E}))}var Bu="get",Uu="application/x-www-form-urlencoded";function mc(t){return t!=null&&typeof t.tagName=="string"}function jC(t){return mc(t)&&t.tagName.toLowerCase()==="button"}function DC(t){return mc(t)&&t.tagName.toLowerCase()==="form"}function zC(t){return mc(t)&&t.tagName.toLowerCase()==="input"}function _C(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function LC(t,a){return t.button===0&&(!a||a==="_self")&&!_C(t)}var Au=null;function BC(){if(Au===null)try{new FormData(document.createElement("form"),0),Au=!1}catch{Au=!0}return Au}var UC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function op(t){return t!=null&&!UC.has(t)?(Ht(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Uu}"`),null):t}function kC(t,a){let l,i,s,u,f;if(DC(t)){let p=t.getAttribute("action");i=p?ca(p,a):null,l=t.getAttribute("method")||Bu,s=op(t.getAttribute("enctype"))||Uu,u=new FormData(t)}else if(jC(t)||zC(t)&&(t.type==="submit"||t.type==="image")){let p=t.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||p.getAttribute("action");if(i=m?ca(m,a):null,l=t.getAttribute("formmethod")||p.getAttribute("method")||Bu,s=op(t.getAttribute("formenctype"))||op(p.getAttribute("enctype"))||Uu,u=new FormData(p,t),!BC()){let{name:h,type:y,value:v}=t;if(y==="image"){let C=h?`${h}.`:"";u.append(`${C}x`,"0"),u.append(`${C}y`,"0")}else h&&u.append(h,v)}}else{if(mc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Bu,i=null,s=Uu,f=t}return u&&s==="text/plain"&&(f=u,u=void 0),{action:i,method:l.toLowerCase(),encType:s,formData:u,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function lh(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function HC(t,a,l){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname==="/"?i.pathname=`_root.${l}`:a&&ca(i.pathname,a)==="/"?i.pathname=`${a.replace(/\/$/,"")}/_root.${l}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${l}`,i}async function $C(t,a){if(t.id in a)return a[t.id];try{let l=await import(t.module);return a[t.id]=l,l}catch(l){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function PC(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function qC(t,a,l){let i=await Promise.all(t.map(async s=>{let u=a.routes[s.route.id];if(u){let f=await $C(u,l);return f.links?f.links():[]}return[]}));return GC(i.flat(1).filter(PC).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function nv(t,a,l,i,s,u){let f=(m,h)=>l[h]?m.route.id!==l[h].route.id:!0,p=(m,h)=>l[h].pathname!==m.pathname||l[h].route.path?.endsWith("*")&&l[h].params["*"]!==m.params["*"];return u==="assets"?a.filter((m,h)=>f(m,h)||p(m,h)):u==="data"?a.filter((m,h)=>{let y=i.routes[m.route.id];if(!y||!y.hasLoader)return!1;if(f(m,h)||p(m,h))return!0;if(m.route.shouldRevalidate){let v=m.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:l[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function FC(t,a,{includeHydrateFallback:l}={}){return VC(t.map(i=>{let s=a.routes[i.route.id];if(!s)return[];let u=[s.module];return s.clientActionModule&&(u=u.concat(s.clientActionModule)),s.clientLoaderModule&&(u=u.concat(s.clientLoaderModule)),l&&s.hydrateFallbackModule&&(u=u.concat(s.hydrateFallbackModule)),s.imports&&(u=u.concat(s.imports)),u}).flat(1))}function VC(t){return[...new Set(t)]}function YC(t){let a={},l=Object.keys(t).sort();for(let i of l)a[i]=t[i];return a}function GC(t,a){let l=new Set;return new Set(a),t.reduce((i,s)=>{let u=JSON.stringify(YC(s));return l.has(u)||(l.add(u),i.push({key:u,link:s})),i},[])}function Ib(){let t=S.useContext(Ol);return lh(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function XC(){let t=S.useContext(ts);return lh(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var ih=S.createContext(void 0);ih.displayName="FrameworkContext";function Qb(){let t=S.useContext(ih);return lh(t,"You must render this element inside a <HydratedRouter> element"),t}function KC(t,a){let l=S.useContext(ih),[i,s]=S.useState(!1),[u,f]=S.useState(!1),{onFocus:p,onBlur:m,onMouseEnter:h,onMouseLeave:y,onTouchStart:v}=a,C=S.useRef(null);S.useEffect(()=>{if(t==="render"&&f(!0),t==="viewport"){let w=j=>{j.forEach(L=>{f(L.isIntersecting)})},R=new IntersectionObserver(w,{threshold:.5});return C.current&&R.observe(C.current),()=>{R.disconnect()}}},[t]),S.useEffect(()=>{if(i){let w=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(w)}}},[i]);let E=()=>{s(!0)},b=()=>{s(!1),f(!1)};return l?t!=="intent"?[u,C,{}]:[u,C,{onFocus:Mo(p,E),onBlur:Mo(m,b),onMouseEnter:Mo(h,E),onMouseLeave:Mo(y,b),onTouchStart:Mo(v,E)}]:[!1,C,{}]}function Mo(t,a){return l=>{t&&t(l),l.defaultPrevented||a(l)}}function IC({page:t,...a}){let{router:l}=Ib(),i=S.useMemo(()=>$r(l.routes,t,l.basename),[l.routes,t,l.basename]);return i?S.createElement(ZC,{page:t,matches:i,...a}):null}function QC(t){let{manifest:a,routeModules:l}=Qb(),[i,s]=S.useState([]);return S.useEffect(()=>{let u=!1;return qC(t,a,l).then(f=>{u||s(f)}),()=>{u=!0}},[t,a,l]),i}function ZC({page:t,matches:a,...l}){let i=Xr(),{manifest:s,routeModules:u}=Qb(),{basename:f}=Ib(),{loaderData:p,matches:m}=XC(),h=S.useMemo(()=>nv(t,a,m,s,i,"data"),[t,a,m,s,i]),y=S.useMemo(()=>nv(t,a,m,s,i,"assets"),[t,a,m,s,i]),v=S.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let b=new Set,w=!1;if(a.forEach(j=>{let L=s.routes[j.route.id];!L||!L.hasLoader||(!h.some(M=>M.route.id===j.route.id)&&j.route.id in p&&u[j.route.id]?.shouldRevalidate||L.hasClientLoader?w=!0:b.add(j.route.id))}),b.size===0)return[];let R=HC(t,f,"data");return w&&b.size>0&&R.searchParams.set("_routes",a.filter(j=>b.has(j.route.id)).map(j=>j.route.id).join(",")),[R.pathname+R.search]},[f,p,i,s,h,a,t,u]),C=S.useMemo(()=>FC(y,s),[y,s]),E=QC(y);return S.createElement(S.Fragment,null,v.map(b=>S.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...l})),C.map(b=>S.createElement("link",{key:b,rel:"modulepreload",href:b,...l})),E.map(({key:b,link:w})=>S.createElement("link",{key:b,nonce:l.nonce,...w})))}function WC(...t){return a=>{t.forEach(l=>{typeof l=="function"?l(a):l!=null&&(l.current=a)})}}var Zb=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Zb&&(window.__reactRouterVersion="7.9.6")}catch{}function JC(t,a){return Bw({basename:a?.basename,getContext:a?.getContext,future:a?.future,history:QE({window:a?.window}),hydrationData:e2(),routes:t,mapRouteProperties:wC,hydrationRouteProperties:CC,dataStrategy:a?.dataStrategy,patchRoutesOnNavigation:a?.patchRoutesOnNavigation,window:a?.window,unstable_instrumentations:a?.unstable_instrumentations}).initialize()}function e2(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:t2(t.errors)}),t}function t2(t){if(!t)return null;let a=Object.entries(t),l={};for(let[i,s]of a)if(s&&s.__type==="RouteErrorResponse")l[i]=new Gu(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let u=window[s.__subType];if(typeof u=="function")try{let f=new u(s.message);f.stack="",l[i]=f}catch{}}if(l[i]==null){let u=new Error(s.message);u.stack="",l[i]=u}}else l[i]=s;return l}var Wb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ua=S.forwardRef(function({onClick:a,discover:l="render",prefetch:i="none",relative:s,reloadDocument:u,replace:f,state:p,target:m,to:h,preventScrollReset:y,viewTransition:v,...C},E){let{basename:b}=S.useContext(Ca),w=typeof h=="string"&&Wb.test(h),R,j=!1;if(typeof h=="string"&&w&&(R=h,Zb))try{let oe=new URL(window.location.href),re=h.startsWith("//")?new URL(oe.protocol+h):new URL(h),ce=ca(re.pathname,b);re.origin===oe.origin&&ce!=null?h=ce+re.search+re.hash:j=!0}catch{Ht(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let L=iC(h,{relative:s}),[M,_,N]=KC(i,C),B=l2(h,{replace:f,state:p,target:m,preventScrollReset:y,relative:s,viewTransition:v});function O(oe){a&&a(oe),oe.defaultPrevented||B(oe)}let Q=S.createElement("a",{...C,...N,href:R||L,onClick:j||u?a:O,ref:WC(E,_),target:m,"data-discover":!w&&l==="render"?"true":void 0});return M&&!w?S.createElement(S.Fragment,null,Q,S.createElement(IC,{page:L})):Q});ua.displayName="Link";var n2=S.forwardRef(function({"aria-current":a="page",caseSensitive:l=!1,className:i="",end:s=!1,style:u,to:f,viewTransition:p,children:m,...h},y){let v=ns(f,{relative:h.relative}),C=Xr(),E=S.useContext(ts),{navigator:b,basename:w}=S.useContext(Ca),R=E!=null&&c2(v)&&p===!0,j=b.encodeLocation?b.encodeLocation(v).pathname:v.pathname,L=C.pathname,M=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;l||(L=L.toLowerCase(),M=M?M.toLowerCase():null,j=j.toLowerCase()),M&&w&&(M=ca(M,w)||M);const _=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let N=L===j||!s&&L.startsWith(j)&&L.charAt(_)==="/",B=M!=null&&(M===j||!s&&M.startsWith(j)&&M.charAt(j.length)==="/"),O={isActive:N,isPending:B,isTransitioning:R},Q=N?a:void 0,oe;typeof i=="function"?oe=i(O):oe=[i,N?"active":null,B?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let re=typeof u=="function"?u(O):u;return S.createElement(ua,{...h,"aria-current":Q,className:oe,ref:y,style:re,to:f,viewTransition:p},typeof m=="function"?m(O):m)});n2.displayName="NavLink";var a2=S.forwardRef(({discover:t="render",fetcherKey:a,navigate:l,reloadDocument:i,replace:s,state:u,method:f=Bu,action:p,onSubmit:m,relative:h,preventScrollReset:y,viewTransition:v,...C},E)=>{let b=s2(),w=u2(p,{relative:h}),R=f.toLowerCase()==="get"?"get":"post",j=typeof p=="string"&&Wb.test(p),L=M=>{if(m&&m(M),M.defaultPrevented)return;M.preventDefault();let _=M.nativeEvent.submitter,N=_?.getAttribute("formmethod")||f;b(_||M.currentTarget,{fetcherKey:a,method:N,navigate:l,replace:s,state:u,relative:h,preventScrollReset:y,viewTransition:v})};return S.createElement("form",{ref:E,method:R,action:w,onSubmit:i?m:L,...C,"data-discover":!j&&t==="render"?"true":void 0})});a2.displayName="Form";function r2(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jb(t){let a=S.useContext(Ol);return Fe(a,r2(t)),a}function l2(t,{target:a,replace:l,state:i,preventScrollReset:s,relative:u,viewTransition:f}={}){let p=Di(),m=Xr(),h=ns(t,{relative:u});return S.useCallback(y=>{if(LC(y,a)){y.preventDefault();let v=l!==void 0?l:Pa(m)===Pa(h);p(t,{replace:v,state:i,preventScrollReset:s,relative:u,viewTransition:f})}},[m,p,h,l,i,a,t,s,u,f])}var i2=0,o2=()=>`__${String(++i2)}__`;function s2(){let{router:t}=Jb("useSubmit"),{basename:a}=S.useContext(Ca),l=xC();return S.useCallback(async(i,s={})=>{let{action:u,method:f,encType:p,formData:m,body:h}=kC(i,a);if(s.navigate===!1){let y=s.fetcherKey||o2();await t.fetch(y,l,s.action||u,{preventScrollReset:s.preventScrollReset,formData:m,body:h,formMethod:s.method||f,formEncType:s.encType||p,flushSync:s.flushSync})}else await t.navigate(s.action||u,{preventScrollReset:s.preventScrollReset,formData:m,body:h,formMethod:s.method||f,formEncType:s.encType||p,replace:s.replace,state:s.state,fromRouteId:l,flushSync:s.flushSync,viewTransition:s.viewTransition})},[t,a,l])}function u2(t,{relative:a}={}){let{basename:l}=S.useContext(Ca),i=S.useContext(fa);Fe(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),u={...ns(t||".",{relative:a})},f=Xr();if(t==null){u.search=f.search;let p=new URLSearchParams(u.search),m=p.getAll("index");if(m.some(y=>y==="")){p.delete("index"),m.filter(v=>v).forEach(v=>p.append("index",v));let y=p.toString();u.search=y?`?${y}`:""}}return(!t||t===".")&&s.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(u.pathname=u.pathname==="/"?l:Ha([l,u.pathname])),Pa(u)}function c2(t,{relative:a}={}){let l=S.useContext(th);Fe(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Jb("useViewTransitionState"),s=ns(t,{relative:a});if(!l.isTransitioning)return!1;let u=ca(l.currentLocation.pathname,i)||l.currentLocation.pathname,f=ca(l.nextLocation.pathname,i)||l.nextLocation.pathname;return Yu(s.pathname,f)!=null||Yu(s.pathname,u)!=null}function f2(){const t=Di(),[a,l]=S.useState(!!localStorage.getItem("accessToken"));S.useEffect(()=>{const s=()=>l(!!localStorage.getItem("accessToken"));return window.addEventListener("storage",s),window.addEventListener("auth:change",s),()=>{window.removeEventListener("storage",s),window.removeEventListener("auth:change",s)}},[]);const i=()=>{localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),window.dispatchEvent(new Event("auth:change")),t("/login")};return x.jsx("header",{className:"border-b border-gray-200 bg-white",children:x.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:x.jsxs("div",{className:"flex h-16 items-center justify-between",children:[x.jsx(ua,{to:"/",className:"text-xl font-medium text-gray-900",children:"Colearn"}),x.jsxs("nav",{className:"flex items-center gap-6 text-sm text-gray-700",children:[x.jsx(ua,{to:"/directory",className:"hover:text-gray-900",children:"Projects"}),a?x.jsxs(x.Fragment,{children:[x.jsx(ua,{to:"/profile",className:"hover:text-gray-900",children:"Profile"}),x.jsx("button",{type:"button",onClick:i,className:"text-sm text-gray-700 hover:text-gray-900",children:"Logout"})]}):x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(ua,{to:"/login",className:"hover:text-gray-900",children:"Login"}),x.jsx(ua,{to:"/signup",className:"bg-gray-900 text-white px-4 py-2 rounded text-sm hover:bg-gray-800",children:"Sign up"})]})]})]})})})}function d2(){return x.jsx("footer",{className:"border-t border-gray-200 bg-white",children:x.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 text-center text-sm text-gray-600",children:["© ",new Date().getFullYear()," Colearn. Collaborate. Build. Learn."]})})}function p2(){return x.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[x.jsx(f2,{}),x.jsx("main",{className:"flex-1",children:x.jsx(NC,{})}),x.jsx(d2,{})]})}function h2(){return x.jsxs("div",{children:[x.jsx("section",{className:"py-16 sm:py-20 lg:py-24",children:x.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[x.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-medium text-gray-900 mb-4",children:"Collaborate. Build. Learn."}),x.jsx("p",{className:"text-base sm:text-lg text-gray-600 max-w-2xl mx-auto",children:"Find collaborators, join projects, learn skills, and work with experts."})]})}),x.jsx("section",{className:"py-16 sm:py-20 lg:py-24 bg-gray-50",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[x.jsx("h2",{className:"text-2xl sm:text-3xl font-medium text-gray-900 mb-12 text-center",children:"How it Works"}),x.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 gap-8",children:[x.jsxs("div",{className:"bg-white border border-gray-200 p-8 text-center",children:[x.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-3",children:"List Your Idea"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Users can post a project."})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-8 text-center",children:[x.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-3",children:"Join a Project"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Users can explore projects requiring skills."})]})]})]})})]})}function ex(t,a){return function(){return t.apply(a,arguments)}}const{toString:m2}=Object.prototype,{getPrototypeOf:oh}=Object,{iterator:gc,toStringTag:tx}=Symbol,yc=(t=>a=>{const l=m2.call(a);return t[l]||(t[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Ta=t=>(t=t.toLowerCase(),a=>yc(a)===t),vc=t=>a=>typeof a===t,{isArray:zi}=Array,Ai=vc("undefined");function as(t){return t!==null&&!Ai(t)&&t.constructor!==null&&!Ai(t.constructor)&&Bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const nx=Ta("ArrayBuffer");function g2(t){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(t):a=t&&t.buffer&&nx(t.buffer),a}const y2=vc("string"),Bn=vc("function"),ax=vc("number"),rs=t=>t!==null&&typeof t=="object",v2=t=>t===!0||t===!1,ku=t=>{if(yc(t)!=="object")return!1;const a=oh(t);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(tx in t)&&!(gc in t)},b2=t=>{if(!rs(t)||as(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},x2=Ta("Date"),S2=Ta("File"),E2=Ta("Blob"),w2=Ta("FileList"),C2=t=>rs(t)&&Bn(t.pipe),T2=t=>{let a;return t&&(typeof FormData=="function"&&t instanceof FormData||Bn(t.append)&&((a=yc(t))==="formdata"||a==="object"&&Bn(t.toString)&&t.toString()==="[object FormData]"))},R2=Ta("URLSearchParams"),[A2,O2,N2,M2]=["ReadableStream","Request","Response","Headers"].map(Ta),j2=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ls(t,a,{allOwnKeys:l=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),zi(t))for(i=0,s=t.length;i<s;i++)a.call(null,t[i],i,t);else{if(as(t))return;const u=l?Object.getOwnPropertyNames(t):Object.keys(t),f=u.length;let p;for(i=0;i<f;i++)p=u[i],a.call(null,t[p],p,t)}}function rx(t,a){if(as(t))return null;a=a.toLowerCase();const l=Object.keys(t);let i=l.length,s;for(;i-- >0;)if(s=l[i],a===s.toLowerCase())return s;return null}const bl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lx=t=>!Ai(t)&&t!==bl;function Np(){const{caseless:t,skipUndefined:a}=lx(this)&&this||{},l={},i=(s,u)=>{const f=t&&rx(l,u)||u;ku(l[f])&&ku(s)?l[f]=Np(l[f],s):ku(s)?l[f]=Np({},s):zi(s)?l[f]=s.slice():(!a||!Ai(s))&&(l[f]=s)};for(let s=0,u=arguments.length;s<u;s++)arguments[s]&&ls(arguments[s],i);return l}const D2=(t,a,l,{allOwnKeys:i}={})=>(ls(a,(s,u)=>{l&&Bn(s)?t[u]=ex(s,l):t[u]=s},{allOwnKeys:i}),t),z2=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),_2=(t,a,l,i)=>{t.prototype=Object.create(a.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:a.prototype}),l&&Object.assign(t.prototype,l)},L2=(t,a,l,i)=>{let s,u,f;const p={};if(a=a||{},t==null)return a;do{for(s=Object.getOwnPropertyNames(t),u=s.length;u-- >0;)f=s[u],(!i||i(f,t,a))&&!p[f]&&(a[f]=t[f],p[f]=!0);t=l!==!1&&oh(t)}while(t&&(!l||l(t,a))&&t!==Object.prototype);return a},B2=(t,a,l)=>{t=String(t),(l===void 0||l>t.length)&&(l=t.length),l-=a.length;const i=t.indexOf(a,l);return i!==-1&&i===l},U2=t=>{if(!t)return null;if(zi(t))return t;let a=t.length;if(!ax(a))return null;const l=new Array(a);for(;a-- >0;)l[a]=t[a];return l},k2=(t=>a=>t&&a instanceof t)(typeof Uint8Array<"u"&&oh(Uint8Array)),H2=(t,a)=>{const i=(t&&t[gc]).call(t);let s;for(;(s=i.next())&&!s.done;){const u=s.value;a.call(t,u[0],u[1])}},$2=(t,a)=>{let l;const i=[];for(;(l=t.exec(a))!==null;)i.push(l);return i},P2=Ta("HTMLFormElement"),q2=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,i,s){return i.toUpperCase()+s}),av=(({hasOwnProperty:t})=>(a,l)=>t.call(a,l))(Object.prototype),F2=Ta("RegExp"),ix=(t,a)=>{const l=Object.getOwnPropertyDescriptors(t),i={};ls(l,(s,u)=>{let f;(f=a(s,u,t))!==!1&&(i[u]=f||s)}),Object.defineProperties(t,i)},V2=t=>{ix(t,(a,l)=>{if(Bn(t)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const i=t[l];if(Bn(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},Y2=(t,a)=>{const l={},i=s=>{s.forEach(u=>{l[u]=!0})};return zi(t)?i(t):i(String(t).split(a)),l},G2=()=>{},X2=(t,a)=>t!=null&&Number.isFinite(t=+t)?t:a;function K2(t){return!!(t&&Bn(t.append)&&t[tx]==="FormData"&&t[gc])}const I2=t=>{const a=new Array(10),l=(i,s)=>{if(rs(i)){if(a.indexOf(i)>=0)return;if(as(i))return i;if(!("toJSON"in i)){a[s]=i;const u=zi(i)?[]:{};return ls(i,(f,p)=>{const m=l(f,s+1);!Ai(m)&&(u[p]=m)}),a[s]=void 0,u}}return i};return l(t,0)},Q2=Ta("AsyncFunction"),Z2=t=>t&&(rs(t)||Bn(t))&&Bn(t.then)&&Bn(t.catch),ox=((t,a)=>t?setImmediate:a?((l,i)=>(bl.addEventListener("message",({source:s,data:u})=>{s===bl&&u===l&&i.length&&i.shift()()},!1),s=>{i.push(s),bl.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",Bn(bl.postMessage)),W2=typeof queueMicrotask<"u"?queueMicrotask.bind(bl):typeof process<"u"&&process.nextTick||ox,J2=t=>t!=null&&Bn(t[gc]),W={isArray:zi,isArrayBuffer:nx,isBuffer:as,isFormData:T2,isArrayBufferView:g2,isString:y2,isNumber:ax,isBoolean:v2,isObject:rs,isPlainObject:ku,isEmptyObject:b2,isReadableStream:A2,isRequest:O2,isResponse:N2,isHeaders:M2,isUndefined:Ai,isDate:x2,isFile:S2,isBlob:E2,isRegExp:F2,isFunction:Bn,isStream:C2,isURLSearchParams:R2,isTypedArray:k2,isFileList:w2,forEach:ls,merge:Np,extend:D2,trim:j2,stripBOM:z2,inherits:_2,toFlatObject:L2,kindOf:yc,kindOfTest:Ta,endsWith:B2,toArray:U2,forEachEntry:H2,matchAll:$2,isHTMLForm:P2,hasOwnProperty:av,hasOwnProp:av,reduceDescriptors:ix,freezeMethods:V2,toObjectSet:Y2,toCamelCase:q2,noop:G2,toFiniteNumber:X2,findKey:rx,global:bl,isContextDefined:lx,isSpecCompliantForm:K2,toJSONObject:I2,isAsyncFn:Q2,isThenable:Z2,setImmediate:ox,asap:W2,isIterable:J2};function $e(t,a,l,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",a&&(this.code=a),l&&(this.config=l),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}W.inherits($e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const sx=$e.prototype,ux={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ux[t]={value:t}});Object.defineProperties($e,ux);Object.defineProperty(sx,"isAxiosError",{value:!0});$e.from=(t,a,l,i,s,u)=>{const f=Object.create(sx);W.toFlatObject(t,f,function(y){return y!==Error.prototype},h=>h!=="isAxiosError");const p=t&&t.message?t.message:"Error",m=a==null&&t?t.code:a;return $e.call(f,p,m,l,i,s),t&&f.cause==null&&Object.defineProperty(f,"cause",{value:t,configurable:!0}),f.name=t&&t.name||"Error",u&&Object.assign(f,u),f};const eT=null;function Mp(t){return W.isPlainObject(t)||W.isArray(t)}function cx(t){return W.endsWith(t,"[]")?t.slice(0,-2):t}function rv(t,a,l){return t?t.concat(a).map(function(s,u){return s=cx(s),!l&&u?"["+s+"]":s}).join(l?".":""):a}function tT(t){return W.isArray(t)&&!t.some(Mp)}const nT=W.toFlatObject(W,{},null,function(a){return/^is[A-Z]/.test(a)});function bc(t,a,l){if(!W.isObject(t))throw new TypeError("target must be an object");a=a||new FormData,l=W.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,R){return!W.isUndefined(R[w])});const i=l.metaTokens,s=l.visitor||y,u=l.dots,f=l.indexes,m=(l.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(a);if(!W.isFunction(s))throw new TypeError("visitor must be a function");function h(b){if(b===null)return"";if(W.isDate(b))return b.toISOString();if(W.isBoolean(b))return b.toString();if(!m&&W.isBlob(b))throw new $e("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(b)||W.isTypedArray(b)?m&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function y(b,w,R){let j=b;if(b&&!R&&typeof b=="object"){if(W.endsWith(w,"{}"))w=i?w:w.slice(0,-2),b=JSON.stringify(b);else if(W.isArray(b)&&tT(b)||(W.isFileList(b)||W.endsWith(w,"[]"))&&(j=W.toArray(b)))return w=cx(w),j.forEach(function(M,_){!(W.isUndefined(M)||M===null)&&a.append(f===!0?rv([w],_,u):f===null?w:w+"[]",h(M))}),!1}return Mp(b)?!0:(a.append(rv(R,w,u),h(b)),!1)}const v=[],C=Object.assign(nT,{defaultVisitor:y,convertValue:h,isVisitable:Mp});function E(b,w){if(!W.isUndefined(b)){if(v.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));v.push(b),W.forEach(b,function(j,L){(!(W.isUndefined(j)||j===null)&&s.call(a,j,W.isString(L)?L.trim():L,w,C))===!0&&E(j,w?w.concat(L):[L])}),v.pop()}}if(!W.isObject(t))throw new TypeError("data must be an object");return E(t),a}function lv(t){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return a[i]})}function sh(t,a){this._pairs=[],t&&bc(t,this,a)}const fx=sh.prototype;fx.append=function(a,l){this._pairs.push([a,l])};fx.toString=function(a){const l=a?function(i){return a.call(this,i,lv)}:lv;return this._pairs.map(function(s){return l(s[0])+"="+l(s[1])},"").join("&")};function aT(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function dx(t,a,l){if(!a)return t;const i=l&&l.encode||aT;W.isFunction(l)&&(l={serialize:l});const s=l&&l.serialize;let u;if(s?u=s(a,l):u=W.isURLSearchParams(a)?a.toString():new sh(a,l).toString(i),u){const f=t.indexOf("#");f!==-1&&(t=t.slice(0,f)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class iv{constructor(){this.handlers=[]}use(a,l,i){return this.handlers.push({fulfilled:a,rejected:l,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){W.forEach(this.handlers,function(i){i!==null&&a(i)})}}const px={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rT=typeof URLSearchParams<"u"?URLSearchParams:sh,lT=typeof FormData<"u"?FormData:null,iT=typeof Blob<"u"?Blob:null,oT={isBrowser:!0,classes:{URLSearchParams:rT,FormData:lT,Blob:iT},protocols:["http","https","file","blob","url","data"]},uh=typeof window<"u"&&typeof document<"u",jp=typeof navigator=="object"&&navigator||void 0,sT=uh&&(!jp||["ReactNative","NativeScript","NS"].indexOf(jp.product)<0),uT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cT=uh&&window.location.href||"http://localhost",fT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:uh,hasStandardBrowserEnv:sT,hasStandardBrowserWebWorkerEnv:uT,navigator:jp,origin:cT},Symbol.toStringTag,{value:"Module"})),vn={...fT,...oT};function dT(t,a){return bc(t,new vn.classes.URLSearchParams,{visitor:function(l,i,s,u){return vn.isNode&&W.isBuffer(l)?(this.append(i,l.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...a})}function pT(t){return W.matchAll(/\w+|\[(\w*)]/g,t).map(a=>a[0]==="[]"?"":a[1]||a[0])}function hT(t){const a={},l=Object.keys(t);let i;const s=l.length;let u;for(i=0;i<s;i++)u=l[i],a[u]=t[u];return a}function hx(t){function a(l,i,s,u){let f=l[u++];if(f==="__proto__")return!0;const p=Number.isFinite(+f),m=u>=l.length;return f=!f&&W.isArray(s)?s.length:f,m?(W.hasOwnProp(s,f)?s[f]=[s[f],i]:s[f]=i,!p):((!s[f]||!W.isObject(s[f]))&&(s[f]=[]),a(l,i,s[f],u)&&W.isArray(s[f])&&(s[f]=hT(s[f])),!p)}if(W.isFormData(t)&&W.isFunction(t.entries)){const l={};return W.forEachEntry(t,(i,s)=>{a(pT(i),s,l,0)}),l}return null}function mT(t,a,l){if(W.isString(t))try{return(a||JSON.parse)(t),W.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(l||JSON.stringify)(t)}const is={transitional:px,adapter:["xhr","http","fetch"],transformRequest:[function(a,l){const i=l.getContentType()||"",s=i.indexOf("application/json")>-1,u=W.isObject(a);if(u&&W.isHTMLForm(a)&&(a=new FormData(a)),W.isFormData(a))return s?JSON.stringify(hx(a)):a;if(W.isArrayBuffer(a)||W.isBuffer(a)||W.isStream(a)||W.isFile(a)||W.isBlob(a)||W.isReadableStream(a))return a;if(W.isArrayBufferView(a))return a.buffer;if(W.isURLSearchParams(a))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let p;if(u){if(i.indexOf("application/x-www-form-urlencoded")>-1)return dT(a,this.formSerializer).toString();if((p=W.isFileList(a))||i.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return bc(p?{"files[]":a}:a,m&&new m,this.formSerializer)}}return u||s?(l.setContentType("application/json",!1),mT(a)):a}],transformResponse:[function(a){const l=this.transitional||is.transitional,i=l&&l.forcedJSONParsing,s=this.responseType==="json";if(W.isResponse(a)||W.isReadableStream(a))return a;if(a&&W.isString(a)&&(i&&!this.responseType||s)){const f=!(l&&l.silentJSONParsing)&&s;try{return JSON.parse(a,this.parseReviver)}catch(p){if(f)throw p.name==="SyntaxError"?$e.from(p,$e.ERR_BAD_RESPONSE,this,null,this.response):p}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vn.classes.FormData,Blob:vn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],t=>{is.headers[t]={}});const gT=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yT=t=>{const a={};let l,i,s;return t&&t.split(`
          `).forEach(function(f){s=f.indexOf(":"),l=f.substring(0,s).trim().toLowerCase(),i=f.substring(s+1).trim(),!(!l||a[l]&&gT[l])&&(l==="set-cookie"?a[l]?a[l].push(i):a[l]=[i]:a[l]=a[l]?a[l]+", "+i:i)}),a},ov=Symbol("internals");function jo(t){return t&&String(t).trim().toLowerCase()}function Hu(t){return t===!1||t==null?t:W.isArray(t)?t.map(Hu):String(t)}function vT(t){const a=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=l.exec(t);)a[i[1]]=i[2];return a}const bT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function sp(t,a,l,i,s){if(W.isFunction(i))return i.call(this,a,l);if(s&&(a=l),!!W.isString(a)){if(W.isString(i))return a.indexOf(i)!==-1;if(W.isRegExp(i))return i.test(a)}}function xT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,l,i)=>l.toUpperCase()+i)}function ST(t,a){const l=W.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+l,{value:function(s,u,f){return this[i].call(this,a,s,u,f)},configurable:!0})})}let Un=class{constructor(a){a&&this.set(a)}set(a,l,i){const s=this;function u(p,m,h){const y=jo(m);if(!y)throw new Error("header name must be a non-empty string");const v=W.findKey(s,y);(!v||s[v]===void 0||h===!0||h===void 0&&s[v]!==!1)&&(s[v||m]=Hu(p))}const f=(p,m)=>W.forEach(p,(h,y)=>u(h,y,m));if(W.isPlainObject(a)||a instanceof this.constructor)f(a,l);else if(W.isString(a)&&(a=a.trim())&&!bT(a))f(yT(a),l);else if(W.isObject(a)&&W.isIterable(a)){let p={},m,h;for(const y of a){if(!W.isArray(y))throw TypeError("Object iterator must return a key-value pair");p[h=y[0]]=(m=p[h])?W.isArray(m)?[...m,y[1]]:[m,y[1]]:y[1]}f(p,l)}else a!=null&&u(l,a,i);return this}get(a,l){if(a=jo(a),a){const i=W.findKey(this,a);if(i){const s=this[i];if(!l)return s;if(l===!0)return vT(s);if(W.isFunction(l))return l.call(this,s,i);if(W.isRegExp(l))return l.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,l){if(a=jo(a),a){const i=W.findKey(this,a);return!!(i&&this[i]!==void 0&&(!l||sp(this,this[i],i,l)))}return!1}delete(a,l){const i=this;let s=!1;function u(f){if(f=jo(f),f){const p=W.findKey(i,f);p&&(!l||sp(i,i[p],p,l))&&(delete i[p],s=!0)}}return W.isArray(a)?a.forEach(u):u(a),s}clear(a){const l=Object.keys(this);let i=l.length,s=!1;for(;i--;){const u=l[i];(!a||sp(this,this[u],u,a,!0))&&(delete this[u],s=!0)}return s}normalize(a){const l=this,i={};return W.forEach(this,(s,u)=>{const f=W.findKey(i,u);if(f){l[f]=Hu(s),delete l[u];return}const p=a?xT(u):String(u).trim();p!==u&&delete l[u],l[p]=Hu(s),i[p]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const l=Object.create(null);return W.forEach(this,(i,s)=>{i!=null&&i!==!1&&(l[s]=a&&W.isArray(i)?i.join(", "):i)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,l])=>a+": "+l).join(`
          `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...l){const i=new this(a);return l.forEach(s=>i.set(s)),i}static accessor(a){const i=(this[ov]=this[ov]={accessors:{}}).accessors,s=this.prototype;function u(f){const p=jo(f);i[p]||(ST(s,f),i[p]=!0)}return W.isArray(a)?a.forEach(u):u(a),this}};Un.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Un.prototype,({value:t},a)=>{let l=a[0].toUpperCase()+a.slice(1);return{get:()=>t,set(i){this[l]=i}}});W.freezeMethods(Un);function up(t,a){const l=this||is,i=a||l,s=Un.from(i.headers);let u=i.data;return W.forEach(t,function(p){u=p.call(l,u,s.normalize(),a?a.status:void 0)}),s.normalize(),u}function mx(t){return!!(t&&t.__CANCEL__)}function _i(t,a,l){$e.call(this,t??"canceled",$e.ERR_CANCELED,a,l),this.name="CanceledError"}W.inherits(_i,$e,{__CANCEL__:!0});function gx(t,a,l){const i=l.config.validateStatus;!l.status||!i||i(l.status)?t(l):a(new $e("Request failed with status code "+l.status,[$e.ERR_BAD_REQUEST,$e.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function ET(t){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return a&&a[1]||""}function wT(t,a){t=t||10;const l=new Array(t),i=new Array(t);let s=0,u=0,f;return a=a!==void 0?a:1e3,function(m){const h=Date.now(),y=i[u];f||(f=h),l[s]=m,i[s]=h;let v=u,C=0;for(;v!==s;)C+=l[v++],v=v%t;if(s=(s+1)%t,s===u&&(u=(u+1)%t),h-f<a)return;const E=y&&h-y;return E?Math.round(C*1e3/E):void 0}}function CT(t,a){let l=0,i=1e3/a,s,u;const f=(h,y=Date.now())=>{l=y,s=null,u&&(clearTimeout(u),u=null),t(...h)};return[(...h)=>{const y=Date.now(),v=y-l;v>=i?f(h,y):(s=h,u||(u=setTimeout(()=>{u=null,f(s)},i-v)))},()=>s&&f(s)]}const Ku=(t,a,l=3)=>{let i=0;const s=wT(50,250);return CT(u=>{const f=u.loaded,p=u.lengthComputable?u.total:void 0,m=f-i,h=s(m),y=f<=p;i=f;const v={loaded:f,total:p,progress:p?f/p:void 0,bytes:m,rate:h||void 0,estimated:h&&p&&y?(p-f)/h:void 0,event:u,lengthComputable:p!=null,[a?"download":"upload"]:!0};t(v)},l)},sv=(t,a)=>{const l=t!=null;return[i=>a[0]({lengthComputable:l,total:t,loaded:i}),a[1]]},uv=t=>(...a)=>W.asap(()=>t(...a)),TT=vn.hasStandardBrowserEnv?((t,a)=>l=>(l=new URL(l,vn.origin),t.protocol===l.protocol&&t.host===l.host&&(a||t.port===l.port)))(new URL(vn.origin),vn.navigator&&/(msie|trident)/i.test(vn.navigator.userAgent)):()=>!0,RT=vn.hasStandardBrowserEnv?{write(t,a,l,i,s,u,f){if(typeof document>"u")return;const p=[`${t}=${encodeURIComponent(a)}`];W.isNumber(l)&&p.push(`expires=${new Date(l).toUTCString()}`),W.isString(i)&&p.push(`path=${i}`),W.isString(s)&&p.push(`domain=${s}`),u===!0&&p.push("secure"),W.isString(f)&&p.push(`SameSite=${f}`),document.cookie=p.join("; ")},read(t){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function AT(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function OT(t,a){return a?t.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):t}function yx(t,a,l){let i=!AT(a);return t&&(i||l==!1)?OT(t,a):a}const cv=t=>t instanceof Un?{...t}:t;function Cl(t,a){a=a||{};const l={};function i(h,y,v,C){return W.isPlainObject(h)&&W.isPlainObject(y)?W.merge.call({caseless:C},h,y):W.isPlainObject(y)?W.merge({},y):W.isArray(y)?y.slice():y}function s(h,y,v,C){if(W.isUndefined(y)){if(!W.isUndefined(h))return i(void 0,h,v,C)}else return i(h,y,v,C)}function u(h,y){if(!W.isUndefined(y))return i(void 0,y)}function f(h,y){if(W.isUndefined(y)){if(!W.isUndefined(h))return i(void 0,h)}else return i(void 0,y)}function p(h,y,v){if(v in a)return i(h,y);if(v in t)return i(void 0,h)}const m={url:u,method:u,data:u,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:p,headers:(h,y,v)=>s(cv(h),cv(y),v,!0)};return W.forEach(Object.keys({...t,...a}),function(y){const v=m[y]||s,C=v(t[y],a[y],y);W.isUndefined(C)&&v!==p||(l[y]=C)}),l}const vx=t=>{const a=Cl({},t);let{data:l,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:u,headers:f,auth:p}=a;if(a.headers=f=Un.from(f),a.url=dx(yx(a.baseURL,a.url,a.allowAbsoluteUrls),t.params,t.paramsSerializer),p&&f.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),W.isFormData(l)){if(vn.hasStandardBrowserEnv||vn.hasStandardBrowserWebWorkerEnv)f.setContentType(void 0);else if(W.isFunction(l.getHeaders)){const m=l.getHeaders(),h=["content-type","content-length"];Object.entries(m).forEach(([y,v])=>{h.includes(y.toLowerCase())&&f.set(y,v)})}}if(vn.hasStandardBrowserEnv&&(i&&W.isFunction(i)&&(i=i(a)),i||i!==!1&&TT(a.url))){const m=s&&u&&RT.read(u);m&&f.set(s,m)}return a},NT=typeof XMLHttpRequest<"u",MT=NT&&function(t){return new Promise(function(l,i){const s=vx(t);let u=s.data;const f=Un.from(s.headers).normalize();let{responseType:p,onUploadProgress:m,onDownloadProgress:h}=s,y,v,C,E,b;function w(){E&&E(),b&&b(),s.cancelToken&&s.cancelToken.unsubscribe(y),s.signal&&s.signal.removeEventListener("abort",y)}let R=new XMLHttpRequest;R.open(s.method.toUpperCase(),s.url,!0),R.timeout=s.timeout;function j(){if(!R)return;const M=Un.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),N={data:!p||p==="text"||p==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:M,config:t,request:R};gx(function(O){l(O),w()},function(O){i(O),w()},N),R=null}"onloadend"in R?R.onloadend=j:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(j)},R.onabort=function(){R&&(i(new $e("Request aborted",$e.ECONNABORTED,t,R)),R=null)},R.onerror=function(_){const N=_&&_.message?_.message:"Network Error",B=new $e(N,$e.ERR_NETWORK,t,R);B.event=_||null,i(B),R=null},R.ontimeout=function(){let _=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const N=s.transitional||px;s.timeoutErrorMessage&&(_=s.timeoutErrorMessage),i(new $e(_,N.clarifyTimeoutError?$e.ETIMEDOUT:$e.ECONNABORTED,t,R)),R=null},u===void 0&&f.setContentType(null),"setRequestHeader"in R&&W.forEach(f.toJSON(),function(_,N){R.setRequestHeader(N,_)}),W.isUndefined(s.withCredentials)||(R.withCredentials=!!s.withCredentials),p&&p!=="json"&&(R.responseType=s.responseType),h&&([C,b]=Ku(h,!0),R.addEventListener("progress",C)),m&&R.upload&&([v,E]=Ku(m),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",E)),(s.cancelToken||s.signal)&&(y=M=>{R&&(i(!M||M.type?new _i(null,t,R):M),R.abort(),R=null)},s.cancelToken&&s.cancelToken.subscribe(y),s.signal&&(s.signal.aborted?y():s.signal.addEventListener("abort",y)));const L=ET(s.url);if(L&&vn.protocols.indexOf(L)===-1){i(new $e("Unsupported protocol "+L+":",$e.ERR_BAD_REQUEST,t));return}R.send(u||null)})},jT=(t,a)=>{const{length:l}=t=t?t.filter(Boolean):[];if(a||l){let i=new AbortController,s;const u=function(h){if(!s){s=!0,p();const y=h instanceof Error?h:this.reason;i.abort(y instanceof $e?y:new _i(y instanceof Error?y.message:y))}};let f=a&&setTimeout(()=>{f=null,u(new $e(`timeout ${a} of ms exceeded`,$e.ETIMEDOUT))},a);const p=()=>{t&&(f&&clearTimeout(f),f=null,t.forEach(h=>{h.unsubscribe?h.unsubscribe(u):h.removeEventListener("abort",u)}),t=null)};t.forEach(h=>h.addEventListener("abort",u));const{signal:m}=i;return m.unsubscribe=()=>W.asap(p),m}},DT=function*(t,a){let l=t.byteLength;if(l<a){yield t;return}let i=0,s;for(;i<l;)s=i+a,yield t.slice(i,s),i=s},zT=async function*(t,a){for await(const l of _T(t))yield*DT(l,a)},_T=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const a=t.getReader();try{for(;;){const{done:l,value:i}=await a.read();if(l)break;yield i}}finally{await a.cancel()}},fv=(t,a,l,i)=>{const s=zT(t,a);let u=0,f,p=m=>{f||(f=!0,i&&i(m))};return new ReadableStream({async pull(m){try{const{done:h,value:y}=await s.next();if(h){p(),m.close();return}let v=y.byteLength;if(l){let C=u+=v;l(C)}m.enqueue(new Uint8Array(y))}catch(h){throw p(h),h}},cancel(m){return p(m),s.return()}},{highWaterMark:2})},dv=64*1024,{isFunction:Ou}=W,LT=(({Request:t,Response:a})=>({Request:t,Response:a}))(W.global),{ReadableStream:pv,TextEncoder:hv}=W.global,mv=(t,...a)=>{try{return!!t(...a)}catch{return!1}},BT=t=>{t=W.merge.call({skipUndefined:!0},LT,t);const{fetch:a,Request:l,Response:i}=t,s=a?Ou(a):typeof fetch=="function",u=Ou(l),f=Ou(i);if(!s)return!1;const p=s&&Ou(pv),m=s&&(typeof hv=="function"?(b=>w=>b.encode(w))(new hv):async b=>new Uint8Array(await new l(b).arrayBuffer())),h=u&&p&&mv(()=>{let b=!1;const w=new l(vn.origin,{body:new pv,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!w}),y=f&&p&&mv(()=>W.isReadableStream(new i("").body)),v={stream:y&&(b=>b.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!v[b]&&(v[b]=(w,R)=>{let j=w&&w[b];if(j)return j.call(w);throw new $e(`Response type '${b}' is not supported`,$e.ERR_NOT_SUPPORT,R)})});const C=async b=>{if(b==null)return 0;if(W.isBlob(b))return b.size;if(W.isSpecCompliantForm(b))return(await new l(vn.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(W.isArrayBufferView(b)||W.isArrayBuffer(b))return b.byteLength;if(W.isURLSearchParams(b)&&(b=b+""),W.isString(b))return(await m(b)).byteLength},E=async(b,w)=>{const R=W.toFiniteNumber(b.getContentLength());return R??C(w)};return async b=>{let{url:w,method:R,data:j,signal:L,cancelToken:M,timeout:_,onDownloadProgress:N,onUploadProgress:B,responseType:O,headers:Q,withCredentials:oe="same-origin",fetchOptions:re}=vx(b),ce=a||fetch;O=O?(O+"").toLowerCase():"text";let A=jT([L,M&&M.toAbortSignal()],_),ee=null;const P=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let Y;try{if(B&&h&&R!=="get"&&R!=="head"&&(Y=await E(Q,j))!==0){let z=new l(w,{method:"POST",body:j,duplex:"half"}),G;if(W.isFormData(j)&&(G=z.headers.get("content-type"))&&Q.setContentType(G),z.body){const[V,ie]=sv(Y,Ku(uv(B)));j=fv(z.body,dv,V,ie)}}W.isString(oe)||(oe=oe?"include":"omit");const D=u&&"credentials"in l.prototype,F={...re,signal:A,method:R.toUpperCase(),headers:Q.normalize().toJSON(),body:j,duplex:"half",credentials:D?oe:void 0};ee=u&&new l(w,F);let ue=await(u?ce(ee,re):ce(w,F));const te=y&&(O==="stream"||O==="response");if(y&&(N||te&&P)){const z={};["status","statusText","headers"].forEach(de=>{z[de]=ue[de]});const G=W.toFiniteNumber(ue.headers.get("content-length")),[V,ie]=N&&sv(G,Ku(uv(N),!0))||[];ue=new i(fv(ue.body,dv,V,()=>{ie&&ie(),P&&P()}),z)}O=O||"text";let he=await v[W.findKey(v,O)||"text"](ue,b);return!te&&P&&P(),await new Promise((z,G)=>{gx(z,G,{data:he,headers:Un.from(ue.headers),status:ue.status,statusText:ue.statusText,config:b,request:ee})})}catch(D){throw P&&P(),D&&D.name==="TypeError"&&/Load failed|fetch/i.test(D.message)?Object.assign(new $e("Network Error",$e.ERR_NETWORK,b,ee),{cause:D.cause||D}):$e.from(D,D&&D.code,b,ee)}}},UT=new Map,bx=t=>{let a=t&&t.env||{};const{fetch:l,Request:i,Response:s}=a,u=[i,s,l];let f=u.length,p=f,m,h,y=UT;for(;p--;)m=u[p],h=y.get(m),h===void 0&&y.set(m,h=p?new Map:BT(a)),y=h;return h};bx();const ch={http:eT,xhr:MT,fetch:{get:bx}};W.forEach(ch,(t,a)=>{if(t){try{Object.defineProperty(t,"name",{value:a})}catch{}Object.defineProperty(t,"adapterName",{value:a})}});const gv=t=>`- ${t}`,kT=t=>W.isFunction(t)||t===null||t===!1;function HT(t,a){t=W.isArray(t)?t:[t];const{length:l}=t;let i,s;const u={};for(let f=0;f<l;f++){i=t[f];let p;if(s=i,!kT(i)&&(s=ch[(p=String(i)).toLowerCase()],s===void 0))throw new $e(`Unknown adapter '${p}'`);if(s&&(W.isFunction(s)||(s=s.get(a))))break;u[p||"#"+f]=s}if(!s){const f=Object.entries(u).map(([m,h])=>`adapter ${m} `+(h===!1?"is not supported by the environment":"is not available in the build"));let p=l?f.length>1?`since :
          `+f.map(gv).join(`
          `):" "+gv(f[0]):"as no adapter specified";throw new $e("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return s}const xx={getAdapter:HT,adapters:ch};function cp(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _i(null,t)}function yv(t){return cp(t),t.headers=Un.from(t.headers),t.data=up.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),xx.getAdapter(t.adapter||is.adapter,t)(t).then(function(i){return cp(t),i.data=up.call(t,t.transformResponse,i),i.headers=Un.from(i.headers),i},function(i){return mx(i)||(cp(t),i&&i.response&&(i.response.data=up.call(t,t.transformResponse,i.response),i.response.headers=Un.from(i.response.headers))),Promise.reject(i)})}const Sx="1.13.2",xc={};["object","boolean","number","function","string","symbol"].forEach((t,a)=>{xc[t]=function(i){return typeof i===t||"a"+(a<1?"n ":" ")+t}});const vv={};xc.transitional=function(a,l,i){function s(u,f){return"[Axios v"+Sx+"] Transitional option '"+u+"'"+f+(i?". "+i:"")}return(u,f,p)=>{if(a===!1)throw new $e(s(f," has been removed"+(l?" in "+l:"")),$e.ERR_DEPRECATED);return l&&!vv[f]&&(vv[f]=!0,console.warn(s(f," has been deprecated since v"+l+" and will be removed in the near future"))),a?a(u,f,p):!0}};xc.spelling=function(a){return(l,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function $T(t,a,l){if(typeof t!="object")throw new $e("options must be an object",$e.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let s=i.length;for(;s-- >0;){const u=i[s],f=a[u];if(f){const p=t[u],m=p===void 0||f(p,u,t);if(m!==!0)throw new $e("option "+u+" must be "+m,$e.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new $e("Unknown option "+u,$e.ERR_BAD_OPTION)}}const $u={assertOptions:$T,validators:xc},Da=$u.validators;let El=class{constructor(a){this.defaults=a||{},this.interceptors={request:new iv,response:new iv}}async request(a,l){try{return await this._request(a,l)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const u=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?u&&!String(i.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(i.stack+=`
          `+u):i.stack=u}catch{}}throw i}}_request(a,l){typeof a=="string"?(l=l||{},l.url=a):l=a||{},l=Cl(this.defaults,l);const{transitional:i,paramsSerializer:s,headers:u}=l;i!==void 0&&$u.assertOptions(i,{silentJSONParsing:Da.transitional(Da.boolean),forcedJSONParsing:Da.transitional(Da.boolean),clarifyTimeoutError:Da.transitional(Da.boolean)},!1),s!=null&&(W.isFunction(s)?l.paramsSerializer={serialize:s}:$u.assertOptions(s,{encode:Da.function,serialize:Da.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),$u.assertOptions(l,{baseUrl:Da.spelling("baseURL"),withXsrfToken:Da.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let f=u&&W.merge(u.common,u[l.method]);u&&W.forEach(["delete","get","head","post","put","patch","common"],b=>{delete u[b]}),l.headers=Un.concat(f,u);const p=[];let m=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(l)===!1||(m=m&&w.synchronous,p.unshift(w.fulfilled,w.rejected))});const h=[];this.interceptors.response.forEach(function(w){h.push(w.fulfilled,w.rejected)});let y,v=0,C;if(!m){const b=[yv.bind(this),void 0];for(b.unshift(...p),b.push(...h),C=b.length,y=Promise.resolve(l);v<C;)y=y.then(b[v++],b[v++]);return y}C=p.length;let E=l;for(;v<C;){const b=p[v++],w=p[v++];try{E=b(E)}catch(R){w.call(this,R);break}}try{y=yv.call(this,E)}catch(b){return Promise.reject(b)}for(v=0,C=h.length;v<C;)y=y.then(h[v++],h[v++]);return y}getUri(a){a=Cl(this.defaults,a);const l=yx(a.baseURL,a.url,a.allowAbsoluteUrls);return dx(l,a.params,a.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(a){El.prototype[a]=function(l,i){return this.request(Cl(i||{},{method:a,url:l,data:(i||{}).data}))}});W.forEach(["post","put","patch"],function(a){function l(i){return function(u,f,p){return this.request(Cl(p||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:u,data:f}))}}El.prototype[a]=l(),El.prototype[a+"Form"]=l(!0)});let PT=class Ex{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(u){l=u});const i=this;this.promise.then(s=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](s);i._listeners=null}),this.promise.then=s=>{let u;const f=new Promise(p=>{i.subscribe(p),u=p}).then(s);return f.cancel=function(){i.unsubscribe(u)},f},a(function(u,f,p){i.reason||(i.reason=new _i(u,f,p),l(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const l=this._listeners.indexOf(a);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const a=new AbortController,l=i=>{a.abort(i)};return this.subscribe(l),a.signal.unsubscribe=()=>this.unsubscribe(l),a.signal}static source(){let a;return{token:new Ex(function(s){a=s}),cancel:a}}};function qT(t){return function(l){return t.apply(null,l)}}function FT(t){return W.isObject(t)&&t.isAxiosError===!0}const Dp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Dp).forEach(([t,a])=>{Dp[a]=t});function wx(t){const a=new El(t),l=ex(El.prototype.request,a);return W.extend(l,El.prototype,a,{allOwnKeys:!0}),W.extend(l,a,null,{allOwnKeys:!0}),l.create=function(s){return wx(Cl(t,s))},l}const Gt=wx(is);Gt.Axios=El;Gt.CanceledError=_i;Gt.CancelToken=PT;Gt.isCancel=mx;Gt.VERSION=Sx;Gt.toFormData=bc;Gt.AxiosError=$e;Gt.Cancel=Gt.CanceledError;Gt.all=function(a){return Promise.all(a)};Gt.spread=qT;Gt.isAxiosError=FT;Gt.mergeConfig=Cl;Gt.AxiosHeaders=Un;Gt.formToJSON=t=>hx(W.isHTMLForm(t)?new FormData(t):t);Gt.getAdapter=xx.getAdapter;Gt.HttpStatusCode=Dp;Gt.default=Gt;const{Axios:_5,AxiosError:L5,CanceledError:B5,isCancel:U5,CancelToken:k5,VERSION:H5,all:$5,Cancel:P5,isAxiosError:q5,spread:F5,toFormData:V5,AxiosHeaders:Y5,HttpStatusCode:G5,formToJSON:X5,getAdapter:K5,mergeConfig:I5}=Gt,Cx="https://api.dikshantsharma.com/api";if(!Cx)throw new Error("api base url is not defined");const hn=Gt.create({baseURL:Cx,withCredentials:!0});hn.interceptors.request.use(t=>{const a=localStorage.getItem("accessToken");return a&&(t.headers.Authorization=`Bearer ${a}`),t});hn.interceptors.response.use(t=>t,t=>(console.log("API ERROR:",t.response?.data||t.message),Promise.reject(t)));const Tn={auth:{login:"/auth/login",signup:"/auth/signup",refresh:"/auth/refresh",verifyOtp:"/auth/verify-otp",myDetails:"/auth/me"},projects:{create:"/projects",getAll:"/projects",getById:t=>`/projects/${t}`,updateById:t=>`/projects/${t}`,getAllOfLoginUser:t=>`/projects/me?role=${t}`,getMembers:t=>`/projects/${t}/members`},applications:{getAllOfProject:t=>`/applications/projects/${t}`,getAllOfLoginUser:"/applications/me",applyToProject:t=>`/applications/projects/${t}`,updateStatus:(t,a)=>`/applications/projects/${t}/status/${a}`}},Iu={login:async(t,a)=>(await hn.post(Tn.auth.login,{email:t,password:a})).data,signup:async(t,a,l,i=null)=>(await hn.post(Tn.auth.signup,{name:t,email:a,password:l,bio:i})).data,verifyOtp:async(t,a)=>(await hn.post(Tn.auth.verifyOtp,{email:t,otp:a})).data,refresh:async(t,a)=>(await hn.post(Tn.auth.refresh,{email:t,refreshToken:a})).data,getMyDetails:async()=>(await hn.get(Tn.auth.myDetails)).data};function VT(){const t=Di(),[a,l]=S.useState({email:"",password:""}),[i,s]=S.useState(!1),[u,f]=S.useState(""),[p,m]=S.useState(""),[h,y]=S.useState(!1),v=E=>{const{name:b,value:w}=E.target;l(R=>({...R,[b]:w}))},C=async E=>{E.preventDefault(),f(""),m(""),s(!0);try{const b=await Iu.login(a.email.trim()?.toLowerCase(),a.password);b?.accessToken&&localStorage.setItem("accessToken",b.accessToken),b?.refreshToken&&localStorage.setItem("refreshToken",b.refreshToken),window.dispatchEvent(new Event("auth:change")),m("Logged in successfully."),setTimeout(()=>t("/"),600)}catch(b){f(b.response?.data?.message||"Unable to login. Try again.")}finally{s(!1)}};return x.jsx("div",{className:"min-h-[calc(100vh-200px)] flex items-center justify-center px-4 sm:px-6 lg:px-8 py-12",children:x.jsxs("div",{className:"w-full max-w-md",children:[x.jsxs("div",{className:"text-center mb-8",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-2",children:"Login"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Sign in to your account to continue"})]}),x.jsx("div",{className:"bg-white border border-gray-200 p-8",children:x.jsxs("form",{className:"space-y-6",onSubmit:C,children:[x.jsxs("div",{children:[x.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"Email"}),x.jsx("input",{id:"email",name:"email",type:"email",value:a.email,onChange:v,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"you@example.com"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"Password"}),x.jsxs("div",{className:"relative",children:[x.jsx("input",{id:"password",name:"password",type:h?"text":"password",value:a.password,onChange:v,required:!0,className:"w-full px-4 py-2 pr-14 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Enter your password"}),x.jsx("button",{type:"button",onClick:()=>y(E=>!E),className:"absolute inset-y-0 right-2 text-xs font-medium text-gray-600 hover:text-gray-900",children:h?"Hide":"Show"})]})]}),u&&x.jsx("p",{className:"text-sm text-red-600",children:u}),p&&x.jsx("p",{className:"text-sm text-green-600",children:p}),x.jsx("button",{type:"submit",disabled:i,className:"w-full bg-gray-900 text-white py-2 px-4 rounded hover:bg-gray-800 text-sm font-medium disabled:opacity-70",children:i?"Logging in...":"Login"})]})}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-600",children:["Don't have an account?"," ",x.jsx(ua,{to:"/signup",className:"text-gray-900 font-medium",children:"Sign up"})]})]})})}function YT(){const t=Di(),[a,l]=S.useState("form"),[i,s]=S.useState({name:"",email:"",password:"",bio:""}),[u,f]=S.useState(""),[p,m]=S.useState(!1),[h,y]=S.useState(!1),[v,C]=S.useState(""),[E,b]=S.useState(""),[w,R]=S.useState(!1),j=N=>{const{name:B,value:O}=N.target;s(Q=>({...Q,[B]:O}))},L=async N=>{N.preventDefault(),C(""),b(""),m(!0);try{const B=await Iu.signup(i.name.trim(),i.email.trim().toLowerCase(),i.password,i.bio.trim()?i.bio.trim():"");l("verify"),b(B?.message||"OTP sent successfully.")}catch(B){C(B.response?.data?.message||"Unable to sign up. Try again.")}finally{m(!1)}},M=async N=>{N.preventDefault(),C(""),b(""),y(!0);try{const B=await Iu.verifyOtp(i.email.trim(),u.trim());B?.accessToken&&localStorage.setItem("accessToken",B.accessToken),B?.refreshToken&&localStorage.setItem("refreshToken",B.refreshToken),window.dispatchEvent(new Event("auth:change")),b("Account verified. Redirecting..."),setTimeout(()=>t("/"),800)}catch(B){C(B.response?.data?.message||"Invalid OTP. Try again.")}finally{y(!1)}},_=()=>{l("form"),f(""),b("")};return x.jsx("div",{className:"min-h-[calc(100vh-200px)] flex items-center justify-center px-4 sm:px-6 lg:px-8 py-12",children:x.jsxs("div",{className:"w-full max-w-md",children:[x.jsxs("div",{className:"text-center mb-8",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-2",children:"Sign Up"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Create an account to get started"})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-8",children:[a==="form"&&x.jsxs("form",{className:"space-y-6",onSubmit:L,children:[x.jsxs("div",{children:[x.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:"Full Name"}),x.jsx("input",{id:"name",name:"name",type:"text",value:i.name,onChange:j,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Name"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"Email"}),x.jsx("input",{id:"email",name:"email",type:"email",value:i.email,onChange:j,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"you@example.com"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"Password"}),x.jsxs("div",{className:"relative",children:[x.jsx("input",{id:"password",name:"password",type:w?"text":"password",value:i.password,onChange:j,required:!0,className:"w-full px-4 py-2 pr-14 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Create a password"}),x.jsx("button",{type:"button",onClick:()=>R(N=>!N),className:"absolute inset-y-0 right-2 text-xs font-medium text-gray-600 hover:text-gray-900",children:w?"Hide":"Show"})]})]}),x.jsxs("div",{children:[x.jsxs("label",{htmlFor:"bio",className:"block text-sm font-medium text-gray-700 mb-2",children:["Bio ",x.jsx("span",{className:"text-gray-400",children:"(optional)"})]}),x.jsx("textarea",{id:"bio",name:"bio",value:i.bio,onChange:j,rows:3,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Tell others a bit about you (optional)"})]}),v&&x.jsx("p",{className:"text-sm text-red-600",children:v}),E&&x.jsx("p",{className:"text-sm text-green-600",children:E}),x.jsx("button",{type:"submit",disabled:p,className:"w-full bg-gray-900 text-white py-2 px-4 rounded hover:bg-gray-800 text-sm font-medium disabled:opacity-70",children:p?"Sending OTP...":"Sign Up"})]}),a==="verify"&&x.jsxs("form",{className:"space-y-6",onSubmit:M,children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-sm text-gray-700 mb-1",children:"Enter the 6-digit OTP sent to"}),x.jsx("p",{className:"text-sm font-medium text-gray-900",children:i.email}),x.jsx("button",{type:"button",onClick:_,className:"mt-2 text-xs text-gray-600 underline",children:"Use a different email"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"otp",className:"block text-sm font-medium text-gray-700 mb-2",children:"Verification Code"}),x.jsx("input",{id:"otp",name:"otp",type:"text",inputMode:"numeric",pattern:"[0-9]*",maxLength:6,value:u,onChange:N=>f(N.target.value.replace(/[^0-9]/g,"")),required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400 tracking-[0.4em]",placeholder:"••••••"}),x.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Didn’t receive it? Check spam or request another code."})]}),v&&x.jsx("p",{className:"text-sm text-red-600",children:v}),E&&x.jsx("p",{className:"text-sm text-green-600",children:E}),x.jsx("button",{type:"submit",disabled:h,className:"w-full bg-gray-900 text-white py-2 px-4 rounded hover:bg-gray-800 text-sm font-medium disabled:opacity-70",children:h?"Verifying...":"Verify & Continue"})]})]}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-600",children:["Already have an account?"," ",x.jsx(ua,{to:"/login",className:"text-gray-900 font-medium",children:"Login"})]})]})})}const Tl={create:async(t,a,l,i)=>(await hn.post(Tn.projects.create,{title:t,description:a,skills:l,location_id:i})).data,getById:async t=>(await hn.get(Tn.projects.getById(t))).data,getAll:async()=>(await hn.get(Tn.projects.getAll)).data,getAllofLoginUser:async t=>(await hn.get(Tn.projects.getAllOfLoginUser(t))).data,update:async(t,a)=>(await hn.patch(Tn.projects.updateById(t),a)).data,getMembers:async t=>(await hn.get(Tn.projects.getMembers(t))).data},Io={black:"#000",white:"#fff"},mi={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},gi={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},yi={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},vi={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},bi={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Do={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},GT={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function cr(t,...a){const l=new URL(`https://mui.com/production-error/?code=${t}`);return a.forEach(i=>l.searchParams.append("args[]",i)),`Minified MUI error #${t}; visit ${l} for the full message.`}const Sc="$$material";function Qu(){return Qu=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var i in l)({}).hasOwnProperty.call(l,i)&&(t[i]=l[i])}return t},Qu.apply(null,arguments)}function XT(t){if(t.sheet)return t.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===t)return document.styleSheets[a]}function KT(t){var a=document.createElement("style");return a.setAttribute("data-emotion",t.key),t.nonce!==void 0&&a.setAttribute("nonce",t.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var IT=(function(){function t(l){var i=this;this._insertTag=function(s){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,u),i.tags.push(s)},this.isSpeedy=l.speedy===void 0?!0:l.speedy,this.tags=[],this.ctr=0,this.nonce=l.nonce,this.key=l.key,this.container=l.container,this.prepend=l.prepend,this.insertionPoint=l.insertionPoint,this.before=null}var a=t.prototype;return a.hydrate=function(i){i.forEach(this._insertTag)},a.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(KT(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var u=XT(s);try{u.insertRule(i,u.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},a.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},t})(),yn="-ms-",Zu="-moz-",lt="-webkit-",Tx="comm",fh="rule",dh="decl",QT="@import",Rx="@keyframes",ZT="@layer",WT=Math.abs,Ec=String.fromCharCode,JT=Object.assign;function eR(t,a){return pn(t,0)^45?(((a<<2^pn(t,0))<<2^pn(t,1))<<2^pn(t,2))<<2^pn(t,3):0}function Ax(t){return t.trim()}function tR(t,a){return(t=a.exec(t))?t[0]:t}function it(t,a,l){return t.replace(a,l)}function zp(t,a){return t.indexOf(a)}function pn(t,a){return t.charCodeAt(a)|0}function Qo(t,a,l){return t.slice(a,l)}function La(t){return t.length}function ph(t){return t.length}function Nu(t,a){return a.push(t),t}function nR(t,a){return t.map(a).join("")}var wc=1,Oi=1,Ox=0,kn=0,Jt=0,Li="";function Cc(t,a,l,i,s,u,f){return{value:t,root:a,parent:l,type:i,props:s,children:u,line:wc,column:Oi,length:f,return:""}}function zo(t,a){return JT(Cc("",null,null,"",null,null,0),t,{length:-t.length},a)}function aR(){return Jt}function rR(){return Jt=kn>0?pn(Li,--kn):0,Oi--,Jt===10&&(Oi=1,wc--),Jt}function Kn(){return Jt=kn<Ox?pn(Li,kn++):0,Oi++,Jt===10&&(Oi=1,wc++),Jt}function $a(){return pn(Li,kn)}function Pu(){return kn}function os(t,a){return Qo(Li,t,a)}function Zo(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Nx(t){return wc=Oi=1,Ox=La(Li=t),kn=0,[]}function Mx(t){return Li="",t}function qu(t){return Ax(os(kn-1,_p(t===91?t+2:t===40?t+1:t)))}function lR(t){for(;(Jt=$a())&&Jt<33;)Kn();return Zo(t)>2||Zo(Jt)>3?"":" "}function iR(t,a){for(;--a&&Kn()&&!(Jt<48||Jt>102||Jt>57&&Jt<65||Jt>70&&Jt<97););return os(t,Pu()+(a<6&&$a()==32&&Kn()==32))}function _p(t){for(;Kn();)switch(Jt){case t:return kn;case 34:case 39:t!==34&&t!==39&&_p(Jt);break;case 40:t===41&&_p(t);break;case 92:Kn();break}return kn}function oR(t,a){for(;Kn()&&t+Jt!==57;)if(t+Jt===84&&$a()===47)break;return"/*"+os(a,kn-1)+"*"+Ec(t===47?t:Kn())}function sR(t){for(;!Zo($a());)Kn();return os(t,kn)}function uR(t){return Mx(Fu("",null,null,null,[""],t=Nx(t),0,[0],t))}function Fu(t,a,l,i,s,u,f,p,m){for(var h=0,y=0,v=f,C=0,E=0,b=0,w=1,R=1,j=1,L=0,M="",_=s,N=u,B=i,O=M;R;)switch(b=L,L=Kn()){case 40:if(b!=108&&pn(O,v-1)==58){zp(O+=it(qu(L),"&","&\f"),"&\f")!=-1&&(j=-1);break}case 34:case 39:case 91:O+=qu(L);break;case 9:case 10:case 13:case 32:O+=lR(b);break;case 92:O+=iR(Pu()-1,7);continue;case 47:switch($a()){case 42:case 47:Nu(cR(oR(Kn(),Pu()),a,l),m);break;default:O+="/"}break;case 123*w:p[h++]=La(O)*j;case 125*w:case 59:case 0:switch(L){case 0:case 125:R=0;case 59+y:j==-1&&(O=it(O,/\f/g,"")),E>0&&La(O)-v&&Nu(E>32?xv(O+";",i,l,v-1):xv(it(O," ","")+";",i,l,v-2),m);break;case 59:O+=";";default:if(Nu(B=bv(O,a,l,h,y,s,p,M,_=[],N=[],v),u),L===123)if(y===0)Fu(O,a,B,B,_,u,v,p,N);else switch(C===99&&pn(O,3)===110?100:C){case 100:case 108:case 109:case 115:Fu(t,B,B,i&&Nu(bv(t,B,B,0,0,s,p,M,s,_=[],v),N),s,N,v,p,i?_:N);break;default:Fu(O,B,B,B,[""],N,0,p,N)}}h=y=E=0,w=j=1,M=O="",v=f;break;case 58:v=1+La(O),E=b;default:if(w<1){if(L==123)--w;else if(L==125&&w++==0&&rR()==125)continue}switch(O+=Ec(L),L*w){case 38:j=y>0?1:(O+="\f",-1);break;case 44:p[h++]=(La(O)-1)*j,j=1;break;case 64:$a()===45&&(O+=qu(Kn())),C=$a(),y=v=La(M=O+=sR(Pu())),L++;break;case 45:b===45&&La(O)==2&&(w=0)}}return u}function bv(t,a,l,i,s,u,f,p,m,h,y){for(var v=s-1,C=s===0?u:[""],E=ph(C),b=0,w=0,R=0;b<i;++b)for(var j=0,L=Qo(t,v+1,v=WT(w=f[b])),M=t;j<E;++j)(M=Ax(w>0?C[j]+" "+L:it(L,/&\f/g,C[j])))&&(m[R++]=M);return Cc(t,a,l,s===0?fh:p,m,h,y)}function cR(t,a,l){return Cc(t,a,l,Tx,Ec(aR()),Qo(t,2,-2),0)}function xv(t,a,l,i){return Cc(t,a,l,dh,Qo(t,0,i),Qo(t,i+1,-1),i)}function Ti(t,a){for(var l="",i=ph(t),s=0;s<i;s++)l+=a(t[s],s,t,a)||"";return l}function fR(t,a,l,i){switch(t.type){case ZT:if(t.children.length)break;case QT:case dh:return t.return=t.return||t.value;case Tx:return"";case Rx:return t.return=t.value+"{"+Ti(t.children,i)+"}";case fh:t.value=t.props.join(",")}return La(l=Ti(t.children,i))?t.return=t.value+"{"+l+"}":""}function dR(t){var a=ph(t);return function(l,i,s,u){for(var f="",p=0;p<a;p++)f+=t[p](l,i,s,u)||"";return f}}function pR(t){return function(a){a.root||(a=a.return)&&t(a)}}function jx(t){var a=Object.create(null);return function(l){return a[l]===void 0&&(a[l]=t(l)),a[l]}}var hR=function(a,l,i){for(var s=0,u=0;s=u,u=$a(),s===38&&u===12&&(l[i]=1),!Zo(u);)Kn();return os(a,kn)},mR=function(a,l){var i=-1,s=44;do switch(Zo(s)){case 0:s===38&&$a()===12&&(l[i]=1),a[i]+=hR(kn-1,l,i);break;case 2:a[i]+=qu(s);break;case 4:if(s===44){a[++i]=$a()===58?"&\f":"",l[i]=a[i].length;break}default:a[i]+=Ec(s)}while(s=Kn());return a},gR=function(a,l){return Mx(mR(Nx(a),l))},Sv=new WeakMap,yR=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var l=a.value,i=a.parent,s=a.column===i.column&&a.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(a.props.length===1&&l.charCodeAt(0)!==58&&!Sv.get(i))&&!s){Sv.set(a,!0);for(var u=[],f=gR(l,u),p=i.props,m=0,h=0;m<f.length;m++)for(var y=0;y<p.length;y++,h++)a.props[h]=u[m]?f[m].replace(/&\f/g,p[y]):p[y]+" "+f[m]}}},vR=function(a){if(a.type==="decl"){var l=a.value;l.charCodeAt(0)===108&&l.charCodeAt(2)===98&&(a.return="",a.value="")}};function Dx(t,a){switch(eR(t,a)){case 5103:return lt+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return lt+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return lt+t+Zu+t+yn+t+t;case 6828:case 4268:return lt+t+yn+t+t;case 6165:return lt+t+yn+"flex-"+t+t;case 5187:return lt+t+it(t,/(\w+).+(:[^]+)/,lt+"box-$1$2"+yn+"flex-$1$2")+t;case 5443:return lt+t+yn+"flex-item-"+it(t,/flex-|-self/,"")+t;case 4675:return lt+t+yn+"flex-line-pack"+it(t,/align-content|flex-|-self/,"")+t;case 5548:return lt+t+yn+it(t,"shrink","negative")+t;case 5292:return lt+t+yn+it(t,"basis","preferred-size")+t;case 6060:return lt+"box-"+it(t,"-grow","")+lt+t+yn+it(t,"grow","positive")+t;case 4554:return lt+it(t,/([^-])(transform)/g,"$1"+lt+"$2")+t;case 6187:return it(it(it(t,/(zoom-|grab)/,lt+"$1"),/(image-set)/,lt+"$1"),t,"")+t;case 5495:case 3959:return it(t,/(image-set\([^]*)/,lt+"$1$`$1");case 4968:return it(it(t,/(.+:)(flex-)?(.*)/,lt+"box-pack:$3"+yn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+lt+t+t;case 4095:case 3583:case 4068:case 2532:return it(t,/(.+)-inline(.+)/,lt+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(La(t)-1-a>6)switch(pn(t,a+1)){case 109:if(pn(t,a+4)!==45)break;case 102:return it(t,/(.+:)(.+)-([^]+)/,"$1"+lt+"$2-$3$1"+Zu+(pn(t,a+3)==108?"$3":"$2-$3"))+t;case 115:return~zp(t,"stretch")?Dx(it(t,"stretch","fill-available"),a)+t:t}break;case 4949:if(pn(t,a+1)!==115)break;case 6444:switch(pn(t,La(t)-3-(~zp(t,"!important")&&10))){case 107:return it(t,":",":"+lt)+t;case 101:return it(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lt+(pn(t,14)===45?"inline-":"")+"box$3$1"+lt+"$2$3$1"+yn+"$2box$3")+t}break;case 5936:switch(pn(t,a+11)){case 114:return lt+t+yn+it(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return lt+t+yn+it(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return lt+t+yn+it(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return lt+t+yn+t+t}return t}var bR=function(a,l,i,s){if(a.length>-1&&!a.return)switch(a.type){case dh:a.return=Dx(a.value,a.length);break;case Rx:return Ti([zo(a,{value:it(a.value,"@","@"+lt)})],s);case fh:if(a.length)return nR(a.props,function(u){switch(tR(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ti([zo(a,{props:[it(u,/:(read-\w+)/,":"+Zu+"$1")]})],s);case"::placeholder":return Ti([zo(a,{props:[it(u,/:(plac\w+)/,":"+lt+"input-$1")]}),zo(a,{props:[it(u,/:(plac\w+)/,":"+Zu+"$1")]}),zo(a,{props:[it(u,/:(plac\w+)/,yn+"input-$1")]})],s)}return""})}},xR=[bR],SR=function(a){var l=a.key;if(l==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(w){var R=w.getAttribute("data-emotion");R.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var s=a.stylisPlugins||xR,u={},f,p=[];f=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+l+' "]'),function(w){for(var R=w.getAttribute("data-emotion").split(" "),j=1;j<R.length;j++)u[R[j]]=!0;p.push(w)});var m,h=[yR,vR];{var y,v=[fR,pR(function(w){y.insert(w)})],C=dR(h.concat(s,v)),E=function(R){return Ti(uR(R),C)};m=function(R,j,L,M){y=L,E(R?R+"{"+j.styles+"}":j.styles),M&&(b.inserted[j.name]=!0)}}var b={key:l,sheet:new IT({key:l,container:f,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:u,registered:{},insert:m};return b.sheet.hydrate(p),b},fp={exports:{}},st={};var Ev;function ER(){if(Ev)return st;Ev=1;var t=typeof Symbol=="function"&&Symbol.for,a=t?Symbol.for("react.element"):60103,l=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,f=t?Symbol.for("react.provider"):60109,p=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,C=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,R=t?Symbol.for("react.fundamental"):60117,j=t?Symbol.for("react.responder"):60118,L=t?Symbol.for("react.scope"):60119;function M(N){if(typeof N=="object"&&N!==null){var B=N.$$typeof;switch(B){case a:switch(N=N.type,N){case m:case h:case i:case u:case s:case v:return N;default:switch(N=N&&N.$$typeof,N){case p:case y:case b:case E:case f:return N;default:return B}}case l:return B}}}function _(N){return M(N)===h}return st.AsyncMode=m,st.ConcurrentMode=h,st.ContextConsumer=p,st.ContextProvider=f,st.Element=a,st.ForwardRef=y,st.Fragment=i,st.Lazy=b,st.Memo=E,st.Portal=l,st.Profiler=u,st.StrictMode=s,st.Suspense=v,st.isAsyncMode=function(N){return _(N)||M(N)===m},st.isConcurrentMode=_,st.isContextConsumer=function(N){return M(N)===p},st.isContextProvider=function(N){return M(N)===f},st.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===a},st.isForwardRef=function(N){return M(N)===y},st.isFragment=function(N){return M(N)===i},st.isLazy=function(N){return M(N)===b},st.isMemo=function(N){return M(N)===E},st.isPortal=function(N){return M(N)===l},st.isProfiler=function(N){return M(N)===u},st.isStrictMode=function(N){return M(N)===s},st.isSuspense=function(N){return M(N)===v},st.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===i||N===h||N===u||N===s||N===v||N===C||typeof N=="object"&&N!==null&&(N.$$typeof===b||N.$$typeof===E||N.$$typeof===f||N.$$typeof===p||N.$$typeof===y||N.$$typeof===R||N.$$typeof===j||N.$$typeof===L||N.$$typeof===w)},st.typeOf=M,st}var wv;function wR(){return wv||(wv=1,fp.exports=ER()),fp.exports}var dp,Cv;function CR(){if(Cv)return dp;Cv=1;var t=wR(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=i,u[t.Memo]=s;function f(b){return t.isMemo(b)?s:u[b.$$typeof]||a}var p=Object.defineProperty,m=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,C=Object.prototype;function E(b,w,R){if(typeof w!="string"){if(C){var j=v(w);j&&j!==C&&E(b,j,R)}var L=m(w);h&&(L=L.concat(h(w)));for(var M=f(b),_=f(w),N=0;N<L.length;++N){var B=L[N];if(!l[B]&&!(R&&R[B])&&!(_&&_[B])&&!(M&&M[B])){var O=y(w,B);try{p(b,B,O)}catch{}}}}return b}return dp=E,dp}CR();var TR=!0;function zx(t,a,l){var i="";return l.split(" ").forEach(function(s){t[s]!==void 0?a.push(t[s]+";"):s&&(i+=s+" ")}),i}var hh=function(a,l,i){var s=a.key+"-"+l.name;(i===!1||TR===!1)&&a.registered[s]===void 0&&(a.registered[s]=l.styles)},mh=function(a,l,i){hh(a,l,i);var s=a.key+"-"+l.name;if(a.inserted[l.name]===void 0){var u=l;do a.insert(l===u?"."+s:"",u,a.sheet,!0),u=u.next;while(u!==void 0)}};function RR(t){for(var a=0,l,i=0,s=t.length;s>=4;++i,s-=4)l=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,a=(l&65535)*1540483477+((l>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(s){case 3:a^=(t.charCodeAt(i+2)&255)<<16;case 2:a^=(t.charCodeAt(i+1)&255)<<8;case 1:a^=t.charCodeAt(i)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var AR={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},OR=/[A-Z]|^ms/g,NR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_x=function(a){return a.charCodeAt(1)===45},Tv=function(a){return a!=null&&typeof a!="boolean"},pp=jx(function(t){return _x(t)?t:t.replace(OR,"-$&").toLowerCase()}),Rv=function(a,l){switch(a){case"animation":case"animationName":if(typeof l=="string")return l.replace(NR,function(i,s,u){return Ba={name:s,styles:u,next:Ba},s})}return AR[a]!==1&&!_x(a)&&typeof l=="number"&&l!==0?l+"px":l};function Wo(t,a,l){if(l==null)return"";var i=l;if(i.__emotion_styles!==void 0)return i;switch(typeof l){case"boolean":return"";case"object":{var s=l;if(s.anim===1)return Ba={name:s.name,styles:s.styles,next:Ba},s.name;var u=l;if(u.styles!==void 0){var f=u.next;if(f!==void 0)for(;f!==void 0;)Ba={name:f.name,styles:f.styles,next:Ba},f=f.next;var p=u.styles+";";return p}return MR(t,a,l)}case"function":{if(t!==void 0){var m=Ba,h=l(t);return Ba=m,Wo(t,a,h)}break}}var y=l;if(a==null)return y;var v=a[y];return v!==void 0?v:y}function MR(t,a,l){var i="";if(Array.isArray(l))for(var s=0;s<l.length;s++)i+=Wo(t,a,l[s])+";";else for(var u in l){var f=l[u];if(typeof f!="object"){var p=f;a!=null&&a[p]!==void 0?i+=u+"{"+a[p]+"}":Tv(p)&&(i+=pp(u)+":"+Rv(u,p)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(a==null||a[f[0]]===void 0))for(var m=0;m<f.length;m++)Tv(f[m])&&(i+=pp(u)+":"+Rv(u,f[m])+";");else{var h=Wo(t,a,f);switch(u){case"animation":case"animationName":{i+=pp(u)+":"+h+";";break}default:i+=u+"{"+h+"}"}}}return i}var Av=/label:\s*([^\s;{]+)\s*(;|$)/g,Ba;function ss(t,a,l){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";Ba=void 0;var u=t[0];if(u==null||u.raw===void 0)i=!1,s+=Wo(l,a,u);else{var f=u;s+=f[0]}for(var p=1;p<t.length;p++)if(s+=Wo(l,a,t[p]),i){var m=u;s+=m[p]}Av.lastIndex=0;for(var h="",y;(y=Av.exec(s))!==null;)h+="-"+y[1];var v=RR(s)+h;return{name:v,styles:s,next:Ba}}var jR=function(a){return a()},Lx=Cp.useInsertionEffect?Cp.useInsertionEffect:!1,Bx=Lx||jR,Ov=Lx||S.useLayoutEffect,Ux=S.createContext(typeof HTMLElement<"u"?SR({key:"css"}):null);Ux.Provider;var gh=function(a){return S.forwardRef(function(l,i){var s=S.useContext(Ux);return a(l,s,i)})},Tc=S.createContext({}),yh={}.hasOwnProperty,Lp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",DR=function(a,l){var i={};for(var s in l)yh.call(l,s)&&(i[s]=l[s]);return i[Lp]=a,i},zR=function(a){var l=a.cache,i=a.serialized,s=a.isStringTag;return hh(l,i,s),Bx(function(){return mh(l,i,s)}),null},_R=gh(function(t,a,l){var i=t.css;typeof i=="string"&&a.registered[i]!==void 0&&(i=a.registered[i]);var s=t[Lp],u=[i],f="";typeof t.className=="string"?f=zx(a.registered,u,t.className):t.className!=null&&(f=t.className+" ");var p=ss(u,void 0,S.useContext(Tc));f+=a.key+"-"+p.name;var m={};for(var h in t)yh.call(t,h)&&h!=="css"&&h!==Lp&&(m[h]=t[h]);return m.className=f,l&&(m.ref=l),S.createElement(S.Fragment,null,S.createElement(zR,{cache:a,serialized:p,isStringTag:typeof s=="string"}),S.createElement(s,m))}),LR=_R,Nv=function(a,l){var i=arguments;if(l==null||!yh.call(l,"css"))return S.createElement.apply(void 0,i);var s=i.length,u=new Array(s);u[0]=LR,u[1]=DR(a,l);for(var f=2;f<s;f++)u[f]=i[f];return S.createElement.apply(null,u)};(function(t){var a;a||(a=t.JSX||(t.JSX={}))})(Nv||(Nv={}));var BR=gh(function(t,a){var l=t.styles,i=ss([l],void 0,S.useContext(Tc)),s=S.useRef();return Ov(function(){var u=a.key+"-global",f=new a.sheet.constructor({key:u,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),p=!1,m=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return a.sheet.tags.length&&(f.before=a.sheet.tags[0]),m!==null&&(p=!0,m.setAttribute("data-emotion",u),f.hydrate([m])),s.current=[f,p],function(){f.flush()}},[a]),Ov(function(){var u=s.current,f=u[0],p=u[1];if(p){u[1]=!1;return}if(i.next!==void 0&&mh(a,i.next,!0),f.tags.length){var m=f.tags[f.tags.length-1].nextElementSibling;f.before=m,f.flush()}a.insert("",i,f,!1)},[a,i.name]),null});function vh(){for(var t=arguments.length,a=new Array(t),l=0;l<t;l++)a[l]=arguments[l];return ss(a)}function us(){var t=vh.apply(void 0,arguments),a="animation-"+t.name;return{name:a,styles:"@keyframes "+a+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var UR=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,kR=jx(function(t){return UR.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),HR=kR,$R=function(a){return a!=="theme"},Mv=function(a){return typeof a=="string"&&a.charCodeAt(0)>96?HR:$R},jv=function(a,l,i){var s;if(l){var u=l.shouldForwardProp;s=a.__emotion_forwardProp&&u?function(f){return a.__emotion_forwardProp(f)&&u(f)}:u}return typeof s!="function"&&i&&(s=a.__emotion_forwardProp),s},PR=function(a){var l=a.cache,i=a.serialized,s=a.isStringTag;return hh(l,i,s),Bx(function(){return mh(l,i,s)}),null},qR=function t(a,l){var i=a.__emotion_real===a,s=i&&a.__emotion_base||a,u,f;l!==void 0&&(u=l.label,f=l.target);var p=jv(a,l,i),m=p||Mv(s),h=!m("as");return function(){var y=arguments,v=i&&a.__emotion_styles!==void 0?a.__emotion_styles.slice(0):[];if(u!==void 0&&v.push("label:"+u+";"),y[0]==null||y[0].raw===void 0)v.push.apply(v,y);else{var C=y[0];v.push(C[0]);for(var E=y.length,b=1;b<E;b++)v.push(y[b],C[b])}var w=gh(function(R,j,L){var M=h&&R.as||s,_="",N=[],B=R;if(R.theme==null){B={};for(var O in R)B[O]=R[O];B.theme=S.useContext(Tc)}typeof R.className=="string"?_=zx(j.registered,N,R.className):R.className!=null&&(_=R.className+" ");var Q=ss(v.concat(N),j.registered,B);_+=j.key+"-"+Q.name,f!==void 0&&(_+=" "+f);var oe=h&&p===void 0?Mv(M):m,re={};for(var ce in R)h&&ce==="as"||oe(ce)&&(re[ce]=R[ce]);return re.className=_,L&&(re.ref=L),S.createElement(S.Fragment,null,S.createElement(PR,{cache:j,serialized:Q,isStringTag:typeof M=="string"}),S.createElement(M,re))});return w.displayName=u!==void 0?u:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",w.defaultProps=a.defaultProps,w.__emotion_real=w,w.__emotion_base=s,w.__emotion_styles=v,w.__emotion_forwardProp=p,Object.defineProperty(w,"toString",{value:function(){return"."+f}}),w.withComponent=function(R,j){var L=t(R,Qu({},l,j,{shouldForwardProp:jv(w,j,!0)}));return L.apply(void 0,v)},w}},FR=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Bp=qR.bind(null);FR.forEach(function(t){Bp[t]=Bp(t)});function VR(t){return t==null||Object.keys(t).length===0}function YR(t){const{styles:a,defaultTheme:l={}}=t,i=typeof a=="function"?s=>a(VR(s)?l:s):a;return x.jsx(BR,{styles:i})}function kx(t,a){return Bp(t,a)}function GR(t,a){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=a(t.__emotion_styles))}const Dv=[];function Fr(t){return Dv[0]=t,ss(Dv)}var hp={exports:{}},vt={};var zv;function XR(){if(zv)return vt;zv=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),C=Symbol.for("react.view_transition"),E=Symbol.for("react.client.reference");function b(w){if(typeof w=="object"&&w!==null){var R=w.$$typeof;switch(R){case t:switch(w=w.type,w){case l:case s:case i:case m:case h:case C:return w;default:switch(w=w&&w.$$typeof,w){case f:case p:case v:case y:return w;case u:return w;default:return R}}case a:return R}}}return vt.ContextConsumer=u,vt.ContextProvider=f,vt.Element=t,vt.ForwardRef=p,vt.Fragment=l,vt.Lazy=v,vt.Memo=y,vt.Portal=a,vt.Profiler=s,vt.StrictMode=i,vt.Suspense=m,vt.SuspenseList=h,vt.isContextConsumer=function(w){return b(w)===u},vt.isContextProvider=function(w){return b(w)===f},vt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},vt.isForwardRef=function(w){return b(w)===p},vt.isFragment=function(w){return b(w)===l},vt.isLazy=function(w){return b(w)===v},vt.isMemo=function(w){return b(w)===y},vt.isPortal=function(w){return b(w)===a},vt.isProfiler=function(w){return b(w)===s},vt.isStrictMode=function(w){return b(w)===i},vt.isSuspense=function(w){return b(w)===m},vt.isSuspenseList=function(w){return b(w)===h},vt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===l||w===s||w===i||w===m||w===h||typeof w=="object"&&w!==null&&(w.$$typeof===v||w.$$typeof===y||w.$$typeof===f||w.$$typeof===u||w.$$typeof===p||w.$$typeof===E||w.getModuleId!==void 0)},vt.typeOf=b,vt}var _v;function KR(){return _v||(_v=1,hp.exports=XR()),hp.exports}var Hx=KR();function Ua(t){if(typeof t!="object"||t===null)return!1;const a=Object.getPrototypeOf(t);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function $x(t){if(S.isValidElement(t)||Hx.isValidElementType(t)||!Ua(t))return t;const a={};return Object.keys(t).forEach(l=>{a[l]=$x(t[l])}),a}function bn(t,a,l={clone:!0}){const i=l.clone?{...t}:t;return Ua(t)&&Ua(a)&&Object.keys(a).forEach(s=>{S.isValidElement(a[s])||Hx.isValidElementType(a[s])?i[s]=a[s]:Ua(a[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Ua(t[s])?i[s]=bn(t[s],a[s],l):l.clone?i[s]=Ua(a[s])?$x(a[s]):a[s]:i[s]=a[s]}),i}const IR=t=>{const a=Object.keys(t).map(l=>({key:l,val:t[l]}))||[];return a.sort((l,i)=>l.val-i.val),a.reduce((l,i)=>({...l,[i.key]:i.val}),{})};function QR(t){const{values:a={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:l="px",step:i=5,...s}=t,u=IR(a),f=Object.keys(u);function p(C){return`@media (min-width:${typeof a[C]=="number"?a[C]:C}${l})`}function m(C){return`@media (max-width:${(typeof a[C]=="number"?a[C]:C)-i/100}${l})`}function h(C,E){const b=f.indexOf(E);return`@media (min-width:${typeof a[C]=="number"?a[C]:C}${l}) and (max-width:${(b!==-1&&typeof a[f[b]]=="number"?a[f[b]]:E)-i/100}${l})`}function y(C){return f.indexOf(C)+1<f.length?h(C,f[f.indexOf(C)+1]):p(C)}function v(C){const E=f.indexOf(C);return E===0?p(f[1]):E===f.length-1?m(f[E]):h(C,f[f.indexOf(C)+1]).replace("@media","@media not all and")}return{keys:f,values:u,up:p,down:m,between:h,only:y,not:v,unit:l,...s}}function Lv(t,a){if(!t.containerQueries)return a;const l=Object.keys(a).filter(i=>i.startsWith("@container")).sort((i,s)=>{const u=/min-width:\s*([0-9.]+)/;return+(i.match(u)?.[1]||0)-+(s.match(u)?.[1]||0)});return l.length?l.reduce((i,s)=>{const u=a[s];return delete i[s],i[s]=u,i},{...a}):a}function ZR(t,a){return a==="@"||a.startsWith("@")&&(t.some(l=>a.startsWith(`@${l}`))||!!a.match(/^@\d/))}function WR(t,a){const l=a.match(/^@([^/]+)?\/?(.+)?$/);if(!l)return null;const[,i,s]=l,u=Number.isNaN(+i)?i||0:+i;return t.containerQueries(s).up(u)}function JR(t){const a=(u,f)=>u.replace("@media",f?`@container ${f}`:"@container");function l(u,f){u.up=(...p)=>a(t.breakpoints.up(...p),f),u.down=(...p)=>a(t.breakpoints.down(...p),f),u.between=(...p)=>a(t.breakpoints.between(...p),f),u.only=(...p)=>a(t.breakpoints.only(...p),f),u.not=(...p)=>{const m=a(t.breakpoints.not(...p),f);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const i={},s=u=>(l(i,u),i);return l(s),{...t,containerQueries:s}}const eA={borderRadius:4};function Fo(t,a){return a?bn(t,a,{clone:!1}):t}const Rc={xs:0,sm:600,md:900,lg:1200,xl:1536},Bv={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Rc[t]}px)`},tA={containerQueries:t=>({up:a=>{let l=typeof a=="number"?a:Rc[a]||a;return typeof l=="number"&&(l=`${l}px`),t?`@container ${t} (min-width:${l})`:`@container (min-width:${l})`}})};function fr(t,a,l){const i=t.theme||{};if(Array.isArray(a)){const u=i.breakpoints||Bv;return a.reduce((f,p,m)=>(f[u.up(u.keys[m])]=l(a[m]),f),{})}if(typeof a=="object"){const u=i.breakpoints||Bv;return Object.keys(a).reduce((f,p)=>{if(ZR(u.keys,p)){const m=WR(i.containerQueries?i:tA,p);m&&(f[m]=l(a[p],p))}else if(Object.keys(u.values||Rc).includes(p)){const m=u.up(p);f[m]=l(a[p],p)}else{const m=p;f[m]=a[m]}return f},{})}return l(a)}function nA(t={}){return t.keys?.reduce((l,i)=>{const s=t.up(i);return l[s]={},l},{})||{}}function Uv(t,a){return t.reduce((l,i)=>{const s=l[i];return(!s||Object.keys(s).length===0)&&delete l[i],l},a)}function _e(t){if(typeof t!="string")throw new Error(cr(7));return t.charAt(0).toUpperCase()+t.slice(1)}function Ac(t,a,l=!0){if(!a||typeof a!="string")return null;if(t&&t.vars&&l){const i=`vars.${a}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,t);if(i!=null)return i}return a.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function Wu(t,a,l,i=l){let s;return typeof t=="function"?s=t(l):Array.isArray(t)?s=t[l]||i:s=Ac(t,l)||i,a&&(s=a(s,i,t)),s}function Xt(t){const{prop:a,cssProperty:l=t.prop,themeKey:i,transform:s}=t,u=f=>{if(f[a]==null)return null;const p=f[a],m=f.theme,h=Ac(m,i)||{};return fr(f,p,v=>{let C=Wu(h,s,v);return v===C&&typeof v=="string"&&(C=Wu(h,s,`${a}${v==="default"?"":_e(v)}`,v)),l===!1?C:{[l]:C}})};return u.propTypes={},u.filterProps=[a],u}function aA(t){const a={};return l=>(a[l]===void 0&&(a[l]=t(l)),a[l])}const rA={m:"margin",p:"padding"},lA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},iA=aA(t=>{if(t.length>2)if(kv[t])t=kv[t];else return[t];const[a,l]=t.split(""),i=rA[a],s=lA[l]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),bh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...bh,...xh];function cs(t,a,l,i){const s=Ac(t,a,!0)??l;return typeof s=="number"||typeof s=="string"?u=>typeof u=="string"?u:typeof s=="string"?s.startsWith("var(")&&u===0?0:s.startsWith("var(")&&u===1?s:`calc(${u} * ${s})`:s*u:Array.isArray(s)?u=>{if(typeof u=="string")return u;const f=Math.abs(u),p=s[f];return u>=0?p:typeof p=="number"?-p:typeof p=="string"&&p.startsWith("var(")?`calc(-1 * ${p})`:`-${p}`}:typeof s=="function"?s:()=>{}}function Sh(t){return cs(t,"spacing",8)}function fs(t,a){return typeof a=="string"||a==null?a:t(a)}function oA(t,a){return l=>t.reduce((i,s)=>(i[s]=fs(a,l),i),{})}function sA(t,a,l,i){if(!a.includes(l))return null;const s=iA(l),u=oA(s,i),f=t[l];return fr(t,f,u)}function Px(t,a){const l=Sh(t.theme);return Object.keys(t).map(i=>sA(t,a,i,l)).reduce(Fo,{})}function Ut(t){return Px(t,bh)}Ut.propTypes={};Ut.filterProps=bh;function kt(t){return Px(t,xh)}kt.propTypes={};kt.filterProps=xh;function qx(t=8,a=Sh({spacing:t})){if(t.mui)return t;const l=(...i)=>(i.length===0?[1]:i).map(u=>{const f=a(u);return typeof f=="number"?`${f}px`:f}).join(" ");return l.mui=!0,l}function Oc(...t){const a=t.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),l=i=>Object.keys(i).reduce((s,u)=>a[u]?Fo(s,a[u](i)):s,{});return l.propTypes={},l.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),l}function sa(t){return typeof t!="number"?t:`${t}px solid`}function da(t,a){return Xt({prop:t,themeKey:"borders",transform:a})}const uA=da("border",sa),cA=da("borderTop",sa),fA=da("borderRight",sa),dA=da("borderBottom",sa),pA=da("borderLeft",sa),hA=da("borderColor"),mA=da("borderTopColor"),gA=da("borderRightColor"),yA=da("borderBottomColor"),vA=da("borderLeftColor"),bA=da("outline",sa),xA=da("outlineColor"),Nc=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const a=cs(t.theme,"shape.borderRadius",4),l=i=>({borderRadius:fs(a,i)});return fr(t,t.borderRadius,l)}return null};Nc.propTypes={};Nc.filterProps=["borderRadius"];Oc(uA,cA,fA,dA,pA,hA,mA,gA,yA,vA,Nc,bA,xA);const Mc=t=>{if(t.gap!==void 0&&t.gap!==null){const a=cs(t.theme,"spacing",8),l=i=>({gap:fs(a,i)});return fr(t,t.gap,l)}return null};Mc.propTypes={};Mc.filterProps=["gap"];const jc=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const a=cs(t.theme,"spacing",8),l=i=>({columnGap:fs(a,i)});return fr(t,t.columnGap,l)}return null};jc.propTypes={};jc.filterProps=["columnGap"];const Dc=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const a=cs(t.theme,"spacing",8),l=i=>({rowGap:fs(a,i)});return fr(t,t.rowGap,l)}return null};Dc.propTypes={};Dc.filterProps=["rowGap"];const SA=Xt({prop:"gridColumn"}),EA=Xt({prop:"gridRow"}),wA=Xt({prop:"gridAutoFlow"}),CA=Xt({prop:"gridAutoColumns"}),TA=Xt({prop:"gridAutoRows"}),RA=Xt({prop:"gridTemplateColumns"}),AA=Xt({prop:"gridTemplateRows"}),OA=Xt({prop:"gridTemplateAreas"}),NA=Xt({prop:"gridArea"});Oc(Mc,jc,Dc,SA,EA,wA,CA,TA,RA,AA,OA,NA);function Ri(t,a){return a==="grey"?a:t}const MA=Xt({prop:"color",themeKey:"palette",transform:Ri}),jA=Xt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ri}),DA=Xt({prop:"backgroundColor",themeKey:"palette",transform:Ri});Oc(MA,jA,DA);function Xn(t){return t<=1&&t!==0?`${t*100}%`:t}const zA=Xt({prop:"width",transform:Xn}),Eh=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const a=l=>{const i=t.theme?.breakpoints?.values?.[l]||Rc[l];return i?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Xn(l)}};return fr(t,t.maxWidth,a)}return null};Eh.filterProps=["maxWidth"];const _A=Xt({prop:"minWidth",transform:Xn}),LA=Xt({prop:"height",transform:Xn}),BA=Xt({prop:"maxHeight",transform:Xn}),UA=Xt({prop:"minHeight",transform:Xn});Xt({prop:"size",cssProperty:"width",transform:Xn});Xt({prop:"size",cssProperty:"height",transform:Xn});const kA=Xt({prop:"boxSizing"});Oc(zA,Eh,_A,LA,BA,UA,kA);const ds={border:{themeKey:"borders",transform:sa},borderTop:{themeKey:"borders",transform:sa},borderRight:{themeKey:"borders",transform:sa},borderBottom:{themeKey:"borders",transform:sa},borderLeft:{themeKey:"borders",transform:sa},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:sa},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Nc},color:{themeKey:"palette",transform:Ri},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ri},backgroundColor:{themeKey:"palette",transform:Ri},p:{style:kt},pt:{style:kt},pr:{style:kt},pb:{style:kt},pl:{style:kt},px:{style:kt},py:{style:kt},padding:{style:kt},paddingTop:{style:kt},paddingRight:{style:kt},paddingBottom:{style:kt},paddingLeft:{style:kt},paddingX:{style:kt},paddingY:{style:kt},paddingInline:{style:kt},paddingInlineStart:{style:kt},paddingInlineEnd:{style:kt},paddingBlock:{style:kt},paddingBlockStart:{style:kt},paddingBlockEnd:{style:kt},m:{style:Ut},mt:{style:Ut},mr:{style:Ut},mb:{style:Ut},ml:{style:Ut},mx:{style:Ut},my:{style:Ut},margin:{style:Ut},marginTop:{style:Ut},marginRight:{style:Ut},marginBottom:{style:Ut},marginLeft:{style:Ut},marginX:{style:Ut},marginY:{style:Ut},marginInline:{style:Ut},marginInlineStart:{style:Ut},marginInlineEnd:{style:Ut},marginBlock:{style:Ut},marginBlockStart:{style:Ut},marginBlockEnd:{style:Ut},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Mc},rowGap:{style:Dc},columnGap:{style:jc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xn},maxWidth:{style:Eh},minWidth:{transform:Xn},height:{transform:Xn},maxHeight:{transform:Xn},minHeight:{transform:Xn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function HA(...t){const a=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),l=new Set(a);return t.every(i=>l.size===Object.keys(i).length)}function $A(t,a){return typeof t=="function"?t(a):t}function PA(){function t(l,i,s,u){const f={[l]:i,theme:s},p=u[l];if(!p)return{[l]:i};const{cssProperty:m=l,themeKey:h,transform:y,style:v}=p;if(i==null)return null;if(h==="typography"&&i==="inherit")return{[l]:i};const C=Ac(s,h)||{};return v?v(f):fr(f,i,b=>{let w=Wu(C,y,b);return b===w&&typeof b=="string"&&(w=Wu(C,y,`${l}${b==="default"?"":_e(b)}`,b)),m===!1?w:{[m]:w}})}function a(l){const{sx:i,theme:s={},nested:u}=l||{};if(!i)return null;const f=s.unstable_sxConfig??ds;function p(m){let h=m;if(typeof m=="function")h=m(s);else if(typeof m!="object")return m;if(!h)return null;const y=nA(s.breakpoints),v=Object.keys(y);let C=y;return Object.keys(h).forEach(E=>{const b=$A(h[E],s);if(b!=null)if(typeof b=="object")if(f[E])C=Fo(C,t(E,b,s,f));else{const w=fr({theme:s},b,R=>({[E]:R}));HA(w,b)?C[E]=a({sx:b,theme:s,nested:!0}):C=Fo(C,w)}else C=Fo(C,t(E,b,s,f))}),!u&&s.modularCssLayers?{"@layer sx":Lv(s,Uv(v,C))}:Lv(s,Uv(v,C))}return Array.isArray(i)?i.map(p):p(i)}return a}const Rl=PA();Rl.filterProps=["sx"];function qA(t,a){const l=this;if(l.vars){if(!l.colorSchemes?.[t]||typeof l.getColorSchemeSelector!="function")return{};let i=l.getColorSchemeSelector(t);return i==="&"?a:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:a})}return l.palette.mode===t?a:{}}function wh(t={},...a){const{breakpoints:l={},palette:i={},spacing:s,shape:u={},...f}=t,p=QR(l),m=qx(s);let h=bn({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:m,shape:{...eA,...u}},f);return h=JR(h),h.applyStyles=qA,h=a.reduce((y,v)=>bn(y,v),h),h.unstable_sxConfig={...ds,...f?.unstable_sxConfig},h.unstable_sx=function(v){return Rl({sx:v,theme:this})},h}function FA(t){return Object.keys(t).length===0}function VA(t=null){const a=S.useContext(Tc);return!a||FA(a)?t:a}const YA=wh();function Ch(t=YA){return VA(t)}function mp(t){const a=Fr(t);return t!==a&&a.styles?(a.styles.match(/^@layer\s+[^{]*$/)||(a.styles=`@layer global{${a.styles}}`),a):t}function GA({styles:t,themeId:a,defaultTheme:l={}}){const i=Ch(l),s=a&&i[a]||i;let u=typeof t=="function"?t(s):t;return s.modularCssLayers&&(Array.isArray(u)?u=u.map(f=>mp(typeof f=="function"?f(s):f)):u=mp(u)),x.jsx(YR,{styles:u})}const XA=t=>{const a={systemProps:{},otherProps:{}},l=t?.theme?.unstable_sxConfig??ds;return Object.keys(t).forEach(i=>{l[i]?a.systemProps[i]=t[i]:a.otherProps[i]=t[i]}),a};function Fx(t){const{sx:a,...l}=t,{systemProps:i,otherProps:s}=XA(l);let u;return Array.isArray(a)?u=[i,...a]:typeof a=="function"?u=(...f)=>{const p=a(...f);return Ua(p)?{...i,...p}:i}:u={...i,...a},{...s,sx:u}}const Hv=t=>t,KA=()=>{let t=Hv;return{configure(a){t=a},generate(a){return t(a)},reset(){t=Hv}}},Vx=KA();function Yx(t){var a,l,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(a=0;a<s;a++)t[a]&&(l=Yx(t[a]))&&(i&&(i+=" "),i+=l)}else for(l in t)t[l]&&(i&&(i+=" "),i+=l);return i}function Le(){for(var t,a,l=0,i="",s=arguments.length;l<s;l++)(t=arguments[l])&&(a=Yx(t))&&(i&&(i+=" "),i+=a);return i}function IA(t={}){const{themeId:a,defaultTheme:l,defaultClassName:i="MuiBox-root",generateClassName:s}=t,u=kx("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(Rl);return S.forwardRef(function(m,h){const y=Ch(l),{className:v,component:C="div",...E}=Fx(m);return x.jsx(u,{as:C,ref:h,className:Le(v,s?s(i):i),theme:a&&y[a]||y,...E})})}const QA={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function bt(t,a,l="Mui"){const i=QA[a];return i?`${l}-${i}`:`${Vx.generate(t)}-${a}`}function at(t,a,l="Mui"){const i={};return a.forEach(s=>{i[s]=bt(t,s,l)}),i}function Gx(t){const{variants:a,...l}=t,i={variants:a,style:Fr(l),isProcessed:!0};return i.style===l||a&&a.forEach(s=>{typeof s.style!="function"&&(s.style=Fr(s.style))}),i}const ZA=wh();function gp(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function xl(t,a){return a&&t&&typeof t=="object"&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${a}{${String(t.styles)}}`),t}function WA(t){return t?(a,l)=>l[t]:null}function JA(t,a,l){t.theme=nO(t.theme)?l:t.theme[a]||t.theme}function Vu(t,a,l){const i=typeof a=="function"?a(t):a;if(Array.isArray(i))return i.flatMap(s=>Vu(t,s,l));if(Array.isArray(i?.variants)){let s;if(i.isProcessed)s=l?xl(i.style,l):i.style;else{const{variants:u,...f}=i;s=l?xl(Fr(f),l):f}return Xx(t,i.variants,[s],l)}return i?.isProcessed?l?xl(Fr(i.style),l):i.style:l?xl(Fr(i),l):i}function Xx(t,a,l=[],i=void 0){let s;e:for(let u=0;u<a.length;u+=1){const f=a[u];if(typeof f.props=="function"){if(s??={...t,...t.ownerState,ownerState:t.ownerState},!f.props(s))continue}else for(const p in f.props)if(t[p]!==f.props[p]&&t.ownerState?.[p]!==f.props[p])continue e;typeof f.style=="function"?(s??={...t,...t.ownerState,ownerState:t.ownerState},l.push(i?xl(Fr(f.style(s)),i):f.style(s))):l.push(i?xl(Fr(f.style),i):f.style)}return l}function eO(t={}){const{themeId:a,defaultTheme:l=ZA,rootShouldForwardProp:i=gp,slotShouldForwardProp:s=gp}=t;function u(p){JA(p,a,l)}return(p,m={})=>{GR(p,B=>B.filter(O=>O!==Rl));const{name:h,slot:y,skipVariantsResolver:v,skipSx:C,overridesResolver:E=WA(rO(y)),...b}=m,w=h&&h.startsWith("Mui")||y?"components":"custom",R=v!==void 0?v:y&&y!=="Root"&&y!=="root"||!1,j=C||!1;let L=gp;y==="Root"||y==="root"?L=i:y?L=s:aO(p)&&(L=void 0);const M=kx(p,{shouldForwardProp:L,label:tO(),...b}),_=B=>{if(B.__emotion_real===B)return B;if(typeof B=="function")return function(Q){return Vu(Q,B,Q.theme.modularCssLayers?w:void 0)};if(Ua(B)){const O=Gx(B);return function(oe){return O.variants?Vu(oe,O,oe.theme.modularCssLayers?w:void 0):oe.theme.modularCssLayers?xl(O.style,w):O.style}}return B},N=(...B)=>{const O=[],Q=B.map(_),oe=[];if(O.push(u),h&&E&&oe.push(function(ee){const Y=ee.theme.components?.[h]?.styleOverrides;if(!Y)return null;const D={};for(const F in Y)D[F]=Vu(ee,Y[F],ee.theme.modularCssLayers?"theme":void 0);return E(ee,D)}),h&&!R&&oe.push(function(ee){const Y=ee.theme?.components?.[h]?.variants;return Y?Xx(ee,Y,[],ee.theme.modularCssLayers?"theme":void 0):null}),j||oe.push(Rl),Array.isArray(Q[0])){const A=Q.shift(),ee=new Array(O.length).fill(""),P=new Array(oe.length).fill("");let Y;Y=[...ee,...A,...P],Y.raw=[...ee,...A.raw,...P],O.unshift(Y)}const re=[...O,...Q,...oe],ce=M(...re);return p.muiName&&(ce.muiName=p.muiName),ce};return M.withConfig&&(N.withConfig=M.withConfig),N}}function tO(t,a){return void 0}function nO(t){for(const a in t)return!1;return!0}function aO(t){return typeof t=="string"&&t.charCodeAt(0)>96}function rO(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function Ju(t,a,l=!1){const i={...a};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const u=s;if(u==="components"||u==="slots")i[u]={...t[u],...i[u]};else if(u==="componentsProps"||u==="slotProps"){const f=t[u],p=a[u];if(!p)i[u]=f||{};else if(!f)i[u]=p;else{i[u]={...p};for(const m in f)if(Object.prototype.hasOwnProperty.call(f,m)){const h=m;i[u][h]=Ju(f[h],p[h],l)}}}else u==="className"&&l&&a.className?i.className=Le(t?.className,a?.className):u==="style"&&l&&a.style?i.style={...t?.style,...a?.style}:i[u]===void 0&&(i[u]=t[u])}return i}const Vr=typeof window<"u"?S.useLayoutEffect:S.useEffect;function lO(t,a=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(t,l))}function Th(t,a=0,l=1){return lO(t,a,l)}function iO(t){t=t.slice(1);const a=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let l=t.match(a);return l&&l[0].length===1&&(l=l.map(i=>i+i)),l?`rgb${l.length===4?"a":""}(${l.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Yr(t){if(t.type)return t;if(t.charAt(0)==="#")return Yr(iO(t));const a=t.indexOf("("),l=t.substring(0,a);if(!["rgb","rgba","hsl","hsla","color"].includes(l))throw new Error(cr(9,t));let i=t.substring(a+1,t.length-1),s;if(l==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(cr(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:l,values:i,colorSpace:s}}const oO=t=>{const a=Yr(t);return a.values.slice(0,3).map((l,i)=>a.type.includes("hsl")&&i!==0?`${l}%`:l).join(" ")},$o=(t,a)=>{try{return oO(t)}catch{return t}};function zc(t){const{type:a,colorSpace:l}=t;let{values:i}=t;return a.includes("rgb")?i=i.map((s,u)=>u<3?parseInt(s,10):s):a.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),a.includes("color")?i=`${l} ${i.join(" ")}`:i=`${i.join(", ")}`,`${a}(${i})`}function Kx(t){t=Yr(t);const{values:a}=t,l=a[0],i=a[1]/100,s=a[2]/100,u=i*Math.min(s,1-s),f=(h,y=(h+l/30)%12)=>s-u*Math.max(Math.min(y-3,9-y,1),-1);let p="rgb";const m=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return t.type==="hsla"&&(p+="a",m.push(a[3])),zc({type:p,values:m})}function Up(t){t=Yr(t);let a=t.type==="hsl"||t.type==="hsla"?Yr(Kx(t)).values:t.values;return a=a.map(l=>(t.type!=="color"&&(l/=255),l<=.03928?l/12.92:((l+.055)/1.055)**2.4)),Number((.2126*a[0]+.7152*a[1]+.0722*a[2]).toFixed(3))}function sO(t,a){const l=Up(t),i=Up(a);return(Math.max(l,i)+.05)/(Math.min(l,i)+.05)}function ec(t,a){return t=Yr(t),a=Th(a),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${a}`:t.values[3]=a,zc(t)}function pl(t,a,l){try{return ec(t,a)}catch{return t}}function _c(t,a){if(t=Yr(t),a=Th(a),t.type.includes("hsl"))t.values[2]*=1-a;else if(t.type.includes("rgb")||t.type.includes("color"))for(let l=0;l<3;l+=1)t.values[l]*=1-a;return zc(t)}function pt(t,a,l){try{return _c(t,a)}catch{return t}}function Lc(t,a){if(t=Yr(t),a=Th(a),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*a;else if(t.type.includes("rgb"))for(let l=0;l<3;l+=1)t.values[l]+=(255-t.values[l])*a;else if(t.type.includes("color"))for(let l=0;l<3;l+=1)t.values[l]+=(1-t.values[l])*a;return zc(t)}function ht(t,a,l){try{return Lc(t,a)}catch{return t}}function uO(t,a=.15){return Up(t)>.5?_c(t,a):Lc(t,a)}function Mu(t,a,l){try{return uO(t,a)}catch{return t}}const cO=S.createContext(),fO=()=>S.useContext(cO)??!1,dO=S.createContext(void 0);function pO(t){const{theme:a,name:l,props:i}=t;if(!a||!a.components||!a.components[l])return i;const s=a.components[l];return s.defaultProps?Ju(s.defaultProps,i,a.components.mergeClassNameAndStyle):!s.styleOverrides&&!s.variants?Ju(s,i,a.components.mergeClassNameAndStyle):i}function hO({props:t,name:a}){const l=S.useContext(dO);return pO({props:t,name:a,theme:{components:l}})}let $v=0;function mO(t){const[a,l]=S.useState(t),i=t||a;return S.useEffect(()=>{a==null&&($v+=1,l(`mui-${$v}`))},[a]),i}const gO={...Cp},Pv=gO.useId;function Bc(t){if(Pv!==void 0){const a=Pv();return t??a}return mO(t)}const qv={theme:void 0};function yO(t){let a,l;return function(s){let u=a;return(u===void 0||s.theme!==l)&&(qv.theme=s.theme,u=Gx(t(qv)),a=u,l=s.theme),u}}function vO(t=""){function a(...i){if(!i.length)return"";const s=i[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${s}${a(...i.slice(1))})`:`, ${s}`}return(i,...s)=>`var(--${t?`${t}-`:""}${i}${a(...s)})`}const Fv=(t,a,l,i=[])=>{let s=t;a.forEach((u,f)=>{f===a.length-1?Array.isArray(s)?s[Number(u)]=l:s&&typeof s=="object"&&(s[u]=l):s&&typeof s=="object"&&(s[u]||(s[u]=i.includes(u)?[]:{}),s=s[u])})},bO=(t,a,l)=>{function i(s,u=[],f=[]){Object.entries(s).forEach(([p,m])=>{(!l||l&&!l([...u,p]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?i(m,[...u,p],Array.isArray(m)?[...f,p]:f):a([...u,p],m,f))})}i(t)},xO=(t,a)=>typeof a=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>t.includes(i))||t[t.length-1].toLowerCase().includes("opacity")?a:`${a}px`:a;function yp(t,a){const{prefix:l,shouldSkipGeneratingVar:i}=a||{},s={},u={},f={};return bO(t,(p,m,h)=>{if((typeof m=="string"||typeof m=="number")&&(!i||!i(p,m))){const y=`--${l?`${l}-`:""}${p.join("-")}`,v=xO(p,m);Object.assign(s,{[y]:v}),Fv(u,p,`var(${y})`,h),Fv(f,p,`var(${y}, ${v})`,h)}},p=>p[0]==="vars"),{css:s,vars:u,varsWithDefaults:f}}function SO(t,a={}){const{getSelector:l=j,disableCssColorScheme:i,colorSchemeSelector:s,enableContrastVars:u}=a,{colorSchemes:f={},components:p,defaultColorScheme:m="light",...h}=t,{vars:y,css:v,varsWithDefaults:C}=yp(h,a);let E=C;const b={},{[m]:w,...R}=f;if(Object.entries(R||{}).forEach(([_,N])=>{const{vars:B,css:O,varsWithDefaults:Q}=yp(N,a);E=bn(E,Q),b[_]={css:O,vars:B}}),w){const{css:_,vars:N,varsWithDefaults:B}=yp(w,a);E=bn(E,B),b[m]={css:_,vars:N}}function j(_,N){let B=s;if(s==="class"&&(B=".%s"),s==="data"&&(B="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(B=`[${s}="%s"]`),_){if(B==="media")return t.defaultColorScheme===_?":root":{[`@media (prefers-color-scheme: ${f[_]?.palette?.mode||_})`]:{":root":N}};if(B)return t.defaultColorScheme===_?`:root, ${B.replace("%s",String(_))}`:B.replace("%s",String(_))}return":root"}return{vars:E,generateThemeVars:()=>{let _={...y};return Object.entries(b).forEach(([,{vars:N}])=>{_=bn(_,N)}),_},generateStyleSheets:()=>{const _=[],N=t.defaultColorScheme||"light";function B(oe,re){Object.keys(re).length&&_.push(typeof oe=="string"?{[oe]:{...re}}:oe)}B(l(void 0,{...v}),v);const{[N]:O,...Q}=b;if(O){const{css:oe}=O,re=f[N]?.palette?.mode,ce=!i&&re?{colorScheme:re,...oe}:{...oe};B(l(N,{...ce}),ce)}return Object.entries(Q).forEach(([oe,{css:re}])=>{const ce=f[oe]?.palette?.mode,A=!i&&ce?{colorScheme:ce,...re}:{...re};B(l(oe,{...A}),A)}),u&&_.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),_}}}function EO(t){return function(l){return t==="media"?`@media (prefers-color-scheme: ${l})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${l}"] &`:t==="class"?`.${l} &`:t==="data"?`[data-${l}] &`:`${t.replace("%s",l)} &`:"&"}}function xt(t,a,l=void 0){const i={};for(const s in t){const u=t[s];let f="",p=!0;for(let m=0;m<u.length;m+=1){const h=u[m];h&&(f+=(p===!0?"":" ")+a(h),p=!1,l&&l[h]&&(f+=" "+l[h]))}i[s]=f}return i}function vp(t,a){return S.isValidElement(t)&&a.indexOf(t.type.muiName??t.type?._payload?.value?.muiName)!==-1}function Ix(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Io.white,default:Io.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Qx=Ix();function Zx(){return{text:{primary:Io.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Io.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const kp=Zx();function Vv(t,a,l,i){const s=i.light||i,u=i.dark||i*1.5;t[a]||(t.hasOwnProperty(l)?t[a]=t[l]:a==="light"?t.light=Lc(t.main,s):a==="dark"&&(t.dark=_c(t.main,u)))}function Yv(t,a,l,i,s){const u=s.light||s,f=s.dark||s*1.5;a[l]||(a.hasOwnProperty(i)?a[l]=a[i]:l==="light"?a.light=`color-mix(in ${t}, ${a.main}, #fff ${(u*100).toFixed(0)}%)`:l==="dark"&&(a.dark=`color-mix(in ${t}, ${a.main}, #000 ${(f*100).toFixed(0)}%)`))}function wO(t="light"){return t==="dark"?{main:yi[200],light:yi[50],dark:yi[400]}:{main:yi[700],light:yi[400],dark:yi[800]}}function CO(t="light"){return t==="dark"?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[500],light:gi[300],dark:gi[700]}}function TO(t="light"){return t==="dark"?{main:mi[500],light:mi[300],dark:mi[700]}:{main:mi[700],light:mi[400],dark:mi[800]}}function RO(t="light"){return t==="dark"?{main:vi[400],light:vi[300],dark:vi[700]}:{main:vi[700],light:vi[500],dark:vi[900]}}function AO(t="light"){return t==="dark"?{main:bi[400],light:bi[300],dark:bi[700]}:{main:bi[800],light:bi[500],dark:bi[900]}}function OO(t="light"){return t==="dark"?{main:Do[400],light:Do[300],dark:Do[700]}:{main:"#ed6c02",light:Do[500],dark:Do[900]}}function NO(t){return`oklch(from ${t} var(--__l) 0 h / var(--__a))`}function Rh(t){const{mode:a="light",contrastThreshold:l=3,tonalOffset:i=.2,colorSpace:s,...u}=t,f=t.primary||wO(a),p=t.secondary||CO(a),m=t.error||TO(a),h=t.info||RO(a),y=t.success||AO(a),v=t.warning||OO(a);function C(R){return s?NO(R):sO(R,kp.text.primary)>=l?kp.text.primary:Qx.text.primary}const E=({color:R,name:j,mainShade:L=500,lightShade:M=300,darkShade:_=700})=>{if(R={...R},!R.main&&R[L]&&(R.main=R[L]),!R.hasOwnProperty("main"))throw new Error(cr(11,j?` (${j})`:"",L));if(typeof R.main!="string")throw new Error(cr(12,j?` (${j})`:"",JSON.stringify(R.main)));return s?(Yv(s,R,"light",M,i),Yv(s,R,"dark",_,i)):(Vv(R,"light",M,i),Vv(R,"dark",_,i)),R.contrastText||(R.contrastText=C(R.main)),R};let b;return a==="light"?b=Ix():a==="dark"&&(b=Zx()),bn({common:{...Io},mode:a,primary:E({color:f,name:"primary"}),secondary:E({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:E({color:m,name:"error"}),warning:E({color:v,name:"warning"}),info:E({color:h,name:"info"}),success:E({color:y,name:"success"}),grey:GT,contrastThreshold:l,getContrastText:C,augmentColor:E,tonalOffset:i,...b},u)}function MO(t){const a={};return Object.entries(t).forEach(i=>{const[s,u]=i;typeof u=="object"&&(a[s]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),a}function jO(t,a){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...a}}function DO(t){return Math.round(t*1e5)/1e5}const Gv={textTransform:"uppercase"},Xv='"Roboto", "Helvetica", "Arial", sans-serif';function zO(t,a){const{fontFamily:l=Xv,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:f=500,fontWeightBold:p=700,htmlFontSize:m=16,allVariants:h,pxToRem:y,...v}=typeof a=="function"?a(t):a,C=i/14,E=y||(R=>`${R/m*C}rem`),b=(R,j,L,M,_)=>({fontFamily:l,fontWeight:R,fontSize:E(j),lineHeight:L,...l===Xv?{letterSpacing:`${DO(M/j)}em`}:{},..._,...h}),w={h1:b(s,96,1.167,-1.5),h2:b(s,60,1.2,-.5),h3:b(u,48,1.167,0),h4:b(u,34,1.235,.25),h5:b(u,24,1.334,0),h6:b(f,20,1.6,.15),subtitle1:b(u,16,1.75,.15),subtitle2:b(f,14,1.57,.1),body1:b(u,16,1.5,.15),body2:b(u,14,1.43,.15),button:b(f,14,1.75,.4,Gv),caption:b(u,12,1.66,.4),overline:b(u,12,2.66,1,Gv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return bn({htmlFontSize:m,pxToRem:E,fontFamily:l,fontSize:i,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:p,...w},v,{clone:!1})}const _O=.2,LO=.14,BO=.12;function Dt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${_O})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${LO})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${BO})`].join(",")}const UO=["none",Dt(0,2,1,-1,0,1,1,0,0,1,3,0),Dt(0,3,1,-2,0,2,2,0,0,1,5,0),Dt(0,3,3,-2,0,3,4,0,0,1,8,0),Dt(0,2,4,-1,0,4,5,0,0,1,10,0),Dt(0,3,5,-1,0,5,8,0,0,1,14,0),Dt(0,3,5,-1,0,6,10,0,0,1,18,0),Dt(0,4,5,-2,0,7,10,1,0,2,16,1),Dt(0,5,5,-3,0,8,10,1,0,3,14,2),Dt(0,5,6,-3,0,9,12,1,0,3,16,2),Dt(0,6,6,-3,0,10,14,1,0,4,18,3),Dt(0,6,7,-4,0,11,15,1,0,4,20,3),Dt(0,7,8,-4,0,12,17,2,0,5,22,4),Dt(0,7,8,-4,0,13,19,2,0,5,24,4),Dt(0,7,9,-4,0,14,21,2,0,5,26,4),Dt(0,8,9,-5,0,15,22,2,0,6,28,5),Dt(0,8,10,-5,0,16,24,2,0,6,30,5),Dt(0,8,11,-5,0,17,26,2,0,6,32,5),Dt(0,9,11,-5,0,18,28,2,0,7,34,6),Dt(0,9,12,-6,0,19,29,2,0,7,36,6),Dt(0,10,13,-6,0,20,31,3,0,8,38,7),Dt(0,10,13,-6,0,21,33,3,0,8,40,7),Dt(0,10,14,-6,0,22,35,3,0,8,42,7),Dt(0,11,14,-7,0,23,36,3,0,9,44,8),Dt(0,11,15,-7,0,24,38,3,0,9,46,8)],kO={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},HO={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Kv(t){return`${Math.round(t)}ms`}function $O(t){if(!t)return 0;const a=t/36;return Math.min(Math.round((4+15*a**.25+a/5)*10),3e3)}function PO(t){const a={...kO,...t.easing},l={...HO,...t.duration};return{getAutoHeightDuration:$O,create:(s=["all"],u={})=>{const{duration:f=l.standard,easing:p=a.easeInOut,delay:m=0,...h}=u;return(Array.isArray(s)?s:[s]).map(y=>`${y} ${typeof f=="string"?f:Kv(f)} ${p} ${typeof m=="string"?m:Kv(m)}`).join(",")},...t,easing:a,duration:l}}const qO={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function FO(t){return Ua(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function Wx(t={}){const a={...t};function l(i){const s=Object.entries(i);for(let u=0;u<s.length;u++){const[f,p]=s[u];!FO(p)||f.startsWith("unstable_")?delete i[f]:Ua(p)&&(i[f]={...p},l(i[f]))}}return l(a),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
          
          const theme = ${JSON.stringify(a,null,2)};
          
          theme.breakpoints = createBreakpoints(theme.breakpoints || {});
          theme.transitions = createTransitions(theme.transitions || {});
          
          export default theme;`}function Iv(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const VO=t=>{if(!Number.isNaN(+t))return+t;const a=t.match(/\d*\.?\d+/g);if(!a)return 0;let l=0;for(let i=0;i<a.length;i+=1)l+=+a[i];return l};function YO(t){Object.assign(t,{alpha(a,l){const i=this||t;return i.colorSpace?`oklch(from ${a} l c h / ${typeof l=="string"?`calc(${l})`:l})`:i.vars?`rgba(${a.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof l=="string"?`calc(${l})`:l})`:ec(a,VO(l))},lighten(a,l){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${a}, #fff ${Iv(l)})`:Lc(a,l)},darken(a,l){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${a}, #000 ${Iv(l)})`:_c(a,l)}})}function Hp(t={},...a){const{breakpoints:l,mixins:i={},spacing:s,palette:u={},transitions:f={},typography:p={},shape:m,colorSpace:h,...y}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(cr(20));const v=Rh({...u,colorSpace:h}),C=wh(t);let E=bn(C,{mixins:jO(C.breakpoints,i),palette:v,shadows:UO.slice(),typography:zO(v,p),transitions:PO(f),zIndex:{...qO}});return E=bn(E,y),E=a.reduce((b,w)=>bn(b,w),E),E.unstable_sxConfig={...ds,...y?.unstable_sxConfig},E.unstable_sx=function(w){return Rl({sx:w,theme:this})},E.toRuntimeSource=Wx,YO(E),E}function $p(t){let a;return t<1?a=5.11916*t**2:a=4.5*Math.log(t+1)+2,Math.round(a*10)/1e3}const GO=[...Array(25)].map((t,a)=>{if(a===0)return"none";const l=$p(a);return`linear-gradient(rgba(255 255 255 / ${l}), rgba(255 255 255 / ${l}))`});function Jx(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function eS(t){return t==="dark"?GO:[]}function XO(t){const{palette:a={mode:"light"},opacity:l,overlays:i,colorSpace:s,...u}=t,f=Rh({...a,colorSpace:s});return{palette:f,opacity:{...Jx(f.mode),...l},overlays:i||eS(f.mode),...u}}function KO(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const IO=t=>[...[...Array(25)].map((a,l)=>`--${t?`${t}-`:""}overlays-${l}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],QO=t=>(a,l)=>{const i=t.rootSelector||":root",s=t.colorSchemeSelector;let u=s;if(s==="class"&&(u=".%s"),s==="data"&&(u="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(u=`[${s}="%s"]`),t.defaultColorScheme===a){if(a==="dark"){const f={};return IO(t.cssVarPrefix).forEach(p=>{f[p]=l[p],delete l[p]}),u==="media"?{[i]:l,"@media (prefers-color-scheme: dark)":{[i]:f}}:u?{[u.replace("%s",a)]:f,[`${i}, ${u.replace("%s",a)}`]:l}:{[i]:{...l,...f}}}if(u&&u!=="media")return`${i}, ${u.replace("%s",String(a))}`}else if(a){if(u==="media")return{[`@media (prefers-color-scheme: ${String(a)})`]:{[i]:l}};if(u)return u.replace("%s",String(a))}return i};function ZO(t,a){a.forEach(l=>{t[l]||(t[l]={})})}function ae(t,a,l){!t[a]&&l&&(t[a]=l)}function Po(t){return typeof t!="string"||!t.startsWith("hsl")?t:Kx(t)}function or(t,a){`${a}Channel`in t||(t[`${a}Channel`]=$o(Po(t[a])))}function WO(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const za=t=>{try{return t()}catch{}},JO=(t="mui")=>vO(t);function bp(t,a,l,i,s){if(!l)return;l=l===!0?{}:l;const u=s==="dark"?"dark":"light";if(!i){a[s]=XO({...l,palette:{mode:u,...l?.palette},colorSpace:t});return}const{palette:f,...p}=Hp({...i,palette:{mode:u,...l?.palette},colorSpace:t});return a[s]={...l,palette:f,opacity:{...Jx(u),...l?.opacity},overlays:l?.overlays||eS(u)},p}function eN(t={},...a){const{colorSchemes:l={light:!0},defaultColorScheme:i,disableCssColorScheme:s=!1,cssVarPrefix:u="mui",nativeColor:f=!1,shouldSkipGeneratingVar:p=KO,colorSchemeSelector:m=l.light&&l.dark?"media":void 0,rootSelector:h=":root",...y}=t,v=Object.keys(l)[0],C=i||(l.light&&v!=="light"?"light":v),E=JO(u),{[C]:b,light:w,dark:R,...j}=l,L={...j};let M=b;if((C==="dark"&&!("dark"in l)||C==="light"&&!("light"in l))&&(M=!0),!M)throw new Error(cr(21,C));let _;f&&(_="oklch");const N=bp(_,L,M,y,C);w&&!L.light&&bp(_,L,w,void 0,"light"),R&&!L.dark&&bp(_,L,R,void 0,"dark");let B={defaultColorScheme:C,...N,cssVarPrefix:u,colorSchemeSelector:m,rootSelector:h,getCssVar:E,colorSchemes:L,font:{...MO(N.typography),...N.font},spacing:WO(y.spacing)};Object.keys(B.colorSchemes).forEach(ce=>{const A=B.colorSchemes[ce].palette,ee=Y=>{const D=Y.split("-"),F=D[1],ue=D[2];return E(Y,A[F][ue])};A.mode==="light"&&(ae(A.common,"background","#fff"),ae(A.common,"onBackground","#000")),A.mode==="dark"&&(ae(A.common,"background","#000"),ae(A.common,"onBackground","#fff"));function P(Y,D,F){if(_){let ue;return Y===pl&&(ue=`transparent ${((1-F)*100).toFixed(0)}%`),Y===pt&&(ue=`#000 ${(F*100).toFixed(0)}%`),Y===ht&&(ue=`#fff ${(F*100).toFixed(0)}%`),`color-mix(in ${_}, ${D}, ${ue})`}return Y(D,F)}if(ZO(A,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),A.mode==="light"){ae(A.Alert,"errorColor",P(pt,A.error.light,.6)),ae(A.Alert,"infoColor",P(pt,A.info.light,.6)),ae(A.Alert,"successColor",P(pt,A.success.light,.6)),ae(A.Alert,"warningColor",P(pt,A.warning.light,.6)),ae(A.Alert,"errorFilledBg",ee("palette-error-main")),ae(A.Alert,"infoFilledBg",ee("palette-info-main")),ae(A.Alert,"successFilledBg",ee("palette-success-main")),ae(A.Alert,"warningFilledBg",ee("palette-warning-main")),ae(A.Alert,"errorFilledColor",za(()=>A.getContrastText(A.error.main))),ae(A.Alert,"infoFilledColor",za(()=>A.getContrastText(A.info.main))),ae(A.Alert,"successFilledColor",za(()=>A.getContrastText(A.success.main))),ae(A.Alert,"warningFilledColor",za(()=>A.getContrastText(A.warning.main))),ae(A.Alert,"errorStandardBg",P(ht,A.error.light,.9)),ae(A.Alert,"infoStandardBg",P(ht,A.info.light,.9)),ae(A.Alert,"successStandardBg",P(ht,A.success.light,.9)),ae(A.Alert,"warningStandardBg",P(ht,A.warning.light,.9)),ae(A.Alert,"errorIconColor",ee("palette-error-main")),ae(A.Alert,"infoIconColor",ee("palette-info-main")),ae(A.Alert,"successIconColor",ee("palette-success-main")),ae(A.Alert,"warningIconColor",ee("palette-warning-main")),ae(A.AppBar,"defaultBg",ee("palette-grey-100")),ae(A.Avatar,"defaultBg",ee("palette-grey-400")),ae(A.Button,"inheritContainedBg",ee("palette-grey-300")),ae(A.Button,"inheritContainedHoverBg",ee("palette-grey-A100")),ae(A.Chip,"defaultBorder",ee("palette-grey-400")),ae(A.Chip,"defaultAvatarColor",ee("palette-grey-700")),ae(A.Chip,"defaultIconColor",ee("palette-grey-700")),ae(A.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ae(A.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ae(A.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ae(A.LinearProgress,"primaryBg",P(ht,A.primary.main,.62)),ae(A.LinearProgress,"secondaryBg",P(ht,A.secondary.main,.62)),ae(A.LinearProgress,"errorBg",P(ht,A.error.main,.62)),ae(A.LinearProgress,"infoBg",P(ht,A.info.main,.62)),ae(A.LinearProgress,"successBg",P(ht,A.success.main,.62)),ae(A.LinearProgress,"warningBg",P(ht,A.warning.main,.62)),ae(A.Skeleton,"bg",_?P(pl,A.text.primary,.11):`rgba(${ee("palette-text-primaryChannel")} / 0.11)`),ae(A.Slider,"primaryTrack",P(ht,A.primary.main,.62)),ae(A.Slider,"secondaryTrack",P(ht,A.secondary.main,.62)),ae(A.Slider,"errorTrack",P(ht,A.error.main,.62)),ae(A.Slider,"infoTrack",P(ht,A.info.main,.62)),ae(A.Slider,"successTrack",P(ht,A.success.main,.62)),ae(A.Slider,"warningTrack",P(ht,A.warning.main,.62));const Y=_?P(pt,A.background.default,.6825):Mu(A.background.default,.8);ae(A.SnackbarContent,"bg",Y),ae(A.SnackbarContent,"color",za(()=>_?kp.text.primary:A.getContrastText(Y))),ae(A.SpeedDialAction,"fabHoverBg",Mu(A.background.paper,.15)),ae(A.StepConnector,"border",ee("palette-grey-400")),ae(A.StepContent,"border",ee("palette-grey-400")),ae(A.Switch,"defaultColor",ee("palette-common-white")),ae(A.Switch,"defaultDisabledColor",ee("palette-grey-100")),ae(A.Switch,"primaryDisabledColor",P(ht,A.primary.main,.62)),ae(A.Switch,"secondaryDisabledColor",P(ht,A.secondary.main,.62)),ae(A.Switch,"errorDisabledColor",P(ht,A.error.main,.62)),ae(A.Switch,"infoDisabledColor",P(ht,A.info.main,.62)),ae(A.Switch,"successDisabledColor",P(ht,A.success.main,.62)),ae(A.Switch,"warningDisabledColor",P(ht,A.warning.main,.62)),ae(A.TableCell,"border",P(ht,P(pl,A.divider,1),.88)),ae(A.Tooltip,"bg",P(pl,A.grey[700],.92))}if(A.mode==="dark"){ae(A.Alert,"errorColor",P(ht,A.error.light,.6)),ae(A.Alert,"infoColor",P(ht,A.info.light,.6)),ae(A.Alert,"successColor",P(ht,A.success.light,.6)),ae(A.Alert,"warningColor",P(ht,A.warning.light,.6)),ae(A.Alert,"errorFilledBg",ee("palette-error-dark")),ae(A.Alert,"infoFilledBg",ee("palette-info-dark")),ae(A.Alert,"successFilledBg",ee("palette-success-dark")),ae(A.Alert,"warningFilledBg",ee("palette-warning-dark")),ae(A.Alert,"errorFilledColor",za(()=>A.getContrastText(A.error.dark))),ae(A.Alert,"infoFilledColor",za(()=>A.getContrastText(A.info.dark))),ae(A.Alert,"successFilledColor",za(()=>A.getContrastText(A.success.dark))),ae(A.Alert,"warningFilledColor",za(()=>A.getContrastText(A.warning.dark))),ae(A.Alert,"errorStandardBg",P(pt,A.error.light,.9)),ae(A.Alert,"infoStandardBg",P(pt,A.info.light,.9)),ae(A.Alert,"successStandardBg",P(pt,A.success.light,.9)),ae(A.Alert,"warningStandardBg",P(pt,A.warning.light,.9)),ae(A.Alert,"errorIconColor",ee("palette-error-main")),ae(A.Alert,"infoIconColor",ee("palette-info-main")),ae(A.Alert,"successIconColor",ee("palette-success-main")),ae(A.Alert,"warningIconColor",ee("palette-warning-main")),ae(A.AppBar,"defaultBg",ee("palette-grey-900")),ae(A.AppBar,"darkBg",ee("palette-background-paper")),ae(A.AppBar,"darkColor",ee("palette-text-primary")),ae(A.Avatar,"defaultBg",ee("palette-grey-600")),ae(A.Button,"inheritContainedBg",ee("palette-grey-800")),ae(A.Button,"inheritContainedHoverBg",ee("palette-grey-700")),ae(A.Chip,"defaultBorder",ee("palette-grey-700")),ae(A.Chip,"defaultAvatarColor",ee("palette-grey-300")),ae(A.Chip,"defaultIconColor",ee("palette-grey-300")),ae(A.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ae(A.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ae(A.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ae(A.LinearProgress,"primaryBg",P(pt,A.primary.main,.5)),ae(A.LinearProgress,"secondaryBg",P(pt,A.secondary.main,.5)),ae(A.LinearProgress,"errorBg",P(pt,A.error.main,.5)),ae(A.LinearProgress,"infoBg",P(pt,A.info.main,.5)),ae(A.LinearProgress,"successBg",P(pt,A.success.main,.5)),ae(A.LinearProgress,"warningBg",P(pt,A.warning.main,.5)),ae(A.Skeleton,"bg",_?P(pl,A.text.primary,.13):`rgba(${ee("palette-text-primaryChannel")} / 0.13)`),ae(A.Slider,"primaryTrack",P(pt,A.primary.main,.5)),ae(A.Slider,"secondaryTrack",P(pt,A.secondary.main,.5)),ae(A.Slider,"errorTrack",P(pt,A.error.main,.5)),ae(A.Slider,"infoTrack",P(pt,A.info.main,.5)),ae(A.Slider,"successTrack",P(pt,A.success.main,.5)),ae(A.Slider,"warningTrack",P(pt,A.warning.main,.5));const Y=_?P(ht,A.background.default,.985):Mu(A.background.default,.98);ae(A.SnackbarContent,"bg",Y),ae(A.SnackbarContent,"color",za(()=>_?Qx.text.primary:A.getContrastText(Y))),ae(A.SpeedDialAction,"fabHoverBg",Mu(A.background.paper,.15)),ae(A.StepConnector,"border",ee("palette-grey-600")),ae(A.StepContent,"border",ee("palette-grey-600")),ae(A.Switch,"defaultColor",ee("palette-grey-300")),ae(A.Switch,"defaultDisabledColor",ee("palette-grey-600")),ae(A.Switch,"primaryDisabledColor",P(pt,A.primary.main,.55)),ae(A.Switch,"secondaryDisabledColor",P(pt,A.secondary.main,.55)),ae(A.Switch,"errorDisabledColor",P(pt,A.error.main,.55)),ae(A.Switch,"infoDisabledColor",P(pt,A.info.main,.55)),ae(A.Switch,"successDisabledColor",P(pt,A.success.main,.55)),ae(A.Switch,"warningDisabledColor",P(pt,A.warning.main,.55)),ae(A.TableCell,"border",P(pt,P(pl,A.divider,1),.68)),ae(A.Tooltip,"bg",P(pl,A.grey[700],.92))}or(A.background,"default"),or(A.background,"paper"),or(A.common,"background"),or(A.common,"onBackground"),or(A,"divider"),Object.keys(A).forEach(Y=>{const D=A[Y];Y!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&ae(A[Y],"mainChannel",$o(Po(D.main))),D.light&&ae(A[Y],"lightChannel",$o(Po(D.light))),D.dark&&ae(A[Y],"darkChannel",$o(Po(D.dark))),D.contrastText&&ae(A[Y],"contrastTextChannel",$o(Po(D.contrastText))),Y==="text"&&(or(A[Y],"primary"),or(A[Y],"secondary")),Y==="action"&&(D.active&&or(A[Y],"active"),D.selected&&or(A[Y],"selected")))})}),B=a.reduce((ce,A)=>bn(ce,A),B);const O={prefix:u,disableCssColorScheme:s,shouldSkipGeneratingVar:p,getSelector:QO(B),enableContrastVars:f},{vars:Q,generateThemeVars:oe,generateStyleSheets:re}=SO(B,O);return B.vars=Q,Object.entries(B.colorSchemes[B.defaultColorScheme]).forEach(([ce,A])=>{B[ce]=A}),B.generateThemeVars=oe,B.generateStyleSheets=re,B.generateSpacing=function(){return qx(y.spacing,Sh(this))},B.getColorSchemeSelector=EO(m),B.spacing=B.generateSpacing(),B.shouldSkipGeneratingVar=p,B.unstable_sxConfig={...ds,...y?.unstable_sxConfig},B.unstable_sx=function(A){return Rl({sx:A,theme:this})},B.toRuntimeSource=Wx,B}function Qv(t,a,l){t.colorSchemes&&l&&(t.colorSchemes[a]={...l!==!0&&l,palette:Rh({...l===!0?{}:l.palette,mode:a})})}function tS(t={},...a){const{palette:l,cssVariables:i=!1,colorSchemes:s=l?void 0:{light:!0},defaultColorScheme:u=l?.mode,...f}=t,p=u||"light",m=s?.[p],h={...s,...l?{[p]:{...typeof m!="boolean"&&m,palette:l}}:void 0};if(i===!1){if(!("colorSchemes"in t))return Hp(t,...a);let y=l;"palette"in t||h[p]&&(h[p]!==!0?y=h[p].palette:p==="dark"&&(y={mode:"dark"}));const v=Hp({...t,palette:y},...a);return v.defaultColorScheme=p,v.colorSchemes=h,v.palette.mode==="light"&&(v.colorSchemes.light={...h.light!==!0&&h.light,palette:v.palette},Qv(v,"dark",h.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:v.palette},Qv(v,"light",h.light)),v}return!l&&!("light"in h)&&p==="light"&&(h.light=!0),eN({...f,colorSchemes:h,defaultColorScheme:p,...typeof i!="boolean"&&i},...a)}const Ah=tS();function Uc(){const t=Ch(Ah);return t[Sc]||t}function nS(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const pa=t=>nS(t)&&t!=="classes",Te=eO({themeId:Sc,defaultTheme:Ah,rootShouldForwardProp:pa});function Zv(...t){return t.reduce((a,l)=>l==null?a:function(...s){a.apply(this,s),l.apply(this,s)},()=>{})}function tN(t){return x.jsx(GA,{...t,defaultTheme:Ah,themeId:Sc})}function nN(t){return function(l){return x.jsx(tN,{styles:typeof t=="function"?i=>t({theme:i,...l}):t})}}function aN(){return Fx}const zt=yO;function Ct(t){return hO(t)}function rN(t){return bt("MuiSvgIcon",t)}at("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const lN=t=>{const{color:a,fontSize:l,classes:i}=t,s={root:["root",a!=="inherit"&&`color${_e(a)}`,`fontSize${_e(l)}`]};return xt(s,rN,i)},iN=Te("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.color!=="inherit"&&a[`color${_e(l.color)}`],a[`fontSize${_e(l.fontSize)}`]]}})(zt(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:t.transitions?.create?.("fill",{duration:(t.vars??t).transitions?.duration?.shorter}),variants:[{props:a=>!a.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:t.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:t.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,a])=>a&&a.main).map(([a])=>({props:{color:a},style:{color:(t.vars??t).palette?.[a]?.main}})),{props:{color:"action"},style:{color:(t.vars??t).palette?.action?.active}},{props:{color:"disabled"},style:{color:(t.vars??t).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Pp=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiSvgIcon"}),{children:s,className:u,color:f="inherit",component:p="svg",fontSize:m="medium",htmlColor:h,inheritViewBox:y=!1,titleAccess:v,viewBox:C="0 0 24 24",...E}=i,b=S.isValidElement(s)&&s.type==="svg",w={...i,color:f,component:p,fontSize:m,instanceFontSize:a.fontSize,inheritViewBox:y,viewBox:C,hasSvgAsChild:b},R={};y||(R.viewBox=C);const j=lN(w);return x.jsxs(iN,{as:p,className:Le(j.root,u),focusable:"false",color:h,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:l,...R,...E,...b&&s.props,ownerState:w,children:[b?s.props.children:s,v?x.jsx("title",{children:v}):null]})});Pp.muiName="SvgIcon";function oN(t,a){function l(i,s){return x.jsx(Pp,{"data-testid":void 0,ref:s,...i,children:t})}return l.muiName=Pp.muiName,S.memo(S.forwardRef(l))}function aS(t,a=166){let l;function i(...s){const u=()=>{t.apply(this,s)};clearTimeout(l),l=setTimeout(u,a)}return i.clear=()=>{clearTimeout(l)},i}function wa(t){return t&&t.ownerDocument||document}function dr(t){return wa(t).defaultView||window}function Wv(t,a){typeof t=="function"?t(a):t&&(t.current=a)}function Jv(t){const{controlled:a,default:l,name:i,state:s="value"}=t,{current:u}=S.useRef(a!==void 0),[f,p]=S.useState(l),m=u?a:f,h=S.useCallback(y=>{u||p(y)},[]);return[m,h]}function wl(t){const a=S.useRef(t);return Vr(()=>{a.current=t}),S.useRef((...l)=>(0,a.current)(...l)).current}function Rn(...t){const a=S.useRef(void 0),l=S.useCallback(i=>{const s=t.map(u=>{if(u==null)return null;if(typeof u=="function"){const f=u,p=f(i);return typeof p=="function"?p:()=>{f(null)}}return u.current=i,()=>{u.current=null}});return()=>{s.forEach(u=>u?.())}},t);return S.useMemo(()=>t.every(i=>i==null)?null:i=>{a.current&&(a.current(),a.current=void 0),i!=null&&(a.current=l(i))},t)}function sN(t,a){const l=t.charCodeAt(2);return t[0]==="o"&&t[1]==="n"&&l>=65&&l<=90&&typeof a=="function"}function uN(t,a){if(!t)return a;function l(f,p){const m={};return Object.keys(p).forEach(h=>{sN(h,p[h])&&typeof f[h]=="function"&&(m[h]=(...y)=>{f[h](...y),p[h](...y)})}),m}if(typeof t=="function"||typeof a=="function")return f=>{const p=typeof a=="function"?a(f):a,m=typeof t=="function"?t({...f,...p}):t,h=Le(f?.className,p?.className,m?.className),y=l(m,p);return{...p,...m,...y,...!!h&&{className:h},...p?.style&&m?.style&&{style:{...p.style,...m.style}},...p?.sx&&m?.sx&&{sx:[...Array.isArray(p.sx)?p.sx:[p.sx],...Array.isArray(m.sx)?m.sx:[m.sx]]}}};const i=a,s=l(t,i),u=Le(i?.className,t?.className);return{...a,...t,...s,...!!u&&{className:u},...i?.style&&t?.style&&{style:{...i.style,...t.style}},...i?.sx&&t?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(t.sx)?t.sx:[t.sx]]}}}function rS(t,a){if(t==null)return{};var l={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(a.indexOf(i)!==-1)continue;l[i]=t[i]}return l}function qp(t,a){return qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,i){return l.__proto__=i,l},qp(t,a)}function lS(t,a){t.prototype=Object.create(a.prototype),t.prototype.constructor=t,qp(t,a)}var iS=Ab();const ju=Rb(iS),eb={disabled:!1},tc=ka.createContext(null);var cN=function(a){return a.scrollTop},qo="unmounted",gl="exited",yl="entering",Ei="entered",Fp="exiting",qa=(function(t){lS(a,t);function a(i,s){var u;u=t.call(this,i,s)||this;var f=s,p=f&&!f.isMounting?i.enter:i.appear,m;return u.appearStatus=null,i.in?p?(m=gl,u.appearStatus=yl):m=Ei:i.unmountOnExit||i.mountOnEnter?m=qo:m=gl,u.state={status:m},u.nextCallback=null,u}a.getDerivedStateFromProps=function(s,u){var f=s.in;return f&&u.status===qo?{status:gl}:null};var l=a.prototype;return l.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},l.componentDidUpdate=function(s){var u=null;if(s!==this.props){var f=this.state.status;this.props.in?f!==yl&&f!==Ei&&(u=yl):(f===yl||f===Ei)&&(u=Fp)}this.updateStatus(!1,u)},l.componentWillUnmount=function(){this.cancelNextCallback()},l.getTimeouts=function(){var s=this.props.timeout,u,f,p;return u=f=p=s,s!=null&&typeof s!="number"&&(u=s.exit,f=s.enter,p=s.appear!==void 0?s.appear:f),{exit:u,enter:f,appear:p}},l.updateStatus=function(s,u){if(s===void 0&&(s=!1),u!==null)if(this.cancelNextCallback(),u===yl){if(this.props.unmountOnExit||this.props.mountOnEnter){var f=this.props.nodeRef?this.props.nodeRef.current:ju.findDOMNode(this);f&&cN(f)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gl&&this.setState({status:qo})},l.performEnter=function(s){var u=this,f=this.props.enter,p=this.context?this.context.isMounting:s,m=this.props.nodeRef?[p]:[ju.findDOMNode(this),p],h=m[0],y=m[1],v=this.getTimeouts(),C=p?v.appear:v.enter;if(!s&&!f||eb.disabled){this.safeSetState({status:Ei},function(){u.props.onEntered(h)});return}this.props.onEnter(h,y),this.safeSetState({status:yl},function(){u.props.onEntering(h,y),u.onTransitionEnd(C,function(){u.safeSetState({status:Ei},function(){u.props.onEntered(h,y)})})})},l.performExit=function(){var s=this,u=this.props.exit,f=this.getTimeouts(),p=this.props.nodeRef?void 0:ju.findDOMNode(this);if(!u||eb.disabled){this.safeSetState({status:gl},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Fp},function(){s.props.onExiting(p),s.onTransitionEnd(f.exit,function(){s.safeSetState({status:gl},function(){s.props.onExited(p)})})})},l.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},l.safeSetState=function(s,u){u=this.setNextCallback(u),this.setState(s,u)},l.setNextCallback=function(s){var u=this,f=!0;return this.nextCallback=function(p){f&&(f=!1,u.nextCallback=null,s(p))},this.nextCallback.cancel=function(){f=!1},this.nextCallback},l.onTransitionEnd=function(s,u){this.setNextCallback(u);var f=this.props.nodeRef?this.props.nodeRef.current:ju.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!f||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var m=this.props.nodeRef?[this.nextCallback]:[f,this.nextCallback],h=m[0],y=m[1];this.props.addEndListener(h,y)}s!=null&&setTimeout(this.nextCallback,s)},l.render=function(){var s=this.state.status;if(s===qo)return null;var u=this.props,f=u.children;u.in,u.mountOnEnter,u.unmountOnExit,u.appear,u.enter,u.exit,u.timeout,u.addEndListener,u.onEnter,u.onEntering,u.onEntered,u.onExit,u.onExiting,u.onExited,u.nodeRef;var p=rS(u,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ka.createElement(tc.Provider,{value:null},typeof f=="function"?f(s,p):ka.cloneElement(ka.Children.only(f),p))},a})(ka.Component);qa.contextType=tc;qa.propTypes={};function xi(){}qa.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:xi,onEntering:xi,onEntered:xi,onExit:xi,onExiting:xi,onExited:xi};qa.UNMOUNTED=qo;qa.EXITED=gl;qa.ENTERING=yl;qa.ENTERED=Ei;qa.EXITING=Fp;function fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oh(t,a){var l=function(u){return a&&S.isValidElement(u)?a(u):u},i=Object.create(null);return t&&S.Children.map(t,function(s){return s}).forEach(function(s){i[s.key]=l(s)}),i}function dN(t,a){t=t||{},a=a||{};function l(y){return y in a?a[y]:t[y]}var i=Object.create(null),s=[];for(var u in t)u in a?s.length&&(i[u]=s,s=[]):s.push(u);var f,p={};for(var m in a){if(i[m])for(f=0;f<i[m].length;f++){var h=i[m][f];p[i[m][f]]=l(h)}p[m]=l(m)}for(f=0;f<s.length;f++)p[s[f]]=l(s[f]);return p}function Sl(t,a,l){return l[a]!=null?l[a]:t.props[a]}function pN(t,a){return Oh(t.children,function(l){return S.cloneElement(l,{onExited:a.bind(null,l),in:!0,appear:Sl(l,"appear",t),enter:Sl(l,"enter",t),exit:Sl(l,"exit",t)})})}function hN(t,a,l){var i=Oh(t.children),s=dN(a,i);return Object.keys(s).forEach(function(u){var f=s[u];if(S.isValidElement(f)){var p=u in a,m=u in i,h=a[u],y=S.isValidElement(h)&&!h.props.in;m&&(!p||y)?s[u]=S.cloneElement(f,{onExited:l.bind(null,f),in:!0,exit:Sl(f,"exit",t),enter:Sl(f,"enter",t)}):!m&&p&&!y?s[u]=S.cloneElement(f,{in:!1}):m&&p&&S.isValidElement(h)&&(s[u]=S.cloneElement(f,{onExited:l.bind(null,f),in:h.props.in,exit:Sl(f,"exit",t),enter:Sl(f,"enter",t)}))}}),s}var mN=Object.values||function(t){return Object.keys(t).map(function(a){return t[a]})},gN={component:"div",childFactory:function(a){return a}},Nh=(function(t){lS(a,t);function a(i,s){var u;u=t.call(this,i,s)||this;var f=u.handleExited.bind(fN(u));return u.state={contextValue:{isMounting:!0},handleExited:f,firstRender:!0},u}var l=a.prototype;return l.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},l.componentWillUnmount=function(){this.mounted=!1},a.getDerivedStateFromProps=function(s,u){var f=u.children,p=u.handleExited,m=u.firstRender;return{children:m?pN(s,p):hN(s,f,p),firstRender:!1}},l.handleExited=function(s,u){var f=Oh(this.props.children);s.key in f||(s.props.onExited&&s.props.onExited(u),this.mounted&&this.setState(function(p){var m=Qu({},p.children);return delete m[s.key],{children:m}}))},l.render=function(){var s=this.props,u=s.component,f=s.childFactory,p=rS(s,["component","childFactory"]),m=this.state.contextValue,h=mN(this.state.children).map(f);return delete p.appear,delete p.enter,delete p.exit,u===null?ka.createElement(tc.Provider,{value:m},h):ka.createElement(tc.Provider,{value:m},ka.createElement(u,p,h))},a})(ka.Component);Nh.propTypes={};Nh.defaultProps=gN;const tb={};function oS(t,a){const l=S.useRef(tb);return l.current===tb&&(l.current=t(a)),l}const yN=[];function vN(t){S.useEffect(t,yN)}class Mh{static create(){return new Mh}currentId=null;start(a,l){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,l()},a)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function sS(){const t=oS(Mh.create).current;return vN(t.disposeEffect),t}const uS=t=>t.scrollTop;function nc(t,a){const{timeout:l,easing:i,style:s={}}=t;return{duration:s.transitionDuration??(typeof l=="number"?l:l[a.mode]||0),easing:s.transitionTimingFunction??(typeof i=="object"?i[a.mode]:i),delay:s.transitionDelay}}function ac(t){return typeof t=="string"}function cS(t,a,l){return t===void 0||ac(t)?a:{...a,ownerState:{...a.ownerState,...l}}}function fS(t,a,l){return typeof t=="function"?t(a,l):t}function dS(t,a=[]){if(t===void 0)return{};const l={};return Object.keys(t).filter(i=>i.match(/^on[A-Z]/)&&typeof t[i]=="function"&&!a.includes(i)).forEach(i=>{l[i]=t[i]}),l}function nb(t){if(t===void 0)return{};const a={};return Object.keys(t).filter(l=>!(l.match(/^on[A-Z]/)&&typeof t[l]=="function")).forEach(l=>{a[l]=t[l]}),a}function pS(t){const{getSlotProps:a,additionalProps:l,externalSlotProps:i,externalForwardedProps:s,className:u}=t;if(!a){const E=Le(l?.className,u,s?.className,i?.className),b={...l?.style,...s?.style,...i?.style},w={...l,...s,...i};return E.length>0&&(w.className=E),Object.keys(b).length>0&&(w.style=b),{props:w,internalRef:void 0}}const f=dS({...s,...i}),p=nb(i),m=nb(s),h=a(f),y=Le(h?.className,l?.className,u,s?.className,i?.className),v={...h?.style,...l?.style,...s?.style,...i?.style},C={...h,...l,...m,...p};return y.length>0&&(C.className=y),Object.keys(v).length>0&&(C.style=v),{props:C,internalRef:h.ref}}function Yt(t,a){const{className:l,elementType:i,ownerState:s,externalForwardedProps:u,internalForwardedProps:f,shouldForwardComponentProp:p=!1,...m}=a,{component:h,slots:y={[t]:void 0},slotProps:v={[t]:void 0},...C}=u,E=y[t]||i,b=fS(v[t],s),{props:{component:w,...R},internalRef:j}=pS({className:l,...m,externalForwardedProps:t==="root"?C:void 0,externalSlotProps:b}),L=Rn(j,b?.ref,a.ref),M=t==="root"?w||h:w,_=cS(E,{...t==="root"&&!h&&!y[t]&&f,...t!=="root"&&!y[t]&&f,...R,...M&&!p&&{as:M},...M&&p&&{component:M},ref:L},s);return[E,_]}function bN(t){return bt("MuiPaper",t)}at("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const xN=t=>{const{square:a,elevation:l,variant:i,classes:s}=t,u={root:["root",i,!a&&"rounded",i==="elevation"&&`elevation${l}`]};return xt(u,bN,s)},SN=Te("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[l.variant],!l.square&&a.rounded,l.variant==="elevation"&&a[`elevation${l.elevation}`]]}})(zt(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:a})=>!a.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),jh=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiPaper"}),s=Uc(),{className:u,component:f="div",elevation:p=1,square:m=!1,variant:h="elevation",...y}=i,v={...i,component:f,elevation:p,square:m,variant:h},C=xN(v);return x.jsx(SN,{as:f,ownerState:v,className:Le(C.root,u),ref:l,...y,style:{...h==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[p],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[p]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ec("#fff",$p(p))}, ${ec("#fff",$p(p))})`}},...y.style}})});function ab(t){try{return t.matches(":focus-visible")}catch{}return!1}class rc{static create(){return new rc}static use(){const a=oS(rc.create).current,[l,i]=S.useState(!1);return a.shouldMount=l,a.setShouldMount=i,S.useEffect(a.mountEffect,[l]),a}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=wN(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...a){this.mount().then(()=>this.ref.current?.start(...a))}stop(...a){this.mount().then(()=>this.ref.current?.stop(...a))}pulsate(...a){this.mount().then(()=>this.ref.current?.pulsate(...a))}}function EN(){return rc.use()}function wN(){let t,a;const l=new Promise((i,s)=>{t=i,a=s});return l.resolve=t,l.reject=a,l}function CN(t){const{className:a,classes:l,pulsate:i=!1,rippleX:s,rippleY:u,rippleSize:f,in:p,onExited:m,timeout:h}=t,[y,v]=S.useState(!1),C=Le(a,l.ripple,l.rippleVisible,i&&l.ripplePulsate),E={width:f,height:f,top:-(f/2)+u,left:-(f/2)+s},b=Le(l.child,y&&l.childLeaving,i&&l.childPulsate);return!p&&!y&&v(!0),S.useEffect(()=>{if(!p&&m!=null){const w=setTimeout(m,h);return()=>{clearTimeout(w)}}},[m,p,h]),x.jsx("span",{className:C,style:E,children:x.jsx("span",{className:b})})}const oa=at("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Vp=550,TN=80,RN=us`
            0% {
              transform: scale(0);
              opacity: 0.1;
            }
          
            100% {
              transform: scale(1);
              opacity: 0.3;
            }
          `,AN=us`
            0% {
              opacity: 1;
            }
          
            100% {
              opacity: 0;
            }
          `,ON=us`
            0% {
              transform: scale(1);
            }
          
            50% {
              transform: scale(0.92);
            }
          
            100% {
              transform: scale(1);
            }
          `,NN=Te("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),MN=Te(CN,{name:"MuiTouchRipple",slot:"Ripple"})`
            opacity: 0;
            position: absolute;
          
            &.${oa.rippleVisible} {
              opacity: 0.3;
              transform: scale(1);
              animation-name: ${RN};
              animation-duration: ${Vp}ms;
              animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
            }
          
            &.${oa.ripplePulsate} {
              animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
            }
          
            & .${oa.child} {
              opacity: 1;
              display: block;
              width: 100%;
              height: 100%;
              border-radius: 50%;
              background-color: currentColor;
            }
          
            & .${oa.childLeaving} {
              opacity: 0;
              animation-name: ${AN};
              animation-duration: ${Vp}ms;
              animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
            }
          
            & .${oa.childPulsate} {
              position: absolute;
              /* @noflip */
              left: 0px;
              top: 0;
              animation-name: ${ON};
              animation-duration: 2500ms;
              animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
              animation-iteration-count: infinite;
              animation-delay: 200ms;
            }
          `,jN=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiTouchRipple"}),{center:s=!1,classes:u={},className:f,...p}=i,[m,h]=S.useState([]),y=S.useRef(0),v=S.useRef(null);S.useEffect(()=>{v.current&&(v.current(),v.current=null)},[m]);const C=S.useRef(!1),E=sS(),b=S.useRef(null),w=S.useRef(null),R=S.useCallback(_=>{const{pulsate:N,rippleX:B,rippleY:O,rippleSize:Q,cb:oe}=_;h(re=>[...re,x.jsx(MN,{classes:{ripple:Le(u.ripple,oa.ripple),rippleVisible:Le(u.rippleVisible,oa.rippleVisible),ripplePulsate:Le(u.ripplePulsate,oa.ripplePulsate),child:Le(u.child,oa.child),childLeaving:Le(u.childLeaving,oa.childLeaving),childPulsate:Le(u.childPulsate,oa.childPulsate)},timeout:Vp,pulsate:N,rippleX:B,rippleY:O,rippleSize:Q},y.current)]),y.current+=1,v.current=oe},[u]),j=S.useCallback((_={},N={},B=()=>{})=>{const{pulsate:O=!1,center:Q=s||N.pulsate,fakeElement:oe=!1}=N;if(_?.type==="mousedown"&&C.current){C.current=!1;return}_?.type==="touchstart"&&(C.current=!0);const re=oe?null:w.current,ce=re?re.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,ee,P;if(Q||_===void 0||_.clientX===0&&_.clientY===0||!_.clientX&&!_.touches)A=Math.round(ce.width/2),ee=Math.round(ce.height/2);else{const{clientX:Y,clientY:D}=_.touches&&_.touches.length>0?_.touches[0]:_;A=Math.round(Y-ce.left),ee=Math.round(D-ce.top)}if(Q)P=Math.sqrt((2*ce.width**2+ce.height**2)/3),P%2===0&&(P+=1);else{const Y=Math.max(Math.abs((re?re.clientWidth:0)-A),A)*2+2,D=Math.max(Math.abs((re?re.clientHeight:0)-ee),ee)*2+2;P=Math.sqrt(Y**2+D**2)}_?.touches?b.current===null&&(b.current=()=>{R({pulsate:O,rippleX:A,rippleY:ee,rippleSize:P,cb:B})},E.start(TN,()=>{b.current&&(b.current(),b.current=null)})):R({pulsate:O,rippleX:A,rippleY:ee,rippleSize:P,cb:B})},[s,R,E]),L=S.useCallback(()=>{j({},{pulsate:!0})},[j]),M=S.useCallback((_,N)=>{if(E.clear(),_?.type==="touchend"&&b.current){b.current(),b.current=null,E.start(0,()=>{M(_,N)});return}b.current=null,h(B=>B.length>0?B.slice(1):B),v.current=N},[E]);return S.useImperativeHandle(l,()=>({pulsate:L,start:j,stop:M}),[L,j,M]),x.jsx(NN,{className:Le(oa.root,u.root,f),ref:w,...p,children:x.jsx(Nh,{component:null,exit:!0,children:m})})});function DN(t){return bt("MuiButtonBase",t)}const zN=at("MuiButtonBase",["root","disabled","focusVisible"]),_N=t=>{const{disabled:a,focusVisible:l,focusVisibleClassName:i,classes:s}=t,f=xt({root:["root",a&&"disabled",l&&"focusVisible"]},DN,s);return l&&i&&(f.root+=` ${i}`),f},LN=Te("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${zN.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),hS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiButtonBase"}),{action:s,centerRipple:u=!1,children:f,className:p,component:m="button",disabled:h=!1,disableRipple:y=!1,disableTouchRipple:v=!1,focusRipple:C=!1,focusVisibleClassName:E,LinkComponent:b="a",onBlur:w,onClick:R,onContextMenu:j,onDragLeave:L,onFocus:M,onFocusVisible:_,onKeyDown:N,onKeyUp:B,onMouseDown:O,onMouseLeave:Q,onMouseUp:oe,onTouchEnd:re,onTouchMove:ce,onTouchStart:A,tabIndex:ee=0,TouchRippleProps:P,touchRippleRef:Y,type:D,...F}=i,ue=S.useRef(null),te=EN(),he=Rn(te.ref,Y),[z,G]=S.useState(!1);h&&z&&G(!1),S.useImperativeHandle(s,()=>({focusVisible:()=>{G(!0),ue.current.focus()}}),[]);const V=te.shouldMount&&!y&&!h;S.useEffect(()=>{z&&C&&!y&&te.pulsate()},[y,C,z,te]);const ie=sr(te,"start",O,v),de=sr(te,"stop",j,v),be=sr(te,"stop",L,v),Ae=sr(te,"stop",oe,v),Je=sr(te,"stop",Me=>{z&&Me.preventDefault(),Q&&Q(Me)},v),ze=sr(te,"start",A,v),je=sr(te,"stop",re,v),Oe=sr(te,"stop",ce,v),Pe=sr(te,"stop",Me=>{ab(Me.target)||G(!1),w&&w(Me)},!1),St=wl(Me=>{ue.current||(ue.current=Me.currentTarget),ab(Me.target)&&(G(!0),_&&_(Me)),M&&M(Me)}),Be=()=>{const Me=ue.current;return m&&m!=="button"&&!(Me.tagName==="A"&&Me.href)},Xe=wl(Me=>{C&&!Me.repeat&&z&&Me.key===" "&&te.stop(Me,()=>{te.start(Me)}),Me.target===Me.currentTarget&&Be()&&Me.key===" "&&Me.preventDefault(),N&&N(Me),Me.target===Me.currentTarget&&Be()&&Me.key==="Enter"&&!h&&(Me.preventDefault(),R&&R(Me))}),en=wl(Me=>{C&&Me.key===" "&&z&&!Me.defaultPrevented&&te.stop(Me,()=>{te.pulsate(Me)}),B&&B(Me),R&&Me.target===Me.currentTarget&&Be()&&Me.key===" "&&!Me.defaultPrevented&&R(Me)});let tn=m;tn==="button"&&(F.href||F.to)&&(tn=b);const Nt={};tn==="button"?(Nt.type=D===void 0?"button":D,Nt.disabled=h):(!F.href&&!F.to&&(Nt.role="button"),h&&(Nt["aria-disabled"]=h));const mn=Rn(l,ue),$t={...i,centerRipple:u,component:m,disabled:h,disableRipple:y,disableTouchRipple:v,focusRipple:C,tabIndex:ee,focusVisible:z},Rt=_N($t);return x.jsxs(LN,{as:tn,className:Le(Rt.root,p),ownerState:$t,onBlur:Pe,onClick:R,onContextMenu:de,onFocus:St,onKeyDown:Xe,onKeyUp:en,onMouseDown:ie,onMouseLeave:Je,onMouseUp:Ae,onDragLeave:be,onTouchEnd:je,onTouchMove:Oe,onTouchStart:ze,ref:mn,tabIndex:h?-1:ee,type:D,...Nt,...F,children:[f,V?x.jsx(jN,{ref:he,center:u,...P}):null]})});function sr(t,a,l,i=!1){return wl(s=>(l&&l(s),i||t[a](s),!0))}function BN(t){return typeof t.main=="string"}function UN(t,a=[]){if(!BN(t))return!1;for(const l of a)if(!t.hasOwnProperty(l)||typeof t[l]!="string")return!1;return!0}function Nl(t=[]){return([,a])=>a&&UN(a,t)}function kN(t){return bt("MuiCircularProgress",t)}at("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ea=44,Yp=us`
            0% {
              transform: rotate(0deg);
            }
          
            100% {
              transform: rotate(360deg);
            }
          `,Gp=us`
            0% {
              stroke-dasharray: 1px, 200px;
              stroke-dashoffset: 0;
            }
          
            50% {
              stroke-dasharray: 100px, 200px;
              stroke-dashoffset: -15px;
            }
          
            100% {
              stroke-dasharray: 1px, 200px;
              stroke-dashoffset: -126px;
            }
          `,HN=typeof Yp!="string"?vh`
                  animation: ${Yp} 1.4s linear infinite;
                `:null,$N=typeof Gp!="string"?vh`
                  animation: ${Gp} 1.4s ease-in-out infinite;
                `:null,PN=t=>{const{classes:a,variant:l,color:i,disableShrink:s}=t,u={root:["root",l,`color${_e(i)}`],svg:["svg"],track:["track"],circle:["circle",`circle${_e(l)}`,s&&"circleDisableShrink"]};return xt(u,kN,a)},qN=Te("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[l.variant],a[`color${_e(l.color)}`]]}})(zt(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:HN||{animation:`${Yp} 1.4s linear infinite`}},...Object.entries(t.palette).filter(Nl()).map(([a])=>({props:{color:a},style:{color:(t.vars||t).palette[a].main}}))]}))),FN=Te("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),VN=Te("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.circle,a[`circle${_e(l.variant)}`],l.disableShrink&&a.circleDisableShrink]}})(zt(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:a})=>a.variant==="indeterminate"&&!a.disableShrink,style:$N||{animation:`${Gp} 1.4s ease-in-out infinite`}}]}))),YN=Te("circle",{name:"MuiCircularProgress",slot:"Track"})(zt(({theme:t})=>({stroke:"currentColor",opacity:(t.vars||t).palette.action.activatedOpacity}))),GN=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiCircularProgress"}),{className:s,color:u="primary",disableShrink:f=!1,enableTrackSlot:p=!1,size:m=40,style:h,thickness:y=3.6,value:v=0,variant:C="indeterminate",...E}=i,b={...i,color:u,disableShrink:f,size:m,thickness:y,value:v,variant:C,enableTrackSlot:p},w=PN(b),R={},j={},L={};if(C==="determinate"){const M=2*Math.PI*((Ea-y)/2);R.strokeDasharray=M.toFixed(3),L["aria-valuenow"]=Math.round(v),R.strokeDashoffset=`${((100-v)/100*M).toFixed(3)}px`,j.transform="rotate(-90deg)"}return x.jsx(qN,{className:Le(w.root,s),style:{width:m,height:m,...j,...h},ownerState:b,ref:l,role:"progressbar",...L,...E,children:x.jsxs(FN,{className:w.svg,ownerState:b,viewBox:`${Ea/2} ${Ea/2} ${Ea} ${Ea}`,children:[p?x.jsx(YN,{className:w.track,ownerState:b,cx:Ea,cy:Ea,r:(Ea-y)/2,fill:"none",strokeWidth:y,"aria-hidden":"true"}):null,x.jsx(VN,{className:w.circle,style:R,ownerState:b,cx:Ea,cy:Ea,r:(Ea-y)/2,fill:"none",strokeWidth:y})]})})});function XN(t){return bt("MuiTypography",t)}at("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const KN={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},IN=aN(),QN=t=>{const{align:a,gutterBottom:l,noWrap:i,paragraph:s,variant:u,classes:f}=t,p={root:["root",u,t.align!=="inherit"&&`align${_e(a)}`,l&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return xt(p,XN,f)},ZN=Te("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.variant&&a[l.variant],l.align!=="inherit"&&a[`align${_e(l.align)}`],l.noWrap&&a.noWrap,l.gutterBottom&&a.gutterBottom,l.paragraph&&a.paragraph]}})(zt(({theme:t})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([a,l])=>a!=="inherit"&&l&&typeof l=="object").map(([a,l])=>({props:{variant:a},style:l})),...Object.entries(t.palette).filter(Nl()).map(([a])=>({props:{color:a},style:{color:(t.vars||t).palette[a].main}})),...Object.entries(t.palette?.text||{}).filter(([,a])=>typeof a=="string").map(([a])=>({props:{color:`text${_e(a)}`},style:{color:(t.vars||t).palette.text[a]}})),{props:({ownerState:a})=>a.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:a})=>a.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:a})=>a.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:a})=>a.paragraph,style:{marginBottom:16}}]}))),rb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},WN=S.forwardRef(function(a,l){const{color:i,...s}=Ct({props:a,name:"MuiTypography"}),u=!KN[i],f=IN({...s,...u&&{color:i}}),{align:p="inherit",className:m,component:h,gutterBottom:y=!1,noWrap:v=!1,paragraph:C=!1,variant:E="body1",variantMapping:b=rb,...w}=f,R={...f,align:p,color:i,className:m,component:h,gutterBottom:y,noWrap:v,paragraph:C,variant:E,variantMapping:b},j=h||(C?"p":b[E]||rb[E])||"span",L=QN(R);return x.jsx(ZN,{as:j,ref:l,className:Le(L.root,m),...w,ownerState:R,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...w.style}})});function JN(t){const{elementType:a,externalSlotProps:l,ownerState:i,skipResolvingSlotProps:s=!1,...u}=t,f=s?{}:fS(l,i),{props:p,internalRef:m}=pS({...u,externalSlotProps:f}),h=Rn(m,f?.ref,t.additionalProps?.ref);return cS(a,{...p,ref:h},i)}function ps(t){return parseInt(S.version,10)>=19?t?.props?.ref||null:t?.ref||null}function eM(t){return typeof t=="function"?t():t}const tM=S.forwardRef(function(a,l){const{children:i,container:s,disablePortal:u=!1}=a,[f,p]=S.useState(null),m=Rn(S.isValidElement(i)?ps(i):null,l);if(Vr(()=>{u||p(eM(s)||document.body)},[s,u]),Vr(()=>{if(f&&!u)return Wv(l,f),()=>{Wv(l,null)}},[l,f,u]),u){if(S.isValidElement(i)){const h={ref:m};return S.cloneElement(i,h)}return i}return f&&iS.createPortal(i,f)});function Du(t){return parseInt(t,10)||0}const nM={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function aM(t){for(const a in t)return!1;return!0}function lb(t){return aM(t)||t.outerHeightStyle===0&&!t.overflowing}const rM=S.forwardRef(function(a,l){const{onChange:i,maxRows:s,minRows:u=1,style:f,value:p,...m}=a,{current:h}=S.useRef(p!=null),y=S.useRef(null),v=Rn(l,y),C=S.useRef(null),E=S.useRef(null),b=S.useCallback(()=>{const M=y.current,_=E.current;if(!M||!_)return;const B=dr(M).getComputedStyle(M);if(B.width==="0px")return{outerHeightStyle:0,overflowing:!1};_.style.width=B.width,_.value=M.value||a.placeholder||"x",_.value.slice(-1)===`
          `&&(_.value+=" ");const O=B.boxSizing,Q=Du(B.paddingBottom)+Du(B.paddingTop),oe=Du(B.borderBottomWidth)+Du(B.borderTopWidth),re=_.scrollHeight;_.value="x";const ce=_.scrollHeight;let A=re;u&&(A=Math.max(Number(u)*ce,A)),s&&(A=Math.min(Number(s)*ce,A)),A=Math.max(A,ce);const ee=A+(O==="border-box"?Q+oe:0),P=Math.abs(A-re)<=1;return{outerHeightStyle:ee,overflowing:P}},[s,u,a.placeholder]),w=wl(()=>{const M=y.current,_=b();if(!M||!_||lb(_))return!1;const N=_.outerHeightStyle;return C.current!=null&&C.current!==N}),R=S.useCallback(()=>{const M=y.current,_=b();if(!M||!_||lb(_))return;const N=_.outerHeightStyle;C.current!==N&&(C.current=N,M.style.height=`${N}px`),M.style.overflow=_.overflowing?"hidden":""},[b]),j=S.useRef(-1);Vr(()=>{const M=aS(R),_=y?.current;if(!_)return;const N=dr(_);N.addEventListener("resize",M);let B;return typeof ResizeObserver<"u"&&(B=new ResizeObserver(()=>{w()&&(B.unobserve(_),cancelAnimationFrame(j.current),R(),j.current=requestAnimationFrame(()=>{B.observe(_)}))}),B.observe(_)),()=>{M.clear(),cancelAnimationFrame(j.current),N.removeEventListener("resize",M),B&&B.disconnect()}},[b,R,w]),Vr(()=>{R()});const L=M=>{h||R();const _=M.target,N=_.value.length,B=_.value.endsWith(`
          `),O=_.selectionStart===N;B&&O&&_.setSelectionRange(N,N),i&&i(M)};return x.jsxs(S.Fragment,{children:[x.jsx("textarea",{value:p,onChange:L,ref:v,rows:u,style:f,...m}),x.jsx("textarea",{"aria-hidden":!0,className:a.className,readOnly:!0,ref:E,tabIndex:-1,style:{...nM.shadow,...f,paddingTop:0,paddingBottom:0}})]})});function Bi({props:t,states:a,muiFormControl:l}){return a.reduce((i,s)=>(i[s]=t[s],l&&typeof t[s]>"u"&&(i[s]=l[s]),i),{})}const Dh=S.createContext(void 0);function Ui(){return S.useContext(Dh)}function ib(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function lc(t,a=!1){return t&&(ib(t.value)&&t.value!==""||a&&ib(t.defaultValue)&&t.defaultValue!=="")}function lM(t){return t.startAdornment}function iM(t){return bt("MuiInputBase",t)}const Ni=at("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ob;const kc=(t,a)=>{const{ownerState:l}=t;return[a.root,l.formControl&&a.formControl,l.startAdornment&&a.adornedStart,l.endAdornment&&a.adornedEnd,l.error&&a.error,l.size==="small"&&a.sizeSmall,l.multiline&&a.multiline,l.color&&a[`color${_e(l.color)}`],l.fullWidth&&a.fullWidth,l.hiddenLabel&&a.hiddenLabel]},Hc=(t,a)=>{const{ownerState:l}=t;return[a.input,l.size==="small"&&a.inputSizeSmall,l.multiline&&a.inputMultiline,l.type==="search"&&a.inputTypeSearch,l.startAdornment&&a.inputAdornedStart,l.endAdornment&&a.inputAdornedEnd,l.hiddenLabel&&a.inputHiddenLabel]},oM=t=>{const{classes:a,color:l,disabled:i,error:s,endAdornment:u,focused:f,formControl:p,fullWidth:m,hiddenLabel:h,multiline:y,readOnly:v,size:C,startAdornment:E,type:b}=t,w={root:["root",`color${_e(l)}`,i&&"disabled",s&&"error",m&&"fullWidth",f&&"focused",p&&"formControl",C&&C!=="medium"&&`size${_e(C)}`,y&&"multiline",E&&"adornedStart",u&&"adornedEnd",h&&"hiddenLabel",v&&"readOnly"],input:["input",i&&"disabled",b==="search"&&"inputTypeSearch",y&&"inputMultiline",C==="small"&&"inputSizeSmall",h&&"inputHiddenLabel",E&&"inputAdornedStart",u&&"inputAdornedEnd",v&&"readOnly"]};return xt(w,iM,a)},$c=Te("div",{name:"MuiInputBase",slot:"Root",overridesResolver:kc})(zt(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ni.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:a})=>a.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:a,size:l})=>a.multiline&&l==="small",style:{paddingTop:1}},{props:({ownerState:a})=>a.fullWidth,style:{width:"100%"}}]}))),Pc=Te("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Hc})(zt(({theme:t})=>{const a=t.palette.mode==="light",l={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:a?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},i={opacity:"0 !important"},s=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:a?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&::-ms-input-placeholder":l,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ni.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Ni.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:u})=>!u.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:u})=>u.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),sb=nN({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),zh=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:u,autoFocus:f,className:p,color:m,components:h={},componentsProps:y={},defaultValue:v,disabled:C,disableInjectingGlobalStyles:E,endAdornment:b,error:w,fullWidth:R=!1,id:j,inputComponent:L="input",inputProps:M={},inputRef:_,margin:N,maxRows:B,minRows:O,multiline:Q=!1,name:oe,onBlur:re,onChange:ce,onClick:A,onFocus:ee,onKeyDown:P,onKeyUp:Y,placeholder:D,readOnly:F,renderSuffix:ue,rows:te,size:he,slotProps:z={},slots:G={},startAdornment:V,type:ie="text",value:de,...be}=i,Ae=M.value!=null?M.value:de,{current:Je}=S.useRef(Ae!=null),ze=S.useRef(),je=S.useCallback(ot=>{},[]),Oe=Rn(ze,_,M.ref,je),[Pe,St]=S.useState(!1),Be=Ui(),Xe=Bi({props:i,muiFormControl:Be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Xe.focused=Be?Be.focused:Pe,S.useEffect(()=>{!Be&&C&&Pe&&(St(!1),re&&re())},[Be,C,Pe,re]);const en=Be&&Be.onFilled,tn=Be&&Be.onEmpty,Nt=S.useCallback(ot=>{lc(ot)?en&&en():tn&&tn()},[en,tn]);Vr(()=>{Je&&Nt({value:Ae})},[Ae,Nt,Je]);const mn=ot=>{ee&&ee(ot),M.onFocus&&M.onFocus(ot),Be&&Be.onFocus?Be.onFocus(ot):St(!0)},$t=ot=>{re&&re(ot),M.onBlur&&M.onBlur(ot),Be&&Be.onBlur?Be.onBlur(ot):St(!1)},Rt=(ot,...Ra)=>{if(!Je){const Kt=ot.target||ze.current;if(Kt==null)throw new Error(cr(1));Nt({value:Kt.value})}M.onChange&&M.onChange(ot,...Ra),ce&&ce(ot,...Ra)};S.useEffect(()=>{Nt(ze.current)},[]);const Me=ot=>{ze.current&&ot.currentTarget===ot.target&&ze.current.focus(),A&&A(ot)};let ln=L,Ve=M;Q&&ln==="input"&&(te?Ve={type:void 0,minRows:te,maxRows:te,...Ve}:Ve={type:void 0,maxRows:B,minRows:O,...Ve},ln=rM);const ha=ot=>{Nt(ot.animationName==="mui-auto-fill-cancel"?ze.current:{value:"x"})};S.useEffect(()=>{Be&&Be.setAdornedStart(!!V)},[Be,V]);const In={...i,color:Xe.color||"primary",disabled:Xe.disabled,endAdornment:b,error:Xe.error,focused:Xe.focused,formControl:Be,fullWidth:R,hiddenLabel:Xe.hiddenLabel,multiline:Q,size:Xe.size,startAdornment:V,type:ie},on=oM(In),Pt=G.root||h.Root||$c,ma=z.root||y.root||{},An=G.input||h.Input||Pc;return Ve={...Ve,...z.input??y.input},x.jsxs(S.Fragment,{children:[!E&&typeof sb=="function"&&(ob||(ob=x.jsx(sb,{}))),x.jsxs(Pt,{...ma,ref:l,onClick:Me,...be,...!ac(Pt)&&{ownerState:{...In,...ma.ownerState}},className:Le(on.root,ma.className,p,F&&"MuiInputBase-readOnly"),children:[V,x.jsx(Dh.Provider,{value:null,children:x.jsx(An,{"aria-invalid":Xe.error,"aria-describedby":s,autoComplete:u,autoFocus:f,defaultValue:v,disabled:Xe.disabled,id:j,onAnimationStart:ha,name:oe,placeholder:D,readOnly:F,required:Xe.required,rows:te,value:Ae,onKeyDown:P,onKeyUp:Y,type:ie,...Ve,...!ac(An)&&{as:ln,ownerState:{...In,...Ve.ownerState}},ref:Oe,className:Le(on.input,Ve.className,F&&"MuiInputBase-readOnly"),onBlur:$t,onChange:Rt,onFocus:mn})}),b,ue?ue({...Xe,startAdornment:V}):null]})]})});function sM(t){return bt("MuiInput",t)}const _o={...Ni,...at("MuiInput",["root","underline","input"])};function uM(t){return bt("MuiOutlinedInput",t)}const _a={...Ni,...at("MuiOutlinedInput",["root","notchedOutline","input"])};function cM(t){return bt("MuiFilledInput",t)}const hl={...Ni,...at("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},fM=oN(x.jsx("path",{d:"M7 10l5 5 5-5z"})),dM={entering:{opacity:1},entered:{opacity:1}},Xp=S.forwardRef(function(a,l){const i=Uc(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:u,appear:f=!0,children:p,easing:m,in:h,onEnter:y,onEntered:v,onEntering:C,onExit:E,onExited:b,onExiting:w,style:R,timeout:j=s,TransitionComponent:L=qa,...M}=a,_=S.useRef(null),N=Rn(_,ps(p),l),B=P=>Y=>{if(P){const D=_.current;Y===void 0?P(D):P(D,Y)}},O=B(C),Q=B((P,Y)=>{uS(P);const D=nc({style:R,timeout:j,easing:m},{mode:"enter"});P.style.webkitTransition=i.transitions.create("opacity",D),P.style.transition=i.transitions.create("opacity",D),y&&y(P,Y)}),oe=B(v),re=B(w),ce=B(P=>{const Y=nc({style:R,timeout:j,easing:m},{mode:"exit"});P.style.webkitTransition=i.transitions.create("opacity",Y),P.style.transition=i.transitions.create("opacity",Y),E&&E(P)}),A=B(b),ee=P=>{u&&u(_.current,P)};return x.jsx(L,{appear:f,in:h,nodeRef:_,onEnter:Q,onEntered:oe,onEntering:O,onExit:ce,onExited:A,onExiting:re,addEndListener:ee,timeout:j,...M,children:(P,{ownerState:Y,...D})=>S.cloneElement(p,{style:{opacity:0,visibility:P==="exited"&&!h?"hidden":void 0,...dM[P],...R,...p.props.style},ref:N,...D})})});function pM(t){return bt("MuiBackdrop",t)}at("MuiBackdrop",["root","invisible"]);const hM=t=>{const{classes:a,invisible:l}=t;return xt({root:["root",l&&"invisible"]},pM,a)},mM=Te("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.invisible&&a.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),mS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiBackdrop"}),{children:s,className:u,component:f="div",invisible:p=!1,open:m,components:h={},componentsProps:y={},slotProps:v={},slots:C={},TransitionComponent:E,transitionDuration:b,...w}=i,R={...i,component:f,invisible:p},j=hM(R),L={transition:E,root:h.Root,...C},M={...y,...v},_={component:f,slots:L,slotProps:M},[N,B]=Yt("root",{elementType:mM,externalForwardedProps:_,className:Le(j.root,u),ownerState:R}),[O,Q]=Yt("transition",{elementType:Xp,externalForwardedProps:_,ownerState:R});return x.jsx(O,{in:m,timeout:b,...w,...Q,children:x.jsx(N,{"aria-hidden":!0,...B,classes:j,ref:l,children:s})})}),gM=at("MuiBox",["root"]),yM=tS(),ic=IA({themeId:Sc,defaultTheme:yM,defaultClassName:gM.root,generateClassName:Vx.generate});function vM(t){return bt("MuiButton",t)}const ml=at("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),bM=S.createContext({}),xM=S.createContext(void 0),SM=t=>{const{color:a,disableElevation:l,fullWidth:i,size:s,variant:u,loading:f,loadingPosition:p,classes:m}=t,h={root:["root",f&&"loading",u,`${u}${_e(a)}`,`size${_e(s)}`,`${u}Size${_e(s)}`,`color${_e(a)}`,l&&"disableElevation",i&&"fullWidth",f&&`loadingPosition${_e(p)}`],startIcon:["icon","startIcon",`iconSize${_e(s)}`],endIcon:["icon","endIcon",`iconSize${_e(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},y=xt(h,vM,m);return{...m,...y}},gS=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],EM=Te(hS,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[l.variant],a[`${l.variant}${_e(l.color)}`],a[`size${_e(l.size)}`],a[`${l.variant}Size${_e(l.size)}`],l.color==="inherit"&&a.colorInherit,l.disableElevation&&a.disableElevation,l.fullWidth&&a.fullWidth,l.loading&&a.loading]}})(zt(({theme:t})=>{const a=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],l=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ml.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${ml.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${ml.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ml.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(Nl()).map(([i])=>({props:{color:i},style:{"--variant-textColor":(t.vars||t).palette[i].main,"--variant-outlinedColor":(t.vars||t).palette[i].main,"--variant-outlinedBorder":t.alpha((t.vars||t).palette[i].main,.5),"--variant-containedColor":(t.vars||t).palette[i].contrastText,"--variant-containedBg":(t.vars||t).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[i].dark,"--variant-textBg":t.alpha((t.vars||t).palette[i].main,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[i].main,"--variant-outlinedBg":t.alpha((t.vars||t).palette[i].main,(t.vars||t).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:a,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:l,"--variant-textBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ml.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ml.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${ml.loading}`]:{color:"transparent"}}}]}})),wM=Te("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.startIcon,l.loading&&a.startIconLoadingStart,a[`iconSize${_e(l.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...gS]})),CM=Te("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.endIcon,l.loading&&a.endIconLoadingEnd,a[`iconSize${_e(l.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...gS]})),TM=Te("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ub=Te("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),oc=S.forwardRef(function(a,l){const i=S.useContext(bM),s=S.useContext(xM),u=Ju(i,a),f=Ct({props:u,name:"MuiButton"}),{children:p,color:m="primary",component:h="button",className:y,disabled:v=!1,disableElevation:C=!1,disableFocusRipple:E=!1,endIcon:b,focusVisibleClassName:w,fullWidth:R=!1,id:j,loading:L=null,loadingIndicator:M,loadingPosition:_="center",size:N="medium",startIcon:B,type:O,variant:Q="text",...oe}=f,re=Bc(j),ce=M??x.jsx(GN,{"aria-labelledby":re,color:"inherit",size:16}),A={...f,color:m,component:h,disabled:v,disableElevation:C,disableFocusRipple:E,fullWidth:R,loading:L,loadingIndicator:ce,loadingPosition:_,size:N,type:O,variant:Q},ee=SM(A),P=(B||L&&_==="start")&&x.jsx(wM,{className:ee.startIcon,ownerState:A,children:B||x.jsx(ub,{className:ee.loadingIconPlaceholder,ownerState:A})}),Y=(b||L&&_==="end")&&x.jsx(CM,{className:ee.endIcon,ownerState:A,children:b||x.jsx(ub,{className:ee.loadingIconPlaceholder,ownerState:A})}),D=s||"",F=typeof L=="boolean"?x.jsx("span",{className:ee.loadingWrapper,style:{display:"contents"},children:L&&x.jsx(TM,{className:ee.loadingIndicator,ownerState:A,children:ce})}):null;return x.jsxs(EM,{ownerState:A,className:Le(i.className,ee.root,y,D),component:h,disabled:v||L,focusRipple:!E,focusVisibleClassName:Le(ee.focusVisible,w),ref:l,type:O,id:L?re:j,...oe,classes:ee,children:[P,_!=="end"&&F,p,_==="end"&&F,Y]})});function yS(t=window){const a=t.document.documentElement.clientWidth;return t.innerWidth-a}function RM(t){const a=wa(t);return a.body===t?dr(t).innerWidth>a.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Vo(t,a){a?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function cb(t){return parseInt(dr(t).getComputedStyle(t).paddingRight,10)||0}function AM(t){const l=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),i=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return l||i}function fb(t,a,l,i,s){const u=[a,l,...i];[].forEach.call(t.children,f=>{const p=!u.includes(f),m=!AM(f);p&&m&&Vo(f,s)})}function xp(t,a){let l=-1;return t.some((i,s)=>a(i)?(l=s,!0):!1),l}function OM(t,a){const l=[],i=t.container;if(!a.disableScrollLock){if(RM(i)){const f=yS(dr(i));l.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${cb(i)+f}px`;const p=wa(i).querySelectorAll(".mui-fixed");[].forEach.call(p,m=>{l.push({value:m.style.paddingRight,property:"padding-right",el:m}),m.style.paddingRight=`${cb(m)+f}px`})}let u;if(i.parentNode instanceof DocumentFragment)u=wa(i).body;else{const f=i.parentElement,p=dr(i);u=f?.nodeName==="HTML"&&p.getComputedStyle(f).overflowY==="scroll"?f:i}l.push({value:u.style.overflow,property:"overflow",el:u},{value:u.style.overflowX,property:"overflow-x",el:u},{value:u.style.overflowY,property:"overflow-y",el:u}),u.style.overflow="hidden"}return()=>{l.forEach(({value:u,el:f,property:p})=>{u?f.style.setProperty(p,u):f.style.removeProperty(p)})}}function NM(t){const a=[];return[].forEach.call(t.children,l=>{l.getAttribute("aria-hidden")==="true"&&a.push(l)}),a}class MM{constructor(){this.modals=[],this.containers=[]}add(a,l){let i=this.modals.indexOf(a);if(i!==-1)return i;i=this.modals.length,this.modals.push(a),a.modalRef&&Vo(a.modalRef,!1);const s=NM(l);fb(l,a.mount,a.modalRef,s,!0);const u=xp(this.containers,f=>f.container===l);return u!==-1?(this.containers[u].modals.push(a),i):(this.containers.push({modals:[a],container:l,restore:null,hiddenSiblings:s}),i)}mount(a,l){const i=xp(this.containers,u=>u.modals.includes(a)),s=this.containers[i];s.restore||(s.restore=OM(s,l))}remove(a,l=!0){const i=this.modals.indexOf(a);if(i===-1)return i;const s=xp(this.containers,f=>f.modals.includes(a)),u=this.containers[s];if(u.modals.splice(u.modals.indexOf(a),1),this.modals.splice(i,1),u.modals.length===0)u.restore&&u.restore(),a.modalRef&&Vo(a.modalRef,l),fb(u.container,a.mount,a.modalRef,u.hiddenSiblings,!1),this.containers.splice(s,1);else{const f=u.modals[u.modals.length-1];f.modalRef&&Vo(f.modalRef,!1)}return i}isTopModal(a){return this.modals.length>0&&this.modals[this.modals.length-1]===a}}const jM=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function DM(t){const a=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(a)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:a}function zM(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const a=i=>t.ownerDocument.querySelector(`input[type="radio"]${i}`);let l=a(`[name="${t.name}"]:checked`);return l||(l=a(`[name="${t.name}"]`)),l!==t}function _M(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||zM(t))}function LM(t){const a=[],l=[];return Array.from(t.querySelectorAll(jM)).forEach((i,s)=>{const u=DM(i);u===-1||!_M(i)||(u===0?a.push(i):l.push({documentOrder:s,tabIndex:u,node:i}))}),l.sort((i,s)=>i.tabIndex===s.tabIndex?i.documentOrder-s.documentOrder:i.tabIndex-s.tabIndex).map(i=>i.node).concat(a)}function BM(){return!0}function UM(t){const{children:a,disableAutoFocus:l=!1,disableEnforceFocus:i=!1,disableRestoreFocus:s=!1,getTabbable:u=LM,isEnabled:f=BM,open:p}=t,m=S.useRef(!1),h=S.useRef(null),y=S.useRef(null),v=S.useRef(null),C=S.useRef(null),E=S.useRef(!1),b=S.useRef(null),w=Rn(ps(a),b),R=S.useRef(null);S.useEffect(()=>{!p||!b.current||(E.current=!l)},[l,p]),S.useEffect(()=>{if(!p||!b.current)return;const M=wa(b.current);return b.current.contains(M.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),E.current&&b.current.focus()),()=>{s||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[p]),S.useEffect(()=>{if(!p||!b.current)return;const M=wa(b.current),_=O=>{R.current=O,!(i||!f()||O.key!=="Tab")&&M.activeElement===b.current&&O.shiftKey&&(m.current=!0,y.current&&y.current.focus())},N=()=>{const O=b.current;if(O===null)return;if(!M.hasFocus()||!f()||m.current){m.current=!1;return}if(O.contains(M.activeElement)||i&&M.activeElement!==h.current&&M.activeElement!==y.current)return;if(M.activeElement!==C.current)C.current=null;else if(C.current!==null)return;if(!E.current)return;let Q=[];if((M.activeElement===h.current||M.activeElement===y.current)&&(Q=u(b.current)),Q.length>0){const oe=!!(R.current?.shiftKey&&R.current?.key==="Tab"),re=Q[0],ce=Q[Q.length-1];typeof re!="string"&&typeof ce!="string"&&(oe?ce.focus():re.focus())}else O.focus()};M.addEventListener("focusin",N),M.addEventListener("keydown",_,!0);const B=setInterval(()=>{M.activeElement&&M.activeElement.tagName==="BODY"&&N()},50);return()=>{clearInterval(B),M.removeEventListener("focusin",N),M.removeEventListener("keydown",_,!0)}},[l,i,s,f,p,u]);const j=M=>{v.current===null&&(v.current=M.relatedTarget),E.current=!0,C.current=M.target;const _=a.props.onFocus;_&&_(M)},L=M=>{v.current===null&&(v.current=M.relatedTarget),E.current=!0};return x.jsxs(S.Fragment,{children:[x.jsx("div",{tabIndex:p?0:-1,onFocus:L,ref:h,"data-testid":"sentinelStart"}),S.cloneElement(a,{ref:w,onFocus:j}),x.jsx("div",{tabIndex:p?0:-1,onFocus:L,ref:y,"data-testid":"sentinelEnd"})]})}function kM(t){return typeof t=="function"?t():t}function HM(t){return t?t.props.hasOwnProperty("in"):!1}const db=()=>{},zu=new MM;function $M(t){const{container:a,disableEscapeKeyDown:l=!1,disableScrollLock:i=!1,closeAfterTransition:s=!1,onTransitionEnter:u,onTransitionExited:f,children:p,onClose:m,open:h,rootRef:y}=t,v=S.useRef({}),C=S.useRef(null),E=S.useRef(null),b=Rn(E,y),[w,R]=S.useState(!h),j=HM(p);let L=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(L=!1);const M=()=>wa(C.current),_=()=>(v.current.modalRef=E.current,v.current.mount=C.current,v.current),N=()=>{zu.mount(_(),{disableScrollLock:i}),E.current&&(E.current.scrollTop=0)},B=wl(()=>{const Y=kM(a)||M().body;zu.add(_(),Y),E.current&&N()}),O=()=>zu.isTopModal(_()),Q=wl(Y=>{C.current=Y,Y&&(h&&O()?N():E.current&&Vo(E.current,L))}),oe=S.useCallback(()=>{zu.remove(_(),L)},[L]);S.useEffect(()=>()=>{oe()},[oe]),S.useEffect(()=>{h?B():(!j||!s)&&oe()},[h,oe,j,s,B]);const re=Y=>D=>{Y.onKeyDown?.(D),!(D.key!=="Escape"||D.which===229||!O())&&(l||(D.stopPropagation(),m&&m(D,"escapeKeyDown")))},ce=Y=>D=>{Y.onClick?.(D),D.target===D.currentTarget&&m&&m(D,"backdropClick")};return{getRootProps:(Y={})=>{const D=dS(t);delete D.onTransitionEnter,delete D.onTransitionExited;const F={...D,...Y};return{role:"presentation",...F,onKeyDown:re(F),ref:b}},getBackdropProps:(Y={})=>{const D=Y;return{"aria-hidden":!0,...D,onClick:ce(D),open:h}},getTransitionProps:()=>{const Y=()=>{R(!1),u&&u()},D=()=>{R(!0),f&&f(),s&&oe()};return{onEnter:Zv(Y,p?.props.onEnter??db),onExited:Zv(D,p?.props.onExited??db)}},rootRef:b,portalRef:Q,isTopModal:O,exited:w,hasTransition:j}}function PM(t){return bt("MuiModal",t)}at("MuiModal",["root","hidden","backdrop"]);const qM=t=>{const{open:a,exited:l,classes:i}=t;return xt({root:["root",!a&&l&&"hidden"],backdrop:["backdrop"]},PM,i)},FM=Te("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,!l.open&&l.exited&&a.hidden]}})(zt(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:a})=>!a.open&&a.exited,style:{visibility:"hidden"}}]}))),VM=Te(mS,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),vS=S.forwardRef(function(a,l){const i=Ct({name:"MuiModal",props:a}),{BackdropComponent:s=VM,BackdropProps:u,classes:f,className:p,closeAfterTransition:m=!1,children:h,container:y,component:v,components:C={},componentsProps:E={},disableAutoFocus:b=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:R=!1,disablePortal:j=!1,disableRestoreFocus:L=!1,disableScrollLock:M=!1,hideBackdrop:_=!1,keepMounted:N=!1,onClose:B,onTransitionEnter:O,onTransitionExited:Q,open:oe,slotProps:re={},slots:ce={},theme:A,...ee}=i,P={...i,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:w,disableEscapeKeyDown:R,disablePortal:j,disableRestoreFocus:L,disableScrollLock:M,hideBackdrop:_,keepMounted:N},{getRootProps:Y,getBackdropProps:D,getTransitionProps:F,portalRef:ue,isTopModal:te,exited:he,hasTransition:z}=$M({...P,rootRef:l}),G={...P,exited:he},V=qM(G),ie={};if(h.props.tabIndex===void 0&&(ie.tabIndex="-1"),z){const{onEnter:je,onExited:Oe}=F();ie.onEnter=je,ie.onExited=Oe}const de={slots:{root:C.Root,backdrop:C.Backdrop,...ce},slotProps:{...E,...re}},[be,Ae]=Yt("root",{ref:l,elementType:FM,externalForwardedProps:{...de,...ee,component:v},getSlotProps:Y,ownerState:G,className:Le(p,V?.root,!G.open&&G.exited&&V?.hidden)}),[Je,ze]=Yt("backdrop",{ref:u?.ref,elementType:s,externalForwardedProps:de,shouldForwardComponentProp:!0,additionalProps:u,getSlotProps:je=>D({...je,onClick:Oe=>{je?.onClick&&je.onClick(Oe)}}),className:Le(u?.className,V?.backdrop),ownerState:G});return!N&&!oe&&(!z||he)?null:x.jsx(tM,{ref:ue,container:y,disablePortal:j,children:x.jsxs(be,{...Ae,children:[!_&&s?x.jsx(Je,{...ze}):null,x.jsx(UM,{disableEnforceFocus:w,disableAutoFocus:b,disableRestoreFocus:L,isEnabled:te,open:oe,children:S.cloneElement(h,ie)})]})})});function YM(t){return bt("MuiDialog",t)}const Sp=at("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),bS=S.createContext({}),GM=Te(mS,{name:"MuiDialog",slot:"Backdrop",overrides:(t,a)=>a.backdrop})({zIndex:-1}),XM=t=>{const{classes:a,scroll:l,maxWidth:i,fullWidth:s,fullScreen:u}=t,f={root:["root"],container:["container",`scroll${_e(l)}`],paper:["paper",`paperScroll${_e(l)}`,`paperWidth${_e(String(i))}`,s&&"paperFullWidth",u&&"paperFullScreen"]};return xt(f,YM,a)},KM=Te(vS,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),IM=Te("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.container,a[`scroll${_e(l.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),QM=Te(jh,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.paper,a[`scrollPaper${_e(l.scroll)}`],a[`paperWidth${_e(String(l.maxWidth))}`],l.fullWidth&&a.paperFullWidth,l.fullScreen&&a.paperFullScreen]}})(zt(({theme:t})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:a})=>!a.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${Sp.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(a=>a!=="xs").map(a=>({props:{maxWidth:a},style:{maxWidth:`${t.breakpoints.values[a]}${t.breakpoints.unit}`,[`&.${Sp.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[a]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:a})=>a.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:a})=>a.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Sp.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),xS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialog"}),s=Uc(),u={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":f,"aria-labelledby":p,"aria-modal":m=!0,BackdropComponent:h,BackdropProps:y,children:v,className:C,disableEscapeKeyDown:E=!1,fullScreen:b=!1,fullWidth:w=!1,maxWidth:R="sm",onClick:j,onClose:L,open:M,PaperComponent:_=jh,PaperProps:N={},scroll:B="paper",slots:O={},slotProps:Q={},TransitionComponent:oe=Xp,transitionDuration:re=u,TransitionProps:ce,...A}=i,ee={...i,disableEscapeKeyDown:E,fullScreen:b,fullWidth:w,maxWidth:R,scroll:B},P=XM(ee),Y=S.useRef(),D=St=>{Y.current=St.target===St.currentTarget},F=St=>{j&&j(St),Y.current&&(Y.current=null,L&&L(St,"backdropClick"))},ue=Bc(p),te=S.useMemo(()=>({titleId:ue}),[ue]),he={transition:oe,...O},z={transition:ce,paper:N,backdrop:y,...Q},G={slots:he,slotProps:z},[V,ie]=Yt("root",{elementType:KM,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:ee,className:Le(P.root,C),ref:l}),[de,be]=Yt("backdrop",{elementType:GM,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:ee}),[Ae,Je]=Yt("paper",{elementType:QM,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:ee,className:Le(P.paper,N.className)}),[ze,je]=Yt("container",{elementType:IM,externalForwardedProps:G,ownerState:ee,className:P.container}),[Oe,Pe]=Yt("transition",{elementType:Xp,externalForwardedProps:G,ownerState:ee,additionalProps:{appear:!0,in:M,timeout:re,role:"presentation"}});return x.jsx(V,{closeAfterTransition:!0,slots:{backdrop:de},slotProps:{backdrop:{transitionDuration:re,as:h,...be}},disableEscapeKeyDown:E,onClose:L,open:M,onClick:F,...ie,...A,children:x.jsx(Oe,{...Pe,children:x.jsx(ze,{onMouseDown:D,...je,children:x.jsx(Ae,{as:_,elevation:24,role:"dialog","aria-describedby":f,"aria-labelledby":ue,"aria-modal":m,...Je,children:x.jsx(bS.Provider,{value:te,children:v})})})})})});function ZM(t){return bt("MuiDialogActions",t)}at("MuiDialogActions",["root","spacing"]);const WM=t=>{const{classes:a,disableSpacing:l}=t;return xt({root:["root",!l&&"spacing"]},ZM,a)},JM=Te("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,!l.disableSpacing&&a.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:t})=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),SS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialogActions"}),{className:s,disableSpacing:u=!1,...f}=i,p={...i,disableSpacing:u},m=WM(p);return x.jsx(JM,{className:Le(m.root,s),ownerState:p,ref:l,...f})});function ej(t){return bt("MuiDialogContent",t)}at("MuiDialogContent",["root","dividers"]);function tj(t){return bt("MuiDialogTitle",t)}const nj=at("MuiDialogTitle",["root"]),aj=t=>{const{classes:a,dividers:l}=t;return xt({root:["root",l&&"dividers"]},ej,a)},rj=Te("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.dividers&&a.dividers]}})(zt(({theme:t})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:a})=>a.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:a})=>!a.dividers,style:{[`.${nj.root} + &`]:{paddingTop:0}}}]}))),ES=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialogContent"}),{className:s,dividers:u=!1,...f}=i,p={...i,dividers:u},m=aj(p);return x.jsx(rj,{className:Le(m.root,s),ownerState:p,ref:l,...f})}),lj=t=>{const{classes:a}=t;return xt({root:["root"]},tj,a)},ij=Te(WN,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),wS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialogTitle"}),{className:s,id:u,...f}=i,p=i,m=lj(p),{titleId:h=u}=S.useContext(bS);return x.jsx(ij,{component:"h2",className:Le(m.root,s),ownerState:p,ref:l,variant:"h6",id:u??h,...f})}),pb=at("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),oj=t=>{const{classes:a,disableUnderline:l,startAdornment:i,endAdornment:s,size:u,hiddenLabel:f,multiline:p}=t,m={root:["root",!l&&"underline",i&&"adornedStart",s&&"adornedEnd",u==="small"&&`size${_e(u)}`,f&&"hiddenLabel",p&&"multiline"],input:["input"]},h=xt(m,cM,a);return{...a,...h}},sj=Te($c,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[...kc(t,a),!l.disableUnderline&&a.underline]}})(zt(({theme:t})=>{const a=t.palette.mode==="light",l=a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:i}},[`&.${hl.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:i},[`&.${hl.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:u},variants:[{props:({ownerState:f})=>!f.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${hl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${hl.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline):l}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${hl.disabled}, .${hl.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${hl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Nl()).map(([f])=>({props:{disableUnderline:!1,color:f},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[f]?.main}`}}})),{props:({ownerState:f})=>f.startAdornment,style:{paddingLeft:12}},{props:({ownerState:f})=>f.endAdornment,style:{paddingRight:12}},{props:({ownerState:f})=>f.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:f,size:p})=>f.multiline&&p==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:f})=>f.multiline&&f.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:f})=>f.multiline&&f.hiddenLabel&&f.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),uj=Te(Pc,{name:"MuiFilledInput",slot:"Input",overridesResolver:Hc})(zt(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:0}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:0}},{props:({ownerState:a})=>a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:a})=>a.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),_h=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:u={},componentsProps:f,fullWidth:p=!1,hiddenLabel:m,inputComponent:h="input",multiline:y=!1,slotProps:v,slots:C={},type:E="text",...b}=i,w={...i,disableUnderline:s,fullWidth:p,inputComponent:h,multiline:y,type:E},R=oj(i),j={root:{ownerState:w},input:{ownerState:w}},L=v??f?bn(j,v??f):j,M=C.root??u.Root??sj,_=C.input??u.Input??uj;return x.jsx(zh,{slots:{root:M,input:_},slotProps:L,fullWidth:p,inputComponent:h,multiline:y,ref:l,type:E,...b,classes:R})});_h.muiName="Input";function cj(t){return bt("MuiFormControl",t)}at("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const fj=t=>{const{classes:a,margin:l,fullWidth:i}=t,s={root:["root",l!=="none"&&`margin${_e(l)}`,i&&"fullWidth"]};return xt(s,cj,a)},dj=Te("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[`margin${_e(l.margin)}`],l.fullWidth&&a.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Jo=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFormControl"}),{children:s,className:u,color:f="primary",component:p="div",disabled:m=!1,error:h=!1,focused:y,fullWidth:v=!1,hiddenLabel:C=!1,margin:E="none",required:b=!1,size:w="medium",variant:R="outlined",...j}=i,L={...i,color:f,component:p,disabled:m,error:h,fullWidth:v,hiddenLabel:C,margin:E,required:b,size:w,variant:R},M=fj(L),[_,N]=S.useState(()=>{let Y=!1;return s&&S.Children.forEach(s,D=>{if(!vp(D,["Input","Select"]))return;const F=vp(D,["Select"])?D.props.input:D;F&&lM(F.props)&&(Y=!0)}),Y}),[B,O]=S.useState(()=>{let Y=!1;return s&&S.Children.forEach(s,D=>{vp(D,["Input","Select"])&&(lc(D.props,!0)||lc(D.props.inputProps,!0))&&(Y=!0)}),Y}),[Q,oe]=S.useState(!1);m&&Q&&oe(!1);const re=y!==void 0&&!m?y:Q;let ce;S.useRef(!1);const A=S.useCallback(()=>{O(!0)},[]),ee=S.useCallback(()=>{O(!1)},[]),P=S.useMemo(()=>({adornedStart:_,setAdornedStart:N,color:f,disabled:m,error:h,filled:B,focused:re,fullWidth:v,hiddenLabel:C,size:w,onBlur:()=>{oe(!1)},onFocus:()=>{oe(!0)},onEmpty:ee,onFilled:A,registerEffect:ce,required:b,variant:R}),[_,f,m,h,B,re,v,C,ce,ee,A,b,w,R]);return x.jsx(Dh.Provider,{value:P,children:x.jsx(dj,{as:p,ownerState:L,className:Le(M.root,u),ref:l,...j,children:s})})});function pj(t){return bt("MuiFormHelperText",t)}const hb=at("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var mb;const hj=t=>{const{classes:a,contained:l,size:i,disabled:s,error:u,filled:f,focused:p,required:m}=t,h={root:["root",s&&"disabled",u&&"error",i&&`size${_e(i)}`,l&&"contained",p&&"focused",f&&"filled",m&&"required"]};return xt(h,pj,a)},mj=Te("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.size&&a[`size${_e(l.size)}`],l.contained&&a.contained,l.filled&&a.filled]}})(zt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${hb.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${hb.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:a})=>a.contained,style:{marginLeft:14,marginRight:14}}]}))),gj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFormHelperText"}),{children:s,className:u,component:f="p",disabled:p,error:m,filled:h,focused:y,margin:v,required:C,variant:E,...b}=i,w=Ui(),R=Bi({props:i,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),j={...i,component:f,contained:R.variant==="filled"||R.variant==="outlined",variant:R.variant,size:R.size,disabled:R.disabled,error:R.error,filled:R.filled,focused:R.focused,required:R.required};delete j.ownerState;const L=hj(j);return x.jsx(mj,{as:f,className:Le(L.root,u),ref:l,...b,ownerState:j,children:s===" "?mb||(mb=x.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function yj(t){return bt("MuiFormLabel",t)}const Yo=at("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),vj=t=>{const{classes:a,color:l,focused:i,disabled:s,error:u,filled:f,required:p}=t,m={root:["root",`color${_e(l)}`,s&&"disabled",u&&"error",f&&"filled",i&&"focused",p&&"required"],asterisk:["asterisk",u&&"error"]};return xt(m,yj,a)},bj=Te("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.color==="secondary"&&a.colorSecondary,l.filled&&a.filled]}})(zt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(Nl()).map(([a])=>({props:{color:a},style:{[`&.${Yo.focused}`]:{color:(t.vars||t).palette[a].main}}})),{props:{},style:{[`&.${Yo.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Yo.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),xj=Te("span",{name:"MuiFormLabel",slot:"Asterisk"})(zt(({theme:t})=>({[`&.${Yo.error}`]:{color:(t.vars||t).palette.error.main}}))),Sj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFormLabel"}),{children:s,className:u,color:f,component:p="label",disabled:m,error:h,filled:y,focused:v,required:C,...E}=i,b=Ui(),w=Bi({props:i,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),R={...i,color:w.color||"primary",component:p,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},j=vj(R);return x.jsxs(bj,{as:p,ownerState:R,className:Le(j.root,u),ref:l,...E,children:[s,w.required&&x.jsxs(xj,{ownerState:R,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]})});function Kp(t){return`scale(${t}, ${t**2})`}const Ej={entering:{opacity:1,transform:Kp(1)},entered:{opacity:1,transform:"none"}},Ep=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ip=S.forwardRef(function(a,l){const{addEndListener:i,appear:s=!0,children:u,easing:f,in:p,onEnter:m,onEntered:h,onEntering:y,onExit:v,onExited:C,onExiting:E,style:b,timeout:w="auto",TransitionComponent:R=qa,...j}=a,L=sS(),M=S.useRef(),_=Uc(),N=S.useRef(null),B=Rn(N,ps(u),l),O=Y=>D=>{if(Y){const F=N.current;D===void 0?Y(F):Y(F,D)}},Q=O(y),oe=O((Y,D)=>{uS(Y);const{duration:F,delay:ue,easing:te}=nc({style:b,timeout:w,easing:f},{mode:"enter"});let he;w==="auto"?(he=_.transitions.getAutoHeightDuration(Y.clientHeight),M.current=he):he=F,Y.style.transition=[_.transitions.create("opacity",{duration:he,delay:ue}),_.transitions.create("transform",{duration:Ep?he:he*.666,delay:ue,easing:te})].join(","),m&&m(Y,D)}),re=O(h),ce=O(E),A=O(Y=>{const{duration:D,delay:F,easing:ue}=nc({style:b,timeout:w,easing:f},{mode:"exit"});let te;w==="auto"?(te=_.transitions.getAutoHeightDuration(Y.clientHeight),M.current=te):te=D,Y.style.transition=[_.transitions.create("opacity",{duration:te,delay:F}),_.transitions.create("transform",{duration:Ep?te:te*.666,delay:Ep?F:F||te*.333,easing:ue})].join(","),Y.style.opacity=0,Y.style.transform=Kp(.75),v&&v(Y)}),ee=O(C),P=Y=>{w==="auto"&&L.start(M.current||0,Y),i&&i(N.current,Y)};return x.jsx(R,{appear:s,in:p,nodeRef:N,onEnter:oe,onEntered:re,onEntering:Q,onExit:A,onExited:ee,onExiting:ce,addEndListener:P,timeout:w==="auto"?null:w,...j,children:(Y,{ownerState:D,...F})=>S.cloneElement(u,{style:{opacity:0,transform:Kp(.75),visibility:Y==="exited"&&!p?"hidden":void 0,...Ej[Y],...b,...u.props.style},ref:B,...F})})});Ip&&(Ip.muiSupportAuto=!0);const wj=t=>{const{classes:a,disableUnderline:l}=t,s=xt({root:["root",!l&&"underline"],input:["input"]},sM,a);return{...a,...s}},Cj=Te($c,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[...kc(t,a),!l.disableUnderline&&a.underline]}})(zt(({theme:t})=>{let l=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(l=t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:i})=>i.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${_o.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_o.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${l}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${_o.disabled}, .${_o.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${l}`}},[`&.${_o.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Nl()).map(([i])=>({props:{color:i,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[i].main}`}}}))]}})),Tj=Te(Pc,{name:"MuiInput",slot:"Input",overridesResolver:Hc})({}),Lh=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiInput"}),{disableUnderline:s=!1,components:u={},componentsProps:f,fullWidth:p=!1,inputComponent:m="input",multiline:h=!1,slotProps:y,slots:v={},type:C="text",...E}=i,b=wj(i),R={root:{ownerState:{disableUnderline:s}}},j=y??f?bn(y??f,R):R,L=v.root??u.Root??Cj,M=v.input??u.Input??Tj;return x.jsx(zh,{slots:{root:L,input:M},slotProps:j,fullWidth:p,inputComponent:m,multiline:h,ref:l,type:C,...E,classes:b})});Lh.muiName="Input";function Rj(t){return bt("MuiInputLabel",t)}at("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Aj=t=>{const{classes:a,formControl:l,size:i,shrink:s,disableAnimation:u,variant:f,required:p}=t,m={root:["root",l&&"formControl",!u&&"animated",s&&"shrink",i&&i!=="medium"&&`size${_e(i)}`,f],asterisk:[p&&"asterisk"]},h=xt(m,Rj,a);return{...a,...h}},Oj=Te(Sj,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[{[`& .${Yo.asterisk}`]:a.asterisk},a.root,l.formControl&&a.formControl,l.size==="small"&&a.sizeSmall,l.shrink&&a.shrink,!l.disableAnimation&&a.animated,l.focused&&a.focused,a[l.variant]]}})(zt(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:a})=>a.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:a})=>a.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:a})=>!a.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:a,ownerState:l})=>a==="filled"&&l.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:a,ownerState:l,size:i})=>a==="filled"&&l.shrink&&i==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:a,ownerState:l})=>a==="outlined"&&l.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),es=S.forwardRef(function(a,l){const i=Ct({name:"MuiInputLabel",props:a}),{disableAnimation:s=!1,margin:u,shrink:f,variant:p,className:m,...h}=i,y=Ui();let v=f;typeof v>"u"&&y&&(v=y.filled||y.focused||y.adornedStart);const C=Bi({props:i,muiFormControl:y,states:["size","variant","required","focused"]}),E={...i,disableAnimation:s,formControl:y,shrink:v,size:C.size,variant:C.variant,required:C.required,focused:C.focused},b=Aj(E);return x.jsx(Oj,{"data-shrink":v,ref:l,className:Le(b.root,m),...h,ownerState:E,classes:b})}),Qp=S.createContext({});function Nj(t){return bt("MuiList",t)}at("MuiList",["root","padding","dense","subheader"]);const Mj=t=>{const{classes:a,disablePadding:l,dense:i,subheader:s}=t;return xt({root:["root",!l&&"padding",i&&"dense",s&&"subheader"]},Nj,a)},jj=Te("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,!l.disablePadding&&a.padding,l.dense&&a.dense,l.subheader&&a.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),Dj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiList"}),{children:s,className:u,component:f="ul",dense:p=!1,disablePadding:m=!1,subheader:h,...y}=i,v=S.useMemo(()=>({dense:p}),[p]),C={...i,component:f,dense:p,disablePadding:m},E=Mj(C);return x.jsx(Qp.Provider,{value:v,children:x.jsxs(jj,{as:f,className:Le(E.root,u),ref:l,ownerState:C,...y,children:[h,s]})})}),gb=at("MuiListItemIcon",["root","alignItemsFlexStart"]),yb=at("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function wp(t,a,l){return t===a?t.firstChild:a&&a.nextElementSibling?a.nextElementSibling:l?null:t.firstChild}function vb(t,a,l){return t===a?l?t.firstChild:t.lastChild:a&&a.previousElementSibling?a.previousElementSibling:l?null:t.lastChild}function CS(t,a){if(a===void 0)return!0;let l=t.innerText;return l===void 0&&(l=t.textContent),l=l.trim().toLowerCase(),l.length===0?!1:a.repeating?l[0]===a.keys[0]:l.startsWith(a.keys.join(""))}function Lo(t,a,l,i,s,u){let f=!1,p=s(t,a,a?l:!1);for(;p;){if(p===t.firstChild){if(f)return!1;f=!0}const m=i?!1:p.disabled||p.getAttribute("aria-disabled")==="true";if(!p.hasAttribute("tabindex")||!CS(p,u)||m)p=s(t,p,l);else return p.focus(),!0}return!1}const zj=S.forwardRef(function(a,l){const{actions:i,autoFocus:s=!1,autoFocusItem:u=!1,children:f,className:p,disabledItemsFocusable:m=!1,disableListWrap:h=!1,onKeyDown:y,variant:v="selectedMenu",...C}=a,E=S.useRef(null),b=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Vr(()=>{s&&E.current.focus()},[s]),S.useImperativeHandle(i,()=>({adjustStyleForScrollbar:(M,{direction:_})=>{const N=!E.current.style.width;if(M.clientHeight<E.current.clientHeight&&N){const B=`${yS(dr(M))}px`;E.current.style[_==="rtl"?"paddingLeft":"paddingRight"]=B,E.current.style.width=`calc(100% + ${B})`}return E.current}}),[]);const w=M=>{const _=E.current,N=M.key;if(M.ctrlKey||M.metaKey||M.altKey){y&&y(M);return}const O=wa(_).activeElement;if(N==="ArrowDown")M.preventDefault(),Lo(_,O,h,m,wp);else if(N==="ArrowUp")M.preventDefault(),Lo(_,O,h,m,vb);else if(N==="Home")M.preventDefault(),Lo(_,null,h,m,wp);else if(N==="End")M.preventDefault(),Lo(_,null,h,m,vb);else if(N.length===1){const Q=b.current,oe=N.toLowerCase(),re=performance.now();Q.keys.length>0&&(re-Q.lastTime>500?(Q.keys=[],Q.repeating=!0,Q.previousKeyMatched=!0):Q.repeating&&oe!==Q.keys[0]&&(Q.repeating=!1)),Q.lastTime=re,Q.keys.push(oe);const ce=O&&!Q.repeating&&CS(O,Q);Q.previousKeyMatched&&(ce||Lo(_,O,!1,m,wp,Q))?M.preventDefault():Q.previousKeyMatched=!1}y&&y(M)},R=Rn(E,l);let j=-1;S.Children.forEach(f,(M,_)=>{if(!S.isValidElement(M)){j===_&&(j+=1,j>=f.length&&(j=-1));return}M.props.disabled||(v==="selectedMenu"&&M.props.selected||j===-1)&&(j=_),j===_&&(M.props.disabled||M.props.muiSkipListHighlight||M.type.muiSkipListHighlight)&&(j+=1,j>=f.length&&(j=-1))});const L=S.Children.map(f,(M,_)=>{if(_===j){const N={};return u&&(N.autoFocus=!0),M.props.tabIndex===void 0&&v==="selectedMenu"&&(N.tabIndex=0),S.cloneElement(M,N)}return M});return x.jsx(Dj,{role:"menu",ref:R,className:p,onKeyDown:w,tabIndex:s?0:-1,...C,children:L})});function _j(t){return bt("MuiPopover",t)}at("MuiPopover",["root","paper"]);function bb(t,a){let l=0;return typeof a=="number"?l=a:a==="center"?l=t.height/2:a==="bottom"&&(l=t.height),l}function xb(t,a){let l=0;return typeof a=="number"?l=a:a==="center"?l=t.width/2:a==="right"&&(l=t.width),l}function Sb(t){return[t.horizontal,t.vertical].map(a=>typeof a=="number"?`${a}px`:a).join(" ")}function _u(t){return typeof t=="function"?t():t}const Lj=t=>{const{classes:a}=t;return xt({root:["root"],paper:["paper"]},_j,a)},Bj=Te(vS,{name:"MuiPopover",slot:"Root"})({}),TS=Te(jh,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Uj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiPopover"}),{action:s,anchorEl:u,anchorOrigin:f={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:m="anchorEl",children:h,className:y,container:v,elevation:C=8,marginThreshold:E=16,open:b,PaperProps:w={},slots:R={},slotProps:j={},transformOrigin:L={vertical:"top",horizontal:"left"},TransitionComponent:M,transitionDuration:_="auto",TransitionProps:N={},disableScrollLock:B=!1,...O}=i,Q=S.useRef(),oe={...i,anchorOrigin:f,anchorReference:m,elevation:C,marginThreshold:E,transformOrigin:L,TransitionComponent:M,transitionDuration:_,TransitionProps:N},re=Lj(oe),ce=S.useCallback(()=>{if(m==="anchorPosition")return p;const je=_u(u),Pe=(je&&je.nodeType===1?je:wa(Q.current).body).getBoundingClientRect();return{top:Pe.top+bb(Pe,f.vertical),left:Pe.left+xb(Pe,f.horizontal)}},[u,f.horizontal,f.vertical,p,m]),A=S.useCallback(je=>({vertical:bb(je,L.vertical),horizontal:xb(je,L.horizontal)}),[L.horizontal,L.vertical]),ee=S.useCallback(je=>{const Oe={width:je.offsetWidth,height:je.offsetHeight},Pe=A(Oe);if(m==="none")return{top:null,left:null,transformOrigin:Sb(Pe)};const St=ce();let Be=St.top-Pe.vertical,Xe=St.left-Pe.horizontal;const en=Be+Oe.height,tn=Xe+Oe.width,Nt=dr(_u(u)),mn=Nt.innerHeight-E,$t=Nt.innerWidth-E;if(E!==null&&Be<E){const Rt=Be-E;Be-=Rt,Pe.vertical+=Rt}else if(E!==null&&en>mn){const Rt=en-mn;Be-=Rt,Pe.vertical+=Rt}if(E!==null&&Xe<E){const Rt=Xe-E;Xe-=Rt,Pe.horizontal+=Rt}else if(tn>$t){const Rt=tn-$t;Xe-=Rt,Pe.horizontal+=Rt}return{top:`${Math.round(Be)}px`,left:`${Math.round(Xe)}px`,transformOrigin:Sb(Pe)}},[u,m,ce,A,E]),[P,Y]=S.useState(b),D=S.useCallback(()=>{const je=Q.current;if(!je)return;const Oe=ee(je);Oe.top!==null&&je.style.setProperty("top",Oe.top),Oe.left!==null&&(je.style.left=Oe.left),je.style.transformOrigin=Oe.transformOrigin,Y(!0)},[ee]);S.useEffect(()=>(B&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[u,B,D]);const F=()=>{D()},ue=()=>{Y(!1)};S.useEffect(()=>{b&&D()}),S.useImperativeHandle(s,()=>b?{updatePosition:()=>{D()}}:null,[b,D]),S.useEffect(()=>{if(!b)return;const je=aS(()=>{D()}),Oe=dr(_u(u));return Oe.addEventListener("resize",je),()=>{je.clear(),Oe.removeEventListener("resize",je)}},[u,b,D]);let te=_;const he={slots:{transition:M,...R},slotProps:{transition:N,paper:w,...j}},[z,G]=Yt("transition",{elementType:Ip,externalForwardedProps:he,ownerState:oe,getSlotProps:je=>({...je,onEntering:(Oe,Pe)=>{je.onEntering?.(Oe,Pe),F()},onExited:Oe=>{je.onExited?.(Oe),ue()}}),additionalProps:{appear:!0,in:b}});_==="auto"&&!z.muiSupportAuto&&(te=void 0);const V=v||(u?wa(_u(u)).body:void 0),[ie,{slots:de,slotProps:be,...Ae}]=Yt("root",{ref:l,elementType:Bj,externalForwardedProps:{...he,...O},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:R.backdrop},slotProps:{backdrop:uN(typeof j.backdrop=="function"?j.backdrop(oe):j.backdrop,{invisible:!0})},container:V,open:b},ownerState:oe,className:Le(re.root,y)}),[Je,ze]=Yt("paper",{ref:Q,className:re.paper,elementType:TS,externalForwardedProps:he,shouldForwardComponentProp:!0,additionalProps:{elevation:C,style:P?void 0:{opacity:0}},ownerState:oe});return x.jsx(ie,{...Ae,...!ac(ie)&&{slots:de,slotProps:be,disableScrollLock:B},children:x.jsx(z,{...G,timeout:te,children:x.jsx(Je,{...ze,children:h})})})});function kj(t){return bt("MuiMenu",t)}at("MuiMenu",["root","paper","list"]);const Hj={vertical:"top",horizontal:"right"},$j={vertical:"top",horizontal:"left"},Pj=t=>{const{classes:a}=t;return xt({root:["root"],paper:["paper"],list:["list"]},kj,a)},qj=Te(Uj,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiMenu",slot:"Root"})({}),Fj=Te(TS,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Vj=Te(zj,{name:"MuiMenu",slot:"List"})({outline:0}),Yj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiMenu"}),{autoFocus:s=!0,children:u,className:f,disableAutoFocusItem:p=!1,MenuListProps:m={},onClose:h,open:y,PaperProps:v={},PopoverClasses:C,transitionDuration:E="auto",TransitionProps:{onEntering:b,...w}={},variant:R="selectedMenu",slots:j={},slotProps:L={},...M}=i,_=fO(),N={...i,autoFocus:s,disableAutoFocusItem:p,MenuListProps:m,onEntering:b,PaperProps:v,transitionDuration:E,TransitionProps:w,variant:R},B=Pj(N),O=s&&!p&&y,Q=S.useRef(null),oe=(te,he)=>{Q.current&&Q.current.adjustStyleForScrollbar(te,{direction:_?"rtl":"ltr"}),b&&b(te,he)},re=te=>{te.key==="Tab"&&(te.preventDefault(),h&&h(te,"tabKeyDown"))};let ce=-1;S.Children.map(u,(te,he)=>{S.isValidElement(te)&&(te.props.disabled||(R==="selectedMenu"&&te.props.selected||ce===-1)&&(ce=he))});const A={slots:j,slotProps:{list:m,transition:w,paper:v,...L}},ee=JN({elementType:j.root,externalSlotProps:L.root,ownerState:N,className:[B.root,f]}),[P,Y]=Yt("paper",{className:B.paper,elementType:Fj,externalForwardedProps:A,shouldForwardComponentProp:!0,ownerState:N}),[D,F]=Yt("list",{className:Le(B.list,m.className),elementType:Vj,shouldForwardComponentProp:!0,externalForwardedProps:A,getSlotProps:te=>({...te,onKeyDown:he=>{re(he),te.onKeyDown?.(he)}}),ownerState:N}),ue=typeof A.slotProps.transition=="function"?A.slotProps.transition(N):A.slotProps.transition;return x.jsx(qj,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?Hj:$j,slots:{root:j.root,paper:P,backdrop:j.backdrop,...j.transition&&{transition:j.transition}},slotProps:{root:ee,paper:Y,backdrop:typeof L.backdrop=="function"?L.backdrop(N):L.backdrop,transition:{...ue,onEntering:(...te)=>{oe(...te),ue?.onEntering?.(...te)}}},open:y,ref:l,transitionDuration:E,ownerState:N,...M,classes:C,children:x.jsx(D,{actions:Q,autoFocus:s&&(ce===-1||p),autoFocusItem:O,variant:R,...F,children:u})})});function Gj(t){return bt("MuiMenuItem",t)}const Bo=at("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Xj=(t,a)=>{const{ownerState:l}=t;return[a.root,l.dense&&a.dense,l.divider&&a.divider,!l.disableGutters&&a.gutters]},Kj=t=>{const{disabled:a,dense:l,divider:i,disableGutters:s,selected:u,classes:f}=t,m=xt({root:["root",l&&"dense",a&&"disabled",!s&&"gutters",i&&"divider",u&&"selected"]},Gj,f);return{...f,...m}},Ij=Te(hS,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Xj})(zt(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Bo.selected}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity),[`&.${Bo.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)}},[`&.${Bo.selected}:hover`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity)}},[`&.${Bo.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Bo.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${pb.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${pb.inset}`]:{marginLeft:52},[`& .${yb.root}`]:{marginTop:0,marginBottom:0},[`& .${yb.inset}`]:{paddingLeft:36},[`& .${gb.root}`]:{minWidth:36},variants:[{props:({ownerState:a})=>!a.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:a})=>a.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:a})=>!a.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:a})=>a.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${gb.root} svg`]:{fontSize:"1.25rem"}}}]}))),sc=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiMenuItem"}),{autoFocus:s=!1,component:u="li",dense:f=!1,divider:p=!1,disableGutters:m=!1,focusVisibleClassName:h,role:y="menuitem",tabIndex:v,className:C,...E}=i,b=S.useContext(Qp),w=S.useMemo(()=>({dense:f||b.dense||!1,disableGutters:m}),[b.dense,f,m]),R=S.useRef(null);Vr(()=>{s&&R.current&&R.current.focus()},[s]);const j={...i,dense:w.dense,divider:p,disableGutters:m},L=Kj(i),M=Rn(R,l);let _;return i.disabled||(_=v!==void 0?v:-1),x.jsx(Qp.Provider,{value:w,children:x.jsx(Ij,{ref:M,role:y,tabIndex:_,component:u,focusVisibleClassName:Le(L.focusVisible,h),className:Le(L.root,C),...E,ownerState:j,classes:L})})});function Qj(t){return bt("MuiNativeSelect",t)}const Bh=at("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Zj=t=>{const{classes:a,variant:l,disabled:i,multiple:s,open:u,error:f}=t,p={select:["select",l,i&&"disabled",s&&"multiple",f&&"error"],icon:["icon",`icon${_e(l)}`,u&&"iconOpen",i&&"disabled"]};return xt(p,Qj,a)},RS=Te("select",{name:"MuiNativeSelect"})(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Bh.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:a})=>a.variant!=="filled"&&a.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Wj=Te(RS,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:pa,overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.select,a[l.variant],l.error&&a.error,{[`&.${Bh.multiple}`]:a.multiple}]}})({}),AS=Te("svg",{name:"MuiNativeSelect"})(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Bh.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:a})=>a.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Jj=Te(AS,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.icon,l.variant&&a[`icon${_e(l.variant)}`],l.open&&a.iconOpen]}})({}),e5=S.forwardRef(function(a,l){const{className:i,disabled:s,error:u,IconComponent:f,inputRef:p,variant:m="standard",...h}=a,y={...a,disabled:s,variant:m,error:u},v=Zj(y);return x.jsxs(S.Fragment,{children:[x.jsx(Wj,{ownerState:y,className:Le(v.select,i),disabled:s,ref:p||l,...h}),a.multiple?null:x.jsx(Jj,{as:f,ownerState:y,className:v.icon})]})});var Eb;const t5=Te("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:pa})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),n5=Te("legend",{name:"MuiNotchedOutlined",shouldForwardProp:pa})(zt(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:a})=>!a.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:a})=>a.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:a})=>a.withLabel&&a.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function a5(t){const{children:a,classes:l,className:i,label:s,notched:u,...f}=t,p=s!=null&&s!=="",m={...t,notched:u,withLabel:p};return x.jsx(t5,{"aria-hidden":!0,className:i,ownerState:m,...f,children:x.jsx(n5,{ownerState:m,children:p?x.jsx("span",{children:s}):Eb||(Eb=x.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const r5=t=>{const{classes:a}=t,i=xt({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},uM,a);return{...a,...i}},l5=Te($c,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:kc})(zt(({theme:t})=>{const a=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${_a.notchedOutline}`]:{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):a}},[`&.${_a.focused} .${_a.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(Nl()).map(([l])=>({props:{color:l},style:{[`&.${_a.focused} .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette[l].main}}})),{props:{},style:{[`&.${_a.error} .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${_a.disabled} .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:14}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:14}},{props:({ownerState:l})=>l.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:l,size:i})=>l.multiline&&i==="small",style:{padding:"8.5px 14px"}}]}})),i5=Te(a5,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(zt(({theme:t})=>{const a=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):a}})),o5=Te(Pc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Hc})(zt(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:a})=>a.multiline,style:{padding:0}},{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:0}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:0}}]}))),Al=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiOutlinedInput"}),{components:s={},fullWidth:u=!1,inputComponent:f="input",label:p,multiline:m=!1,notched:h,slots:y={},slotProps:v={},type:C="text",...E}=i,b=r5(i),w=Ui(),R=Bi({props:i,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),j={...i,color:R.color||"primary",disabled:R.disabled,error:R.error,focused:R.focused,formControl:w,fullWidth:u,hiddenLabel:R.hiddenLabel,multiline:m,size:R.size,type:C},L=y.root??s.Root??l5,M=y.input??s.Input??o5,[_,N]=Yt("notchedOutline",{elementType:i5,className:b.notchedOutline,shouldForwardComponentProp:!0,ownerState:j,externalForwardedProps:{slots:y,slotProps:v},additionalProps:{label:p!=null&&p!==""&&R.required?x.jsxs(S.Fragment,{children:[p," ","*"]}):p}});return x.jsx(zh,{slots:{root:L,input:M},slotProps:v,renderSuffix:B=>x.jsx(_,{...N,notched:typeof h<"u"?h:!!(B.startAdornment||B.filled||B.focused)}),fullWidth:u,inputComponent:f,multiline:m,ref:l,type:C,...E,classes:{...b,notchedOutline:null}})});Al.muiName="Input";function OS(t){return bt("MuiSelect",t)}const Uo=at("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var wb;const s5=Te(RS,{name:"MuiSelect",slot:"Select",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[{[`&.${Uo.select}`]:a.select},{[`&.${Uo.select}`]:a[l.variant]},{[`&.${Uo.error}`]:a.error},{[`&.${Uo.multiple}`]:a.multiple}]}})({[`&.${Uo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),u5=Te(AS,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.icon,l.variant&&a[`icon${_e(l.variant)}`],l.open&&a.iconOpen]}})({}),c5=Te("input",{shouldForwardProp:t=>nS(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Cb(t,a){return typeof a=="object"&&a!==null?t===a:String(t)===String(a)}function f5(t){return t==null||typeof t=="string"&&!t.trim()}const d5=t=>{const{classes:a,variant:l,disabled:i,multiple:s,open:u,error:f}=t,p={select:["select",l,i&&"disabled",s&&"multiple",f&&"error"],icon:["icon",`icon${_e(l)}`,u&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return xt(p,OS,a)},p5=S.forwardRef(function(a,l){const{"aria-describedby":i,"aria-label":s,autoFocus:u,autoWidth:f,children:p,className:m,defaultOpen:h,defaultValue:y,disabled:v,displayEmpty:C,error:E=!1,IconComponent:b,inputRef:w,labelId:R,MenuProps:j={},multiple:L,name:M,onBlur:_,onChange:N,onClose:B,onFocus:O,onOpen:Q,open:oe,readOnly:re,renderValue:ce,required:A,SelectDisplayProps:ee={},tabIndex:P,type:Y,value:D,variant:F="standard",...ue}=a,[te,he]=Jv({controlled:D,default:y,name:"Select"}),[z,G]=Jv({controlled:oe,default:h,name:"Select"}),V=S.useRef(null),ie=S.useRef(null),[de,be]=S.useState(null),{current:Ae}=S.useRef(oe!=null),[Je,ze]=S.useState(),je=Rn(l,w),Oe=S.useCallback(Ee=>{ie.current=Ee,Ee&&be(Ee)},[]),Pe=de?.parentNode;S.useImperativeHandle(je,()=>({focus:()=>{ie.current.focus()},node:V.current,value:te}),[te]),S.useEffect(()=>{h&&z&&de&&!Ae&&(ze(f?null:Pe.clientWidth),ie.current.focus())},[de,f]),S.useEffect(()=>{u&&ie.current.focus()},[u]),S.useEffect(()=>{if(!R)return;const Ee=wa(ie.current).getElementById(R);if(Ee){const ke=()=>{getSelection().isCollapsed&&ie.current.focus()};return Ee.addEventListener("click",ke),()=>{Ee.removeEventListener("click",ke)}}},[R]);const St=(Ee,ke)=>{Ee?Q&&Q(ke):B&&B(ke),Ae||(ze(f?null:Pe.clientWidth),G(Ee))},Be=Ee=>{Ee.button===0&&(Ee.preventDefault(),ie.current.focus(),St(!0,Ee))},Xe=Ee=>{St(!1,Ee)},en=S.Children.toArray(p),tn=Ee=>{const ke=en.find(qt=>qt.props.value===Ee.target.value);ke!==void 0&&(he(ke.props.value),N&&N(Ee,ke))},Nt=Ee=>ke=>{let qt;if(ke.currentTarget.hasAttribute("tabindex")){if(L){qt=Array.isArray(te)?te.slice():[];const ga=te.indexOf(Ee.props.value);ga===-1?qt.push(Ee.props.value):qt.splice(ga,1)}else qt=Ee.props.value;if(Ee.props.onClick&&Ee.props.onClick(ke),te!==qt&&(he(qt),N)){const ga=ke.nativeEvent||ke,Fa=new ga.constructor(ga.type,ga);Object.defineProperty(Fa,"target",{writable:!0,value:{value:qt,name:M}}),N(Fa,Ee)}L||St(!1,ke)}},mn=Ee=>{re||[" ","ArrowUp","ArrowDown","Enter"].includes(Ee.key)&&(Ee.preventDefault(),St(!0,Ee))},$t=de!==null&&z,Rt=Ee=>{!$t&&_&&(Object.defineProperty(Ee,"target",{writable:!0,value:{value:te,name:M}}),_(Ee))};delete ue["aria-invalid"];let Me,ln;const Ve=[];let ha=!1;(lc({value:te})||C)&&(ce?Me=ce(te):ha=!0);const In=en.map(Ee=>{if(!S.isValidElement(Ee))return null;let ke;if(L){if(!Array.isArray(te))throw new Error(cr(2));ke=te.some(qt=>Cb(qt,Ee.props.value)),ke&&ha&&Ve.push(Ee.props.children)}else ke=Cb(te,Ee.props.value),ke&&ha&&(ln=Ee.props.children);return S.cloneElement(Ee,{"aria-selected":ke?"true":"false",onClick:Nt(Ee),onKeyUp:qt=>{qt.key===" "&&qt.preventDefault(),Ee.props.onKeyUp&&Ee.props.onKeyUp(qt)},role:"option",selected:ke,value:void 0,"data-value":Ee.props.value})});ha&&(L?Ve.length===0?Me=null:Me=Ve.reduce((Ee,ke,qt)=>(Ee.push(ke),qt<Ve.length-1&&Ee.push(", "),Ee),[]):Me=ln);let on=Je;!f&&Ae&&de&&(on=Pe.clientWidth);let Pt;typeof P<"u"?Pt=P:Pt=v?null:0;const ma=ee.id||(M?`mui-component-select-${M}`:void 0),An={...a,variant:F,value:te,open:$t,error:E},ot=d5(An),Ra={...j.PaperProps,...typeof j.slotProps?.paper=="function"?j.slotProps.paper(An):j.slotProps?.paper},Kt={...j.MenuListProps,...typeof j.slotProps?.list=="function"?j.slotProps.list(An):j.slotProps?.list},nn=Bc();return x.jsxs(S.Fragment,{children:[x.jsx(s5,{as:"div",ref:Oe,tabIndex:Pt,role:"combobox","aria-controls":$t?nn:void 0,"aria-disabled":v?"true":void 0,"aria-expanded":$t?"true":"false","aria-haspopup":"listbox","aria-label":s,"aria-labelledby":[R,ma].filter(Boolean).join(" ")||void 0,"aria-describedby":i,"aria-required":A?"true":void 0,"aria-invalid":E?"true":void 0,onKeyDown:mn,onMouseDown:v||re?null:Be,onBlur:Rt,onFocus:O,...ee,ownerState:An,className:Le(ee.className,ot.select,m),id:ma,children:f5(Me)?wb||(wb=x.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):Me}),x.jsx(c5,{"aria-invalid":E,value:Array.isArray(te)?te.join(","):te,name:M,ref:V,"aria-hidden":!0,onChange:tn,tabIndex:-1,disabled:v,className:ot.nativeInput,autoFocus:u,required:A,...ue,ownerState:An}),x.jsx(u5,{as:b,className:ot.icon,ownerState:An}),x.jsx(Yj,{id:`menu-${M||""}`,anchorEl:Pe,open:$t,onClose:Xe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...j,slotProps:{...j.slotProps,list:{"aria-labelledby":R,role:"listbox","aria-multiselectable":L?"true":void 0,disableListWrap:!0,id:nn,...Kt},paper:{...Ra,style:{minWidth:on,...Ra!=null?Ra.style:null}}},children:In})]})}),h5=t=>{const{classes:a}=t,i=xt({root:["root"]},OS,a);return{...a,...i}},Uh={name:"MuiSelect",slot:"Root",shouldForwardProp:t=>pa(t)&&t!=="variant"},m5=Te(Lh,Uh)(""),g5=Te(Al,Uh)(""),y5=Te(_h,Uh)(""),Mi=S.forwardRef(function(a,l){const i=Ct({name:"MuiSelect",props:a}),{autoWidth:s=!1,children:u,classes:f={},className:p,defaultOpen:m=!1,displayEmpty:h=!1,IconComponent:y=fM,id:v,input:C,inputProps:E,label:b,labelId:w,MenuProps:R,multiple:j=!1,native:L=!1,onClose:M,onOpen:_,open:N,renderValue:B,SelectDisplayProps:O,variant:Q="outlined",...oe}=i,re=L?e5:p5,ce=Ui(),A=Bi({props:i,muiFormControl:ce,states:["variant","error"]}),ee=A.variant||Q,P={...i,variant:ee,classes:f},Y=h5(P),{root:D,...F}=Y,ue=C||{standard:x.jsx(m5,{ownerState:P}),outlined:x.jsx(g5,{label:b,ownerState:P}),filled:x.jsx(y5,{ownerState:P})}[ee],te=Rn(l,ps(ue));return x.jsx(S.Fragment,{children:S.cloneElement(ue,{inputComponent:re,inputProps:{children:u,error:A.error,IconComponent:y,variant:ee,type:void 0,multiple:j,...L?{id:v}:{autoWidth:s,defaultOpen:m,displayEmpty:h,labelId:w,MenuProps:R,onClose:M,onOpen:_,open:N,renderValue:B,SelectDisplayProps:{id:v,...O}},...E,classes:E?bn(F,E.classes):F,...C?C.props.inputProps:{}},...(j&&L||h)&&ee==="outlined"?{notched:!0}:{},ref:te,className:Le(ue.props.className,p,Y.root),...!C&&{variant:ee},...oe})})});Mi.muiName="Select";function v5(t){return bt("MuiTextField",t)}at("MuiTextField",["root"]);const b5={standard:Lh,filled:_h,outlined:Al},x5=t=>{const{classes:a}=t;return xt({root:["root"]},v5,a)},S5=Te(Jo,{name:"MuiTextField",slot:"Root"})({}),uc=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiTextField"}),{autoComplete:s,autoFocus:u=!1,children:f,className:p,color:m="primary",defaultValue:h,disabled:y=!1,error:v=!1,FormHelperTextProps:C,fullWidth:E=!1,helperText:b,id:w,InputLabelProps:R,inputProps:j,InputProps:L,inputRef:M,label:_,maxRows:N,minRows:B,multiline:O=!1,name:Q,onBlur:oe,onChange:re,onFocus:ce,placeholder:A,required:ee=!1,rows:P,select:Y=!1,SelectProps:D,slots:F={},slotProps:ue={},type:te,value:he,variant:z="outlined",...G}=i,V={...i,autoFocus:u,color:m,disabled:y,error:v,fullWidth:E,multiline:O,required:ee,select:Y,variant:z},ie=x5(V),de=Bc(w),be=b&&de?`${de}-helper-text`:void 0,Ae=_&&de?`${de}-label`:void 0,Je=b5[z],ze={slots:F,slotProps:{input:L,inputLabel:R,htmlInput:j,formHelperText:C,select:D,...ue}},je={},Oe=ze.slotProps.inputLabel;z==="outlined"&&(Oe&&typeof Oe.shrink<"u"&&(je.notched=Oe.shrink),je.label=_),Y&&((!D||!D.native)&&(je.id=void 0),je["aria-describedby"]=void 0);const[Pe,St]=Yt("root",{elementType:S5,shouldForwardComponentProp:!0,externalForwardedProps:{...ze,...G},ownerState:V,className:Le(ie.root,p),ref:l,additionalProps:{disabled:y,error:v,fullWidth:E,required:ee,color:m,variant:z}}),[Be,Xe]=Yt("input",{elementType:Je,externalForwardedProps:ze,additionalProps:je,ownerState:V}),[en,tn]=Yt("inputLabel",{elementType:es,externalForwardedProps:ze,ownerState:V}),[Nt,mn]=Yt("htmlInput",{elementType:"input",externalForwardedProps:ze,ownerState:V}),[$t,Rt]=Yt("formHelperText",{elementType:gj,externalForwardedProps:ze,ownerState:V}),[Me,ln]=Yt("select",{elementType:Mi,externalForwardedProps:ze,ownerState:V}),Ve=x.jsx(Be,{"aria-describedby":be,autoComplete:s,autoFocus:u,defaultValue:h,fullWidth:E,multiline:O,name:Q,rows:P,maxRows:N,minRows:B,type:te,value:he,id:de,inputRef:M,onBlur:oe,onChange:re,onFocus:ce,placeholder:A,inputProps:mn,slots:{input:F.htmlInput?Nt:void 0},...Xe});return x.jsxs(Pe,{...St,children:[_!=null&&_!==""&&x.jsx(en,{htmlFor:de,id:Ae,...tn,children:_}),Y?x.jsx(Me,{"aria-describedby":be,id:de,labelId:Ae,value:he,input:Ve,...ln,children:f}):Ve,b&&x.jsx($t,{id:be,...Rt,children:b})]})}),NS=[{id:1,name:"JavaScript"},{id:2,name:"React"},{id:3,name:"Node.js"},{id:4,name:"Python"},{id:5,name:"team management"},{id:6,name:"physics"},{id:7,name:"communication"}],MS=[{id:18,name:"Chittaurgarh"},{id:19,name:"Chūru"},{id:20,name:"Dausa"},{id:21,name:"Gangānagar"},{id:22,name:"Gangāpur"},{id:23,name:"Hanumangarh"},{id:24,name:"Jaipur"},{id:48,name:"Udaipur"}];function E5({open:t,project:a,onClose:l,onSuccess:i}){const[s,u]=S.useState({title:"",description:"",skills:[],location_id:""}),[f,p]=S.useState(!1),[m,h]=S.useState("");S.useEffect(()=>{a&&(u({title:a.title||"",description:a.description||"",skills:(a.skills||[]).map(b=>typeof b=="object"?b.id:b),location_id:a.location?.id||a.location_id||a.locationId||""}),h(""))},[a]);const y=b=>{const{name:w,value:R}=b.target;u(j=>({...j,[w]:R})),h("")},v=b=>{const w=b.target.value;u(R=>({...R,skills:w})),h("")},C=async b=>{if(b.preventDefault(),!!a?.id){p(!0),h("");try{const w={title:s.title.trim(),description:s.description.trim(),skills:s.skills.map(L=>typeof L=="string"?parseInt(L,10):L),location_id:parseInt(s.location_id,10)};if(!w.title)throw new Error("Title is required");if(!w.description)throw new Error("Description is required");if(isNaN(w.location_id))throw new Error("Location is required");const R=await Tl.update(a.id,w),j=R?.project||R?.data||R;if(!j)throw new Error("Failed to update project. Please try again.");i(j),l()}catch(w){h(w.response?.data?.message||w.message||"Failed to update project. Please try again.")}finally{p(!1)}}},E=()=>{f||l()};return x.jsx(xS,{open:t,onClose:E,maxWidth:"sm",fullWidth:!0,children:x.jsxs("form",{onSubmit:C,children:[x.jsx(wS,{children:"Edit Project"}),x.jsx(ES,{children:x.jsxs(ic,{sx:{display:"flex",flexDirection:"column",gap:3,pt:2},children:[x.jsx(uc,{label:"Title",name:"title",value:s.title,onChange:y,required:!0,fullWidth:!0,disabled:f}),x.jsx(uc,{label:"Description",name:"description",value:s.description,onChange:y,required:!0,fullWidth:!0,multiline:!0,rows:4,disabled:f}),x.jsxs(Jo,{fullWidth:!0,children:[x.jsx(es,{id:"edit-skills-label",children:"Skills"}),x.jsx(Mi,{labelId:"edit-skills-label",id:"edit-skills",multiple:!0,value:s.skills,onChange:v,input:x.jsx(Al,{label:"Skills"}),disabled:f,children:NS.map(b=>x.jsx(sc,{value:b.id,children:b.name},b.id))})]}),x.jsxs(Jo,{fullWidth:!0,required:!0,children:[x.jsx(es,{id:"edit-location-label",children:"Location"}),x.jsx(Mi,{labelId:"edit-location-label",id:"edit-location",name:"location_id",value:s.location_id,onChange:y,input:x.jsx(Al,{label:"Location"}),disabled:f,children:MS.map(b=>x.jsx(sc,{value:b.id,children:b.name},b.id))})]}),m&&x.jsx(ic,{sx:{color:"error.main",fontSize:"0.875rem",mt:-1},children:m})]})}),x.jsxs(SS,{children:[x.jsx(oc,{onClick:E,disabled:f,children:"Cancel"}),x.jsx(oc,{type:"submit",variant:"contained",disabled:f,children:f?"Saving...":"Save Changes"})]})]})})}const cc={getAllOfProject:async t=>(await hn.get(Tn.applications.getAllOfProject(t))).data,getAllOfLoginUser:async()=>(await hn.get(Tn.applications.getAllOfLoginUser)).data,applyToProject:async(t,a)=>(await hn.post(Tn.applications.applyToProject(t),{message:a})).data,updateStatus:async(t,a,l)=>(await hn.post(Tn.applications.updateStatus(t,a),{status:l})).data};function w5({open:t,projectTitle:a,projectId:l,onClose:i}){const[s,u]=S.useState(""),[f,p]=S.useState(!1),[m,h]=S.useState(""),y=()=>{u(""),h("")},v=()=>{f||(y(),i())},C=async E=>{if(E.preventDefault(),!!l){p(!0),h("");try{await cc.applyToProject(l,s.trim()),h("Application submitted successfully."),setTimeout(()=>{v()},1200)}catch(b){h(b.response?.data?.message||b.message||"Failed to submit application.")}finally{p(!1)}}};return t?x.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 px-4",children:x.jsxs("div",{className:"w-full max-w-lg rounded-lg bg-white p-6 shadow-xl",children:[x.jsxs("div",{className:"mb-4 flex items-start justify-between",children:[x.jsxs("div",{children:[x.jsx("h2",{className:"text-xl font-semibold text-gray-900",children:"Apply to project"}),x.jsx("p",{className:"text-sm text-gray-500",children:a})]}),x.jsx("button",{onClick:v,className:"text-gray-400 transition hover:text-gray-600","aria-label":"Close apply modal",children:"✕"})]}),x.jsxs("form",{onSubmit:C,className:"space-y-4",children:[x.jsxs("div",{children:[x.jsx("label",{htmlFor:"application-message",className:"mb-1 block text-sm font-medium text-gray-700",children:"Message"}),x.jsx("textarea",{id:"application-message",value:s,onChange:E=>u(E.target.value),rows:5,placeholder:"Introduce yourself and share why you'd like to join...",className:"w-full rounded border border-gray-300 px-3 py-2 text-sm text-gray-900 focus:border-gray-900 focus:outline-none focus:ring-1 focus:ring-gray-900",disabled:f})]}),m&&x.jsx("p",{className:`text-sm ${m.includes("successfully")?"text-green-600":"text-red-600"}`,children:m}),x.jsxs("div",{className:"flex justify-end gap-3 pt-2",children:[x.jsx("button",{type:"button",onClick:v,className:"rounded border border-gray-300 px-4 py-2 text-sm font-medium text-gray-700 transition hover:bg-gray-50",disabled:f,children:"Cancel"}),x.jsx("button",{type:"submit",className:"rounded bg-gray-900 px-4 py-2 text-sm font-medium text-white transition hover:bg-gray-800 disabled:cursor-not-allowed disabled:bg-gray-500",disabled:f,children:f?"Applying...":"Apply"})]})]})]})}):null}function C5(){const{projectId:t}=cC(),[a,l]=S.useState(null),[i,s]=S.useState(!0),[u,f]=S.useState(""),[p,m]=S.useState(!1),[h,y]=S.useState(!1),[v,C]=S.useState(!!(typeof window<"u"&&localStorage.getItem("accessToken"))),[E,b]=S.useState([]),[w,R]=S.useState(!1),[j,L]=S.useState(""),[M,_]=S.useState(null),[N,B]=S.useState(""),[O,Q]=S.useState([]),[oe,re]=S.useState(!1),[ce,A]=S.useState("");S.useEffect(()=>{if(!t)return;let V=!0;return(async()=>{s(!0),f("");try{const de=await Tl.getById(t);if(!V)return;const be=de?.data||de?.project;l(be||null)}catch(de){if(!V)return;f(de.response?.data?.message||"Unable to load project.")}finally{V&&s(!1)}})(),()=>{V=!1}},[t]),S.useEffect(()=>{const V=()=>C(!!localStorage.getItem("accessToken"));return window.addEventListener("storage",V),window.addEventListener("auth:change",V),()=>{window.removeEventListener("storage",V),window.removeEventListener("auth:change",V)}},[]);const ee=(V=[])=>V.length?V.map((ie,de)=>{const be=typeof ie=="string"?ie:ie?.name||"Skill";return x.jsx("span",{className:"text-xs text-gray-700 bg-gray-100 px-3 py-1 rounded",children:be},`${be}-${de}`)}):x.jsx("span",{className:"text-xs text-gray-500 bg-gray-100 px-3 py-1 rounded",children:"Skills not specified"}),P=V=>{l(ie=>({...ie,...V}))},Y=a?.role||"viewer",D=Y==="owner",F=Y==="member",ue=Y==="viewer"||Y==="visitor",te=S.useCallback(async()=>{if(!t||!D){b([]);return}R(!0),L("");try{const ie=(await cc.getAllOfProject(t))?.applications||[];b(ie)}catch(V){b([]),L(V.response?.data?.message||"Unable to load applications.")}finally{R(!1)}},[t,D]);S.useEffect(()=>{te()},[te]);const he=S.useCallback(async()=>{if(!t||!D&&!F){Q([]);return}re(!0),A("");try{const ie=(await Tl.getMembers(t))?.members||[];Q(ie)}catch(V){Q([]),A(V.response?.data?.message||"Unable to load members.")}finally{re(!1)}},[t,D,F]);S.useEffect(()=>{he()},[he]);const z=async(V,ie)=>{if(a?.id){_(V),B(ie),L("");try{await cc.updateStatus(a.id,V,ie),await te()}catch(de){L(de.response?.data?.message||`Unable to ${ie} the application. Please try again.`)}finally{_(null),B("")}}},G=V=>{switch(V?.toLowerCase()){case"pending":return"bg-yellow-100 text-yellow-800";case"accepted":return"bg-green-100 text-green-800";case"rejected":return"bg-red-100 text-red-800";default:return"bg-gray-100 text-gray-800"}};return x.jsxs("div",{className:"bg-gray-50 min-h-[calc(100vh-200px)] py-12",children:[x.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[i&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"Loading project..."}),!i&&u&&x.jsx("div",{className:"bg-white border border-red-200 p-6 text-center text-sm text-red-600",children:u}),!i&&!u&&!a&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"Project not found."}),!i&&!u&&a&&x.jsxs("div",{className:"bg-white border border-gray-200 p-6 space-y-8",children:[x.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[x.jsxs("div",{children:[x.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900",children:a.title}),D&&x.jsx("span",{className:"rounded-full bg-gray-900 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-white",children:"Owner"}),F&&x.jsx("span",{className:"rounded-full bg-gray-200 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-gray-700",children:"Member"})]}),x.jsx("p",{className:"mt-4 text-sm text-gray-600",children:a.description})]}),x.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[D&&x.jsx("button",{type:"button",onClick:()=>m(!0),className:"rounded border border-gray-300 px-4 py-2 text-sm font-medium text-gray-700 transition hover:bg-gray-50",children:"Edit Project"}),ue&&(v?x.jsx("button",{type:"button",onClick:()=>y(!0),className:"rounded bg-gray-900 px-4 py-2 text-sm font-medium text-white transition hover:bg-gray-800",children:"Apply"}):x.jsx("p",{className:"rounded border border-gray-200 bg-gray-50 px-4 py-2 text-sm text-gray-600",children:"Please login to apply"}))]})]}),x.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm text-gray-700",children:[x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Status"}),x.jsx("p",{className:"capitalize",children:a.status||"unknown"})]}),x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Location"}),x.jsx("p",{children:a.location?.descriptions||"Remote / not specified"})]}),x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Created"}),x.jsx("p",{children:a.created_at?new Date(a.created_at).toLocaleDateString():"—"})]}),x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Updated"}),x.jsx("p",{children:a.updated_at?new Date(a.updated_at).toLocaleDateString():"—"})]})]}),x.jsxs("div",{children:[x.jsx("p",{className:"mb-2 text-sm font-medium text-gray-900",children:"Required Skills"}),x.jsx("div",{className:"flex flex-wrap gap-2",children:ee(a.skills)})]}),D&&x.jsxs("div",{className:"space-y-4 rounded border border-gray-200 bg-gray-50 p-4",children:[x.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[x.jsxs("div",{children:[x.jsxs("p",{className:"text-base font-medium text-gray-900",children:["Applications (",E.length,")"]}),x.jsx("p",{className:"text-sm text-gray-600",children:"Review requests from collaborators."})]}),w&&x.jsx("p",{className:"text-sm text-gray-500",children:"Loading..."})]}),j&&x.jsx("p",{className:"text-sm text-red-600",children:j}),!w&&!j&&E.length===0&&x.jsx("p",{className:"text-sm text-gray-600",children:"No applications yet."}),x.jsx("div",{className:"space-y-4",children:E.map(V=>x.jsxs("div",{className:"rounded border border-gray-200 bg-white p-4",children:[x.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between",children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-900",children:V.user?.name||"Unknown user"}),x.jsx("p",{className:"text-xs text-gray-500",children:V.user?.email||"No email provided"}),x.jsx("p",{className:"mt-2 text-sm text-gray-600",children:V.message||"No message provided."}),x.jsxs("p",{className:"mt-1 text-xs text-gray-500",children:["Applied on"," ",V.created_at?new Date(V.created_at).toLocaleDateString():"—"]})]}),x.jsx("span",{className:`h-fit rounded px-3 py-1 text-xs font-medium capitalize ${G(V.status)}`,children:V.status||"unknown"})]}),V.status==="pending"&&x.jsxs("div",{className:"mt-3 flex gap-3",children:[x.jsx("button",{type:"button",onClick:()=>z(V.id,"accepted"),className:"rounded border border-green-600 px-3 py-1.5 text-sm font-medium text-green-700 hover:bg-green-50 disabled:cursor-not-allowed disabled:opacity-60",disabled:M===V.id,children:M===V.id&&N==="accepted"?"Accepting...":"Accept"}),x.jsx("button",{type:"button",onClick:()=>z(V.id,"rejected"),className:"rounded border border-red-600 px-3 py-1.5 text-sm font-medium text-red-700 hover:bg-red-50 disabled:cursor-not-allowed disabled:opacity-60",disabled:M===V.id,children:M===V.id&&N==="rejected"?"Rejecting...":"Reject"})]})]},V.id))})]}),(D||F)&&x.jsxs("div",{className:"space-y-4 rounded border border-gray-200 bg-gray-50 p-4",children:[x.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[x.jsxs("div",{children:[x.jsxs("p",{className:"text-base font-medium text-gray-900",children:["Project Members (",O.length,")"]}),x.jsx("p",{className:"text-sm text-gray-600",children:"View all members of this project."})]}),oe&&x.jsx("p",{className:"text-sm text-gray-500",children:"Loading..."})]}),ce&&x.jsx("p",{className:"text-sm text-red-600",children:ce}),!oe&&!ce&&O.length===0&&x.jsx("p",{className:"text-sm text-gray-600",children:"No members yet."}),x.jsx("div",{className:"space-y-3",children:O.map(V=>x.jsx("div",{className:"rounded border border-gray-200 bg-white p-4",children:x.jsx("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between",children:x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-1",children:[x.jsx("p",{className:"text-sm font-medium text-gray-900",children:V.name||"Unknown user"}),V.role==="owner"&&x.jsx("span",{className:"rounded-full bg-gray-900 px-2 py-0.5 text-xs font-semibold uppercase tracking-wide text-white",children:"Owner"}),V.role==="member"&&x.jsx("span",{className:"rounded-full bg-gray-200 px-2 py-0.5 text-xs font-semibold uppercase tracking-wide text-gray-700",children:"Member"})]}),x.jsx("p",{className:"text-xs text-gray-500",children:V.email||"No email provided"}),V.joined_at&&x.jsxs("p",{className:"mt-1 text-xs text-gray-500",children:["Joined on"," ",new Date(V.joined_at).toLocaleDateString()]})]})})},V.id))})]})]})]}),x.jsx(E5,{open:p,project:a,onClose:()=>m(!1),onSuccess:P}),x.jsx(w5,{open:h,projectTitle:a?.title,projectId:a?.id,onClose:()=>y(!1)})]})}function T5(){const[t,a]=S.useState([]),[l,i]=S.useState(!0),[s,u]=S.useState("");S.useEffect(()=>{let p=!0;return(async()=>{i(!0),u("");try{const h=await Tl.getAll();if(!p)return;a(h?.projects||[])}catch(h){if(!p)return;u(h.response?.data?.message||"Unable to load projects.")}finally{p&&i(!1)}})(),()=>{p=!1}},[]);const f=(p=[])=>p.length?p.map((m,h)=>{const y=typeof m=="string"?m:m?.name||"Skill";return x.jsx("span",{className:"text-xs text-gray-700 bg-gray-100 px-3 py-1 rounded",children:y},`${y}-${h}`)}):x.jsx("span",{className:"text-xs text-gray-500 bg-gray-100 px-3 py-1 rounded",children:"Skills not specified"});return x.jsx("div",{className:"bg-gray-50 min-h-[calc(100vh-200px)] py-12",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[x.jsxs("div",{className:"mb-10 text-center",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-3",children:"Explore Projects"}),x.jsx("p",{className:"text-sm text-gray-600 max-w-2xl mx-auto",children:"Browse active collaborations from the Colearn community. Join a team that matches your skills or discover new opportunities to grow."})]}),l&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"Loading projects..."}),!l&&s&&x.jsx("div",{className:"bg-white border border-red-200 p-6 text-center text-sm text-red-600",children:s}),!l&&!s&&t.length===0&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"No projects found yet. Check back soon!"}),!l&&!s&&t.length>0&&x.jsx("div",{className:"grid grid-cols-1 gap-6",children:t.map(p=>x.jsxs("div",{className:"bg-white border border-gray-200 p-6 flex flex-col gap-4",children:[x.jsxs("div",{children:[x.jsx("h2",{className:"text-xl font-medium text-gray-900",children:p.title}),x.jsx("p",{className:"text-sm text-gray-600 mt-2",children:p.description})]}),x.jsx("div",{className:"flex flex-wrap gap-4 text-sm text-gray-600",children:x.jsxs("span",{children:[x.jsx("span",{className:"font-medium text-gray-800",children:"Location:"})," ",p.location?.descriptions||"Remote / not specified"]})}),x.jsx("div",{className:"flex flex-wrap gap-2",children:f(p.skills)}),x.jsx("div",{children:x.jsx(ua,{to:`/projects/${p.id}`,className:"inline-flex items-center text-sm font-medium text-gray-900 hover:text-gray-700",children:"View details →"})})]},p.id))})]})})}function R5({open:t,onClose:a,onSuccess:l}){const[i,s]=S.useState({title:"",description:"",skills:[],location_id:""}),[u,f]=S.useState(!1),[p,m]=S.useState(""),h=E=>{const{name:b,value:w}=E.target;s(R=>({...R,[b]:w})),m("")},y=E=>{const b=E.target.value;s(w=>({...w,skills:b})),m("")},v=async E=>{E.preventDefault(),m(""),f(!0);try{const b=i.skills.map(j=>typeof j=="string"?parseInt(j,10):j),w={title:i.title.trim(),description:i.description.trim(),skills:b,location_id:parseInt(i.location_id,10)};if(!w.title)throw new Error("Title is required");if(!w.description)throw new Error("Description is required");if(isNaN(w.location_id))throw new Error("Location ID must be a valid number");const R=await Tl.create(w.title,w.description,w.skills,w.location_id);if(R?.project?.id)s({title:"",description:"",skills:[],location_id:""}),l(R.project.id),a();else throw new Error(R?.message||"Failed to create project")}catch(b){m(b.response?.data?.message||b.message||"Failed to create project. Please try again.")}finally{f(!1)}},C=()=>{u||(s({title:"",description:"",skills:[],location_id:""}),m(""),a())};return x.jsx(xS,{open:t,onClose:C,maxWidth:"sm",fullWidth:!0,children:x.jsxs("form",{onSubmit:v,children:[x.jsx(wS,{children:"Create New Project"}),x.jsx(ES,{children:x.jsxs(ic,{sx:{display:"flex",flexDirection:"column",gap:3,pt:2},children:[x.jsx(uc,{label:"Title",name:"title",value:i.title,onChange:h,required:!0,fullWidth:!0,disabled:u}),x.jsx(uc,{label:"Description",name:"description",value:i.description,onChange:h,required:!0,fullWidth:!0,multiline:!0,rows:4,disabled:u}),x.jsxs(Jo,{fullWidth:!0,children:[x.jsx(es,{id:"skills-label",children:"Skills"}),x.jsx(Mi,{labelId:"skills-label",id:"skills",multiple:!0,value:i.skills,onChange:y,input:x.jsx(Al,{label:"Skills"}),disabled:u,children:NS.map(E=>x.jsx(sc,{value:E.id,children:E.name},E.id))})]}),x.jsxs(Jo,{fullWidth:!0,required:!0,children:[x.jsx(es,{id:"location-label",children:"Location"}),x.jsx(Mi,{labelId:"location-label",id:"location_id",name:"location_id",value:i.location_id,onChange:h,input:x.jsx(Al,{label:"Location"}),disabled:u,children:MS.map(E=>x.jsx(sc,{value:E.id,children:E.name},E.id))})]}),p&&x.jsx(ic,{sx:{color:"error.main",fontSize:"0.875rem",mt:-1},children:p})]})}),x.jsxs(SS,{children:[x.jsx(oc,{onClick:C,disabled:u,children:"Cancel"}),x.jsx(oc,{type:"submit",variant:"contained",disabled:u,children:u?"Creating...":"Create Project"})]})]})})}function A5(){const t=Di(),[a,l]=S.useState(null),[i,s]=S.useState([]),[u,f]=S.useState([]),[p,m]=S.useState(!0),[h,y]=S.useState(""),[v,C]=S.useState(!1),[E,b]=S.useState("owner"),[w,R]=S.useState(!1);S.useEffect(()=>{let N=!0;return(async()=>{m(!0),y("");try{const O=await Iu.getMyDetails();if(!N)return;l(O?.user||null);try{const Q=await cc.getAllOfLoginUser();if(!N)return;f(Q?.applications||[])}catch(Q){if(console.error("Error fetching applications:",Q),!N)return;f([])}}catch(O){if(!N)return;y(O.response?.data?.message||"Unable to load profile data.")}finally{N&&m(!1)}})(),()=>{N=!1}},[]),S.useEffect(()=>{let N=!0;return(async()=>{R(!0);try{const O=await Tl.getAllofLoginUser(E);if(!N)return;const Q=O?.projects||(Array.isArray(O)?O:[]);s(Q)}catch(O){if(console.error("Error fetching projects:",O),!N)return;s([])}finally{N&&R(!1)}})(),()=>{N=!1}},[E]);const j=N=>{(async()=>{try{const O=await Tl.getAllofLoginUser(E),Q=O?.projects||(Array.isArray(O)?O:[]);s(Q)}catch(O){console.error("Error refreshing projects:",O)}})(),t(`/projects/${N}`)},L=N=>!N||N.length===0?x.jsx("span",{className:"text-xs text-gray-500 italic",children:"No skills specified"}):N.map((B,O)=>x.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded",children:B.name||B},O)),M=N=>{switch(N?.toLowerCase()){case"pending":return"bg-yellow-100 text-yellow-800";case"approved":return"bg-green-100 text-green-800";case"rejected":return"bg-red-100 text-red-800";default:return"bg-gray-100 text-gray-800"}};if(p)return x.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:x.jsx("div",{className:"text-center",children:x.jsx("p",{className:"text-gray-600",children:"Loading profile..."})})});if(h)return x.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:x.jsxs("div",{className:"text-center",children:[x.jsx("p",{className:"text-red-600 mb-4",children:h}),x.jsx("button",{onClick:()=>window.location.reload(),className:"text-sm text-gray-700 hover:text-gray-900 underline",children:"Retry"})]})});const _=N=>{b(N)};return x.jsxs("div",{className:"min-h-screen bg-gray-50",children:[x.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[x.jsxs("div",{className:"bg-white border border-gray-200 p-6 mb-6",children:[x.jsx("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:x.jsx("h1",{className:"text-2xl sm:text-3xl font-medium text-gray-900",children:"Profile"})}),a?x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Name"}),x.jsx("p",{className:"text-gray-900",children:a.name||"—"})]}),x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Email"}),x.jsx("p",{className:"text-gray-900",children:a.email||"—"})]}),a.bio&&x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Bio"}),x.jsx("p",{className:"text-gray-900",children:a.bio})]})]}):x.jsx("p",{className:"text-gray-600",children:"No user data available."})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-6 mb-6",children:[x.jsx("button",{onClick:()=>C(!0),className:"bg-gray-900 text-white px-4 py-2 my-1 rounded text-sm font-medium hover:bg-gray-800 w-full sm:w-auto",children:"Create Project"}),x.jsxs("div",{className:"mb-6",children:[x.jsxs("h2",{className:"text-xl font-medium text-gray-900 mb-4",children:["My Projects (",i.length,")"]}),x.jsxs("div",{className:"flex items-center gap-4",children:[x.jsx("span",{className:`text-sm font-medium transition ${E==="owner"?"text-gray-900":"text-gray-400"}`,children:"Owned"}),x.jsx("button",{type:"button",onClick:()=>_(E==="owner"?"member":"owner"),disabled:w,className:`relative inline-flex h-8 w-16 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 ${E==="owner"?"bg-gray-900":"bg-gray-300"} ${w?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,"aria-label":"Toggle between owned and joined projects",children:x.jsx("span",{className:`inline-block h-6 w-6 transform rounded-full bg-white transition-transform ${E==="owner"?"translate-x-1":"translate-x-9"}`})}),x.jsx("span",{className:`text-sm font-medium transition ${E==="member"?"text-gray-900":"text-gray-400"}`,children:"Joined"})]})]}),w?x.jsx("p",{className:"text-gray-600 text-sm",children:"Loading projects..."}):i.length===0?x.jsx("p",{className:"text-gray-600 text-sm",children:E==="owner"?"You don't own any projects yet.":"You haven't joined any projects yet."}):x.jsx("div",{className:"space-y-4",children:i.map(N=>x.jsx("div",{className:"border border-gray-200 p-4 rounded hover:bg-gray-50",children:x.jsx("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",children:x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[x.jsx(ua,{to:`/projects/${N.id}`,className:"text-lg font-medium text-gray-900 hover:text-gray-700",children:N.title}),x.jsx("span",{className:`px-2 py-1 text-xs rounded capitalize ${N.status==="active"?"bg-green-100 text-green-800":"bg-gray-100 text-gray-800"}`,children:N.status||"unknown"})]}),x.jsx("p",{className:"text-sm text-gray-600 mb-2",children:N.description}),x.jsx("div",{className:"flex flex-wrap items-center gap-4 text-xs text-gray-600",children:N.location&&x.jsxs("span",{children:["📍"," ",typeof N.location=="string"?N.location:N.location.descriptions||"—"]})}),N.skills&&N.skills.length>0&&x.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:L(N.skills)})]})})},N.id))})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-6",children:[x.jsxs("h2",{className:"text-xl font-medium text-gray-900 mb-4",children:["My Applications (",u.length,")"]}),u.length===0?x.jsx("p",{className:"text-gray-600 text-sm",children:"No applications yet."}):x.jsx("div",{className:"space-y-4",children:u.map(N=>x.jsx("div",{className:"border border-gray-200 p-4 rounded",children:x.jsx("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",children:x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[N.project&&x.jsx(ua,{to:`/projects/${N.project.id}`,className:"text-lg font-medium text-gray-900 hover:text-gray-700",children:N.project.title}),x.jsx("span",{className:`px-2 py-1 text-xs rounded capitalize ${M(N.status)}`,children:N.status||"unknown"})]}),N.message&&x.jsx("p",{className:"text-sm text-gray-700 mb-2",children:N.message}),x.jsxs("p",{className:"text-xs text-gray-500",children:["Applied on:"," ",N.created_at?new Date(N.created_at).toLocaleDateString():"—"]})]})})},N.id))})]})]}),x.jsx(R5,{open:v,onClose:()=>C(!1),onSuccess:j})]})}function O5(){return x.jsx("div",{children:"Page Not Found"})}function Tb({children:t}){return localStorage.getItem("accessToken")?x.jsx(Kb,{to:"/",replace:!0}):t}function N5({children:t}){return localStorage.getItem("accessToken")?t:x.jsx(Kb,{to:"/login",replace:!0})}const M5=JC([{element:x.jsx(p2,{}),children:[{path:"/",element:x.jsx(h2,{})},{path:"/login",element:x.jsx(Tb,{children:x.jsx(VT,{})})},{path:"/signup",element:x.jsx(Tb,{children:x.jsx(YT,{})})},{path:"/directory",element:x.jsx(T5,{})},{path:"/projects/:projectId",element:x.jsx(C5,{})},{path:"/profile",element:x.jsx(N5,{children:x.jsx(A5,{})})},{path:"*",element:x.jsx(O5,{})}]}]);function j5(){return x.jsx("div",{className:"App",children:x.jsx(RC,{router:M5})})}XE.createRoot(document.getElementById("root")).render(x.jsx(S.StrictMode,{children:x.jsx(j5,{})}));
          
          Evidence
          1540483477
          Solution

          Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.

  6. Risk=Informational, Confidence=Medium (2)

    1. https://colearn.dikshantsharma.com (2)

      1. Modern Web Application (1)
        1. GET https://colearn.dikshantsharma.com/robots.txt
          Alert tags
          Alert description

          The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.

          Other info

          No links have been found while there are scripts, which is an indication that this is a modern web application.

          Request
          Request line and header section (264 bytes)
          GET https://colearn.dikshantsharma.com/robots.txt HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (508 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1260
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline; filename="index.html"
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:45:12 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::6ll45-1763744772870-a444b3d7c1ec
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Evidence
          <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
          Solution

          This is an informational alert and so no changes are required.

      2. Retrieved from Cache (1)
        1. GET https://colearn.dikshantsharma.com
          Alert tags
          Alert description

          The content was retrieved from a shared cache. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.

          Other info

          The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use.

          Request
          Request line and header section (253 bytes)
          GET https://colearn.dikshantsharma.com HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (485 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1121
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:47:31 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::bpmmg-1763744772773-afa886f6c173
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Evidence
          Age: 1121
          Solution

          Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:

          Cache-Control: no-cache, no-store, must-revalidate, private

          Pragma: no-cache

          Expires: 0

          This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.

  7. Risk=Informational, Confidence=Low (2)

    1. https://colearn.dikshantsharma.com (2)

      1. Information Disclosure - Suspicious Comments (1)
        1. GET https://colearn.dikshantsharma.com/assets/index-C_l3bB_u.js
          Alert tags
          Alert description

          The response appears to contain suspicious comments which may help an attacker.

          Other info

          The following pattern was used: \bSELECT\b and was detected in likely comment: "//www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"", see evidence field for the suspicious comment/snippet.

          Request
          Request line and header section (335 bytes)
          GET https://colearn.dikshantsharma.com/assets/index-C_l3bB_u.js HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          referer: https://colearn.dikshantsharma.com/sitemap.xml
          
          
          Request body (0 bytes)
          Response
          Status line and header section (531 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1260
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline; filename="index-C_l3bB_u.js"
          Content-Length: 547909
          Content-Type: application/javascript; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:13 GMT
          Etag: "537ea595d1221b7a29d31f1dfe7b3422"
          Last-Modified: Fri, 21 Nov 2025 16:45:12 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::rsf6m-1763744773087-e657d491ee1e
          
          
          Response body (547909 bytes)
          function kE(t,a){for(var l=0;l<a.length;l++){const i=a[l];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in t)){const u=Object.getOwnPropertyDescriptor(i,s);u&&Object.defineProperty(t,s,u.get?u:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function l(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(s){if(s.ep)return;s.ep=!0;const u=l(s);fetch(s.href,u)}})();function Rb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zd={exports:{}},Ro={};var E0;function HE(){if(E0)return Ro;E0=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(i,s,u){var f=null;if(u!==void 0&&(f=""+u),s.key!==void 0&&(f=""+s.key),"key"in s){u={};for(var p in s)p!=="key"&&(u[p]=s[p])}else u=s;return s=u.ref,{$$typeof:t,type:i,key:f,ref:s!==void 0?s:null,props:u}}return Ro.Fragment=a,Ro.jsx=l,Ro.jsxs=l,Ro}var w0;function $E(){return w0||(w0=1,Zd.exports=HE()),Zd.exports}var x=$E(),Wd={exports:{}},Ue={};var C0;function PE(){if(C0)return Ue;C0=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),C=Symbol.iterator;function E(z){return z===null||typeof z!="object"?null:(z=C&&z[C]||z["@@iterator"],typeof z=="function"?z:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,R={};function j(z,G,V){this.props=z,this.context=G,this.refs=R,this.updater=V||b}j.prototype.isReactComponent={},j.prototype.setState=function(z,G){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,G,"setState")},j.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function L(){}L.prototype=j.prototype;function M(z,G,V){this.props=z,this.context=G,this.refs=R,this.updater=V||b}var _=M.prototype=new L;_.constructor=M,w(_,j.prototype),_.isPureReactComponent=!0;var N=Array.isArray;function B(){}var O={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function oe(z,G,V){var ie=V.ref;return{$$typeof:t,type:z,key:G,ref:ie!==void 0?ie:null,props:V}}function re(z,G){return oe(z.type,G,z.props)}function ce(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function A(z){var G={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(V){return G[V]})}var ee=/\/+/g;function P(z,G){return typeof z=="object"&&z!==null&&z.key!=null?A(""+z.key):G.toString(36)}function Y(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(B,B):(z.status="pending",z.then(function(G){z.status==="pending"&&(z.status="fulfilled",z.value=G)},function(G){z.status==="pending"&&(z.status="rejected",z.reason=G)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function D(z,G,V,ie,de){var be=typeof z;(be==="undefined"||be==="boolean")&&(z=null);var Ae=!1;if(z===null)Ae=!0;else switch(be){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(z.$$typeof){case t:case a:Ae=!0;break;case y:return Ae=z._init,D(Ae(z._payload),G,V,ie,de)}}if(Ae)return de=de(z),Ae=ie===""?"."+P(z,0):ie,N(de)?(V="",Ae!=null&&(V=Ae.replace(ee,"$&/")+"/"),D(de,G,V,"",function(je){return je})):de!=null&&(ce(de)&&(de=re(de,V+(de.key==null||z&&z.key===de.key?"":(""+de.key).replace(ee,"$&/")+"/")+Ae)),G.push(de)),1;Ae=0;var Je=ie===""?".":ie+":";if(N(z))for(var ze=0;ze<z.length;ze++)ie=z[ze],be=Je+P(ie,ze),Ae+=D(ie,G,V,be,de);else if(ze=E(z),typeof ze=="function")for(z=ze.call(z),ze=0;!(ie=z.next()).done;)ie=ie.value,be=Je+P(ie,ze++),Ae+=D(ie,G,V,be,de);else if(be==="object"){if(typeof z.then=="function")return D(Y(z),G,V,ie,de);throw G=String(z),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function F(z,G,V){if(z==null)return z;var ie=[],de=0;return D(z,ie,"","",function(be){return G.call(V,be,de++)}),ie}function ue(z){if(z._status===-1){var G=z._result;G=G(),G.then(function(V){(z._status===0||z._status===-1)&&(z._status=1,z._result=V)},function(V){(z._status===0||z._status===-1)&&(z._status=2,z._result=V)}),z._status===-1&&(z._status=0,z._result=G)}if(z._status===1)return z._result.default;throw z._result}var te=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},he={map:F,forEach:function(z,G,V){F(z,function(){G.apply(this,arguments)},V)},count:function(z){var G=0;return F(z,function(){G++}),G},toArray:function(z){return F(z,function(G){return G})||[]},only:function(z){if(!ce(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return Ue.Activity=v,Ue.Children=he,Ue.Component=j,Ue.Fragment=l,Ue.Profiler=s,Ue.PureComponent=M,Ue.StrictMode=i,Ue.Suspense=m,Ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,Ue.__COMPILER_RUNTIME={__proto__:null,c:function(z){return O.H.useMemoCache(z)}},Ue.cache=function(z){return function(){return z.apply(null,arguments)}},Ue.cacheSignal=function(){return null},Ue.cloneElement=function(z,G,V){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var ie=w({},z.props),de=z.key;if(G!=null)for(be in G.key!==void 0&&(de=""+G.key),G)!Q.call(G,be)||be==="key"||be==="__self"||be==="__source"||be==="ref"&&G.ref===void 0||(ie[be]=G[be]);var be=arguments.length-2;if(be===1)ie.children=V;else if(1<be){for(var Ae=Array(be),Je=0;Je<be;Je++)Ae[Je]=arguments[Je+2];ie.children=Ae}return oe(z.type,de,ie)},Ue.createContext=function(z){return z={$$typeof:f,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:u,_context:z},z},Ue.createElement=function(z,G,V){var ie,de={},be=null;if(G!=null)for(ie in G.key!==void 0&&(be=""+G.key),G)Q.call(G,ie)&&ie!=="key"&&ie!=="__self"&&ie!=="__source"&&(de[ie]=G[ie]);var Ae=arguments.length-2;if(Ae===1)de.children=V;else if(1<Ae){for(var Je=Array(Ae),ze=0;ze<Ae;ze++)Je[ze]=arguments[ze+2];de.children=Je}if(z&&z.defaultProps)for(ie in Ae=z.defaultProps,Ae)de[ie]===void 0&&(de[ie]=Ae[ie]);return oe(z,be,de)},Ue.createRef=function(){return{current:null}},Ue.forwardRef=function(z){return{$$typeof:p,render:z}},Ue.isValidElement=ce,Ue.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:ue}},Ue.memo=function(z,G){return{$$typeof:h,type:z,compare:G===void 0?null:G}},Ue.startTransition=function(z){var G=O.T,V={};O.T=V;try{var ie=z(),de=O.S;de!==null&&de(V,ie),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"&&ie.then(B,te)}catch(be){te(be)}finally{G!==null&&V.types!==null&&(G.types=V.types),O.T=G}},Ue.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},Ue.use=function(z){return O.H.use(z)},Ue.useActionState=function(z,G,V){return O.H.useActionState(z,G,V)},Ue.useCallback=function(z,G){return O.H.useCallback(z,G)},Ue.useContext=function(z){return O.H.useContext(z)},Ue.useDebugValue=function(){},Ue.useDeferredValue=function(z,G){return O.H.useDeferredValue(z,G)},Ue.useEffect=function(z,G){return O.H.useEffect(z,G)},Ue.useEffectEvent=function(z){return O.H.useEffectEvent(z)},Ue.useId=function(){return O.H.useId()},Ue.useImperativeHandle=function(z,G,V){return O.H.useImperativeHandle(z,G,V)},Ue.useInsertionEffect=function(z,G){return O.H.useInsertionEffect(z,G)},Ue.useLayoutEffect=function(z,G){return O.H.useLayoutEffect(z,G)},Ue.useMemo=function(z,G){return O.H.useMemo(z,G)},Ue.useOptimistic=function(z,G){return O.H.useOptimistic(z,G)},Ue.useReducer=function(z,G,V){return O.H.useReducer(z,G,V)},Ue.useRef=function(z){return O.H.useRef(z)},Ue.useState=function(z){return O.H.useState(z)},Ue.useSyncExternalStore=function(z,G,V){return O.H.useSyncExternalStore(z,G,V)},Ue.useTransition=function(){return O.H.useTransition()},Ue.version="19.2.0",Ue}var T0;function Zp(){return T0||(T0=1,Wd.exports=PE()),Wd.exports}var S=Zp();const ka=Rb(S),Cp=kE({__proto__:null,default:ka},[S]);var Jd={exports:{}},Ao={},ep={exports:{}},tp={};var R0;function qE(){return R0||(R0=1,(function(t){function a(D,F){var ue=D.length;D.push(F);e:for(;0<ue;){var te=ue-1>>>1,he=D[te];if(0<s(he,F))D[te]=F,D[ue]=he,ue=te;else break e}}function l(D){return D.length===0?null:D[0]}function i(D){if(D.length===0)return null;var F=D[0],ue=D.pop();if(ue!==F){D[0]=ue;e:for(var te=0,he=D.length,z=he>>>1;te<z;){var G=2*(te+1)-1,V=D[G],ie=G+1,de=D[ie];if(0>s(V,ue))ie<he&&0>s(de,V)?(D[te]=de,D[ie]=ue,te=ie):(D[te]=V,D[G]=ue,te=G);else if(ie<he&&0>s(de,ue))D[te]=de,D[ie]=ue,te=ie;else break e}}return F}function s(D,F){var ue=D.sortIndex-F.sortIndex;return ue!==0?ue:D.id-F.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,p=f.now();t.unstable_now=function(){return f.now()-p}}var m=[],h=[],y=1,v=null,C=3,E=!1,b=!1,w=!1,R=!1,j=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function _(D){for(var F=l(h);F!==null;){if(F.callback===null)i(h);else if(F.startTime<=D)i(h),F.sortIndex=F.expirationTime,a(m,F);else break;F=l(h)}}function N(D){if(w=!1,_(D),!b)if(l(m)!==null)b=!0,B||(B=!0,A());else{var F=l(h);F!==null&&Y(N,F.startTime-D)}}var B=!1,O=-1,Q=5,oe=-1;function re(){return R?!0:!(t.unstable_now()-oe<Q)}function ce(){if(R=!1,B){var D=t.unstable_now();oe=D;var F=!0;try{e:{b=!1,w&&(w=!1,L(O),O=-1),E=!0;var ue=C;try{t:{for(_(D),v=l(m);v!==null&&!(v.expirationTime>D&&re());){var te=v.callback;if(typeof te=="function"){v.callback=null,C=v.priorityLevel;var he=te(v.expirationTime<=D);if(D=t.unstable_now(),typeof he=="function"){v.callback=he,_(D),F=!0;break t}v===l(m)&&i(m),_(D)}else i(m);v=l(m)}if(v!==null)F=!0;else{var z=l(h);z!==null&&Y(N,z.startTime-D),F=!1}}break e}finally{v=null,C=ue,E=!1}F=void 0}}finally{F?A():B=!1}}}var A;if(typeof M=="function")A=function(){M(ce)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,P=ee.port2;ee.port1.onmessage=ce,A=function(){P.postMessage(null)}}else A=function(){j(ce,0)};function Y(D,F){O=j(function(){D(t.unstable_now())},F)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(D){D.callback=null},t.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<D?Math.floor(1e3/D):5},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_next=function(D){switch(C){case 1:case 2:case 3:var F=3;break;default:F=C}var ue=C;C=F;try{return D()}finally{C=ue}},t.unstable_requestPaint=function(){R=!0},t.unstable_runWithPriority=function(D,F){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var ue=C;C=D;try{return F()}finally{C=ue}},t.unstable_scheduleCallback=function(D,F,ue){var te=t.unstable_now();switch(typeof ue=="object"&&ue!==null?(ue=ue.delay,ue=typeof ue=="number"&&0<ue?te+ue:te):ue=te,D){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=ue+he,D={id:y++,callback:F,priorityLevel:D,startTime:ue,expirationTime:he,sortIndex:-1},ue>te?(D.sortIndex=ue,a(h,D),l(m)===null&&D===l(h)&&(w?(L(O),O=-1):w=!0,Y(N,ue-te))):(D.sortIndex=he,a(m,D),b||E||(b=!0,B||(B=!0,A()))),D},t.unstable_shouldYield=re,t.unstable_wrapCallback=function(D){var F=C;return function(){var ue=C;C=F;try{return D.apply(this,arguments)}finally{C=ue}}}})(tp)),tp}var A0;function FE(){return A0||(A0=1,ep.exports=qE()),ep.exports}var np={exports:{}},gn={};var O0;function VE(){if(O0)return gn;O0=1;var t=Zp();function a(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function u(m,h,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:m,containerInfo:h,implementation:y}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return gn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,gn.createPortal=function(m,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(a(299));return u(m,h,null,y)},gn.flushSync=function(m){var h=f.T,y=i.p;try{if(f.T=null,i.p=2,m)return m()}finally{f.T=h,i.p=y,i.d.f()}},gn.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(m,h))},gn.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},gn.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var y=h.as,v=p(y,h.crossOrigin),C=typeof h.integrity=="string"?h.integrity:void 0,E=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?i.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:C,fetchPriority:E}):y==="script"&&i.d.X(m,{crossOrigin:v,integrity:C,fetchPriority:E,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},gn.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=p(h.as,h.crossOrigin);i.d.M(m,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(m)},gn.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,v=p(y,h.crossOrigin);i.d.L(m,y,{crossOrigin:v,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},gn.preloadModule=function(m,h){if(typeof m=="string")if(h){var y=p(h.as,h.crossOrigin);i.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(m)},gn.requestFormReset=function(m){i.d.r(m)},gn.unstable_batchedUpdates=function(m,h){return m(h)},gn.useFormState=function(m,h,y){return f.H.useFormState(m,h,y)},gn.useFormStatus=function(){return f.H.useHostTransitionStatus()},gn.version="19.2.0",gn}var N0;function Ab(){if(N0)return np.exports;N0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),np.exports=VE(),np.exports}var M0;function YE(){if(M0)return Ao;M0=1;var t=FE(),a=Zp(),l=Ab();function i(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,r=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(r=n.return),e=n.return;while(e)}return n.tag===3?r:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function p(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(i(188))}function h(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(i(188));return n!==e?null:e}for(var r=e,o=n;;){var c=r.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){r=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===r)return m(c),e;if(d===o)return m(c),n;d=d.sibling}throw Error(i(188))}if(r.return!==o.return)r=c,o=d;else{for(var g=!1,T=c.child;T;){if(T===r){g=!0,r=c,o=d;break}if(T===o){g=!0,o=c,r=d;break}T=T.sibling}if(!g){for(T=d.child;T;){if(T===r){g=!0,r=d,o=c;break}if(T===o){g=!0,o=d,r=c;break}T=T.sibling}if(!g)throw Error(i(189))}}if(r.alternate!==o)throw Error(i(190))}if(r.tag!==3)throw Error(i(188));return r.stateNode.current===r?e:n}function y(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=y(e),n!==null)return n;e=e.sibling}return null}var v=Object.assign,C=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),M=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),re=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function A(e){return e===null||typeof e!="object"?null:(e=ce&&e[ce]||e["@@iterator"],typeof e=="function"?e:null)}var ee=Symbol.for("react.client.reference");function P(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ee?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case j:return"Profiler";case R:return"StrictMode";case N:return"Suspense";case B:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case b:return"Portal";case M:return e.displayName||"Context";case L:return(e._context.displayName||"Context")+".Consumer";case _:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case O:return n=e.displayName||null,n!==null?n:P(e.type)||"Memo";case Q:n=e._payload,e=e._init;try{return P(e(n))}catch{}}return null}var Y=Array.isArray,D=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},te=[],he=-1;function z(e){return{current:e}}function G(e){0>he||(e.current=te[he],te[he]=null,he--)}function V(e,n){he++,te[he]=e.current,e.current=n}var ie=z(null),de=z(null),be=z(null),Ae=z(null);function Je(e,n){switch(V(be,n),V(de,e),V(ie,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Yy(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Yy(n),e=Gy(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(ie),V(ie,e)}function ze(){G(ie),G(de),G(be)}function je(e){e.memoizedState!==null&&V(Ae,e);var n=ie.current,r=Gy(n,e.type);n!==r&&(V(de,e),V(ie,r))}function Oe(e){de.current===e&&(G(ie),G(de)),Ae.current===e&&(G(Ae),Eo._currentValue=ue)}var Pe,St;function Be(e){if(Pe===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);Pe=n&&n[1]||"",St=-1<r.stack.indexOf(`
              at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
          `+Pe+e+St}var Xe=!1;function en(e,n){if(!e||Xe)return"";Xe=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(J){var I=J}Reflect.construct(e,[],se)}else{try{se.call()}catch(J){I=J}e.call(se.prototype)}}else{try{throw Error()}catch(J){I=J}(se=e())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(J){if(J&&I&&typeof J.stack=="string")return[J.stack,I.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],T=d[1];if(g&&T){var U=g.split(`
          `),K=T.split(`
          `);for(c=o=0;o<U.length&&!U[o].includes("DetermineComponentFrameRoot");)o++;for(;c<K.length&&!K[c].includes("DetermineComponentFrameRoot");)c++;if(o===U.length||c===K.length)for(o=U.length-1,c=K.length-1;1<=o&&0<=c&&U[o]!==K[c];)c--;for(;1<=o&&0<=c;o--,c--)if(U[o]!==K[c]){if(o!==1||c!==1)do if(o--,c--,0>c||U[o]!==K[c]){var ne=`
          `+U[o].replace(" at new "," at ");return e.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",e.displayName)),ne}while(1<=o&&0<=c);break}}}finally{Xe=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Be(r):""}function tn(e,n){switch(e.tag){case 26:case 27:case 5:return Be(e.type);case 16:return Be("Lazy");case 13:return e.child!==n&&n!==null?Be("Suspense Fallback"):Be("Suspense");case 19:return Be("SuspenseList");case 0:case 15:return en(e.type,!1);case 11:return en(e.type.render,!1);case 1:return en(e.type,!0);case 31:return Be("Activity");default:return""}}function Nt(e){try{var n="",r=null;do n+=tn(e,r),r=e,e=e.return;while(e);return n}catch(o){return`
          Error generating stack: `+o.message+`
          `+o.stack}}var mn=Object.prototype.hasOwnProperty,$t=t.unstable_scheduleCallback,Rt=t.unstable_cancelCallback,Me=t.unstable_shouldYield,ln=t.unstable_requestPaint,Ve=t.unstable_now,ha=t.unstable_getCurrentPriorityLevel,In=t.unstable_ImmediatePriority,on=t.unstable_UserBlockingPriority,Pt=t.unstable_NormalPriority,ma=t.unstable_LowPriority,An=t.unstable_IdlePriority,ot=t.log,Ra=t.unstable_setDisableYieldValue,Kt=null,nn=null;function Ee(e){if(typeof ot=="function"&&Ra(e),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(Kt,e)}catch{}}var ke=Math.clz32?Math.clz32:Fa,qt=Math.log,ga=Math.LN2;function Fa(e){return e>>>=0,e===0?32:31-(qt(e)/ga|0)|0}var Kr=256,pr=262144,Ml=4194304;function Aa(e){var n=e&42;if(n!==0)return n;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function jl(e,n,r){var o=e.pendingLanes;if(o===0)return 0;var c=0,d=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var T=o&134217727;return T!==0?(o=T&~d,o!==0?c=Aa(o):(g&=T,g!==0?c=Aa(g):r||(r=T&~e,r!==0&&(c=Aa(r))))):(T=o&~d,T!==0?c=Aa(T):g!==0?c=Aa(g):r||(r=o&~e,r!==0&&(c=Aa(r)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,r=n&-n,d>=r||d===32&&(r&4194048)!==0)?n:c}function hr(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Dl(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ir(){var e=Ml;return Ml<<=1,(Ml&62914560)===0&&(Ml=4194304),e}function zl(e){for(var n=[],r=0;31>r;r++)n.push(e);return n}function Qr(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qc(e,n,r,o,c,d){var g=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var T=e.entanglements,U=e.expirationTimes,K=e.hiddenUpdates;for(r=g&~r;0<r;){var ne=31-ke(r),se=1<<ne;T[ne]=0,U[ne]=-1;var I=K[ne];if(I!==null)for(K[ne]=null,ne=0;ne<I.length;ne++){var J=I[ne];J!==null&&(J.lane&=-536870913)}r&=~se}o!==0&&k(e,o,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(g&~n))}function k(e,n,r){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-ke(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|r&261930}function q(e,n){var r=e.entangledLanes|=n;for(e=e.entanglements;r;){var o=31-ke(r),c=1<<o;c&n|e[o]&n&&(e[o]|=n),r&=~c}}function Z(e,n){var r=n&-n;return r=(r&42)!==0?1:fe(r),(r&(e.suspendedLanes|n))!==0?0:r}function fe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function pe(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function we(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:m0(e.type))}function Ce(e,n){var r=F.p;try{return F.p=e,n()}finally{F.p=r}}var ge=Math.random().toString(36).slice(2),me="__reactFiber$"+ge,ye="__reactProps$"+ge,xe="__reactContainer$"+ge,Re="__reactEvents$"+ge,Ze="__reactListeners$"+ge,Tt="__reactHandles$"+ge,_t="__reactResources$"+ge,Mt="__reactMarker$"+ge;function ut(e){delete e[me],delete e[ye],delete e[Re],delete e[Ze],delete e[Tt]}function et(e){var n=e[me];if(n)return n;for(var r=e.parentNode;r;){if(n=r[xe]||r[me]){if(r=n.alternate,n.child!==null||r!==null&&r.child!==null)for(e=Jy(e);e!==null;){if(r=e[me])return r;e=Jy(e)}return n}e=r,r=e.parentNode}return null}function On(e){if(e=e[me]||e[xe]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function ya(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(i(33))}function xn(e){var n=e[_t];return n||(n=e[_t]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ct(e){e[Mt]=!0}var _l=new Set,mr={};function Sn(e,n){va(e,n),va(e+"Capture",n)}function va(e,n){for(mr[e]=n,e=0;e<n.length;e++)_l.add(n[e])}var Ll=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ke={},an={};function gr(e){return mn.call(an,e)?!0:mn.call(Ke,e)?!1:Ll.test(e)?an[e]=!0:(Ke[e]=!0,!1)}function Qn(e,n,r){if(gr(n))if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+r)}}function Et(e,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+r)}}function Nn(e,n,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(n,r,""+o)}}function En(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hs(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jS(e,n,r){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,d=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){r=""+g,d.call(this,g)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(g){r=""+g},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Fc(e){if(!e._valueTracker){var n=hs(e)?"checked":"value";e._valueTracker=jS(e,n,""+e[n])}}function kh(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var r=n.getValue(),o="";return e&&(o=hs(e)?e.checked?"true":"false":e.value),e=o,e!==r?(n.setValue(e),!0):!1}function ms(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var DS=/[\n"\\]/g;function Zn(e){return e.replace(DS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Vc(e,n,r,o,c,d,g,T){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),n!=null?g==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+En(n)):e.value!==""+En(n)&&(e.value=""+En(n)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),n!=null?Yc(e,g,En(n)):r!=null?Yc(e,g,En(r)):o!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?e.name=""+En(T):e.removeAttribute("name")}function Hh(e,n,r,o,c,d,g,T){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){Fc(e);return}r=r!=null?""+En(r):"",n=n!=null?""+En(n):r,T||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=T?e.checked:!!o,e.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g),Fc(e)}function Yc(e,n,r){n==="number"&&ms(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Bl(e,n,r,o){if(e=e.options,n){n={};for(var c=0;c<r.length;c++)n["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=n.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&o&&(e[r].defaultSelected=!0)}else{for(r=""+En(r),n=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function $h(e,n,r){if(n!=null&&(n=""+En(n),n!==e.value&&(e.value=n),r==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=r!=null?""+En(r):""}function Ph(e,n,r,o){if(n==null){if(o!=null){if(r!=null)throw Error(i(92));if(Y(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),n=r}r=En(n),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o),Fc(e)}function Ul(e,n){if(n){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=n;return}}e.textContent=n}var zS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function qh(e,n,r){var o=n.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,r):typeof r!="number"||r===0||zS.has(n)?n==="float"?e.cssFloat=r:e[n]=(""+r).trim():e[n]=r+"px"}function Fh(e,n,r){if(n!=null&&typeof n!="object")throw Error(i(62));if(e=e.style,r!=null){for(var o in r)!r.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&r[c]!==o&&qh(e,c,o)}else for(var d in n)n.hasOwnProperty(d)&&qh(e,d,n[d])}function Gc(e){if(e.indexOf("-")===-1)return!1;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 _S=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),LS=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function gs(e){return LS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Va(){}var Xc=null;function Kc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kl=null,Hl=null;function Vh(e){var n=On(e);if(n&&(e=n.stateNode)){var r=e[ye]||null;e:switch(e=n.stateNode,n.type){case"input":if(Vc(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),n=r.name,r.type==="radio"&&n!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Zn(""+n)+'"][type="radio"]'),n=0;n<r.length;n++){var o=r[n];if(o!==e&&o.form===e.form){var c=o[ye]||null;if(!c)throw Error(i(90));Vc(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<r.length;n++)o=r[n],o.form===e.form&&kh(o)}break e;case"textarea":$h(e,r.value,r.defaultValue);break e;case"select":n=r.value,n!=null&&Bl(e,!!r.multiple,n,!1)}}}var Ic=!1;function Yh(e,n,r){if(Ic)return e(n,r);Ic=!0;try{var o=e(n);return o}finally{if(Ic=!1,(kl!==null||Hl!==null)&&(au(),kl&&(n=kl,e=Hl,Hl=kl=null,Vh(n),e)))for(n=0;n<e.length;n++)Vh(e[n])}}function ki(e,n){var r=e.stateNode;if(r===null)return null;var o=r[ye]||null;if(o===null)return null;r=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(i(231,n,typeof r));return r}var Ya=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qc=!1;if(Ya)try{var Hi={};Object.defineProperty(Hi,"passive",{get:function(){Qc=!0}}),window.addEventListener("test",Hi,Hi),window.removeEventListener("test",Hi,Hi)}catch{Qc=!1}var yr=null,Zc=null,ys=null;function Gh(){if(ys)return ys;var e,n=Zc,r=n.length,o,c="value"in yr?yr.value:yr.textContent,d=c.length;for(e=0;e<r&&n[e]===c[e];e++);var g=r-e;for(o=1;o<=g&&n[r-o]===c[d-o];o++);return ys=c.slice(e,1<o?1-o:void 0)}function vs(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function bs(){return!0}function Xh(){return!1}function Mn(e){function n(r,o,c,d,g){this._reactName=r,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(r=e[T],this[T]=r?r(d):d[T]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?bs:Xh,this.isPropagationStopped=Xh,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=bs)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=bs)},persist:function(){},isPersistent:bs}),n}var Zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=Mn(Zr),$i=v({},Zr,{view:0,detail:0}),BS=Mn($i),Wc,Jc,Pi,Ss=v({},$i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Pi&&(Pi&&e.type==="mousemove"?(Wc=e.screenX-Pi.screenX,Jc=e.screenY-Pi.screenY):Jc=Wc=0,Pi=e),Wc)},movementY:function(e){return"movementY"in e?e.movementY:Jc}}),Kh=Mn(Ss),US=v({},Ss,{dataTransfer:0}),kS=Mn(US),HS=v({},$i,{relatedTarget:0}),ef=Mn(HS),$S=v({},Zr,{animationName:0,elapsedTime:0,pseudoElement:0}),PS=Mn($S),qS=v({},Zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),FS=Mn(qS),VS=v({},Zr,{data:0}),Ih=Mn(VS),YS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},GS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},XS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function KS(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=XS[e])?!!n[e]:!1}function tf(){return KS}var IS=v({},$i,{key:function(e){if(e.key){var n=YS[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=vs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?GS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(e){return e.type==="keypress"?vs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),QS=Mn(IS),ZS=v({},Ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qh=Mn(ZS),WS=v({},$i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),JS=Mn(WS),e1=v({},Zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),t1=Mn(e1),n1=v({},Ss,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),a1=Mn(n1),r1=v({},Zr,{newState:0,oldState:0}),l1=Mn(r1),i1=[9,13,27,32],nf=Ya&&"CompositionEvent"in window,qi=null;Ya&&"documentMode"in document&&(qi=document.documentMode);var o1=Ya&&"TextEvent"in window&&!qi,Zh=Ya&&(!nf||qi&&8<qi&&11>=qi),Wh=" ",Jh=!1;function em(e,n){switch(e){case"keyup":return i1.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $l=!1;function s1(e,n){switch(e){case"compositionend":return tm(n);case"keypress":return n.which!==32?null:(Jh=!0,Wh);case"textInput":return e=n.data,e===Wh&&Jh?null:e;default:return null}}function u1(e,n){if($l)return e==="compositionend"||!nf&&em(e,n)?(e=Gh(),ys=Zc=yr=null,$l=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Zh&&n.locale!=="ko"?null:n.data;default:return null}}var c1={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 nm(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!c1[e.type]:n==="textarea"}function am(e,n,r,o){kl?Hl?Hl.push(o):Hl=[o]:kl=o,n=cu(n,"onChange"),0<n.length&&(r=new xs("onChange","change",null,r,o),e.push({event:r,listeners:n}))}var Fi=null,Vi=null;function f1(e){Hy(e,0)}function Es(e){var n=ya(e);if(kh(n))return e}function rm(e,n){if(e==="change")return n}var lm=!1;if(Ya){var af;if(Ya){var rf="oninput"in document;if(!rf){var im=document.createElement("div");im.setAttribute("oninput","return;"),rf=typeof im.oninput=="function"}af=rf}else af=!1;lm=af&&(!document.documentMode||9<document.documentMode)}function om(){Fi&&(Fi.detachEvent("onpropertychange",sm),Vi=Fi=null)}function sm(e){if(e.propertyName==="value"&&Es(Vi)){var n=[];am(n,Vi,e,Kc(e)),Yh(f1,n)}}function d1(e,n,r){e==="focusin"?(om(),Fi=n,Vi=r,Fi.attachEvent("onpropertychange",sm)):e==="focusout"&&om()}function p1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(Vi)}function h1(e,n){if(e==="click")return Es(n)}function m1(e,n){if(e==="input"||e==="change")return Es(n)}function g1(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Hn=typeof Object.is=="function"?Object.is:g1;function Yi(e,n){if(Hn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var r=Object.keys(e),o=Object.keys(n);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var c=r[o];if(!mn.call(n,c)||!Hn(e[c],n[c]))return!1}return!0}function um(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cm(e,n){var r=um(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=n&&o>=n)return{node:r,offset:n-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=um(r)}}function fm(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?fm(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function dm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=ms(e.document);n instanceof e.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)e=n.contentWindow;else break;n=ms(e.document)}return n}function lf(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var y1=Ya&&"documentMode"in document&&11>=document.documentMode,Pl=null,of=null,Gi=null,sf=!1;function pm(e,n,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;sf||Pl==null||Pl!==ms(o)||(o=Pl,"selectionStart"in o&&lf(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Gi&&Yi(Gi,o)||(Gi=o,o=cu(of,"onSelect"),0<o.length&&(n=new xs("onSelect","select",null,n,r),e.push({event:n,listeners:o}),n.target=Pl)))}function Wr(e,n){var r={};return r[e.toLowerCase()]=n.toLowerCase(),r["Webkit"+e]="webkit"+n,r["Moz"+e]="moz"+n,r}var ql={animationend:Wr("Animation","AnimationEnd"),animationiteration:Wr("Animation","AnimationIteration"),animationstart:Wr("Animation","AnimationStart"),transitionrun:Wr("Transition","TransitionRun"),transitionstart:Wr("Transition","TransitionStart"),transitioncancel:Wr("Transition","TransitionCancel"),transitionend:Wr("Transition","TransitionEnd")},uf={},hm={};Ya&&(hm=document.createElement("div").style,"AnimationEvent"in window||(delete ql.animationend.animation,delete ql.animationiteration.animation,delete ql.animationstart.animation),"TransitionEvent"in window||delete ql.transitionend.transition);function Jr(e){if(uf[e])return uf[e];if(!ql[e])return e;var n=ql[e],r;for(r in n)if(n.hasOwnProperty(r)&&r in hm)return uf[e]=n[r];return e}var mm=Jr("animationend"),gm=Jr("animationiteration"),ym=Jr("animationstart"),v1=Jr("transitionrun"),b1=Jr("transitionstart"),x1=Jr("transitioncancel"),vm=Jr("transitionend"),bm=new Map,cf="abort auxClick beforeToggle 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(" ");cf.push("scrollEnd");function ba(e,n){bm.set(e,n),Sn(n,[e])}var ws=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Wn=[],Fl=0,ff=0;function Cs(){for(var e=Fl,n=ff=Fl=0;n<e;){var r=Wn[n];Wn[n++]=null;var o=Wn[n];Wn[n++]=null;var c=Wn[n];Wn[n++]=null;var d=Wn[n];if(Wn[n++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}d!==0&&xm(r,c,d)}}function Ts(e,n,r,o){Wn[Fl++]=e,Wn[Fl++]=n,Wn[Fl++]=r,Wn[Fl++]=o,ff|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function df(e,n,r,o){return Ts(e,n,r,o),Rs(e)}function el(e,n){return Ts(e,null,null,n),Rs(e)}function xm(e,n,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var c=!1,d=e.return;d!==null;)d.childLanes|=r,o=d.alternate,o!==null&&(o.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-ke(r),e=d.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=r|536870912),d):null}function Rs(e){if(50<mo)throw mo=0,Sd=null,Error(i(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Vl={};function S1(e,n,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $n(e,n,r,o){return new S1(e,n,r,o)}function pf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ga(e,n){var r=e.alternate;return r===null?(r=$n(e.tag,n,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=n,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,n=e.dependencies,r.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Sm(e,n){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,n=r.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function As(e,n,r,o,c,d){var g=0;if(o=e,typeof e=="function")pf(e)&&(g=1);else if(typeof e=="string")g=RE(e,r,ie.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oe:return e=$n(31,r,n,c),e.elementType=oe,e.lanes=d,e;case w:return tl(r.children,c,d,n);case R:g=8,c|=24;break;case j:return e=$n(12,r,n,c|2),e.elementType=j,e.lanes=d,e;case N:return e=$n(13,r,n,c),e.elementType=N,e.lanes=d,e;case B:return e=$n(19,r,n,c),e.elementType=B,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:g=10;break e;case L:g=9;break e;case _:g=11;break e;case O:g=14;break e;case Q:g=16,o=null;break e}g=29,r=Error(i(130,e===null?"null":typeof e,"")),o=null}return n=$n(g,r,n,c),n.elementType=e,n.type=o,n.lanes=d,n}function tl(e,n,r,o){return e=$n(7,e,o,n),e.lanes=r,e}function hf(e,n,r){return e=$n(6,e,null,n),e.lanes=r,e}function Em(e){var n=$n(18,null,null,0);return n.stateNode=e,n}function mf(e,n,r){return n=$n(4,e.children!==null?e.children:[],e.key,n),n.lanes=r,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var wm=new WeakMap;function Jn(e,n){if(typeof e=="object"&&e!==null){var r=wm.get(e);return r!==void 0?r:(n={value:e,source:n,stack:Nt(n)},wm.set(e,n),n)}return{value:e,source:n,stack:Nt(n)}}var Yl=[],Gl=0,Os=null,Xi=0,ea=[],ta=0,vr=null,Oa=1,Na="";function Xa(e,n){Yl[Gl++]=Xi,Yl[Gl++]=Os,Os=e,Xi=n}function Cm(e,n,r){ea[ta++]=Oa,ea[ta++]=Na,ea[ta++]=vr,vr=e;var o=Oa;e=Na;var c=32-ke(o)-1;o&=~(1<<c),r+=1;var d=32-ke(n)+c;if(30<d){var g=c-c%5;d=(o&(1<<g)-1).toString(32),o>>=g,c-=g,Oa=1<<32-ke(n)+c|r<<c|o,Na=d+e}else Oa=1<<d|r<<c|o,Na=e}function gf(e){e.return!==null&&(Xa(e,1),Cm(e,1,0))}function yf(e){for(;e===Os;)Os=Yl[--Gl],Yl[Gl]=null,Xi=Yl[--Gl],Yl[Gl]=null;for(;e===vr;)vr=ea[--ta],ea[ta]=null,Na=ea[--ta],ea[ta]=null,Oa=ea[--ta],ea[ta]=null}function Tm(e,n){ea[ta++]=Oa,ea[ta++]=Na,ea[ta++]=vr,Oa=n.id,Na=n.overflow,vr=e}var un=null,At=null,We=!1,br=null,na=!1,vf=Error(i(519));function xr(e){var n=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ki(Jn(n,e)),vf}function Rm(e){var n=e.stateNode,r=e.type,o=e.memoizedProps;switch(n[me]=e,n[ye]=o,r){case"dialog":Ge("cancel",n),Ge("close",n);break;case"iframe":case"object":case"embed":Ge("load",n);break;case"video":case"audio":for(r=0;r<yo.length;r++)Ge(yo[r],n);break;case"source":Ge("error",n);break;case"img":case"image":case"link":Ge("error",n),Ge("load",n);break;case"details":Ge("toggle",n);break;case"input":Ge("invalid",n),Hh(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Ge("invalid",n);break;case"textarea":Ge("invalid",n),Ph(n,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||n.textContent===""+r||o.suppressHydrationWarning===!0||Fy(n.textContent,r)?(o.popover!=null&&(Ge("beforetoggle",n),Ge("toggle",n)),o.onScroll!=null&&Ge("scroll",n),o.onScrollEnd!=null&&Ge("scrollend",n),o.onClick!=null&&(n.onclick=Va),n=!0):n=!1,n||xr(e,!0)}function Am(e){for(un=e.return;un;)switch(un.tag){case 5:case 31:case 13:na=!1;return;case 27:case 3:na=!0;return;default:un=un.return}}function Xl(e){if(e!==un)return!1;if(!We)return Am(e),We=!0,!1;var n=e.tag,r;if((r=n!==3&&n!==27)&&((r=n===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Bd(e.type,e.memoizedProps)),r=!r),r&&At&&xr(e),Am(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));At=Wy(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));At=Wy(e)}else n===27?(n=At,_r(e.type)?(e=Pd,Pd=null,At=e):At=n):At=un?ra(e.stateNode.nextSibling):null;return!0}function nl(){At=un=null,We=!1}function bf(){var e=br;return e!==null&&(_n===null?_n=e:_n.push.apply(_n,e),br=null),e}function Ki(e){br===null?br=[e]:br.push(e)}var xf=z(null),al=null,Ka=null;function Sr(e,n,r){V(xf,n._currentValue),n._currentValue=r}function Ia(e){e._currentValue=xf.current,G(xf)}function Sf(e,n,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===r)break;e=e.return}}function Ef(e,n,r,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;e:for(;d!==null;){var T=d;d=c;for(var U=0;U<n.length;U++)if(T.context===n[U]){d.lanes|=r,T=d.alternate,T!==null&&(T.lanes|=r),Sf(d.return,r,e),o||(g=null);break e}d=T.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(i(341));g.lanes|=r,d=g.alternate,d!==null&&(d.lanes|=r),Sf(g,r,e),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===e){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Kl(e,n,r,o){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error(i(387));if(g=g.memoizedProps,g!==null){var T=c.type;Hn(c.pendingProps.value,g.value)||(e!==null?e.push(T):e=[T])}}else if(c===Ae.current){if(g=c.alternate,g===null)throw Error(i(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Eo):e=[Eo])}c=c.return}e!==null&&Ef(n,e,r,o),n.flags|=262144}function Ns(e){for(e=e.firstContext;e!==null;){if(!Hn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rl(e){al=e,Ka=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function cn(e){return Om(al,e)}function Ms(e,n){return al===null&&rl(e),Om(e,n)}function Om(e,n){var r=n._currentValue;if(n={context:n,memoizedValue:r,next:null},Ka===null){if(e===null)throw Error(i(308));Ka=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Ka=Ka.next=n;return r}var E1=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(r){return r()})}},w1=t.unstable_scheduleCallback,C1=t.unstable_NormalPriority,It={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wf(){return{controller:new E1,data:new Map,refCount:0}}function Ii(e){e.refCount--,e.refCount===0&&w1(C1,function(){e.controller.abort()})}var Qi=null,Cf=0,Il=0,Ql=null;function T1(e,n){if(Qi===null){var r=Qi=[];Cf=0,Il=Ad(),Ql={status:"pending",value:void 0,then:function(o){r.push(o)}}}return Cf++,n.then(Nm,Nm),n}function Nm(){if(--Cf===0&&Qi!==null){Ql!==null&&(Ql.status="fulfilled");var e=Qi;Qi=null,Il=0,Ql=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function R1(e,n){var r=[],o={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<r.length;c++)(0,r[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),o}var Mm=D.S;D.S=function(e,n){py=Ve(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&T1(e,n),Mm!==null&&Mm(e,n)};var ll=z(null);function Tf(){var e=ll.current;return e!==null?e:wt.pooledCache}function js(e,n){n===null?V(ll,ll.current):V(ll,n.pool)}function jm(){var e=Tf();return e===null?null:{parent:It._currentValue,pool:e}}var Zl=Error(i(460)),Rf=Error(i(474)),Ds=Error(i(542)),zs={then:function(){}};function Dm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function zm(e,n,r){switch(r=e[r],r===void 0?e.push(n):r!==n&&(n.then(Va,Va),n=r),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Lm(e),e;default:if(typeof n.status=="string")n.then(Va,Va);else{if(e=wt,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Lm(e),e}throw ol=n,Zl}}function il(e){try{var n=e._init;return n(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(ol=r,Zl):r}}var ol=null;function _m(){if(ol===null)throw Error(i(459));var e=ol;return ol=null,e}function Lm(e){if(e===Zl||e===Ds)throw Error(i(483))}var Wl=null,Zi=0;function _s(e){var n=Zi;return Zi+=1,Wl===null&&(Wl=[]),zm(Wl,e,n)}function Wi(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function Ls(e,n){throw n.$$typeof===C?Error(i(525)):(e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function Bm(e){function n($,H){if(e){var X=$.deletions;X===null?($.deletions=[H],$.flags|=16):X.push(H)}}function r($,H){if(!e)return null;for(;H!==null;)n($,H),H=H.sibling;return null}function o($){for(var H=new Map;$!==null;)$.key!==null?H.set($.key,$):H.set($.index,$),$=$.sibling;return H}function c($,H){return $=Ga($,H),$.index=0,$.sibling=null,$}function d($,H,X){return $.index=X,e?(X=$.alternate,X!==null?(X=X.index,X<H?($.flags|=67108866,H):X):($.flags|=67108866,H)):($.flags|=1048576,H)}function g($){return e&&$.alternate===null&&($.flags|=67108866),$}function T($,H,X,le){return H===null||H.tag!==6?(H=hf(X,$.mode,le),H.return=$,H):(H=c(H,X),H.return=$,H)}function U($,H,X,le){var Ne=X.type;return Ne===w?ne($,H,X.props.children,le,X.key):H!==null&&(H.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===Q&&il(Ne)===H.type)?(H=c(H,X.props),Wi(H,X),H.return=$,H):(H=As(X.type,X.key,X.props,null,$.mode,le),Wi(H,X),H.return=$,H)}function K($,H,X,le){return H===null||H.tag!==4||H.stateNode.containerInfo!==X.containerInfo||H.stateNode.implementation!==X.implementation?(H=mf(X,$.mode,le),H.return=$,H):(H=c(H,X.children||[]),H.return=$,H)}function ne($,H,X,le,Ne){return H===null||H.tag!==7?(H=tl(X,$.mode,le,Ne),H.return=$,H):(H=c(H,X),H.return=$,H)}function se($,H,X){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=hf(""+H,$.mode,X),H.return=$,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case E:return X=As(H.type,H.key,H.props,null,$.mode,X),Wi(X,H),X.return=$,X;case b:return H=mf(H,$.mode,X),H.return=$,H;case Q:return H=il(H),se($,H,X)}if(Y(H)||A(H))return H=tl(H,$.mode,X,null),H.return=$,H;if(typeof H.then=="function")return se($,_s(H),X);if(H.$$typeof===M)return se($,Ms($,H),X);Ls($,H)}return null}function I($,H,X,le){var Ne=H!==null?H.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return Ne!==null?null:T($,H,""+X,le);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case E:return X.key===Ne?U($,H,X,le):null;case b:return X.key===Ne?K($,H,X,le):null;case Q:return X=il(X),I($,H,X,le)}if(Y(X)||A(X))return Ne!==null?null:ne($,H,X,le,null);if(typeof X.then=="function")return I($,H,_s(X),le);if(X.$$typeof===M)return I($,H,Ms($,X),le);Ls($,X)}return null}function J($,H,X,le,Ne){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return $=$.get(X)||null,T(H,$,""+le,Ne);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case E:return $=$.get(le.key===null?X:le.key)||null,U(H,$,le,Ne);case b:return $=$.get(le.key===null?X:le.key)||null,K(H,$,le,Ne);case Q:return le=il(le),J($,H,X,le,Ne)}if(Y(le)||A(le))return $=$.get(X)||null,ne(H,$,le,Ne,null);if(typeof le.then=="function")return J($,H,X,_s(le),Ne);if(le.$$typeof===M)return J($,H,X,Ms(H,le),Ne);Ls(H,le)}return null}function ve($,H,X,le){for(var Ne=null,tt=null,Se=H,qe=H=0,Qe=null;Se!==null&&qe<X.length;qe++){Se.index>qe?(Qe=Se,Se=null):Qe=Se.sibling;var nt=I($,Se,X[qe],le);if(nt===null){Se===null&&(Se=Qe);break}e&&Se&&nt.alternate===null&&n($,Se),H=d(nt,H,qe),tt===null?Ne=nt:tt.sibling=nt,tt=nt,Se=Qe}if(qe===X.length)return r($,Se),We&&Xa($,qe),Ne;if(Se===null){for(;qe<X.length;qe++)Se=se($,X[qe],le),Se!==null&&(H=d(Se,H,qe),tt===null?Ne=Se:tt.sibling=Se,tt=Se);return We&&Xa($,qe),Ne}for(Se=o(Se);qe<X.length;qe++)Qe=J(Se,$,qe,X[qe],le),Qe!==null&&(e&&Qe.alternate!==null&&Se.delete(Qe.key===null?qe:Qe.key),H=d(Qe,H,qe),tt===null?Ne=Qe:tt.sibling=Qe,tt=Qe);return e&&Se.forEach(function(Hr){return n($,Hr)}),We&&Xa($,qe),Ne}function De($,H,X,le){if(X==null)throw Error(i(151));for(var Ne=null,tt=null,Se=H,qe=H=0,Qe=null,nt=X.next();Se!==null&&!nt.done;qe++,nt=X.next()){Se.index>qe?(Qe=Se,Se=null):Qe=Se.sibling;var Hr=I($,Se,nt.value,le);if(Hr===null){Se===null&&(Se=Qe);break}e&&Se&&Hr.alternate===null&&n($,Se),H=d(Hr,H,qe),tt===null?Ne=Hr:tt.sibling=Hr,tt=Hr,Se=Qe}if(nt.done)return r($,Se),We&&Xa($,qe),Ne;if(Se===null){for(;!nt.done;qe++,nt=X.next())nt=se($,nt.value,le),nt!==null&&(H=d(nt,H,qe),tt===null?Ne=nt:tt.sibling=nt,tt=nt);return We&&Xa($,qe),Ne}for(Se=o(Se);!nt.done;qe++,nt=X.next())nt=J(Se,$,qe,nt.value,le),nt!==null&&(e&&nt.alternate!==null&&Se.delete(nt.key===null?qe:nt.key),H=d(nt,H,qe),tt===null?Ne=nt:tt.sibling=nt,tt=nt);return e&&Se.forEach(function(UE){return n($,UE)}),We&&Xa($,qe),Ne}function yt($,H,X,le){if(typeof X=="object"&&X!==null&&X.type===w&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case E:e:{for(var Ne=X.key;H!==null;){if(H.key===Ne){if(Ne=X.type,Ne===w){if(H.tag===7){r($,H.sibling),le=c(H,X.props.children),le.return=$,$=le;break e}}else if(H.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===Q&&il(Ne)===H.type){r($,H.sibling),le=c(H,X.props),Wi(le,X),le.return=$,$=le;break e}r($,H);break}else n($,H);H=H.sibling}X.type===w?(le=tl(X.props.children,$.mode,le,X.key),le.return=$,$=le):(le=As(X.type,X.key,X.props,null,$.mode,le),Wi(le,X),le.return=$,$=le)}return g($);case b:e:{for(Ne=X.key;H!==null;){if(H.key===Ne)if(H.tag===4&&H.stateNode.containerInfo===X.containerInfo&&H.stateNode.implementation===X.implementation){r($,H.sibling),le=c(H,X.children||[]),le.return=$,$=le;break e}else{r($,H);break}else n($,H);H=H.sibling}le=mf(X,$.mode,le),le.return=$,$=le}return g($);case Q:return X=il(X),yt($,H,X,le)}if(Y(X))return ve($,H,X,le);if(A(X)){if(Ne=A(X),typeof Ne!="function")throw Error(i(150));return X=Ne.call(X),De($,H,X,le)}if(typeof X.then=="function")return yt($,H,_s(X),le);if(X.$$typeof===M)return yt($,H,Ms($,X),le);Ls($,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,H!==null&&H.tag===6?(r($,H.sibling),le=c(H,X),le.return=$,$=le):(r($,H),le=hf(X,$.mode,le),le.return=$,$=le),g($)):r($,H)}return function($,H,X,le){try{Zi=0;var Ne=yt($,H,X,le);return Wl=null,Ne}catch(Se){if(Se===Zl||Se===Ds)throw Se;var tt=$n(29,Se,null,$.mode);return tt.lanes=le,tt.return=$,tt}finally{}}}var sl=Bm(!0),Um=Bm(!1),Er=!1;function Af(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Of(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function wr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Cr(e,n,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(rt&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=Rs(e),xm(e,null,r),n}return Ts(e,o,n,r),Rs(e)}function Ji(e,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,q(e,r)}}function Nf(e,n){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var c=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var g={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,r=r.next}while(r!==null);d===null?c=d=n:d=d.next=n}else c=d=n;r={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=n:e.next=n,r.lastBaseUpdate=n}var Mf=!1;function eo(){if(Mf){var e=Ql;if(e!==null)throw e}}function to(e,n,r,o){Mf=!1;var c=e.updateQueue;Er=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,T=c.shared.pending;if(T!==null){c.shared.pending=null;var U=T,K=U.next;U.next=null,g===null?d=K:g.next=K,g=U;var ne=e.alternate;ne!==null&&(ne=ne.updateQueue,T=ne.lastBaseUpdate,T!==g&&(T===null?ne.firstBaseUpdate=K:T.next=K,ne.lastBaseUpdate=U))}if(d!==null){var se=c.baseState;g=0,ne=K=U=null,T=d;do{var I=T.lane&-536870913,J=I!==T.lane;if(J?(Ie&I)===I:(o&I)===I){I!==0&&I===Il&&(Mf=!0),ne!==null&&(ne=ne.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{var ve=e,De=T;I=n;var yt=r;switch(De.tag){case 1:if(ve=De.payload,typeof ve=="function"){se=ve.call(yt,se,I);break e}se=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=De.payload,I=typeof ve=="function"?ve.call(yt,se,I):ve,I==null)break e;se=v({},se,I);break e;case 2:Er=!0}}I=T.callback,I!==null&&(e.flags|=64,J&&(e.flags|=8192),J=c.callbacks,J===null?c.callbacks=[I]:J.push(I))}else J={lane:I,tag:T.tag,payload:T.payload,callback:T.callback,next:null},ne===null?(K=ne=J,U=se):ne=ne.next=J,g|=I;if(T=T.next,T===null){if(T=c.shared.pending,T===null)break;J=T,T=J.next,J.next=null,c.lastBaseUpdate=J,c.shared.pending=null}}while(!0);ne===null&&(U=se),c.baseState=U,c.firstBaseUpdate=K,c.lastBaseUpdate=ne,d===null&&(c.shared.lanes=0),Nr|=g,e.lanes=g,e.memoizedState=se}}function km(e,n){if(typeof e!="function")throw Error(i(191,e));e.call(n)}function Hm(e,n){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)km(r[e],n)}var Jl=z(null),Bs=z(0);function $m(e,n){e=rr,V(Bs,e),V(Jl,n),rr=e|n.baseLanes}function jf(){V(Bs,rr),V(Jl,Jl.current)}function Df(){rr=Bs.current,G(Jl),G(Bs)}var Pn=z(null),aa=null;function Tr(e){var n=e.alternate;V(Ft,Ft.current&1),V(Pn,e),aa===null&&(n===null||Jl.current!==null||n.memoizedState!==null)&&(aa=e)}function zf(e){V(Ft,Ft.current),V(Pn,e),aa===null&&(aa=e)}function Pm(e){e.tag===22?(V(Ft,Ft.current),V(Pn,e),aa===null&&(aa=e)):Rr()}function Rr(){V(Ft,Ft.current),V(Pn,Pn.current)}function qn(e){G(Pn),aa===e&&(aa=null),G(Ft)}var Ft=z(0);function Us(e){for(var n=e;n!==null;){if(n.tag===13){var r=n.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Hd(r)||$d(r)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Qa=0,He=null,mt=null,Qt=null,ks=!1,ei=!1,ul=!1,Hs=0,no=0,ti=null,A1=0;function Lt(){throw Error(i(321))}function _f(e,n){if(n===null)return!1;for(var r=0;r<n.length&&r<e.length;r++)if(!Hn(e[r],n[r]))return!1;return!0}function Lf(e,n,r,o,c,d){return Qa=d,He=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,D.H=e===null||e.memoizedState===null?Cg:Qf,ul=!1,d=r(o,c),ul=!1,ei&&(d=Fm(n,r,o,c)),qm(e),d}function qm(e){D.H=lo;var n=mt!==null&&mt.next!==null;if(Qa=0,Qt=mt=He=null,ks=!1,no=0,ti=null,n)throw Error(i(300));e===null||Zt||(e=e.dependencies,e!==null&&Ns(e)&&(Zt=!0))}function Fm(e,n,r,o){He=e;var c=0;do{if(ei&&(ti=null),no=0,ei=!1,25<=c)throw Error(i(301));if(c+=1,Qt=mt=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}D.H=Tg,d=n(r,o)}while(ei);return d}function O1(){var e=D.H,n=e.useState()[0];return n=typeof n.then=="function"?ao(n):n,e=e.useState()[0],(mt!==null?mt.memoizedState:null)!==e&&(He.flags|=1024),n}function Bf(){var e=Hs!==0;return Hs=0,e}function Uf(e,n,r){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~r}function kf(e){if(ks){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}ks=!1}Qa=0,Qt=mt=He=null,ei=!1,no=Hs=0,ti=null}function wn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qt===null?He.memoizedState=Qt=e:Qt=Qt.next=e,Qt}function Vt(){if(mt===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=mt.next;var n=Qt===null?He.memoizedState:Qt.next;if(n!==null)Qt=n,mt=e;else{if(e===null)throw He.alternate===null?Error(i(467)):Error(i(310));mt=e,e={memoizedState:mt.memoizedState,baseState:mt.baseState,baseQueue:mt.baseQueue,queue:mt.queue,next:null},Qt===null?He.memoizedState=Qt=e:Qt=Qt.next=e}return Qt}function $s(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ao(e){var n=no;return no+=1,ti===null&&(ti=[]),e=zm(ti,e,n),n=He,(Qt===null?n.memoizedState:Qt.next)===null&&(n=n.alternate,D.H=n===null||n.memoizedState===null?Cg:Qf),e}function Ps(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ao(e);if(e.$$typeof===M)return cn(e)}throw Error(i(438,String(e)))}function Hf(e){var n=null,r=He.updateQueue;if(r!==null&&(n=r.memoCache),n==null){var o=He.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),r===null&&(r=$s(),He.updateQueue=r),r.memoCache=n,r=n.data[n.index],r===void 0)for(r=n.data[n.index]=Array(e),o=0;o<e;o++)r[o]=re;return n.index++,r}function Za(e,n){return typeof n=="function"?n(e):n}function qs(e){var n=Vt();return $f(n,mt,e)}function $f(e,n,r){var o=e.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=r;var c=e.baseQueue,d=o.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}n.baseQueue=c=d,o.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var T=g=null,U=null,K=n,ne=!1;do{var se=K.lane&-536870913;if(se!==K.lane?(Ie&se)===se:(Qa&se)===se){var I=K.revertLane;if(I===0)U!==null&&(U=U.next={lane:0,revertLane:0,gesture:null,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),se===Il&&(ne=!0);else if((Qa&I)===I){K=K.next,I===Il&&(ne=!0);continue}else se={lane:0,revertLane:K.revertLane,gesture:null,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null},U===null?(T=U=se,g=d):U=U.next=se,He.lanes|=I,Nr|=I;se=K.action,ul&&r(d,se),d=K.hasEagerState?K.eagerState:r(d,se)}else I={lane:se,revertLane:K.revertLane,gesture:K.gesture,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null},U===null?(T=U=I,g=d):U=U.next=I,He.lanes|=se,Nr|=se;K=K.next}while(K!==null&&K!==n);if(U===null?g=d:U.next=T,!Hn(d,e.memoizedState)&&(Zt=!0,ne&&(r=Ql,r!==null)))throw r;e.memoizedState=d,e.baseState=g,e.baseQueue=U,o.lastRenderedState=d}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Pf(e){var n=Vt(),r=n.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=e;var o=r.dispatch,c=r.pending,d=n.memoizedState;if(c!==null){r.pending=null;var g=c=c.next;do d=e(d,g.action),g=g.next;while(g!==c);Hn(d,n.memoizedState)||(Zt=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),r.lastRenderedState=d}return[d,o]}function Vm(e,n,r){var o=He,c=Vt(),d=We;if(d){if(r===void 0)throw Error(i(407));r=r()}else r=n();var g=!Hn((mt||c).memoizedState,r);if(g&&(c.memoizedState=r,Zt=!0),c=c.queue,Vf(Xm.bind(null,o,c,e),[e]),c.getSnapshot!==n||g||Qt!==null&&Qt.memoizedState.tag&1){if(o.flags|=2048,ni(9,{destroy:void 0},Gm.bind(null,o,c,r,n),null),wt===null)throw Error(i(349));d||(Qa&127)!==0||Ym(o,n,r)}return r}function Ym(e,n,r){e.flags|=16384,e={getSnapshot:n,value:r},n=He.updateQueue,n===null?(n=$s(),He.updateQueue=n,n.stores=[e]):(r=n.stores,r===null?n.stores=[e]:r.push(e))}function Gm(e,n,r,o){n.value=r,n.getSnapshot=o,Km(n)&&Im(e)}function Xm(e,n,r){return r(function(){Km(n)&&Im(e)})}function Km(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!Hn(e,r)}catch{return!0}}function Im(e){var n=el(e,2);n!==null&&Ln(n,e,2)}function qf(e){var n=wn();if(typeof e=="function"){var r=e;if(e=r(),ul){Ee(!0);try{r()}finally{Ee(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:e},n}function Qm(e,n,r,o){return e.baseState=r,$f(e,mt,typeof o=="function"?o:Za)}function N1(e,n,r,o,c){if(Ys(e))throw Error(i(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};D.T!==null?r(!0):d.isTransition=!1,o(d),r=n.pending,r===null?(d.next=n.pending=d,Zm(n,d)):(d.next=r.next,n.pending=r.next=d)}}function Zm(e,n){var r=n.action,o=n.payload,c=e.state;if(n.isTransition){var d=D.T,g={};D.T=g;try{var T=r(c,o),U=D.S;U!==null&&U(g,T),Wm(e,n,T)}catch(K){Ff(e,n,K)}finally{d!==null&&g.types!==null&&(d.types=g.types),D.T=d}}else try{d=r(c,o),Wm(e,n,d)}catch(K){Ff(e,n,K)}}function Wm(e,n,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(o){Jm(e,n,o)},function(o){return Ff(e,n,o)}):Jm(e,n,r)}function Jm(e,n,r){n.status="fulfilled",n.value=r,eg(n),e.state=r,n=e.pending,n!==null&&(r=n.next,r===n?e.pending=null:(r=r.next,n.next=r,Zm(e,r)))}function Ff(e,n,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=r,eg(n),n=n.next;while(n!==o)}e.action=null}function eg(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function tg(e,n){return n}function ng(e,n){if(We){var r=wt.formState;if(r!==null){e:{var o=He;if(We){if(At){t:{for(var c=At,d=na;c.nodeType!==8;){if(!d){c=null;break t}if(c=ra(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){At=ra(c.nextSibling),o=c.data==="F!";break e}}xr(o)}o=!1}o&&(n=r[0])}}return r=wn(),r.memoizedState=r.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tg,lastRenderedState:n},r.queue=o,r=Sg.bind(null,He,o),o.dispatch=r,o=qf(!1),d=If.bind(null,He,!1,o.queue),o=wn(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,r=N1.bind(null,He,c,d,r),c.dispatch=r,o.memoizedState=e,[n,r,!1]}function ag(e){var n=Vt();return rg(n,mt,e)}function rg(e,n,r){if(n=$f(e,n,tg)[0],e=qs(Za)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=ao(n)}catch(g){throw g===Zl?Ds:g}else o=n;n=Vt();var c=n.queue,d=c.dispatch;return r!==n.memoizedState&&(He.flags|=2048,ni(9,{destroy:void 0},M1.bind(null,c,r),null)),[o,d,e]}function M1(e,n){e.action=n}function lg(e){var n=Vt(),r=mt;if(r!==null)return rg(n,r,e);Vt(),n=n.memoizedState,r=Vt();var o=r.queue.dispatch;return r.memoizedState=e,[n,o,!1]}function ni(e,n,r,o){return e={tag:e,create:r,deps:o,inst:n,next:null},n=He.updateQueue,n===null&&(n=$s(),He.updateQueue=n),r=n.lastEffect,r===null?n.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,n.lastEffect=e),e}function ig(){return Vt().memoizedState}function Fs(e,n,r,o){var c=wn();He.flags|=e,c.memoizedState=ni(1|n,{destroy:void 0},r,o===void 0?null:o)}function Vs(e,n,r,o){var c=Vt();o=o===void 0?null:o;var d=c.memoizedState.inst;mt!==null&&o!==null&&_f(o,mt.memoizedState.deps)?c.memoizedState=ni(n,d,r,o):(He.flags|=e,c.memoizedState=ni(1|n,d,r,o))}function og(e,n){Fs(8390656,8,e,n)}function Vf(e,n){Vs(2048,8,e,n)}function j1(e){He.flags|=4;var n=He.updateQueue;if(n===null)n=$s(),He.updateQueue=n,n.events=[e];else{var r=n.events;r===null?n.events=[e]:r.push(e)}}function sg(e){var n=Vt().memoizedState;return j1({ref:n,nextImpl:e}),function(){if((rt&2)!==0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}function ug(e,n){return Vs(4,2,e,n)}function cg(e,n){return Vs(4,4,e,n)}function fg(e,n){if(typeof n=="function"){e=e();var r=n(e);return function(){typeof r=="function"?r():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function dg(e,n,r){r=r!=null?r.concat([e]):null,Vs(4,4,fg.bind(null,n,e),r)}function Yf(){}function pg(e,n){var r=Vt();n=n===void 0?null:n;var o=r.memoizedState;return n!==null&&_f(n,o[1])?o[0]:(r.memoizedState=[e,n],e)}function hg(e,n){var r=Vt();n=n===void 0?null:n;var o=r.memoizedState;if(n!==null&&_f(n,o[1]))return o[0];if(o=e(),ul){Ee(!0);try{e()}finally{Ee(!1)}}return r.memoizedState=[o,n],o}function Gf(e,n,r){return r===void 0||(Qa&1073741824)!==0&&(Ie&261930)===0?e.memoizedState=n:(e.memoizedState=r,e=my(),He.lanes|=e,Nr|=e,r)}function mg(e,n,r,o){return Hn(r,n)?r:Jl.current!==null?(e=Gf(e,r,o),Hn(e,n)||(Zt=!0),e):(Qa&42)===0||(Qa&1073741824)!==0&&(Ie&261930)===0?(Zt=!0,e.memoizedState=r):(e=my(),He.lanes|=e,Nr|=e,n)}function gg(e,n,r,o,c){var d=F.p;F.p=d!==0&&8>d?d:8;var g=D.T,T={};D.T=T,If(e,!1,n,r);try{var U=c(),K=D.S;if(K!==null&&K(T,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var ne=R1(U,o);ro(e,n,ne,Yn(e))}else ro(e,n,o,Yn(e))}catch(se){ro(e,n,{then:function(){},status:"rejected",reason:se},Yn())}finally{F.p=d,g!==null&&T.types!==null&&(g.types=T.types),D.T=g}}function D1(){}function Xf(e,n,r,o){if(e.tag!==5)throw Error(i(476));var c=yg(e).queue;gg(e,c,n,ue,r===null?D1:function(){return vg(e),r(o)})}function yg(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:ue},next:null};var r={};return n.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:r},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function vg(e){var n=yg(e);n.next===null&&(n=e.alternate.memoizedState),ro(e,n.next.queue,{},Yn())}function Kf(){return cn(Eo)}function bg(){return Vt().memoizedState}function xg(){return Vt().memoizedState}function z1(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=Yn();e=wr(r);var o=Cr(n,e,r);o!==null&&(Ln(o,n,r),Ji(o,n,r)),n={cache:wf()},e.payload=n;return}n=n.return}}function _1(e,n,r){var o=Yn();r={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ys(e)?Eg(n,r):(r=df(e,n,r,o),r!==null&&(Ln(r,e,o),wg(r,n,o)))}function Sg(e,n,r){var o=Yn();ro(e,n,r,o)}function ro(e,n,r,o){var c={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ys(e))Eg(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var g=n.lastRenderedState,T=d(g,r);if(c.hasEagerState=!0,c.eagerState=T,Hn(T,g))return Ts(e,n,c,0),wt===null&&Cs(),!1}catch{}finally{}if(r=df(e,n,c,o),r!==null)return Ln(r,e,o),wg(r,n,o),!0}return!1}function If(e,n,r,o){if(o={lane:2,revertLane:Ad(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ys(e)){if(n)throw Error(i(479))}else n=df(e,r,o,2),n!==null&&Ln(n,e,2)}function Ys(e){var n=e.alternate;return e===He||n!==null&&n===He}function Eg(e,n){ei=ks=!0;var r=e.pending;r===null?n.next=n:(n.next=r.next,r.next=n),e.pending=n}function wg(e,n,r){if((r&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,q(e,r)}}var lo={readContext:cn,use:Ps,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useLayoutEffect:Lt,useInsertionEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useSyncExternalStore:Lt,useId:Lt,useHostTransitionStatus:Lt,useFormState:Lt,useActionState:Lt,useOptimistic:Lt,useMemoCache:Lt,useCacheRefresh:Lt};lo.useEffectEvent=Lt;var Cg={readContext:cn,use:Ps,useCallback:function(e,n){return wn().memoizedState=[e,n===void 0?null:n],e},useContext:cn,useEffect:og,useImperativeHandle:function(e,n,r){r=r!=null?r.concat([e]):null,Fs(4194308,4,fg.bind(null,n,e),r)},useLayoutEffect:function(e,n){return Fs(4194308,4,e,n)},useInsertionEffect:function(e,n){Fs(4,2,e,n)},useMemo:function(e,n){var r=wn();n=n===void 0?null:n;var o=e();if(ul){Ee(!0);try{e()}finally{Ee(!1)}}return r.memoizedState=[o,n],o},useReducer:function(e,n,r){var o=wn();if(r!==void 0){var c=r(n);if(ul){Ee(!0);try{r(n)}finally{Ee(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=_1.bind(null,He,e),[o.memoizedState,e]},useRef:function(e){var n=wn();return e={current:e},n.memoizedState=e},useState:function(e){e=qf(e);var n=e.queue,r=Sg.bind(null,He,n);return n.dispatch=r,[e.memoizedState,r]},useDebugValue:Yf,useDeferredValue:function(e,n){var r=wn();return Gf(r,e,n)},useTransition:function(){var e=qf(!1);return e=gg.bind(null,He,e.queue,!0,!1),wn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,r){var o=He,c=wn();if(We){if(r===void 0)throw Error(i(407));r=r()}else{if(r=n(),wt===null)throw Error(i(349));(Ie&127)!==0||Ym(o,n,r)}c.memoizedState=r;var d={value:r,getSnapshot:n};return c.queue=d,og(Xm.bind(null,o,d,e),[e]),o.flags|=2048,ni(9,{destroy:void 0},Gm.bind(null,o,d,r,n),null),r},useId:function(){var e=wn(),n=wt.identifierPrefix;if(We){var r=Na,o=Oa;r=(o&~(1<<32-ke(o)-1)).toString(32)+r,n="_"+n+"R_"+r,r=Hs++,0<r&&(n+="H"+r.toString(32)),n+="_"}else r=A1++,n="_"+n+"r_"+r.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:Kf,useFormState:ng,useActionState:ng,useOptimistic:function(e){var n=wn();n.memoizedState=n.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=r,n=If.bind(null,He,!0,r),r.dispatch=n,[e,n]},useMemoCache:Hf,useCacheRefresh:function(){return wn().memoizedState=z1.bind(null,He)},useEffectEvent:function(e){var n=wn(),r={impl:e};return n.memoizedState=r,function(){if((rt&2)!==0)throw Error(i(440));return r.impl.apply(void 0,arguments)}}},Qf={readContext:cn,use:Ps,useCallback:pg,useContext:cn,useEffect:Vf,useImperativeHandle:dg,useInsertionEffect:ug,useLayoutEffect:cg,useMemo:hg,useReducer:qs,useRef:ig,useState:function(){return qs(Za)},useDebugValue:Yf,useDeferredValue:function(e,n){var r=Vt();return mg(r,mt.memoizedState,e,n)},useTransition:function(){var e=qs(Za)[0],n=Vt().memoizedState;return[typeof e=="boolean"?e:ao(e),n]},useSyncExternalStore:Vm,useId:bg,useHostTransitionStatus:Kf,useFormState:ag,useActionState:ag,useOptimistic:function(e,n){var r=Vt();return Qm(r,mt,e,n)},useMemoCache:Hf,useCacheRefresh:xg};Qf.useEffectEvent=sg;var Tg={readContext:cn,use:Ps,useCallback:pg,useContext:cn,useEffect:Vf,useImperativeHandle:dg,useInsertionEffect:ug,useLayoutEffect:cg,useMemo:hg,useReducer:Pf,useRef:ig,useState:function(){return Pf(Za)},useDebugValue:Yf,useDeferredValue:function(e,n){var r=Vt();return mt===null?Gf(r,e,n):mg(r,mt.memoizedState,e,n)},useTransition:function(){var e=Pf(Za)[0],n=Vt().memoizedState;return[typeof e=="boolean"?e:ao(e),n]},useSyncExternalStore:Vm,useId:bg,useHostTransitionStatus:Kf,useFormState:lg,useActionState:lg,useOptimistic:function(e,n){var r=Vt();return mt!==null?Qm(r,mt,e,n):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Hf,useCacheRefresh:xg};Tg.useEffectEvent=sg;function Zf(e,n,r,o){n=e.memoizedState,r=r(o,n),r=r==null?n:v({},n,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Wf={enqueueSetState:function(e,n,r){e=e._reactInternals;var o=Yn(),c=wr(o);c.payload=n,r!=null&&(c.callback=r),n=Cr(e,c,o),n!==null&&(Ln(n,e,o),Ji(n,e,o))},enqueueReplaceState:function(e,n,r){e=e._reactInternals;var o=Yn(),c=wr(o);c.tag=1,c.payload=n,r!=null&&(c.callback=r),n=Cr(e,c,o),n!==null&&(Ln(n,e,o),Ji(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var r=Yn(),o=wr(r);o.tag=2,n!=null&&(o.callback=n),n=Cr(e,o,r),n!==null&&(Ln(n,e,r),Ji(n,e,r))}};function Rg(e,n,r,o,c,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,g):n.prototype&&n.prototype.isPureReactComponent?!Yi(r,o)||!Yi(c,d):!0}function Ag(e,n,r,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(r,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(r,o),n.state!==e&&Wf.enqueueReplaceState(n,n.state,null)}function cl(e,n){var r=n;if("ref"in n){r={};for(var o in n)o!=="ref"&&(r[o]=n[o])}if(e=e.defaultProps){r===n&&(r=v({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}function Og(e){ws(e)}function Ng(e){console.error(e)}function Mg(e){ws(e)}function Gs(e,n){try{var r=e.onUncaughtError;r(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function jg(e,n,r){try{var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Jf(e,n,r){return r=wr(r),r.tag=3,r.payload={element:null},r.callback=function(){Gs(e,n)},r}function Dg(e){return e=wr(e),e.tag=3,e}function zg(e,n,r,o){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;e.payload=function(){return c(d)},e.callback=function(){jg(n,r,o)}}var g=r.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){jg(n,r,o),typeof c!="function"&&(Mr===null?Mr=new Set([this]):Mr.add(this));var T=o.stack;this.componentDidCatch(o.value,{componentStack:T!==null?T:""})})}function L1(e,n,r,o,c){if(r.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=r.alternate,n!==null&&Kl(n,r,c,!0),r=Pn.current,r!==null){switch(r.tag){case 31:case 13:return aa===null?ru():r.alternate===null&&Bt===0&&(Bt=3),r.flags&=-257,r.flags|=65536,r.lanes=c,o===zs?r.flags|=16384:(n=r.updateQueue,n===null?r.updateQueue=new Set([o]):n.add(o),Cd(e,o,c)),!1;case 22:return r.flags|=65536,o===zs?r.flags|=16384:(n=r.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=n):(r=n.retryQueue,r===null?n.retryQueue=new Set([o]):r.add(o)),Cd(e,o,c)),!1}throw Error(i(435,r.tag))}return Cd(e,o,c),ru(),!1}if(We)return n=Pn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==vf&&(e=Error(i(422),{cause:o}),Ki(Jn(e,r)))):(o!==vf&&(n=Error(i(423),{cause:o}),Ki(Jn(n,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=Jn(o,r),c=Jf(e.stateNode,o,c),Nf(e,c),Bt!==4&&(Bt=2)),!1;var d=Error(i(520),{cause:o});if(d=Jn(d,r),ho===null?ho=[d]:ho.push(d),Bt!==4&&(Bt=2),n===null)return!0;o=Jn(o,r),r=n;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Jf(r.stateNode,o,e),Nf(r,e),!1;case 1:if(n=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Mr===null||!Mr.has(d))))return r.flags|=65536,c&=-c,r.lanes|=c,c=Dg(c),zg(c,e,r,o),Nf(r,c),!1}r=r.return}while(r!==null);return!1}var ed=Error(i(461)),Zt=!1;function fn(e,n,r,o){n.child=e===null?Um(n,null,r,o):sl(n,e.child,r,o)}function _g(e,n,r,o,c){r=r.render;var d=n.ref;if("ref"in o){var g={};for(var T in o)T!=="ref"&&(g[T]=o[T])}else g=o;return rl(n),o=Lf(e,n,r,g,d,c),T=Bf(),e!==null&&!Zt?(Uf(e,n,c),Wa(e,n,c)):(We&&T&&gf(n),n.flags|=1,fn(e,n,o,c),n.child)}function Lg(e,n,r,o,c){if(e===null){var d=r.type;return typeof d=="function"&&!pf(d)&&d.defaultProps===void 0&&r.compare===null?(n.tag=15,n.type=d,Bg(e,n,d,o,c)):(e=As(r.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!sd(e,c)){var g=d.memoizedProps;if(r=r.compare,r=r!==null?r:Yi,r(g,o)&&e.ref===n.ref)return Wa(e,n,c)}return n.flags|=1,e=Ga(d,o),e.ref=n.ref,e.return=n,n.child=e}function Bg(e,n,r,o,c){if(e!==null){var d=e.memoizedProps;if(Yi(d,o)&&e.ref===n.ref)if(Zt=!1,n.pendingProps=o=d,sd(e,c))(e.flags&131072)!==0&&(Zt=!0);else return n.lanes=e.lanes,Wa(e,n,c)}return td(e,n,r,o,c)}function Ug(e,n,r,o){var c=o.children,d=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|r:r,e!==null){for(o=n.child=e.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~d}else o=0,n.child=null;return kg(e,n,d,r,o)}if((r&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&js(n,d!==null?d.cachePool:null),d!==null?$m(n,d):jf(),Pm(n);else return o=n.lanes=536870912,kg(e,n,d!==null?d.baseLanes|r:r,r,o)}else d!==null?(js(n,d.cachePool),$m(n,d),Rr(),n.memoizedState=null):(e!==null&&js(n,null),jf(),Rr());return fn(e,n,c,r),n.child}function io(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function kg(e,n,r,o,c){var d=Tf();return d=d===null?null:{parent:It._currentValue,pool:d},n.memoizedState={baseLanes:r,cachePool:d},e!==null&&js(n,null),jf(),Pm(n),e!==null&&Kl(e,n,o,!0),n.childLanes=c,null}function Xs(e,n){return n=Is({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function Hg(e,n,r){return sl(n,e.child,null,r),e=Xs(n,n.pendingProps),e.flags|=2,qn(n),n.memoizedState=null,e}function B1(e,n,r){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(We){if(o.mode==="hidden")return e=Xs(n,o),n.lanes=536870912,io(null,e);if(zf(n),(e=At)?(e=Zy(e,na),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:vr!==null?{id:Oa,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},r=Em(e),r.return=n,n.child=r,un=n,At=null)):e=null,e===null)throw xr(n);return n.lanes=536870912,null}return Xs(n,o)}var d=e.memoizedState;if(d!==null){var g=d.dehydrated;if(zf(n),c)if(n.flags&256)n.flags&=-257,n=Hg(e,n,r);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(i(558));else if(Zt||Kl(e,n,r,!1),c=(r&e.childLanes)!==0,Zt||c){if(o=wt,o!==null&&(g=Z(o,r),g!==0&&g!==d.retryLane))throw d.retryLane=g,el(e,g),Ln(o,e,g),ed;ru(),n=Hg(e,n,r)}else e=d.treeContext,At=ra(g.nextSibling),un=n,We=!0,br=null,na=!1,e!==null&&Tm(n,e),n=Xs(n,o),n.flags|=4096;return n}return e=Ga(e.child,{mode:o.mode,children:o.children}),e.ref=n.ref,n.child=e,e.return=n,e}function Ks(e,n){var r=n.ref;if(r===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(i(284));(e===null||e.ref!==r)&&(n.flags|=4194816)}}function td(e,n,r,o,c){return rl(n),r=Lf(e,n,r,o,void 0,c),o=Bf(),e!==null&&!Zt?(Uf(e,n,c),Wa(e,n,c)):(We&&o&&gf(n),n.flags|=1,fn(e,n,r,c),n.child)}function $g(e,n,r,o,c,d){return rl(n),n.updateQueue=null,r=Fm(n,o,r,c),qm(e),o=Bf(),e!==null&&!Zt?(Uf(e,n,d),Wa(e,n,d)):(We&&o&&gf(n),n.flags|=1,fn(e,n,r,d),n.child)}function Pg(e,n,r,o,c){if(rl(n),n.stateNode===null){var d=Vl,g=r.contextType;typeof g=="object"&&g!==null&&(d=cn(g)),d=new r(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Wf,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},Af(n),g=r.contextType,d.context=typeof g=="object"&&g!==null?cn(g):Vl,d.state=n.memoizedState,g=r.getDerivedStateFromProps,typeof g=="function"&&(Zf(n,r,g,o),d.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&Wf.enqueueReplaceState(d,d.state,null),to(n,o,d,c),eo(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){d=n.stateNode;var T=n.memoizedProps,U=cl(r,T);d.props=U;var K=d.context,ne=r.contextType;g=Vl,typeof ne=="object"&&ne!==null&&(g=cn(ne));var se=r.getDerivedStateFromProps;ne=typeof se=="function"||typeof d.getSnapshotBeforeUpdate=="function",T=n.pendingProps!==T,ne||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(T||K!==g)&&Ag(n,d,o,g),Er=!1;var I=n.memoizedState;d.state=I,to(n,o,d,c),eo(),K=n.memoizedState,T||I!==K||Er?(typeof se=="function"&&(Zf(n,r,se,o),K=n.memoizedState),(U=Er||Rg(n,r,U,o,I,K,g))?(ne||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=K),d.props=o,d.state=K,d.context=g,o=U):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,Of(e,n),g=n.memoizedProps,ne=cl(r,g),d.props=ne,se=n.pendingProps,I=d.context,K=r.contextType,U=Vl,typeof K=="object"&&K!==null&&(U=cn(K)),T=r.getDerivedStateFromProps,(K=typeof T=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==se||I!==U)&&Ag(n,d,o,U),Er=!1,I=n.memoizedState,d.state=I,to(n,o,d,c),eo();var J=n.memoizedState;g!==se||I!==J||Er||e!==null&&e.dependencies!==null&&Ns(e.dependencies)?(typeof T=="function"&&(Zf(n,r,T,o),J=n.memoizedState),(ne=Er||Rg(n,r,ne,o,I,J,U)||e!==null&&e.dependencies!==null&&Ns(e.dependencies))?(K||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,J,U),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,J,U)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=J),d.props=o,d.state=J,d.context=U,o=ne):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&I===e.memoizedState||(n.flags|=1024),o=!1)}return d=o,Ks(e,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,r=o&&typeof r.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&o?(n.child=sl(n,e.child,null,c),n.child=sl(n,null,r,c)):fn(e,n,r,c),n.memoizedState=d.state,e=n.child):e=Wa(e,n,c),e}function qg(e,n,r,o){return nl(),n.flags|=256,fn(e,n,r,o),n.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ad(e){return{baseLanes:e,cachePool:jm()}}function rd(e,n,r){return e=e!==null?e.childLanes&~r:0,n&&(e|=Vn),e}function Fg(e,n,r){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,g;if((g=d)||(g=e!==null&&e.memoizedState===null?!1:(Ft.current&2)!==0),g&&(c=!0,n.flags&=-129),g=(n.flags&32)!==0,n.flags&=-33,e===null){if(We){if(c?Tr(n):Rr(),(e=At)?(e=Zy(e,na),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:vr!==null?{id:Oa,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},r=Em(e),r.return=n,n.child=r,un=n,At=null)):e=null,e===null)throw xr(n);return $d(e)?n.lanes=32:n.lanes=536870912,null}var T=o.children;return o=o.fallback,c?(Rr(),c=n.mode,T=Is({mode:"hidden",children:T},c),o=tl(o,c,r,null),T.return=n,o.return=n,T.sibling=o,n.child=T,o=n.child,o.memoizedState=ad(r),o.childLanes=rd(e,g,r),n.memoizedState=nd,io(null,o)):(Tr(n),ld(n,T))}var U=e.memoizedState;if(U!==null&&(T=U.dehydrated,T!==null)){if(d)n.flags&256?(Tr(n),n.flags&=-257,n=id(e,n,r)):n.memoizedState!==null?(Rr(),n.child=e.child,n.flags|=128,n=null):(Rr(),T=o.fallback,c=n.mode,o=Is({mode:"visible",children:o.children},c),T=tl(T,c,r,null),T.flags|=2,o.return=n,T.return=n,o.sibling=T,n.child=o,sl(n,e.child,null,r),o=n.child,o.memoizedState=ad(r),o.childLanes=rd(e,g,r),n.memoizedState=nd,n=io(null,o));else if(Tr(n),$d(T)){if(g=T.nextSibling&&T.nextSibling.dataset,g)var K=g.dgst;g=K,o=Error(i(419)),o.stack="",o.digest=g,Ki({value:o,source:null,stack:null}),n=id(e,n,r)}else if(Zt||Kl(e,n,r,!1),g=(r&e.childLanes)!==0,Zt||g){if(g=wt,g!==null&&(o=Z(g,r),o!==0&&o!==U.retryLane))throw U.retryLane=o,el(e,o),Ln(g,e,o),ed;Hd(T)||ru(),n=id(e,n,r)}else Hd(T)?(n.flags|=192,n.child=e.child,n=null):(e=U.treeContext,At=ra(T.nextSibling),un=n,We=!0,br=null,na=!1,e!==null&&Tm(n,e),n=ld(n,o.children),n.flags|=4096);return n}return c?(Rr(),T=o.fallback,c=n.mode,U=e.child,K=U.sibling,o=Ga(U,{mode:"hidden",children:o.children}),o.subtreeFlags=U.subtreeFlags&65011712,K!==null?T=Ga(K,T):(T=tl(T,c,r,null),T.flags|=2),T.return=n,o.return=n,o.sibling=T,n.child=o,io(null,o),o=n.child,T=e.child.memoizedState,T===null?T=ad(r):(c=T.cachePool,c!==null?(U=It._currentValue,c=c.parent!==U?{parent:U,pool:U}:c):c=jm(),T={baseLanes:T.baseLanes|r,cachePool:c}),o.memoizedState=T,o.childLanes=rd(e,g,r),n.memoizedState=nd,io(e.child,o)):(Tr(n),r=e.child,e=r.sibling,r=Ga(r,{mode:"visible",children:o.children}),r.return=n,r.sibling=null,e!==null&&(g=n.deletions,g===null?(n.deletions=[e],n.flags|=16):g.push(e)),n.child=r,n.memoizedState=null,r)}function ld(e,n){return n=Is({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Is(e,n){return e=$n(22,e,null,n),e.lanes=0,e}function id(e,n,r){return sl(n,e.child,null,r),e=ld(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Vg(e,n,r){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),Sf(e.return,n,r)}function od(e,n,r,o,c,d){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:c,treeForkCount:d}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=o,g.tail=r,g.tailMode=c,g.treeForkCount=d)}function Yg(e,n,r){var o=n.pendingProps,c=o.revealOrder,d=o.tail;o=o.children;var g=Ft.current,T=(g&2)!==0;if(T?(g=g&1|2,n.flags|=128):g&=1,V(Ft,g),fn(e,n,o,r),o=We?Xi:0,!T&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Vg(e,r,n);else if(e.tag===19)Vg(e,r,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(r=n.child,c=null;r!==null;)e=r.alternate,e!==null&&Us(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=n.child,n.child=null):(c=r.sibling,r.sibling=null),od(n,!1,c,r,d,o);break;case"backwards":case"unstable_legacy-backwards":for(r=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&Us(e)===null){n.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}od(n,!0,r,null,d,o);break;case"together":od(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function Wa(e,n,r){if(e!==null&&(n.dependencies=e.dependencies),Nr|=n.lanes,(r&n.childLanes)===0)if(e!==null){if(Kl(e,n,r,!1),(r&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,r=Ga(e,e.pendingProps),n.child=r,r.return=n;e.sibling!==null;)e=e.sibling,r=r.sibling=Ga(e,e.pendingProps),r.return=n;r.sibling=null}return n.child}function sd(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Ns(e)))}function U1(e,n,r){switch(n.tag){case 3:Je(n,n.stateNode.containerInfo),Sr(n,It,e.memoizedState.cache),nl();break;case 27:case 5:je(n);break;case 4:Je(n,n.stateNode.containerInfo);break;case 10:Sr(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,zf(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(Tr(n),n.flags|=128,null):(r&n.child.childLanes)!==0?Fg(e,n,r):(Tr(n),e=Wa(e,n,r),e!==null?e.sibling:null);Tr(n);break;case 19:var c=(e.flags&128)!==0;if(o=(r&n.childLanes)!==0,o||(Kl(e,n,r,!1),o=(r&n.childLanes)!==0),c){if(o)return Yg(e,n,r);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),V(Ft,Ft.current),o)break;return null;case 22:return n.lanes=0,Ug(e,n,r,n.pendingProps);case 24:Sr(n,It,e.memoizedState.cache)}return Wa(e,n,r)}function Gg(e,n,r){if(e!==null)if(e.memoizedProps!==n.pendingProps)Zt=!0;else{if(!sd(e,r)&&(n.flags&128)===0)return Zt=!1,U1(e,n,r);Zt=(e.flags&131072)!==0}else Zt=!1,We&&(n.flags&1048576)!==0&&Cm(n,Xi,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(e=il(n.elementType),n.type=e,typeof e=="function")pf(e)?(o=cl(e,o),n.tag=1,n=Pg(null,n,e,o,r)):(n.tag=0,n=td(null,n,e,o,r));else{if(e!=null){var c=e.$$typeof;if(c===_){n.tag=11,n=_g(null,n,e,o,r);break e}else if(c===O){n.tag=14,n=Lg(null,n,e,o,r);break e}}throw n=P(e)||e,Error(i(306,n,""))}}return n;case 0:return td(e,n,n.type,n.pendingProps,r);case 1:return o=n.type,c=cl(o,n.pendingProps),Pg(e,n,o,c,r);case 3:e:{if(Je(n,n.stateNode.containerInfo),e===null)throw Error(i(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,Of(e,n),to(n,o,null,r);var g=n.memoizedState;if(o=g.cache,Sr(n,It,o),o!==d.cache&&Ef(n,[It],r,!0),eo(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=qg(e,n,o,r);break e}else if(o!==c){c=Jn(Error(i(424)),n),Ki(c),n=qg(e,n,o,r);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(At=ra(e.firstChild),un=n,We=!0,br=null,na=!0,r=Um(n,null,o,r),n.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(nl(),o===c){n=Wa(e,n,r);break e}fn(e,n,o,r)}n=n.child}return n;case 26:return Ks(e,n),e===null?(r=a0(n.type,null,n.pendingProps,null))?n.memoizedState=r:We||(r=n.type,e=n.pendingProps,o=fu(be.current).createElement(r),o[me]=n,o[ye]=e,dn(o,r,e),ct(o),n.stateNode=o):n.memoizedState=a0(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return je(n),e===null&&We&&(o=n.stateNode=e0(n.type,n.pendingProps,be.current),un=n,na=!0,c=At,_r(n.type)?(Pd=c,At=ra(o.firstChild)):At=c),fn(e,n,n.pendingProps.children,r),Ks(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&We&&((c=o=At)&&(o=pE(o,n.type,n.pendingProps,na),o!==null?(n.stateNode=o,un=n,At=ra(o.firstChild),na=!1,c=!0):c=!1),c||xr(n)),je(n),c=n.type,d=n.pendingProps,g=e!==null?e.memoizedProps:null,o=d.children,Bd(c,d)?o=null:g!==null&&Bd(c,g)&&(n.flags|=32),n.memoizedState!==null&&(c=Lf(e,n,O1,null,null,r),Eo._currentValue=c),Ks(e,n),fn(e,n,o,r),n.child;case 6:return e===null&&We&&((e=r=At)&&(r=hE(r,n.pendingProps,na),r!==null?(n.stateNode=r,un=n,At=null,e=!0):e=!1),e||xr(n)),null;case 13:return Fg(e,n,r);case 4:return Je(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=sl(n,null,o,r):fn(e,n,o,r),n.child;case 11:return _g(e,n,n.type,n.pendingProps,r);case 7:return fn(e,n,n.pendingProps,r),n.child;case 8:return fn(e,n,n.pendingProps.children,r),n.child;case 12:return fn(e,n,n.pendingProps.children,r),n.child;case 10:return o=n.pendingProps,Sr(n,n.type,o.value),fn(e,n,o.children,r),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,rl(n),c=cn(c),o=o(c),n.flags|=1,fn(e,n,o,r),n.child;case 14:return Lg(e,n,n.type,n.pendingProps,r);case 15:return Bg(e,n,n.type,n.pendingProps,r);case 19:return Yg(e,n,r);case 31:return B1(e,n,r);case 22:return Ug(e,n,r,n.pendingProps);case 24:return rl(n),o=cn(It),e===null?(c=Tf(),c===null&&(c=wt,d=wf(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=r),c=d),n.memoizedState={parent:o,cache:c},Af(n),Sr(n,It,c)):((e.lanes&r)!==0&&(Of(e,n),to(n,null,null,r),eo()),c=e.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),Sr(n,It,o)):(o=d.cache,Sr(n,It,o),o!==c.cache&&Ef(n,[It],r,!0))),fn(e,n,n.pendingProps.children,r),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function Ja(e){e.flags|=4}function ud(e,n,r,o,c){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(by())e.flags|=8192;else throw ol=zs,Rf}else e.flags&=-16777217}function Xg(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!s0(n))if(by())e.flags|=8192;else throw ol=zs,Rf}function Qs(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Ir():536870912,e.lanes|=n,ii|=n)}function oo(e,n){if(!We)switch(e.tailMode){case"hidden":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ot(e){var n=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(n)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function k1(e,n,r){var o=n.pendingProps;switch(yf(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(n),null;case 1:return Ot(n),null;case 3:return r=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Ia(It),ze(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Xl(n)?Ja(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,bf())),Ot(n),null;case 26:var c=n.type,d=n.memoizedState;return e===null?(Ja(n),d!==null?(Ot(n),Xg(n,d)):(Ot(n),ud(n,c,null,o,r))):d?d!==e.memoizedState?(Ja(n),Ot(n),Xg(n,d)):(Ot(n),n.flags&=-16777217):(e=e.memoizedProps,e!==o&&Ja(n),Ot(n),ud(n,c,e,o,r)),null;case 27:if(Oe(n),r=be.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Ja(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return Ot(n),null}e=ie.current,Xl(n)?Rm(n):(e=e0(c,o,r),n.stateNode=e,Ja(n))}return Ot(n),null;case 5:if(Oe(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Ja(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return Ot(n),null}if(d=ie.current,Xl(n))Rm(n);else{var g=fu(be.current);switch(d){case 1:d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=g.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?g.createElement("select",{is:o.is}):g.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?g.createElement(c,{is:o.is}):g.createElement(c)}}d[me]=n,d[ye]=o;e:for(g=n.child;g!==null;){if(g.tag===5||g.tag===6)d.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===n)break e;for(;g.sibling===null;){if(g.return===null||g.return===n)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}n.stateNode=d;e:switch(dn(d,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Ja(n)}}return Ot(n),ud(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,r),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&Ja(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(i(166));if(e=be.current,Xl(n)){if(e=n.stateNode,r=n.memoizedProps,o=null,c=un,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[me]=n,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||Fy(e.nodeValue,r)),e||xr(n,!0)}else e=fu(e).createTextNode(o),e[me]=n,n.stateNode=e}return Ot(n),null;case 31:if(r=n.memoizedState,e===null||e.memoizedState!==null){if(o=Xl(n),r!==null){if(e===null){if(!o)throw Error(i(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[me]=n}else nl(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ot(n),e=!1}else r=bf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return n.flags&256?(qn(n),n):(qn(n),null);if((n.flags&128)!==0)throw Error(i(558))}return Ot(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Xl(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(i(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(i(317));c[me]=n}else nl(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ot(n),c=!1}else c=bf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(qn(n),n):(qn(n),null)}return qn(n),(n.flags&128)!==0?(n.lanes=r,n):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)),r!==e&&r&&(n.child.flags|=8192),Qs(n,n.updateQueue),Ot(n),null);case 4:return ze(),e===null&&jd(n.stateNode.containerInfo),Ot(n),null;case 10:return Ia(n.type),Ot(n),null;case 19:if(G(Ft),o=n.memoizedState,o===null)return Ot(n),null;if(c=(n.flags&128)!==0,d=o.rendering,d===null)if(c)oo(o,!1);else{if(Bt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=Us(e),d!==null){for(n.flags|=128,oo(o,!1),e=d.updateQueue,n.updateQueue=e,Qs(n,e),n.subtreeFlags=0,e=r,r=n.child;r!==null;)Sm(r,e),r=r.sibling;return V(Ft,Ft.current&1|2),We&&Xa(n,o.treeForkCount),n.child}e=e.sibling}o.tail!==null&&Ve()>tu&&(n.flags|=128,c=!0,oo(o,!1),n.lanes=4194304)}else{if(!c)if(e=Us(d),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,Qs(n,e),oo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!We)return Ot(n),null}else 2*Ve()-o.renderingStartTime>tu&&r!==536870912&&(n.flags|=128,c=!0,oo(o,!1),n.lanes=4194304);o.isBackwards?(d.sibling=n.child,n.child=d):(e=o.last,e!==null?e.sibling=d:n.child=d,o.last=d)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ve(),e.sibling=null,r=Ft.current,V(Ft,c?r&1|2:r&1),We&&Xa(n,o.treeForkCount),e):(Ot(n),null);case 22:case 23:return qn(n),Df(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(r&536870912)!==0&&(n.flags&128)===0&&(Ot(n),n.subtreeFlags&6&&(n.flags|=8192)):Ot(n),r=n.updateQueue,r!==null&&Qs(n,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==r&&(n.flags|=2048),e!==null&&G(ll),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),Ia(It),Ot(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function H1(e,n){switch(yf(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Ia(It),ze(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Oe(n),null;case 31:if(n.memoizedState!==null){if(qn(n),n.alternate===null)throw Error(i(340));nl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(qn(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));nl()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return G(Ft),null;case 4:return ze(),null;case 10:return Ia(n.type),null;case 22:case 23:return qn(n),Df(),e!==null&&G(ll),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Ia(It),null;case 25:return null;default:return null}}function Kg(e,n){switch(yf(n),n.tag){case 3:Ia(It),ze();break;case 26:case 27:case 5:Oe(n);break;case 4:ze();break;case 31:n.memoizedState!==null&&qn(n);break;case 13:qn(n);break;case 19:G(Ft);break;case 10:Ia(n.type);break;case 22:case 23:qn(n),Df(),e!==null&&G(ll);break;case 24:Ia(It)}}function so(e,n){try{var r=n.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var c=o.next;r=c;do{if((r.tag&e)===e){o=void 0;var d=r.create,g=r.inst;o=d(),g.destroy=o}r=r.next}while(r!==c)}}catch(T){dt(n,n.return,T)}}function Ar(e,n,r){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&e)===e){var g=o.inst,T=g.destroy;if(T!==void 0){g.destroy=void 0,c=n;var U=r,K=T;try{K()}catch(ne){dt(c,U,ne)}}}o=o.next}while(o!==d)}}catch(ne){dt(n,n.return,ne)}}function Ig(e){var n=e.updateQueue;if(n!==null){var r=e.stateNode;try{Hm(n,r)}catch(o){dt(e,e.return,o)}}}function Qg(e,n,r){r.props=cl(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(o){dt(e,n,o)}}function uo(e,n){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof r=="function"?e.refCleanup=r(o):r.current=o}}catch(c){dt(e,n,c)}}function Ma(e,n){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{o()}catch(c){dt(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){dt(e,n,c)}else r.current=null}function Zg(e){var n=e.type,r=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":r.autoFocus&&o.focus();break e;case"img":r.src?o.src=r.src:r.srcSet&&(o.srcset=r.srcSet)}}catch(c){dt(e,e.return,c)}}function cd(e,n,r){try{var o=e.stateNode;oE(o,e.type,r,n),o[ye]=n}catch(c){dt(e,e.return,c)}}function Wg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_r(e.type)||e.tag===4}function fd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&_r(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function dd(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,n):(n=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,n.appendChild(e),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=Va));else if(o!==4&&(o===27&&_r(e.type)&&(r=e.stateNode,n=null),e=e.child,e!==null))for(dd(e,n,r),e=e.sibling;e!==null;)dd(e,n,r),e=e.sibling}function Zs(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?r.insertBefore(e,n):r.appendChild(e);else if(o!==4&&(o===27&&_r(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Zs(e,n,r),e=e.sibling;e!==null;)Zs(e,n,r),e=e.sibling}function Jg(e){var n=e.stateNode,r=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);dn(n,o,r),n[me]=e,n[ye]=r}catch(d){dt(e,e.return,d)}}var er=!1,Wt=!1,pd=!1,ey=typeof WeakSet=="function"?WeakSet:Set,sn=null;function $1(e,n){if(e=e.containerInfo,_d=vu,e=dm(e),lf(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var g=0,T=-1,U=-1,K=0,ne=0,se=e,I=null;t:for(;;){for(var J;se!==r||c!==0&&se.nodeType!==3||(T=g+c),se!==d||o!==0&&se.nodeType!==3||(U=g+o),se.nodeType===3&&(g+=se.nodeValue.length),(J=se.firstChild)!==null;)I=se,se=J;for(;;){if(se===e)break t;if(I===r&&++K===c&&(T=g),I===d&&++ne===o&&(U=g),(J=se.nextSibling)!==null)break;se=I,I=se.parentNode}se=J}r=T===-1||U===-1?null:{start:T,end:U}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ld={focusedElem:e,selectionRange:r},vu=!1,sn=n;sn!==null;)if(n=sn,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,sn=e;else for(;sn!==null;){switch(n=sn,d=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)c=e[r],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=n,c=d.memoizedProps,d=d.memoizedState,o=r.stateNode;try{var ve=cl(r.type,c);e=o.getSnapshotBeforeUpdate(ve,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(De){dt(r,r.return,De)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,r=e.nodeType,r===9)kd(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(i(163))}if(e=n.sibling,e!==null){e.return=n.return,sn=e;break}sn=n.return}}function ty(e,n,r){var o=r.flags;switch(r.tag){case 0:case 11:case 15:nr(e,r),o&4&&so(5,r);break;case 1:if(nr(e,r),o&4)if(e=r.stateNode,n===null)try{e.componentDidMount()}catch(g){dt(r,r.return,g)}else{var c=cl(r.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(g){dt(r,r.return,g)}}o&64&&Ig(r),o&512&&uo(r,r.return);break;case 3:if(nr(e,r),o&64&&(e=r.updateQueue,e!==null)){if(n=null,r.child!==null)switch(r.child.tag){case 27:case 5:n=r.child.stateNode;break;case 1:n=r.child.stateNode}try{Hm(e,n)}catch(g){dt(r,r.return,g)}}break;case 27:n===null&&o&4&&Jg(r);case 26:case 5:nr(e,r),n===null&&o&4&&Zg(r),o&512&&uo(r,r.return);break;case 12:nr(e,r);break;case 31:nr(e,r),o&4&&ry(e,r);break;case 13:nr(e,r),o&4&&ly(e,r),o&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=I1.bind(null,r),mE(e,r))));break;case 22:if(o=r.memoizedState!==null||er,!o){n=n!==null&&n.memoizedState!==null||Wt,c=er;var d=Wt;er=o,(Wt=n)&&!d?ar(e,r,(r.subtreeFlags&8772)!==0):nr(e,r),er=c,Wt=d}break;case 30:break;default:nr(e,r)}}function ny(e){var n=e.alternate;n!==null&&(e.alternate=null,ny(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&ut(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var jt=null,jn=!1;function tr(e,n,r){for(r=r.child;r!==null;)ay(e,n,r),r=r.sibling}function ay(e,n,r){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(Kt,r)}catch{}switch(r.tag){case 26:Wt||Ma(r,n),tr(e,n,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Wt||Ma(r,n);var o=jt,c=jn;_r(r.type)&&(jt=r.stateNode,jn=!1),tr(e,n,r),bo(r.stateNode),jt=o,jn=c;break;case 5:Wt||Ma(r,n);case 6:if(o=jt,c=jn,jt=null,tr(e,n,r),jt=o,jn=c,jt!==null)if(jn)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(r.stateNode)}catch(d){dt(r,n,d)}else try{jt.removeChild(r.stateNode)}catch(d){dt(r,n,d)}break;case 18:jt!==null&&(jn?(e=jt,Iy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),hi(e)):Iy(jt,r.stateNode));break;case 4:o=jt,c=jn,jt=r.stateNode.containerInfo,jn=!0,tr(e,n,r),jt=o,jn=c;break;case 0:case 11:case 14:case 15:Ar(2,r,n),Wt||Ar(4,r,n),tr(e,n,r);break;case 1:Wt||(Ma(r,n),o=r.stateNode,typeof o.componentWillUnmount=="function"&&Qg(r,n,o)),tr(e,n,r);break;case 21:tr(e,n,r);break;case 22:Wt=(o=Wt)||r.memoizedState!==null,tr(e,n,r),Wt=o;break;default:tr(e,n,r)}}function ry(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{hi(e)}catch(r){dt(n,n.return,r)}}}function ly(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{hi(e)}catch(r){dt(n,n.return,r)}}function P1(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new ey),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new ey),n;default:throw Error(i(435,e.tag))}}function Ws(e,n){var r=P1(e);n.forEach(function(o){if(!r.has(o)){r.add(o);var c=Q1.bind(null,e,o);o.then(c,c)}})}function Dn(e,n){var r=n.deletions;if(r!==null)for(var o=0;o<r.length;o++){var c=r[o],d=e,g=n,T=g;e:for(;T!==null;){switch(T.tag){case 27:if(_r(T.type)){jt=T.stateNode,jn=!1;break e}break;case 5:jt=T.stateNode,jn=!1;break e;case 3:case 4:jt=T.stateNode.containerInfo,jn=!0;break e}T=T.return}if(jt===null)throw Error(i(160));ay(d,g,c),jt=null,jn=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)iy(n,e),n=n.sibling}var xa=null;function iy(e,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Dn(n,e),zn(e),o&4&&(Ar(3,e,e.return),so(3,e),Ar(5,e,e.return));break;case 1:Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),o&64&&er&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?o:r.concat(o))));break;case 26:var c=xa;if(Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),o&4){var d=r!==null?r.memoizedState:null;if(o=e.memoizedState,r===null)if(o===null)if(e.stateNode===null){e:{o=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Mt]||d[me]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),dn(d,o,r),d[me]=e,ct(d),o=d;break e;case"link":var g=i0("link","href",c).get(o+(r.href||""));if(g){for(var T=0;T<g.length;T++)if(d=g[T],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){g.splice(T,1);break t}}d=c.createElement(o),dn(d,o,r),c.head.appendChild(d);break;case"meta":if(g=i0("meta","content",c).get(o+(r.content||""))){for(T=0;T<g.length;T++)if(d=g[T],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){g.splice(T,1);break t}}d=c.createElement(o),dn(d,o,r),c.head.appendChild(d);break;default:throw Error(i(468,o))}d[me]=e,ct(d),o=d}e.stateNode=o}else o0(c,e.type,e.stateNode);else e.stateNode=l0(c,o,e.memoizedProps);else d!==o?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,o===null?o0(c,e.type,e.stateNode):l0(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&cd(e,e.memoizedProps,r.memoizedProps)}break;case 27:Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),r!==null&&o&4&&cd(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Dn(n,e),zn(e),o&512&&(Wt||r===null||Ma(r,r.return)),e.flags&32){c=e.stateNode;try{Ul(c,"")}catch(ve){dt(e,e.return,ve)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,cd(e,c,r!==null?r.memoizedProps:c)),o&1024&&(pd=!0);break;case 6:if(Dn(n,e),zn(e),o&4){if(e.stateNode===null)throw Error(i(162));o=e.memoizedProps,r=e.stateNode;try{r.nodeValue=o}catch(ve){dt(e,e.return,ve)}}break;case 3:if(hu=null,c=xa,xa=du(n.containerInfo),Dn(n,e),xa=c,zn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{hi(n.containerInfo)}catch(ve){dt(e,e.return,ve)}pd&&(pd=!1,oy(e));break;case 4:o=xa,xa=du(e.stateNode.containerInfo),Dn(n,e),zn(e),xa=o;break;case 12:Dn(n,e),zn(e);break;case 31:Dn(n,e),zn(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Ws(e,o)));break;case 13:Dn(n,e),zn(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(eu=Ve()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Ws(e,o)));break;case 22:c=e.memoizedState!==null;var U=r!==null&&r.memoizedState!==null,K=er,ne=Wt;if(er=K||c,Wt=ne||U,Dn(n,e),Wt=ne,er=K,zn(e),o&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(r===null||U||er||Wt||fl(e)),r=null,n=e;;){if(n.tag===5||n.tag===26){if(r===null){U=r=n;try{if(d=U.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{T=U.stateNode;var se=U.memoizedProps.style,I=se!=null&&se.hasOwnProperty("display")?se.display:null;T.style.display=I==null||typeof I=="boolean"?"":(""+I).trim()}}catch(ve){dt(U,U.return,ve)}}}else if(n.tag===6){if(r===null){U=n;try{U.stateNode.nodeValue=c?"":U.memoizedProps}catch(ve){dt(U,U.return,ve)}}}else if(n.tag===18){if(r===null){U=n;try{var J=U.stateNode;c?Qy(J,!0):Qy(U.stateNode,!1)}catch(ve){dt(U,U.return,ve)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;r===n&&(r=null),n=n.return}r===n&&(r=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=e.updateQueue,o!==null&&(r=o.retryQueue,r!==null&&(o.retryQueue=null,Ws(e,r))));break;case 19:Dn(n,e),zn(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Ws(e,o)));break;case 30:break;case 21:break;default:Dn(n,e),zn(e)}}function zn(e){var n=e.flags;if(n&2){try{for(var r,o=e.return;o!==null;){if(Wg(o)){r=o;break}o=o.return}if(r==null)throw Error(i(160));switch(r.tag){case 27:var c=r.stateNode,d=fd(e);Zs(e,d,c);break;case 5:var g=r.stateNode;r.flags&32&&(Ul(g,""),r.flags&=-33);var T=fd(e);Zs(e,T,g);break;case 3:case 4:var U=r.stateNode.containerInfo,K=fd(e);dd(e,K,U);break;default:throw Error(i(161))}}catch(ne){dt(e,e.return,ne)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function oy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;oy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function nr(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)ty(e,n.alternate,n),n=n.sibling}function fl(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:Ar(4,n,n.return),fl(n);break;case 1:Ma(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&Qg(n,n.return,r),fl(n);break;case 27:bo(n.stateNode);case 26:case 5:Ma(n,n.return),fl(n);break;case 22:n.memoizedState===null&&fl(n);break;case 30:fl(n);break;default:fl(n)}e=e.sibling}}function ar(e,n,r){for(r=r&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=e,d=n,g=d.flags;switch(d.tag){case 0:case 11:case 15:ar(c,d,r),so(4,d);break;case 1:if(ar(c,d,r),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(K){dt(o,o.return,K)}if(o=d,c=o.updateQueue,c!==null){var T=o.stateNode;try{var U=c.shared.hiddenCallbacks;if(U!==null)for(c.shared.hiddenCallbacks=null,c=0;c<U.length;c++)km(U[c],T)}catch(K){dt(o,o.return,K)}}r&&g&64&&Ig(d),uo(d,d.return);break;case 27:Jg(d);case 26:case 5:ar(c,d,r),r&&o===null&&g&4&&Zg(d),uo(d,d.return);break;case 12:ar(c,d,r);break;case 31:ar(c,d,r),r&&g&4&&ry(c,d);break;case 13:ar(c,d,r),r&&g&4&&ly(c,d);break;case 22:d.memoizedState===null&&ar(c,d,r),uo(d,d.return);break;case 30:break;default:ar(c,d,r)}n=n.sibling}}function hd(e,n){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&Ii(r))}function md(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ii(e))}function Sa(e,n,r,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)sy(e,n,r,o),n=n.sibling}function sy(e,n,r,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:Sa(e,n,r,o),c&2048&&so(9,n);break;case 1:Sa(e,n,r,o);break;case 3:Sa(e,n,r,o),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ii(e)));break;case 12:if(c&2048){Sa(e,n,r,o),e=n.stateNode;try{var d=n.memoizedProps,g=d.id,T=d.onPostCommit;typeof T=="function"&&T(g,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(U){dt(n,n.return,U)}}else Sa(e,n,r,o);break;case 31:Sa(e,n,r,o);break;case 13:Sa(e,n,r,o);break;case 23:break;case 22:d=n.stateNode,g=n.alternate,n.memoizedState!==null?d._visibility&2?Sa(e,n,r,o):co(e,n):d._visibility&2?Sa(e,n,r,o):(d._visibility|=2,ai(e,n,r,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&hd(g,n);break;case 24:Sa(e,n,r,o),c&2048&&md(n.alternate,n);break;default:Sa(e,n,r,o)}}function ai(e,n,r,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=e,g=n,T=r,U=o,K=g.flags;switch(g.tag){case 0:case 11:case 15:ai(d,g,T,U,c),so(8,g);break;case 23:break;case 22:var ne=g.stateNode;g.memoizedState!==null?ne._visibility&2?ai(d,g,T,U,c):co(d,g):(ne._visibility|=2,ai(d,g,T,U,c)),c&&K&2048&&hd(g.alternate,g);break;case 24:ai(d,g,T,U,c),c&&K&2048&&md(g.alternate,g);break;default:ai(d,g,T,U,c)}n=n.sibling}}function co(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var r=e,o=n,c=o.flags;switch(o.tag){case 22:co(r,o),c&2048&&hd(o.alternate,o);break;case 24:co(r,o),c&2048&&md(o.alternate,o);break;default:co(r,o)}n=n.sibling}}var fo=8192;function ri(e,n,r){if(e.subtreeFlags&fo)for(e=e.child;e!==null;)uy(e,n,r),e=e.sibling}function uy(e,n,r){switch(e.tag){case 26:ri(e,n,r),e.flags&fo&&e.memoizedState!==null&&AE(r,xa,e.memoizedState,e.memoizedProps);break;case 5:ri(e,n,r);break;case 3:case 4:var o=xa;xa=du(e.stateNode.containerInfo),ri(e,n,r),xa=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=fo,fo=16777216,ri(e,n,r),fo=o):ri(e,n,r));break;default:ri(e,n,r)}}function cy(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function po(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];sn=o,dy(o,e)}cy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)fy(e),e=e.sibling}function fy(e){switch(e.tag){case 0:case 11:case 15:po(e),e.flags&2048&&Ar(9,e,e.return);break;case 3:po(e);break;case 12:po(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Js(e)):po(e);break;default:po(e)}}function Js(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];sn=o,dy(o,e)}cy(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:Ar(8,n,n.return),Js(n);break;case 22:r=n.stateNode,r._visibility&2&&(r._visibility&=-3,Js(n));break;default:Js(n)}e=e.sibling}}function dy(e,n){for(;sn!==null;){var r=sn;switch(r.tag){case 0:case 11:case 15:Ar(8,r,n);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var o=r.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ii(r.memoizedState.cache)}if(o=r.child,o!==null)o.return=r,sn=o;else e:for(r=e;sn!==null;){o=sn;var c=o.sibling,d=o.return;if(ny(o),o===r){sn=null;break e}if(c!==null){c.return=d,sn=c;break e}sn=d}}}var q1={getCacheForType:function(e){var n=cn(It),r=n.data.get(e);return r===void 0&&(r=e(),n.data.set(e,r)),r},cacheSignal:function(){return cn(It).controller.signal}},F1=typeof WeakMap=="function"?WeakMap:Map,rt=0,wt=null,Ye=null,Ie=0,ft=0,Fn=null,Or=!1,li=!1,gd=!1,rr=0,Bt=0,Nr=0,dl=0,yd=0,Vn=0,ii=0,ho=null,_n=null,vd=!1,eu=0,py=0,tu=1/0,nu=null,Mr=null,rn=0,jr=null,oi=null,lr=0,bd=0,xd=null,hy=null,mo=0,Sd=null;function Yn(){return(rt&2)!==0&&Ie!==0?Ie&-Ie:D.T!==null?Ad():we()}function my(){if(Vn===0)if((Ie&536870912)===0||We){var e=pr;pr<<=1,(pr&3932160)===0&&(pr=262144),Vn=e}else Vn=536870912;return e=Pn.current,e!==null&&(e.flags|=32),Vn}function Ln(e,n,r){(e===wt&&(ft===2||ft===9)||e.cancelPendingCommit!==null)&&(si(e,0),Dr(e,Ie,Vn,!1)),Qr(e,r),((rt&2)===0||e!==wt)&&(e===wt&&((rt&2)===0&&(dl|=r),Bt===4&&Dr(e,Ie,Vn,!1)),ja(e))}function gy(e,n,r){if((rt&6)!==0)throw Error(i(327));var o=!r&&(n&127)===0&&(n&e.expiredLanes)===0||hr(e,n),c=o?G1(e,n):wd(e,n,!0),d=o;do{if(c===0){li&&!o&&Dr(e,n,0,!1);break}else{if(r=e.current.alternate,d&&!V1(r)){c=wd(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){n=g;e:{var T=e;c=ho;var U=T.current.memoizedState.isDehydrated;if(U&&(si(T,g).flags|=256),g=wd(T,g,!1),g!==2){if(gd&&!U){T.errorRecoveryDisabledLanes|=d,dl|=d,c=4;break e}d=_n,_n=c,d!==null&&(_n===null?_n=d:_n.push.apply(_n,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){si(e,0),Dr(e,n,0,!0);break}e:{switch(o=e,d=c,d){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:Dr(o,n,Vn,!Or);break e;case 2:_n=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(c=eu+300-Ve(),10<c)){if(Dr(o,n,Vn,!Or),jl(o,0,!0)!==0)break e;lr=n,o.timeoutHandle=Xy(yy.bind(null,o,r,_n,nu,vd,n,Vn,dl,ii,Or,d,"Throttled",-0,0),c);break e}yy(o,r,_n,nu,vd,n,Vn,dl,ii,Or,d,null,-0,0)}}break}while(!0);ja(e)}function yy(e,n,r,o,c,d,g,T,U,K,ne,se,I,J){if(e.timeoutHandle=-1,se=n.subtreeFlags,se&8192||(se&16785408)===16785408){se={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Va},uy(n,d,se);var ve=(d&62914560)===d?eu-Ve():(d&4194048)===d?py-Ve():0;if(ve=OE(se,ve),ve!==null){lr=d,e.cancelPendingCommit=ve(Ty.bind(null,e,n,d,r,o,c,g,T,U,ne,se,null,I,J)),Dr(e,d,g,!K);return}}Ty(e,n,d,r,o,c,g,T,U)}function V1(e){for(var n=e;;){var r=n.tag;if((r===0||r===11||r===15)&&n.flags&16384&&(r=n.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var c=r[o],d=c.getSnapshot;c=c.value;try{if(!Hn(d(),c))return!1}catch{return!1}}if(r=n.child,n.subtreeFlags&16384&&r!==null)r.return=n,n=r;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Dr(e,n,r,o){n&=~yd,n&=~dl,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var d=31-ke(c),g=1<<d;o[d]=-1,c&=~g}r!==0&&k(e,r,n)}function au(){return(rt&6)===0?(go(0),!1):!0}function Ed(){if(Ye!==null){if(ft===0)var e=Ye.return;else e=Ye,Ka=al=null,kf(e),Wl=null,Zi=0,e=Ye;for(;e!==null;)Kg(e.alternate,e),e=e.return;Ye=null}}function si(e,n){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,cE(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),lr=0,Ed(),wt=e,Ye=r=Ga(e.current,null),Ie=n,ft=0,Fn=null,Or=!1,li=hr(e,n),gd=!1,ii=Vn=yd=dl=Nr=Bt=0,_n=ho=null,vd=!1,(n&8)!==0&&(n|=n&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=n;0<o;){var c=31-ke(o),d=1<<c;n|=e[c],o&=~d}return rr=n,Cs(),r}function vy(e,n){He=null,D.H=lo,n===Zl||n===Ds?(n=_m(),ft=3):n===Rf?(n=_m(),ft=4):ft=n===ed?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Fn=n,Ye===null&&(Bt=1,Gs(e,Jn(n,e.current)))}function by(){var e=Pn.current;return e===null?!0:(Ie&4194048)===Ie?aa===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?e===aa:!1}function xy(){var e=D.H;return D.H=lo,e===null?lo:e}function Sy(){var e=D.A;return D.A=q1,e}function ru(){Bt=4,Or||(Ie&4194048)!==Ie&&Pn.current!==null||(li=!0),(Nr&134217727)===0&&(dl&134217727)===0||wt===null||Dr(wt,Ie,Vn,!1)}function wd(e,n,r){var o=rt;rt|=2;var c=xy(),d=Sy();(wt!==e||Ie!==n)&&(nu=null,si(e,n)),n=!1;var g=Bt;e:do try{if(ft!==0&&Ye!==null){var T=Ye,U=Fn;switch(ft){case 8:Ed(),g=6;break e;case 3:case 2:case 9:case 6:Pn.current===null&&(n=!0);var K=ft;if(ft=0,Fn=null,ui(e,T,U,K),r&&li){g=0;break e}break;default:K=ft,ft=0,Fn=null,ui(e,T,U,K)}}Y1(),g=Bt;break}catch(ne){vy(e,ne)}while(!0);return n&&e.shellSuspendCounter++,Ka=al=null,rt=o,D.H=c,D.A=d,Ye===null&&(wt=null,Ie=0,Cs()),g}function Y1(){for(;Ye!==null;)Ey(Ye)}function G1(e,n){var r=rt;rt|=2;var o=xy(),c=Sy();wt!==e||Ie!==n?(nu=null,tu=Ve()+500,si(e,n)):li=hr(e,n);e:do try{if(ft!==0&&Ye!==null){n=Ye;var d=Fn;t:switch(ft){case 1:ft=0,Fn=null,ui(e,n,d,1);break;case 2:case 9:if(Dm(d)){ft=0,Fn=null,wy(n);break}n=function(){ft!==2&&ft!==9||wt!==e||(ft=7),ja(e)},d.then(n,n);break e;case 3:ft=7;break e;case 4:ft=5;break e;case 7:Dm(d)?(ft=0,Fn=null,wy(n)):(ft=0,Fn=null,ui(e,n,d,7));break;case 5:var g=null;switch(Ye.tag){case 26:g=Ye.memoizedState;case 5:case 27:var T=Ye;if(g?s0(g):T.stateNode.complete){ft=0,Fn=null;var U=T.sibling;if(U!==null)Ye=U;else{var K=T.return;K!==null?(Ye=K,lu(K)):Ye=null}break t}}ft=0,Fn=null,ui(e,n,d,5);break;case 6:ft=0,Fn=null,ui(e,n,d,6);break;case 8:Ed(),Bt=6;break e;default:throw Error(i(462))}}X1();break}catch(ne){vy(e,ne)}while(!0);return Ka=al=null,D.H=o,D.A=c,rt=r,Ye!==null?0:(wt=null,Ie=0,Cs(),Bt)}function X1(){for(;Ye!==null&&!Me();)Ey(Ye)}function Ey(e){var n=Gg(e.alternate,e,rr);e.memoizedProps=e.pendingProps,n===null?lu(e):Ye=n}function wy(e){var n=e,r=n.alternate;switch(n.tag){case 15:case 0:n=$g(r,n,n.pendingProps,n.type,void 0,Ie);break;case 11:n=$g(r,n,n.pendingProps,n.type.render,n.ref,Ie);break;case 5:kf(n);default:Kg(r,n),n=Ye=Sm(n,rr),n=Gg(r,n,rr)}e.memoizedProps=e.pendingProps,n===null?lu(e):Ye=n}function ui(e,n,r,o){Ka=al=null,kf(n),Wl=null,Zi=0;var c=n.return;try{if(L1(e,c,n,r,Ie)){Bt=1,Gs(e,Jn(r,e.current)),Ye=null;return}}catch(d){if(c!==null)throw Ye=c,d;Bt=1,Gs(e,Jn(r,e.current)),Ye=null;return}n.flags&32768?(We||o===1?e=!0:li||(Ie&536870912)!==0?e=!1:(Or=e=!0,(o===2||o===9||o===3||o===6)&&(o=Pn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Cy(n,e)):lu(n)}function lu(e){var n=e;do{if((n.flags&32768)!==0){Cy(n,Or);return}e=n.return;var r=k1(n.alternate,n,rr);if(r!==null){Ye=r;return}if(n=n.sibling,n!==null){Ye=n;return}Ye=n=e}while(n!==null);Bt===0&&(Bt=5)}function Cy(e,n){do{var r=H1(e.alternate,e);if(r!==null){r.flags&=32767,Ye=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!n&&(e=e.sibling,e!==null)){Ye=e;return}Ye=e=r}while(e!==null);Bt=6,Ye=null}function Ty(e,n,r,o,c,d,g,T,U){e.cancelPendingCommit=null;do iu();while(rn!==0);if((rt&6)!==0)throw Error(i(327));if(n!==null){if(n===e.current)throw Error(i(177));if(d=n.lanes|n.childLanes,d|=ff,qc(e,r,d,g,T,U),e===wt&&(Ye=wt=null,Ie=0),oi=n,jr=e,lr=r,bd=d,xd=c,hy=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Z1(Pt,function(){return My(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,c=F.p,F.p=2,g=rt,rt|=4;try{$1(e,n,r)}finally{rt=g,F.p=c,D.T=o}}rn=1,Ry(),Ay(),Oy()}}function Ry(){if(rn===1){rn=0;var e=jr,n=oi,r=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||r){r=D.T,D.T=null;var o=F.p;F.p=2;var c=rt;rt|=4;try{iy(n,e);var d=Ld,g=dm(e.containerInfo),T=d.focusedElem,U=d.selectionRange;if(g!==T&&T&&T.ownerDocument&&fm(T.ownerDocument.documentElement,T)){if(U!==null&&lf(T)){var K=U.start,ne=U.end;if(ne===void 0&&(ne=K),"selectionStart"in T)T.selectionStart=K,T.selectionEnd=Math.min(ne,T.value.length);else{var se=T.ownerDocument||document,I=se&&se.defaultView||window;if(I.getSelection){var J=I.getSelection(),ve=T.textContent.length,De=Math.min(U.start,ve),yt=U.end===void 0?De:Math.min(U.end,ve);!J.extend&&De>yt&&(g=yt,yt=De,De=g);var $=cm(T,De),H=cm(T,yt);if($&&H&&(J.rangeCount!==1||J.anchorNode!==$.node||J.anchorOffset!==$.offset||J.focusNode!==H.node||J.focusOffset!==H.offset)){var X=se.createRange();X.setStart($.node,$.offset),J.removeAllRanges(),De>yt?(J.addRange(X),J.extend(H.node,H.offset)):(X.setEnd(H.node,H.offset),J.addRange(X))}}}}for(se=[],J=T;J=J.parentNode;)J.nodeType===1&&se.push({element:J,left:J.scrollLeft,top:J.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<se.length;T++){var le=se[T];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}vu=!!_d,Ld=_d=null}finally{rt=c,F.p=o,D.T=r}}e.current=n,rn=2}}function Ay(){if(rn===2){rn=0;var e=jr,n=oi,r=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||r){r=D.T,D.T=null;var o=F.p;F.p=2;var c=rt;rt|=4;try{ty(e,n.alternate,n)}finally{rt=c,F.p=o,D.T=r}}rn=3}}function Oy(){if(rn===4||rn===3){rn=0,ln();var e=jr,n=oi,r=lr,o=hy;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?rn=5:(rn=0,oi=jr=null,Ny(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Mr=null),pe(r),n=n.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(Kt,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=D.T,c=F.p,F.p=2,D.T=null;try{for(var d=e.onRecoverableError,g=0;g<o.length;g++){var T=o[g];d(T.value,{componentStack:T.stack})}}finally{D.T=n,F.p=c}}(lr&3)!==0&&iu(),ja(e),c=e.pendingLanes,(r&261930)!==0&&(c&42)!==0?e===Sd?mo++:(mo=0,Sd=e):mo=0,go(0)}}function Ny(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Ii(n)))}function iu(){return Ry(),Ay(),Oy(),My()}function My(){if(rn!==5)return!1;var e=jr,n=bd;bd=0;var r=pe(lr),o=D.T,c=F.p;try{F.p=32>r?32:r,D.T=null,r=xd,xd=null;var d=jr,g=lr;if(rn=0,oi=jr=null,lr=0,(rt&6)!==0)throw Error(i(331));var T=rt;if(rt|=4,fy(d.current),sy(d,d.current,g,r),rt=T,go(0,!1),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(Kt,d)}catch{}return!0}finally{F.p=c,D.T=o,Ny(e,n)}}function jy(e,n,r){n=Jn(r,n),n=Jf(e.stateNode,n,2),e=Cr(e,n,2),e!==null&&(Qr(e,2),ja(e))}function dt(e,n,r){if(e.tag===3)jy(e,e,r);else for(;n!==null;){if(n.tag===3){jy(n,e,r);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Mr===null||!Mr.has(o))){e=Jn(r,e),r=Dg(2),o=Cr(n,r,2),o!==null&&(zg(r,o,n,e),Qr(o,2),ja(o));break}}n=n.return}}function Cd(e,n,r){var o=e.pingCache;if(o===null){o=e.pingCache=new F1;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(r)||(gd=!0,c.add(r),e=K1.bind(null,e,n,r),n.then(e,e))}function K1(e,n,r){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,wt===e&&(Ie&r)===r&&(Bt===4||Bt===3&&(Ie&62914560)===Ie&&300>Ve()-eu?(rt&2)===0&&si(e,0):yd|=r,ii===Ie&&(ii=0)),ja(e)}function Dy(e,n){n===0&&(n=Ir()),e=el(e,n),e!==null&&(Qr(e,n),ja(e))}function I1(e){var n=e.memoizedState,r=0;n!==null&&(r=n.retryLane),Dy(e,r)}function Q1(e,n){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(i(314))}o!==null&&o.delete(n),Dy(e,r)}function Z1(e,n){return $t(e,n)}var ou=null,ci=null,Td=!1,su=!1,Rd=!1,zr=0;function ja(e){e!==ci&&e.next===null&&(ci===null?ou=ci=e:ci=ci.next=e),su=!0,Td||(Td=!0,J1())}function go(e,n){if(!Rd&&su){Rd=!0;do for(var r=!1,o=ou;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var g=o.suspendedLanes,T=o.pingedLanes;d=(1<<31-ke(42|e)+1)-1,d&=c&~(g&~T),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,By(o,d))}else d=Ie,d=jl(o,o===wt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||hr(o,d)||(r=!0,By(o,d));o=o.next}while(r);Rd=!1}}function W1(){zy()}function zy(){su=Td=!1;var e=0;zr!==0&&uE()&&(e=zr);for(var n=Ve(),r=null,o=ou;o!==null;){var c=o.next,d=_y(o,n);d===0?(o.next=null,r===null?ou=c:r.next=c,c===null&&(ci=r)):(r=o,(e!==0||(d&3)!==0)&&(su=!0)),o=c}rn!==0&&rn!==5||go(e),zr!==0&&(zr=0)}function _y(e,n){for(var r=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var g=31-ke(d),T=1<<g,U=c[g];U===-1?((T&r)===0||(T&o)!==0)&&(c[g]=Dl(T,n)):U<=n&&(e.expiredLanes|=T),d&=~T}if(n=wt,r=Ie,r=jl(e,e===n?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,r===0||e===n&&(ft===2||ft===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Rt(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||hr(e,r)){if(n=r&-r,n===e.callbackPriority)return n;switch(o!==null&&Rt(o),pe(r)){case 2:case 8:r=on;break;case 32:r=Pt;break;case 268435456:r=An;break;default:r=Pt}return o=Ly.bind(null,e),r=$t(r,o),e.callbackPriority=n,e.callbackNode=r,n}return o!==null&&o!==null&&Rt(o),e.callbackPriority=2,e.callbackNode=null,2}function Ly(e,n){if(rn!==0&&rn!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(iu()&&e.callbackNode!==r)return null;var o=Ie;return o=jl(e,e===wt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(gy(e,o,n),_y(e,Ve()),e.callbackNode!=null&&e.callbackNode===r?Ly.bind(null,e):null)}function By(e,n){if(iu())return null;gy(e,n,!0)}function J1(){fE(function(){(rt&6)!==0?$t(In,W1):zy()})}function Ad(){if(zr===0){var e=Il;e===0&&(e=Kr,Kr<<=1,(Kr&261888)===0&&(Kr=256)),zr=e}return zr}function Uy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:gs(""+e)}function ky(e,n){var r=n.ownerDocument.createElement("input");return r.name=n.name,r.value=n.value,e.id&&r.setAttribute("form",e.id),n.parentNode.insertBefore(r,n),e=new FormData(e),r.parentNode.removeChild(r),e}function eE(e,n,r,o,c){if(n==="submit"&&r&&r.stateNode===c){var d=Uy((c[ye]||null).action),g=o.submitter;g&&(n=(n=g[ye]||null)?Uy(n.formAction):g.getAttribute("formAction"),n!==null&&(d=n,g=null));var T=new xs("action","action",null,o,c);e.push({event:T,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(zr!==0){var U=g?ky(c,g):new FormData(c);Xf(r,{pending:!0,data:U,method:c.method,action:d},null,U)}}else typeof d=="function"&&(T.preventDefault(),U=g?ky(c,g):new FormData(c),Xf(r,{pending:!0,data:U,method:c.method,action:d},d,U))},currentTarget:c}]})}}for(var Od=0;Od<cf.length;Od++){var Nd=cf[Od],tE=Nd.toLowerCase(),nE=Nd[0].toUpperCase()+Nd.slice(1);ba(tE,"on"+nE)}ba(mm,"onAnimationEnd"),ba(gm,"onAnimationIteration"),ba(ym,"onAnimationStart"),ba("dblclick","onDoubleClick"),ba("focusin","onFocus"),ba("focusout","onBlur"),ba(v1,"onTransitionRun"),ba(b1,"onTransitionStart"),ba(x1,"onTransitionCancel"),ba(vm,"onTransitionEnd"),va("onMouseEnter",["mouseout","mouseover"]),va("onMouseLeave",["mouseout","mouseover"]),va("onPointerEnter",["pointerout","pointerover"]),va("onPointerLeave",["pointerout","pointerover"]),Sn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Sn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Sn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Sn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Sn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Sn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),aE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yo));function Hy(e,n){n=(n&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],c=o.event;o=o.listeners;e:{var d=void 0;if(n)for(var g=o.length-1;0<=g;g--){var T=o[g],U=T.instance,K=T.currentTarget;if(T=T.listener,U!==d&&c.isPropagationStopped())break e;d=T,c.currentTarget=K;try{d(c)}catch(ne){ws(ne)}c.currentTarget=null,d=U}else for(g=0;g<o.length;g++){if(T=o[g],U=T.instance,K=T.currentTarget,T=T.listener,U!==d&&c.isPropagationStopped())break e;d=T,c.currentTarget=K;try{d(c)}catch(ne){ws(ne)}c.currentTarget=null,d=U}}}}function Ge(e,n){var r=n[Re];r===void 0&&(r=n[Re]=new Set);var o=e+"__bubble";r.has(o)||($y(n,e,2,!1),r.add(o))}function Md(e,n,r){var o=0;n&&(o|=4),$y(r,e,o,n)}var uu="_reactListening"+Math.random().toString(36).slice(2);function jd(e){if(!e[uu]){e[uu]=!0,_l.forEach(function(r){r!=="selectionchange"&&(aE.has(r)||Md(r,!1,e),Md(r,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[uu]||(n[uu]=!0,Md("selectionchange",!1,n))}}function $y(e,n,r,o){switch(m0(n)){case 2:var c=jE;break;case 8:c=DE;break;default:c=Gd}r=c.bind(null,n,r,e),c=void 0,!Qc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,r,{capture:!0,passive:c}):e.addEventListener(n,r,!0):c!==void 0?e.addEventListener(n,r,{passive:c}):e.addEventListener(n,r,!1)}function Dd(e,n,r,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var T=o.stateNode.containerInfo;if(T===c)break;if(g===4)for(g=o.return;g!==null;){var U=g.tag;if((U===3||U===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;T!==null;){if(g=et(T),g===null)return;if(U=g.tag,U===5||U===6||U===26||U===27){o=d=g;continue e}T=T.parentNode}}o=o.return}Yh(function(){var K=d,ne=Kc(r),se=[];e:{var I=bm.get(e);if(I!==void 0){var J=xs,ve=e;switch(e){case"keypress":if(vs(r)===0)break e;case"keydown":case"keyup":J=QS;break;case"focusin":ve="focus",J=ef;break;case"focusout":ve="blur",J=ef;break;case"beforeblur":case"afterblur":J=ef;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=Kh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=kS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=JS;break;case mm:case gm:case ym:J=PS;break;case vm:J=t1;break;case"scroll":case"scrollend":J=BS;break;case"wheel":J=a1;break;case"copy":case"cut":case"paste":J=FS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Qh;break;case"toggle":case"beforetoggle":J=l1}var De=(n&4)!==0,yt=!De&&(e==="scroll"||e==="scrollend"),$=De?I!==null?I+"Capture":null:I;De=[];for(var H=K,X;H!==null;){var le=H;if(X=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||X===null||$===null||(le=ki(H,$),le!=null&&De.push(vo(H,le,X))),yt)break;H=H.return}0<De.length&&(I=new J(I,ve,null,r,ne),se.push({event:I,listeners:De}))}}if((n&7)===0){e:{if(I=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",I&&r!==Xc&&(ve=r.relatedTarget||r.fromElement)&&(et(ve)||ve[xe]))break e;if((J||I)&&(I=ne.window===ne?ne:(I=ne.ownerDocument)?I.defaultView||I.parentWindow:window,J?(ve=r.relatedTarget||r.toElement,J=K,ve=ve?et(ve):null,ve!==null&&(yt=u(ve),De=ve.tag,ve!==yt||De!==5&&De!==27&&De!==6)&&(ve=null)):(J=null,ve=K),J!==ve)){if(De=Kh,le="onMouseLeave",$="onMouseEnter",H="mouse",(e==="pointerout"||e==="pointerover")&&(De=Qh,le="onPointerLeave",$="onPointerEnter",H="pointer"),yt=J==null?I:ya(J),X=ve==null?I:ya(ve),I=new De(le,H+"leave",J,r,ne),I.target=yt,I.relatedTarget=X,le=null,et(ne)===K&&(De=new De($,H+"enter",ve,r,ne),De.target=X,De.relatedTarget=yt,le=De),yt=le,J&&ve)t:{for(De=rE,$=J,H=ve,X=0,le=$;le;le=De(le))X++;le=0;for(var Ne=H;Ne;Ne=De(Ne))le++;for(;0<X-le;)$=De($),X--;for(;0<le-X;)H=De(H),le--;for(;X--;){if($===H||H!==null&&$===H.alternate){De=$;break t}$=De($),H=De(H)}De=null}else De=null;J!==null&&Py(se,I,J,De,!1),ve!==null&&yt!==null&&Py(se,yt,ve,De,!0)}}e:{if(I=K?ya(K):window,J=I.nodeName&&I.nodeName.toLowerCase(),J==="select"||J==="input"&&I.type==="file")var tt=rm;else if(nm(I))if(lm)tt=m1;else{tt=p1;var Se=d1}else J=I.nodeName,!J||J.toLowerCase()!=="input"||I.type!=="checkbox"&&I.type!=="radio"?K&&Gc(K.elementType)&&(tt=rm):tt=h1;if(tt&&(tt=tt(e,K))){am(se,tt,r,ne);break e}Se&&Se(e,I,K),e==="focusout"&&K&&I.type==="number"&&K.memoizedProps.value!=null&&Yc(I,"number",I.value)}switch(Se=K?ya(K):window,e){case"focusin":(nm(Se)||Se.contentEditable==="true")&&(Pl=Se,of=K,Gi=null);break;case"focusout":Gi=of=Pl=null;break;case"mousedown":sf=!0;break;case"contextmenu":case"mouseup":case"dragend":sf=!1,pm(se,r,ne);break;case"selectionchange":if(y1)break;case"keydown":case"keyup":pm(se,r,ne)}var qe;if(nf)e:{switch(e){case"compositionstart":var Qe="onCompositionStart";break e;case"compositionend":Qe="onCompositionEnd";break e;case"compositionupdate":Qe="onCompositionUpdate";break e}Qe=void 0}else $l?em(e,r)&&(Qe="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Qe="onCompositionStart");Qe&&(Zh&&r.locale!=="ko"&&($l||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&$l&&(qe=Gh()):(yr=ne,Zc="value"in yr?yr.value:yr.textContent,$l=!0)),Se=cu(K,Qe),0<Se.length&&(Qe=new Ih(Qe,e,null,r,ne),se.push({event:Qe,listeners:Se}),qe?Qe.data=qe:(qe=tm(r),qe!==null&&(Qe.data=qe)))),(qe=o1?s1(e,r):u1(e,r))&&(Qe=cu(K,"onBeforeInput"),0<Qe.length&&(Se=new Ih("onBeforeInput","beforeinput",null,r,ne),se.push({event:Se,listeners:Qe}),Se.data=qe)),eE(se,e,K,r,ne)}Hy(se,n)})}function vo(e,n,r){return{instance:e,listener:n,currentTarget:r}}function cu(e,n){for(var r=n+"Capture",o=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=ki(e,r),c!=null&&o.unshift(vo(e,c,d)),c=ki(e,n),c!=null&&o.push(vo(e,c,d))),e.tag===3)return o;e=e.return}return[]}function rE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Py(e,n,r,o,c){for(var d=n._reactName,g=[];r!==null&&r!==o;){var T=r,U=T.alternate,K=T.stateNode;if(T=T.tag,U!==null&&U===o)break;T!==5&&T!==26&&T!==27||K===null||(U=K,c?(K=ki(r,d),K!=null&&g.unshift(vo(r,K,U))):c||(K=ki(r,d),K!=null&&g.push(vo(r,K,U)))),r=r.return}g.length!==0&&e.push({event:n,listeners:g})}var lE=/\r\n?/g,iE=/\u0000|\uFFFD/g;function qy(e){return(typeof e=="string"?e:""+e).replace(lE,`
          `).replace(iE,"")}function Fy(e,n){return n=qy(n),qy(e)===n}function gt(e,n,r,o,c,d){switch(r){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&Ul(e,""+o);break;case"className":Et(e,"class",o);break;case"tabIndex":Et(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Et(e,r,o);break;case"style":Fh(e,o,d);break;case"data":if(n!=="object"){Et(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||r!=="href")){e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}o=gs(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(r==="formAction"?(n!=="input"&&gt(e,n,"name",c.name,c,null),gt(e,n,"formEncType",c.formEncType,c,null),gt(e,n,"formMethod",c.formMethod,c,null),gt(e,n,"formTarget",c.formTarget,c,null)):(gt(e,n,"encType",c.encType,c,null),gt(e,n,"method",c.method,c,null),gt(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}o=gs(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(e.onclick=Va);break;case"onScroll":o!=null&&Ge("scroll",e);break;case"onScrollEnd":o!=null&&Ge("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(i(60));e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}r=gs(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""+o):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,o):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(r,o):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):e.setAttribute(r,o);break;case"popover":Ge("beforetoggle",e),Ge("toggle",e),Qn(e,"popover",o);break;case"xlinkActuate":Nn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Nn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Nn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Nn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Nn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Nn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Nn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Nn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Nn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Qn(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=_S.get(r)||r,Qn(e,r,o))}}function zd(e,n,r,o,c,d){switch(r){case"style":Fh(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(i(60));e.innerHTML=r}}break;case"children":typeof o=="string"?Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&Ul(e,""+o);break;case"onScroll":o!=null&&Ge("scroll",e);break;case"onScrollEnd":o!=null&&Ge("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Va);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!mr.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),n=r.slice(2,c?r.length-7:void 0),d=e[ye]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(n,o,c);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):Qn(e,r,o)}}}function dn(e,n,r){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ge("error",e),Ge("load",e);var o=!1,c=!1,d;for(d in r)if(r.hasOwnProperty(d)){var g=r[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:gt(e,n,d,g,r,null)}}c&&gt(e,n,"srcSet",r.srcSet,r,null),o&&gt(e,n,"src",r.src,r,null);return;case"input":Ge("invalid",e);var T=d=g=c=null,U=null,K=null;for(o in r)if(r.hasOwnProperty(o)){var ne=r[o];if(ne!=null)switch(o){case"name":c=ne;break;case"type":g=ne;break;case"checked":U=ne;break;case"defaultChecked":K=ne;break;case"value":d=ne;break;case"defaultValue":T=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(i(137,n));break;default:gt(e,n,o,ne,r,null)}}Hh(e,d,T,U,K,g,c,!1);return;case"select":Ge("invalid",e),o=g=d=null;for(c in r)if(r.hasOwnProperty(c)&&(T=r[c],T!=null))switch(c){case"value":d=T;break;case"defaultValue":g=T;break;case"multiple":o=T;default:gt(e,n,c,T,r,null)}n=d,r=g,e.multiple=!!o,n!=null?Bl(e,!!o,n,!1):r!=null&&Bl(e,!!o,r,!0);return;case"textarea":Ge("invalid",e),d=c=o=null;for(g in r)if(r.hasOwnProperty(g)&&(T=r[g],T!=null))switch(g){case"value":o=T;break;case"defaultValue":c=T;break;case"children":d=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(i(91));break;default:gt(e,n,g,T,r,null)}Ph(e,o,c,d);return;case"option":for(U in r)if(r.hasOwnProperty(U)&&(o=r[U],o!=null))switch(U){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:gt(e,n,U,o,r,null)}return;case"dialog":Ge("beforetoggle",e),Ge("toggle",e),Ge("cancel",e),Ge("close",e);break;case"iframe":case"object":Ge("load",e);break;case"video":case"audio":for(o=0;o<yo.length;o++)Ge(yo[o],e);break;case"image":Ge("error",e),Ge("load",e);break;case"details":Ge("toggle",e);break;case"embed":case"source":case"link":Ge("error",e),Ge("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(K in r)if(r.hasOwnProperty(K)&&(o=r[K],o!=null))switch(K){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:gt(e,n,K,o,r,null)}return;default:if(Gc(n)){for(ne in r)r.hasOwnProperty(ne)&&(o=r[ne],o!==void 0&&zd(e,n,ne,o,r,void 0));return}}for(T in r)r.hasOwnProperty(T)&&(o=r[T],o!=null&&gt(e,n,T,o,r,null))}function oE(e,n,r,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,g=null,T=null,U=null,K=null,ne=null;for(J in r){var se=r[J];if(r.hasOwnProperty(J)&&se!=null)switch(J){case"checked":break;case"value":break;case"defaultValue":U=se;default:o.hasOwnProperty(J)||gt(e,n,J,null,o,se)}}for(var I in o){var J=o[I];if(se=r[I],o.hasOwnProperty(I)&&(J!=null||se!=null))switch(I){case"type":d=J;break;case"name":c=J;break;case"checked":K=J;break;case"defaultChecked":ne=J;break;case"value":g=J;break;case"defaultValue":T=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,n));break;default:J!==se&&gt(e,n,I,J,o,se)}}Vc(e,g,T,U,K,ne,d,c);return;case"select":J=g=T=I=null;for(d in r)if(U=r[d],r.hasOwnProperty(d)&&U!=null)switch(d){case"value":break;case"multiple":J=U;default:o.hasOwnProperty(d)||gt(e,n,d,null,o,U)}for(c in o)if(d=o[c],U=r[c],o.hasOwnProperty(c)&&(d!=null||U!=null))switch(c){case"value":I=d;break;case"defaultValue":T=d;break;case"multiple":g=d;default:d!==U&&gt(e,n,c,d,o,U)}n=T,r=g,o=J,I!=null?Bl(e,!!r,I,!1):!!o!=!!r&&(n!=null?Bl(e,!!r,n,!0):Bl(e,!!r,r?[]:"",!1));return;case"textarea":J=I=null;for(T in r)if(c=r[T],r.hasOwnProperty(T)&&c!=null&&!o.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:gt(e,n,T,null,o,c)}for(g in o)if(c=o[g],d=r[g],o.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":I=c;break;case"defaultValue":J=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(i(91));break;default:c!==d&&gt(e,n,g,c,o,d)}$h(e,I,J);return;case"option":for(var ve in r)if(I=r[ve],r.hasOwnProperty(ve)&&I!=null&&!o.hasOwnProperty(ve))switch(ve){case"selected":e.selected=!1;break;default:gt(e,n,ve,null,o,I)}for(U in o)if(I=o[U],J=r[U],o.hasOwnProperty(U)&&I!==J&&(I!=null||J!=null))switch(U){case"selected":e.selected=I&&typeof I!="function"&&typeof I!="symbol";break;default:gt(e,n,U,I,o,J)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var De in r)I=r[De],r.hasOwnProperty(De)&&I!=null&&!o.hasOwnProperty(De)&&gt(e,n,De,null,o,I);for(K in o)if(I=o[K],J=r[K],o.hasOwnProperty(K)&&I!==J&&(I!=null||J!=null))switch(K){case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(i(137,n));break;default:gt(e,n,K,I,o,J)}return;default:if(Gc(n)){for(var yt in r)I=r[yt],r.hasOwnProperty(yt)&&I!==void 0&&!o.hasOwnProperty(yt)&&zd(e,n,yt,void 0,o,I);for(ne in o)I=o[ne],J=r[ne],!o.hasOwnProperty(ne)||I===J||I===void 0&&J===void 0||zd(e,n,ne,I,o,J);return}}for(var $ in r)I=r[$],r.hasOwnProperty($)&&I!=null&&!o.hasOwnProperty($)&&gt(e,n,$,null,o,I);for(se in o)I=o[se],J=r[se],!o.hasOwnProperty(se)||I===J||I==null&&J==null||gt(e,n,se,I,o,J)}function Vy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function sE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var c=r[o],d=c.transferSize,g=c.initiatorType,T=c.duration;if(d&&T&&Vy(g)){for(g=0,T=c.responseEnd,o+=1;o<r.length;o++){var U=r[o],K=U.startTime;if(K>T)break;var ne=U.transferSize,se=U.initiatorType;ne&&Vy(se)&&(U=U.responseEnd,g+=ne*(U<T?1:(T-K)/(U-K)))}if(--o,n+=8*(d+g)/(c.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var _d=null,Ld=null;function fu(e){return e.nodeType===9?e:e.ownerDocument}function Yy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Gy(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Bd(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ud=null;function uE(){var e=window.event;return e&&e.type==="popstate"?e===Ud?!1:(Ud=e,!0):(Ud=null,!1)}var Xy=typeof setTimeout=="function"?setTimeout:void 0,cE=typeof clearTimeout=="function"?clearTimeout:void 0,Ky=typeof Promise=="function"?Promise:void 0,fE=typeof queueMicrotask=="function"?queueMicrotask:typeof Ky<"u"?function(e){return Ky.resolve(null).then(e).catch(dE)}:Xy;function dE(e){setTimeout(function(){throw e})}function _r(e){return e==="head"}function Iy(e,n){var r=n,o=0;do{var c=r.nextSibling;if(e.removeChild(r),c&&c.nodeType===8)if(r=c.data,r==="/$"||r==="/&"){if(o===0){e.removeChild(c),hi(n);return}o--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")o++;else if(r==="html")bo(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,bo(r);for(var d=r.firstChild;d;){var g=d.nextSibling,T=d.nodeName;d[Mt]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&d.rel.toLowerCase()==="stylesheet"||r.removeChild(d),d=g}}else r==="body"&&bo(e.ownerDocument.body);r=c}while(r);hi(n)}function Qy(e,n){var r=e;e=0;do{var o=r.nextSibling;if(r.nodeType===1?n?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(n?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=o}while(r)}function kd(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var r=n;switch(n=n.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":kd(r),ut(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function pE(e,n,r,o){for(;e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Mt])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=ra(e.nextSibling),e===null)break}return null}function hE(e,n,r){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=ra(e.nextSibling),e===null))return null;return e}function Zy(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=ra(e.nextSibling),e===null))return null;return e}function Hd(e){return e.data==="$?"||e.data==="$~"}function $d(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function mE(e,n){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||r.readyState!=="loading")n();else{var o=function(){n(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function ra(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var Pd=null;function Wy(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(n===0)return ra(e.nextSibling);n--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||n++}e=e.nextSibling}return null}function Jy(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(n===0)return e;n--}else r!=="/$"&&r!=="/&"||n++}e=e.previousSibling}return null}function e0(e,n,r){switch(n=fu(r),e){case"html":if(e=n.documentElement,!e)throw Error(i(452));return e;case"head":if(e=n.head,!e)throw Error(i(453));return e;case"body":if(e=n.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function bo(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);ut(e)}var la=new Map,t0=new Set;function du(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ir=F.d;F.d={f:gE,r:yE,D:vE,C:bE,L:xE,m:SE,X:wE,S:EE,M:CE};function gE(){var e=ir.f(),n=au();return e||n}function yE(e){var n=On(e);n!==null&&n.tag===5&&n.type==="form"?vg(n):ir.r(e)}var fi=typeof document>"u"?null:document;function n0(e,n,r){var o=fi;if(o&&typeof n=="string"&&n){var c=Zn(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),t0.has(c)||(t0.add(c),e={rel:e,crossOrigin:r,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),dn(n,"link",e),ct(n),o.head.appendChild(n)))}}function vE(e){ir.D(e),n0("dns-prefetch",e,null)}function bE(e,n){ir.C(e,n),n0("preconnect",e,n)}function xE(e,n,r){ir.L(e,n,r);var o=fi;if(o&&e&&n){var c='link[rel="preload"][as="'+Zn(n)+'"]';n==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+Zn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+Zn(r.imageSizes)+'"]')):c+='[href="'+Zn(e)+'"]';var d=c;switch(n){case"style":d=di(e);break;case"script":d=pi(e)}la.has(d)||(e=v({rel:"preload",href:n==="image"&&r&&r.imageSrcSet?void 0:e,as:n},r),la.set(d,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(xo(d))||n==="script"&&o.querySelector(So(d))||(n=o.createElement("link"),dn(n,"link",e),ct(n),o.head.appendChild(n)))}}function SE(e,n){ir.m(e,n);var r=fi;if(r&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Zn(o)+'"][href="'+Zn(e)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=pi(e)}if(!la.has(d)&&(e=v({rel:"modulepreload",href:e},n),la.set(d,e),r.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(So(d)))return}o=r.createElement("link"),dn(o,"link",e),ct(o),r.head.appendChild(o)}}}function EE(e,n,r){ir.S(e,n,r);var o=fi;if(o&&e){var c=xn(o).hoistableStyles,d=di(e);n=n||"default";var g=c.get(d);if(!g){var T={loading:0,preload:null};if(g=o.querySelector(xo(d)))T.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":n},r),(r=la.get(d))&&qd(e,r);var U=g=o.createElement("link");ct(U),dn(U,"link",e),U._p=new Promise(function(K,ne){U.onload=K,U.onerror=ne}),U.addEventListener("load",function(){T.loading|=1}),U.addEventListener("error",function(){T.loading|=2}),T.loading|=4,pu(g,n,o)}g={type:"stylesheet",instance:g,count:1,state:T},c.set(d,g)}}}function wE(e,n){ir.X(e,n);var r=fi;if(r&&e){var o=xn(r).hoistableScripts,c=pi(e),d=o.get(c);d||(d=r.querySelector(So(c)),d||(e=v({src:e,async:!0},n),(n=la.get(c))&&Fd(e,n),d=r.createElement("script"),ct(d),dn(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function CE(e,n){ir.M(e,n);var r=fi;if(r&&e){var o=xn(r).hoistableScripts,c=pi(e),d=o.get(c);d||(d=r.querySelector(So(c)),d||(e=v({src:e,async:!0,type:"module"},n),(n=la.get(c))&&Fd(e,n),d=r.createElement("script"),ct(d),dn(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function a0(e,n,r,o){var c=(c=be.current)?du(c):null;if(!c)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(n=di(r.href),r=xn(c).hoistableStyles,o=r.get(n),o||(o={type:"style",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=di(r.href);var d=xn(c).hoistableStyles,g=d.get(e);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,g),(d=c.querySelector(xo(e)))&&!d._p&&(g.instance=d,g.state.loading=5),la.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},la.set(e,r),d||TE(c,e,r,g.state))),n&&o===null)throw Error(i(528,""));return g}if(n&&o!==null)throw Error(i(529,""));return null;case"script":return n=r.async,r=r.src,typeof r=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=pi(r),r=xn(c).hoistableScripts,o=r.get(n),o||(o={type:"script",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function di(e){return'href="'+Zn(e)+'"'}function xo(e){return'link[rel="stylesheet"]['+e+"]"}function r0(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function TE(e,n,r,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),dn(n,"link",r),ct(n),e.head.appendChild(n))}function pi(e){return'[src="'+Zn(e)+'"]'}function So(e){return"script[async]"+e}function l0(e,n,r){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Zn(r.href)+'"]');if(o)return n.instance=o,ct(o),o;var c=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),ct(o),dn(o,"style",c),pu(o,r.precedence,e),n.instance=o;case"stylesheet":c=di(r.href);var d=e.querySelector(xo(c));if(d)return n.state.loading|=4,n.instance=d,ct(d),d;o=r0(r),(c=la.get(c))&&qd(o,c),d=(e.ownerDocument||e).createElement("link"),ct(d);var g=d;return g._p=new Promise(function(T,U){g.onload=T,g.onerror=U}),dn(d,"link",o),n.state.loading|=4,pu(d,r.precedence,e),n.instance=d;case"script":return d=pi(r.src),(c=e.querySelector(So(d)))?(n.instance=c,ct(c),c):(o=r,(c=la.get(d))&&(o=v({},r),Fd(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),ct(c),dn(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,pu(o,r.precedence,e));return n.instance}function pu(e,n,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,g=0;g<o.length;g++){var T=o[g];if(T.dataset.precedence===n)d=T;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=r.nodeType===9?r.head:r,n.insertBefore(e,n.firstChild))}function qd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Fd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var hu=null;function i0(e,n,r){if(hu===null){var o=new Map,c=hu=new Map;c.set(r,o)}else c=hu,o=c.get(r),o||(o=new Map,c.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var d=r[c];if(!(d[Mt]||d[me]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(n)||"";g=e+g;var T=o.get(g);T?T.push(d):o.set(g,[d])}}return o}function o0(e,n,r){e=e.ownerDocument||e,e.head.insertBefore(r,n==="title"?e.querySelector("head > title"):null)}function RE(e,n,r){if(r===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function s0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function AE(e,n,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=di(o.href),d=n.querySelector(xo(c));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=mu.bind(e),n.then(e,e)),r.state.loading|=4,r.instance=d,ct(d);return}d=n.ownerDocument||n,o=r0(o),(c=la.get(c))&&qd(o,c),d=d.createElement("link"),ct(d);var g=d;g._p=new Promise(function(T,U){g.onload=T,g.onerror=U}),dn(d,"link",o),r.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,n),(n=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=mu.bind(e),n.addEventListener("load",r),n.addEventListener("error",r))}}var Vd=0;function OE(e,n){return e.stylesheets&&e.count===0&&yu(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var o=setTimeout(function(){if(e.stylesheets&&yu(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+n);0<e.imgBytes&&Vd===0&&(Vd=62500*sE());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&yu(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Vd?50:800)+n);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function yu(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,n.forEach(NE,e),gu=null,mu.call(e))}function NE(e,n){if(!(n.state.loading&4)){var r=gu.get(e);if(r)var o=r.get(null);else{r=new Map,gu.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(r.set(g.dataset.precedence,g),o=g)}o&&r.set(null,o)}c=n.instance,g=c.getAttribute("data-precedence"),d=r.get(g)||o,d===o&&r.set(null,c),r.set(g,c),this.count++,o=mu.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var Eo={$$typeof:M,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function ME(e,n,r,o,c,d,g,T,U){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.hiddenUpdates=zl(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=U,this.incompleteTransitions=new Map}function u0(e,n,r,o,c,d,g,T,U,K,ne,se){return e=new ME(e,n,r,g,U,K,ne,se,T),n=1,d===!0&&(n|=24),d=$n(3,null,null,n),e.current=d,d.stateNode=e,n=wf(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:r,cache:n},Af(d),e}function c0(e){return e?(e=Vl,e):Vl}function f0(e,n,r,o,c,d){c=c0(c),o.context===null?o.context=c:o.pendingContext=c,o=wr(n),o.payload={element:r},d=d===void 0?null:d,d!==null&&(o.callback=d),r=Cr(e,o,n),r!==null&&(Ln(r,e,n),Ji(r,e,n))}function d0(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<n?r:n}}function Yd(e,n){d0(e,n),(e=e.alternate)&&d0(e,n)}function p0(e){if(e.tag===13||e.tag===31){var n=el(e,67108864);n!==null&&Ln(n,e,67108864),Yd(e,67108864)}}function h0(e){if(e.tag===13||e.tag===31){var n=Yn();n=fe(n);var r=el(e,n);r!==null&&Ln(r,e,n),Yd(e,n)}}var vu=!0;function jE(e,n,r,o){var c=D.T;D.T=null;var d=F.p;try{F.p=2,Gd(e,n,r,o)}finally{F.p=d,D.T=c}}function DE(e,n,r,o){var c=D.T;D.T=null;var d=F.p;try{F.p=8,Gd(e,n,r,o)}finally{F.p=d,D.T=c}}function Gd(e,n,r,o){if(vu){var c=Xd(o);if(c===null)Dd(e,n,o,bu,r),g0(e,o);else if(_E(c,e,n,r,o))o.stopPropagation();else if(g0(e,o),n&4&&-1<zE.indexOf(e)){for(;c!==null;){var d=On(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=Aa(d.pendingLanes);if(g!==0){var T=d;for(T.pendingLanes|=2,T.entangledLanes|=2;g;){var U=1<<31-ke(g);T.entanglements[1]|=U,g&=~U}ja(d),(rt&6)===0&&(tu=Ve()+500,go(0))}}break;case 31:case 13:T=el(d,2),T!==null&&Ln(T,d,2),au(),Yd(d,2)}if(d=Xd(o),d===null&&Dd(e,n,o,bu,r),d===c)break;c=d}c!==null&&o.stopPropagation()}else Dd(e,n,o,null,r)}}function Xd(e){return e=Kc(e),Kd(e)}var bu=null;function Kd(e){if(bu=null,e=et(e),e!==null){var n=u(e);if(n===null)e=null;else{var r=n.tag;if(r===13){if(e=f(n),e!==null)return e;e=null}else if(r===31){if(e=p(n),e!==null)return e;e=null}else if(r===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return bu=e,null}function m0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ha()){case In:return 2;case on:return 8;case Pt:case ma:return 32;case An:return 268435456;default:return 32}default:return 32}}var Id=!1,Lr=null,Br=null,Ur=null,wo=new Map,Co=new Map,kr=[],zE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function g0(e,n){switch(e){case"focusin":case"focusout":Lr=null;break;case"dragenter":case"dragleave":Br=null;break;case"mouseover":case"mouseout":Ur=null;break;case"pointerover":case"pointerout":wo.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Co.delete(n.pointerId)}}function To(e,n,r,o,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:r,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=On(n),n!==null&&p0(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function _E(e,n,r,o,c){switch(n){case"focusin":return Lr=To(Lr,e,n,r,o,c),!0;case"dragenter":return Br=To(Br,e,n,r,o,c),!0;case"mouseover":return Ur=To(Ur,e,n,r,o,c),!0;case"pointerover":var d=c.pointerId;return wo.set(d,To(wo.get(d)||null,e,n,r,o,c)),!0;case"gotpointercapture":return d=c.pointerId,Co.set(d,To(Co.get(d)||null,e,n,r,o,c)),!0}return!1}function y0(e){var n=et(e.target);if(n!==null){var r=u(n);if(r!==null){if(n=r.tag,n===13){if(n=f(r),n!==null){e.blockedOn=n,Ce(e.priority,function(){h0(r)});return}}else if(n===31){if(n=p(r),n!==null){e.blockedOn=n,Ce(e.priority,function(){h0(r)});return}}else if(n===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xu(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var r=Xd(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);Xc=o,r.target.dispatchEvent(o),Xc=null}else return n=On(r),n!==null&&p0(n),e.blockedOn=r,!1;n.shift()}return!0}function v0(e,n,r){xu(e)&&r.delete(n)}function LE(){Id=!1,Lr!==null&&xu(Lr)&&(Lr=null),Br!==null&&xu(Br)&&(Br=null),Ur!==null&&xu(Ur)&&(Ur=null),wo.forEach(v0),Co.forEach(v0)}function Su(e,n){e.blockedOn===n&&(e.blockedOn=null,Id||(Id=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,LE)))}var Eu=null;function b0(e){Eu!==e&&(Eu=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Eu===e&&(Eu=null);for(var n=0;n<e.length;n+=3){var r=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(Kd(o||r)===null)continue;break}var d=On(r);d!==null&&(e.splice(n,3),n-=3,Xf(d,{pending:!0,data:c,method:r.method,action:o},o,c))}}))}function hi(e){function n(U){return Su(U,e)}Lr!==null&&Su(Lr,e),Br!==null&&Su(Br,e),Ur!==null&&Su(Ur,e),wo.forEach(n),Co.forEach(n);for(var r=0;r<kr.length;r++){var o=kr[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<kr.length&&(r=kr[0],r.blockedOn===null);)y0(r),r.blockedOn===null&&kr.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var c=r[o],d=r[o+1],g=c[ye]||null;if(typeof d=="function")g||b0(r);else if(g){var T=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[ye]||null)T=g.formAction;else if(Kd(c)!==null)continue}else T=g.action;typeof T=="function"?r[o+1]=T:(r.splice(o,3),o-=3),b0(r)}}}function x0(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(r,20)}function r(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function Qd(e){this._internalRoot=e}wu.prototype.render=Qd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));var r=n.current,o=Yn();f0(r,o,e,n,null,null)},wu.prototype.unmount=Qd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;f0(e.current,2,null,e,null,null),au(),n[xe]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var n=we();e={blockedOn:null,target:e,priority:n};for(var r=0;r<kr.length&&n!==0&&n<kr[r].priority;r++);kr.splice(r,0,e),r===0&&y0(e)}};var S0=a.version;if(S0!=="19.2.0")throw Error(i(527,S0,"19.2.0"));F.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=h(n),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var BE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{Kt=Cu.inject(BE),nn=Cu}catch{}}return Ao.createRoot=function(e,n){if(!s(e))throw Error(i(299));var r=!1,o="",c=Og,d=Ng,g=Mg;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError)),n=u0(e,1,!1,null,null,r,o,null,c,d,g,x0),e[xe]=n.current,jd(e),new Qd(n)},Ao.hydrateRoot=function(e,n,r){if(!s(e))throw Error(i(299));var o=!1,c="",d=Og,g=Ng,T=Mg,U=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(T=r.onRecoverableError),r.formState!==void 0&&(U=r.formState)),n=u0(e,1,!0,n,r??null,o,c,U,d,g,T,x0),n.context=c0(null),r=n.current,o=Yn(),o=fe(o),c=wr(o),c.callback=null,Cr(r,c,o),r=o,n.current.lanes=r,Qr(n,r),ja(n),e[xe]=n.current,jd(e),new wu(n)},Ao.version="19.2.0",Ao}var j0;function GE(){if(j0)return Jd.exports;j0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),Jd.exports=YE(),Jd.exports}var XE=GE();var Ob=t=>{throw TypeError(t)},KE=(t,a,l)=>a.has(t)||Ob("Cannot "+l),ap=(t,a,l)=>(KE(t,a,"read from private field"),l?l.call(t):a.get(t)),IE=(t,a,l)=>a.has(t)?Ob("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(t):a.set(t,l),D0="popstate";function QE(t={}){function a(i,s){let{pathname:u,search:f,hash:p}=i.location;return Go("",{pathname:u,search:f,hash:p},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function l(i,s){return typeof s=="string"?s:Pa(s)}return WE(a,l,null,t)}function Fe(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function Ht(t,a){if(!t){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function ZE(){return Math.random().toString(36).substring(2,10)}function z0(t,a){return{usr:t.state,key:t.key,idx:a}}function Go(t,a,l=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof a=="string"?Gr(a):a,state:l,key:a&&a.key||i||ZE()}}function Pa({pathname:t="/",search:a="",hash:l=""}){return a&&a!=="?"&&(t+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(t+=l.charAt(0)==="#"?l:"#"+l),t}function Gr(t){let a={};if(t){let l=t.indexOf("#");l>=0&&(a.hash=t.substring(l),t=t.substring(0,l));let i=t.indexOf("?");i>=0&&(a.search=t.substring(i),t=t.substring(0,i)),t&&(a.pathname=t)}return a}function WE(t,a,l,i={}){let{window:s=document.defaultView,v5Compat:u=!1}=i,f=s.history,p="POP",m=null,h=y();h==null&&(h=0,f.replaceState({...f.state,idx:h},""));function y(){return(f.state||{idx:null}).idx}function v(){p="POP";let R=y(),j=R==null?null:R-h;h=R,m&&m({action:p,location:w.location,delta:j})}function C(R,j){p="PUSH";let L=Go(w.location,R,j);h=y()+1;let M=z0(L,h),_=w.createHref(L);try{f.pushState(M,"",_)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;s.location.assign(_)}u&&m&&m({action:p,location:w.location,delta:1})}function E(R,j){p="REPLACE";let L=Go(w.location,R,j);h=y();let M=z0(L,h),_=w.createHref(L);f.replaceState(M,"",_),u&&m&&m({action:p,location:w.location,delta:0})}function b(R){return Nb(R)}let w={get action(){return p},get location(){return t(s,f)},listen(R){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(D0,v),m=R,()=>{s.removeEventListener(D0,v),m=null}},createHref(R){return a(s,R)},createURL:b,encodeLocation(R){let j=b(R);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:C,replace:E,go(R){return f.go(R)}};return w}function Nb(t,a=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),Fe(l,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:Pa(t);return i=i.replace(/ $/,"%20"),!a&&i.startsWith("//")&&(i=l+i),new URL(i,l)}var ko,_0=class{constructor(t){if(IE(this,ko,new Map),t)for(let[a,l]of t)this.set(a,l)}get(t){if(ap(this,ko).has(t))return ap(this,ko).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,a){ap(this,ko).set(t,a)}};ko=new WeakMap;var JE=new Set(["lazy","caseSensitive","path","id","index","children"]);function ew(t){return JE.has(t)}var tw=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function nw(t){return tw.has(t)}function aw(t){return t.index===!0}function Xo(t,a,l=[],i={},s=!1){return t.map((u,f)=>{let p=[...l,String(f)],m=typeof u.id=="string"?u.id:p.join("-");if(Fe(u.index!==!0||!u.children,"Cannot specify children on an index route"),Fe(s||!i[m],`Found a route id collision on id "${m}".  Route id's must be globally unique within Data Router usages`),aw(u)){let h={...u,id:m};return i[m]=L0(h,a(h)),h}else{let h={...u,id:m,children:void 0};return i[m]=L0(h,a(h)),u.children&&(h.children=Xo(u.children,a,p,i,s)),h}})}function L0(t,a){return Object.assign(t,{...a,...typeof a.lazy=="object"&&a.lazy!=null?{lazy:{...t.lazy,...a.lazy}}:{}})}function $r(t,a,l="/"){return Ho(t,a,l,!1)}function Ho(t,a,l,i){let s=typeof a=="string"?Gr(a):a,u=ca(s.pathname||"/",l);if(u==null)return null;let f=Mb(t);lw(f);let p=null;for(let m=0;p==null&&m<f.length;++m){let h=gw(u);p=hw(f[m],h,i)}return p}function rw(t,a){let{route:l,pathname:i,params:s}=t;return{id:l.id,pathname:i,params:s,data:a[l.id],loaderData:a[l.id],handle:l.handle}}function Mb(t,a=[],l=[],i="",s=!1){let u=(f,p,m=s,h)=>{let y={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&m)return;Fe(y.relativePath.startsWith(i),`Absolute route path "${y.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(i.length)}let v=Ha([i,y.relativePath]),C=l.concat(y);f.children&&f.children.length>0&&(Fe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Mb(f.children,a,C,v,m)),!(f.path==null&&!f.index)&&a.push({path:v,score:dw(v,f.index),routesMeta:C})};return t.forEach((f,p)=>{if(f.path===""||!f.path?.includes("?"))u(f,p);else for(let m of jb(f.path))u(f,p,!0,m)}),a}function jb(t){let a=t.split("/");if(a.length===0)return[];let[l,...i]=a,s=l.endsWith("?"),u=l.replace(/\?$/,"");if(i.length===0)return s?[u,""]:[u];let f=jb(i.join("/")),p=[];return p.push(...f.map(m=>m===""?u:[u,m].join("/"))),s&&p.push(...f),p.map(m=>t.startsWith("/")&&m===""?"/":m)}function lw(t){t.sort((a,l)=>a.score!==l.score?l.score-a.score:pw(a.routesMeta.map(i=>i.childrenIndex),l.routesMeta.map(i=>i.childrenIndex)))}var iw=/^:[\w-]+$/,ow=3,sw=2,uw=1,cw=10,fw=-2,B0=t=>t==="*";function dw(t,a){let l=t.split("/"),i=l.length;return l.some(B0)&&(i+=fw),a&&(i+=sw),l.filter(s=>!B0(s)).reduce((s,u)=>s+(iw.test(u)?ow:u===""?uw:cw),i)}function pw(t,a){return t.length===a.length&&t.slice(0,-1).every((i,s)=>i===a[s])?t[t.length-1]-a[a.length-1]:0}function hw(t,a,l=!1){let{routesMeta:i}=t,s={},u="/",f=[];for(let p=0;p<i.length;++p){let m=i[p],h=p===i.length-1,y=u==="/"?a:a.slice(u.length)||"/",v=Yu({path:m.relativePath,caseSensitive:m.caseSensitive,end:h},y),C=m.route;if(!v&&h&&l&&!i[i.length-1].route.index&&(v=Yu({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},y)),!v)return null;Object.assign(s,v.params),f.push({params:s,pathname:Ha([u,v.pathname]),pathnameBase:xw(Ha([u,v.pathnameBase])),route:C}),v.pathnameBase!=="/"&&(u=Ha([u,v.pathnameBase]))}return f}function Yu(t,a){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[l,i]=mw(t.path,t.caseSensitive,t.end),s=a.match(l);if(!s)return null;let u=s[0],f=u.replace(/(.)\/+$/,"$1"),p=s.slice(1);return{params:i.reduce((h,{paramName:y,isOptional:v},C)=>{if(y==="*"){let b=p[C]||"";f=u.slice(0,u.length-b.length).replace(/(.)\/+$/,"$1")}const E=p[C];return v&&!E?h[y]=void 0:h[y]=(E||"").replace(/%2F/g,"/"),h},{}),pathname:u,pathnameBase:f,pattern:t}}function mw(t,a=!1,l=!0){Ht(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,m)=>(i.push({paramName:p,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),i]}function gw(t){try{return t.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ht(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),t}}function ca(t,a){if(a==="/")return t;if(!t.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,i=t.charAt(l);return i&&i!=="/"?null:t.slice(l)||"/"}function yw({basename:t,pathname:a}){return a==="/"?t:Ha([t,a])}var vw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fc=t=>vw.test(t);function bw(t,a="/"){let{pathname:l,search:i="",hash:s=""}=typeof t=="string"?Gr(t):t,u;if(l)if(fc(l))u=l;else{if(l.includes("//")){let f=l;l=l.replace(/\/\/+/g,"/"),Ht(!1,`Pathnames cannot have embedded double slashes - normalizing ${f} -> ${l}`)}l.startsWith("/")?u=U0(l.substring(1),"/"):u=U0(l,a)}else u=a;return{pathname:u,search:Sw(i),hash:Ew(s)}}function U0(t,a){let l=a.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?l.length>1&&l.pop():s!=="."&&l.push(s)}),l.length>1?l.join("/"):"/"}function rp(t,a,l,i){return`Cannot include a '${t}' character in a manually specified \`to.${a}\` field [${JSON.stringify(i)}].  Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Db(t){return t.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function dc(t){let a=Db(t);return a.map((l,i)=>i===a.length-1?l.pathname:l.pathnameBase)}function pc(t,a,l,i=!1){let s;typeof t=="string"?s=Gr(t):(s={...t},Fe(!s.pathname||!s.pathname.includes("?"),rp("?","pathname","search",s)),Fe(!s.pathname||!s.pathname.includes("#"),rp("#","pathname","hash",s)),Fe(!s.search||!s.search.includes("#"),rp("#","search","hash",s)));let u=t===""||s.pathname==="",f=u?"/":s.pathname,p;if(f==null)p=l;else{let v=a.length-1;if(!i&&f.startsWith("..")){let C=f.split("/");for(;C[0]==="..";)C.shift(),v-=1;s.pathname=C.join("/")}p=v>=0?a[v]:"/"}let m=bw(s,p),h=f&&f!=="/"&&f.endsWith("/"),y=(u||f===".")&&l.endsWith("/");return!m.pathname.endsWith("/")&&(h||y)&&(m.pathname+="/"),m}var Ha=t=>t.join("/").replace(/\/\/+/g,"/"),xw=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Sw=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Ew=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Gu=class{constructor(t,a,l,i=!1){this.status=t,this.statusText=a||"",this.internal=i,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Ko(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Wp(t){return t.filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var qr=Symbol("Uninstrumented");function ww(t,a){let l={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(s=>s({id:a.id,index:a.index,path:a.path,instrument(u){let f=Object.keys(l);for(let p of f)u[p]&&l[p].push(u[p])}}));let i={};if(typeof a.lazy=="function"&&l.lazy.length>0){let s=wi(l.lazy,a.lazy,()=>{});s&&(i.lazy=s)}if(typeof a.lazy=="object"){let s=a.lazy;["middleware","loader","action"].forEach(u=>{let f=s[u],p=l[`lazy.${u}`];if(typeof f=="function"&&p.length>0){let m=wi(p,f,()=>{});m&&(i.lazy=Object.assign(i.lazy||{},{[u]:m}))}})}return["loader","action"].forEach(s=>{let u=a[s];if(typeof u=="function"&&l[s].length>0){let f=u[qr]??u,p=wi(l[s],f,(...m)=>k0(m[0]));p&&(p[qr]=f,i[s]=p)}}),a.middleware&&a.middleware.length>0&&l.middleware.length>0&&(i.middleware=a.middleware.map(s=>{let u=s[qr]??s,f=wi(l.middleware,u,(...p)=>k0(p[0]));return f?(f[qr]=u,f):s})),i}function Cw(t,a){let l={navigate:[],fetch:[]};if(a.forEach(i=>i({instrument(s){let u=Object.keys(s);for(let f of u)s[f]&&l[f].push(s[f])}})),l.navigate.length>0){let i=t.navigate[qr]??t.navigate,s=wi(l.navigate,i,(...u)=>{let[f,p]=u;return{to:typeof f=="number"||typeof f=="string"?f:f?Pa(f):".",...H0(t,p??{})}});s&&(s[qr]=i,t.navigate=s)}if(l.fetch.length>0){let i=t.fetch[qr]??t.fetch,s=wi(l.fetch,i,(...u)=>{let[f,,p,m]=u;return{href:p??".",fetcherKey:f,...H0(t,m??{})}});s&&(s[qr]=i,t.fetch=s)}return t}function wi(t,a,l){return t.length===0?null:async(...i)=>{let s=await zb(t,l(...i),()=>a(...i),t.length-1);if(s.type==="error")throw s.value;return s.value}}async function zb(t,a,l,i){let s=t[i],u;if(s){let f,p=async()=>(f?console.error("You cannot call instrumented handlers more than once"):f=zb(t,a,l,i-1),u=await f,Fe(u,"Expected a result"),u.type==="error"&&u.value instanceof Error?{status:"error",error:u.value}:{status:"success",error:void 0});try{await s(p,a)}catch(m){console.error("An instrumentation function threw an error:",m)}f||await p(),await f}else try{u={type:"success",value:await l()}}catch(f){u={type:"error",value:f}}return u||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function k0(t){let{request:a,context:l,params:i,unstable_pattern:s}=t;return{request:Tw(a),params:{...i},unstable_pattern:s,context:Rw(l)}}function H0(t,a){return{currentUrl:Pa(t.state.location),..."formMethod"in a?{formMethod:a.formMethod}:{},..."formEncType"in a?{formEncType:a.formEncType}:{},..."formData"in a?{formData:a.formData}:{},..."body"in a?{body:a.body}:{}}}function Tw(t){return{method:t.method,url:t.url,headers:{get:(...a)=>t.headers.get(...a)}}}function Rw(t){if(Ow(t)){let a={...t};return Object.freeze(a),a}else return{get:a=>t.get(a)}}var Aw=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ow(t){if(t===null||typeof t!="object")return!1;const a=Object.getPrototypeOf(t);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===Aw}var _b=["POST","PUT","PATCH","DELETE"],Nw=new Set(_b),Mw=["GET",..._b],jw=new Set(Mw),Dw=new Set([301,302,303,307,308]),zw=new Set([307,308]),lp={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_w={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Oo={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Lw=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),Lb="remix-router-transitions",Bb=Symbol("ResetLoaderData");function Bw(t){const a=t.window?t.window:typeof window<"u"?window:void 0,l=typeof a<"u"&&typeof a.document<"u"&&typeof a.document.createElement<"u";Fe(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=t.hydrationRouteProperties||[],s=t.mapRouteProperties||Lw,u=s;if(t.unstable_instrumentations){let k=t.unstable_instrumentations;u=q=>({...s(q),...ww(k.map(Z=>Z.route).filter(Boolean),q)})}let f={},p=Xo(t.routes,u,void 0,f),m,h=t.basename||"/";h.startsWith("/")||(h=`/${h}`);let y=t.dataStrategy||Pw,v={...t.future},C=null,E=new Set,b=null,w=null,R=null,j=t.hydrationData!=null,L=$r(p,t.history.location,h),M=!1,_=null,N;if(L==null&&!t.patchRoutesOnNavigation){let k=ia(404,{pathname:t.history.location.pathname}),{matches:q,route:Z}=Tu(p);N=!0,L=q,_={[Z.id]:k}}else if(L&&!t.hydrationData&&Dl(L,p,t.history.location.pathname).active&&(L=null),L)if(L.some(k=>k.route.lazy))N=!1;else if(!L.some(k=>Jp(k.route)))N=!0;else{let k=t.hydrationData?t.hydrationData.loaderData:null,q=t.hydrationData?t.hydrationData.errors:null;if(q){let Z=L.findIndex(fe=>q[fe.route.id]!==void 0);N=L.slice(0,Z+1).every(fe=>!Rp(fe.route,k,q))}else N=L.every(Z=>!Rp(Z.route,k,q))}else{N=!1,L=[];let k=Dl(null,p,t.history.location.pathname);k.active&&k.matches&&(M=!0,L=k.matches)}let B,O={historyAction:t.history.action,location:t.history.location,matches:L,initialized:N,navigation:lp,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||_,fetchers:new Map,blockers:new Map},Q="POP",oe=!1,re,ce=!1,A=new Map,ee=null,P=!1,Y=!1,D=new Set,F=new Map,ue=0,te=-1,he=new Map,z=new Set,G=new Map,V=new Map,ie=new Set,de=new Map,be,Ae=null;function Je(){if(C=t.history.listen(({action:k,location:q,delta:Z})=>{if(be){be(),be=void 0;return}Ht(de.size===0||Z!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let fe=Kr({currentLocation:O.location,nextLocation:q,historyAction:k});if(fe&&Z!=null){let pe=new Promise(we=>{be=we});t.history.go(Z*-1),Fa(fe,{state:"blocked",location:q,proceed(){Fa(fe,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),pe.then(()=>t.history.go(Z))},reset(){let we=new Map(O.blockers);we.set(fe,Oo),Oe({blockers:we})}});return}return Xe(k,q)}),l){nC(a,A);let k=()=>aC(a,A);a.addEventListener("pagehide",k),ee=()=>a.removeEventListener("pagehide",k)}return O.initialized||Xe("POP",O.location,{initialHydration:!0}),B}function ze(){C&&C(),ee&&ee(),E.clear(),re&&re.abort(),O.fetchers.forEach((k,q)=>ot(q)),O.blockers.forEach((k,q)=>ga(q))}function je(k){return E.add(k),()=>E.delete(k)}function Oe(k,q={}){k.matches&&(k.matches=k.matches.map(pe=>{let we=f[pe.route.id],Ce=pe.route;return Ce.element!==we.element||Ce.errorElement!==we.errorElement||Ce.hydrateFallbackElement!==we.hydrateFallbackElement?{...pe,route:we}:pe})),O={...O,...k};let Z=[],fe=[];O.fetchers.forEach((pe,we)=>{pe.state==="idle"&&(ie.has(we)?Z.push(we):fe.push(we))}),ie.forEach(pe=>{!O.fetchers.has(pe)&&!F.has(pe)&&Z.push(pe)}),[...E].forEach(pe=>pe(O,{deletedFetchers:Z,viewTransitionOpts:q.viewTransitionOpts,flushSync:q.flushSync===!0})),Z.forEach(pe=>ot(pe)),fe.forEach(pe=>O.fetchers.delete(pe))}function Pe(k,q,{flushSync:Z}={}){let fe=O.actionData!=null&&O.navigation.formMethod!=null&&Cn(O.navigation.formMethod)&&O.navigation.state==="loading"&&k.state?._isRedirect!==!0,pe;q.actionData?Object.keys(q.actionData).length>0?pe=q.actionData:pe=null:fe?pe=O.actionData:pe=null;let we=q.loaderData?I0(O.loaderData,q.loaderData,q.matches||[],q.errors):O.loaderData,Ce=O.blockers;Ce.size>0&&(Ce=new Map(Ce),Ce.forEach((xe,Re)=>Ce.set(Re,Oo)));let ge=P?!1:hr(k,q.matches||O.matches),me=oe===!0||O.navigation.formMethod!=null&&Cn(O.navigation.formMethod)&&k.state?._isRedirect!==!0;m&&(p=m,m=void 0),P||Q==="POP"||(Q==="PUSH"?t.history.push(k,k.state):Q==="REPLACE"&&t.history.replace(k,k.state));let ye;if(Q==="POP"){let xe=A.get(O.location.pathname);xe&&xe.has(k.pathname)?ye={currentLocation:O.location,nextLocation:k}:A.has(k.pathname)&&(ye={currentLocation:k,nextLocation:O.location})}else if(ce){let xe=A.get(O.location.pathname);xe?xe.add(k.pathname):(xe=new Set([k.pathname]),A.set(O.location.pathname,xe)),ye={currentLocation:O.location,nextLocation:k}}Oe({...q,actionData:pe,loaderData:we,historyAction:Q,location:k,initialized:!0,navigation:lp,revalidation:"idle",restoreScrollPosition:ge,preventScrollReset:me,blockers:Ce},{viewTransitionOpts:ye,flushSync:Z===!0}),Q="POP",oe=!1,ce=!1,P=!1,Y=!1,Ae?.resolve(),Ae=null}async function St(k,q){if(typeof k=="number"){t.history.go(k);return}let Z=Tp(O.location,O.matches,h,k,q?.fromRouteId,q?.relative),{path:fe,submission:pe,error:we}=$0(!1,Z,q),Ce=O.location,ge=Go(O.location,fe,q&&q.state);ge={...ge,...t.history.encodeLocation(ge)};let me=q&&q.replace!=null?q.replace:void 0,ye="PUSH";me===!0?ye="REPLACE":me===!1||pe!=null&&Cn(pe.formMethod)&&pe.formAction===O.location.pathname+O.location.search&&(ye="REPLACE");let xe=q&&"preventScrollReset"in q?q.preventScrollReset===!0:void 0,Re=(q&&q.flushSync)===!0,Ze=Kr({currentLocation:Ce,nextLocation:ge,historyAction:ye});if(Ze){Fa(Ze,{state:"blocked",location:ge,proceed(){Fa(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:ge}),St(k,q)},reset(){let Tt=new Map(O.blockers);Tt.set(Ze,Oo),Oe({blockers:Tt})}});return}await Xe(ye,ge,{submission:pe,pendingError:we,preventScrollReset:xe,replace:q&&q.replace,enableViewTransition:q&&q.viewTransition,flushSync:Re})}function Be(){Ae||(Ae=rC()),In(),Oe({revalidation:"loading"});let k=Ae.promise;return O.navigation.state==="submitting"?k:O.navigation.state==="idle"?(Xe(O.historyAction,O.location,{startUninterruptedRevalidation:!0}),k):(Xe(Q||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation,enableViewTransition:ce===!0}),k)}async function Xe(k,q,Z){re&&re.abort(),re=null,Q=k,P=(Z&&Z.startUninterruptedRevalidation)===!0,jl(O.location,O.matches),oe=(Z&&Z.preventScrollReset)===!0,ce=(Z&&Z.enableViewTransition)===!0;let fe=m||p,pe=Z&&Z.overrideNavigation,we=Z?.initialHydration&&O.matches&&O.matches.length>0&&!M?O.matches:$r(fe,q,h),Ce=(Z&&Z.flushSync)===!0;if(we&&O.initialized&&!Y&&Iw(O.location,q)&&!(Z&&Z.submission&&Cn(Z.submission.formMethod))){Pe(q,{matches:we},{flushSync:Ce});return}let ge=Dl(we,fe,q.pathname);if(ge.active&&ge.matches&&(we=ge.matches),!we){let{error:Mt,notFoundMatches:ut,route:et}=pr(q.pathname);Pe(q,{matches:ut,loaderData:{},errors:{[et.id]:Mt}},{flushSync:Ce});return}re=new AbortController;let me=Si(t.history,q,re.signal,Z&&Z.submission),ye=t.getContext?await t.getContext():new _0,xe;if(Z&&Z.pendingError)xe=[Pr(we).route.id,{type:"error",error:Z.pendingError}];else if(Z&&Z.submission&&Cn(Z.submission.formMethod)){let Mt=await en(me,q,Z.submission,we,ye,ge.active,Z&&Z.initialHydration===!0,{replace:Z.replace,flushSync:Ce});if(Mt.shortCircuited)return;if(Mt.pendingActionResult){let[ut,et]=Mt.pendingActionResult;if(Gn(et)&&Ko(et.error)&&et.error.status===404){re=null,Pe(q,{matches:Mt.matches,loaderData:{},errors:{[ut]:et.error}});return}}we=Mt.matches||we,xe=Mt.pendingActionResult,pe=ip(q,Z.submission),Ce=!1,ge.active=!1,me=Si(t.history,me.url,me.signal)}let{shortCircuited:Re,matches:Ze,loaderData:Tt,errors:_t}=await tn(me,q,we,ye,ge.active,pe,Z&&Z.submission,Z&&Z.fetcherSubmission,Z&&Z.replace,Z&&Z.initialHydration===!0,Ce,xe);Re||(re=null,Pe(q,{matches:Ze||we,...Q0(xe),loaderData:Tt,errors:_t}))}async function en(k,q,Z,fe,pe,we,Ce,ge={}){In();let me=eC(q,Z);if(Oe({navigation:me},{flushSync:ge.flushSync===!0}),we){let Re=await Ir(fe,q.pathname,k.signal);if(Re.type==="aborted")return{shortCircuited:!0};if(Re.type==="error"){if(Re.partialMatches.length===0){let{matches:Tt,route:_t}=Tu(p);return{matches:Tt,pendingActionResult:[_t.id,{type:"error",error:Re.error}]}}let Ze=Pr(Re.partialMatches).route.id;return{matches:Re.partialMatches,pendingActionResult:[Ze,{type:"error",error:Re.error}]}}else if(Re.matches)fe=Re.matches;else{let{notFoundMatches:Ze,error:Tt,route:_t}=pr(q.pathname);return{matches:Ze,pendingActionResult:[_t.id,{type:"error",error:Tt}]}}}let ye,xe=Lu(fe,q);if(!xe.route.action&&!xe.route.lazy)ye={type:"error",error:ia(405,{method:k.method,pathname:q.pathname,routeId:xe.route.id})};else{let Re=Ci(u,f,k,fe,xe,Ce?[]:i,pe),Ze=await Ve(k,Re,pe,null);if(ye=Ze[xe.route.id],!ye){for(let Tt of fe)if(Ze[Tt.route.id]){ye=Ze[Tt.route.id];break}}if(k.signal.aborted)return{shortCircuited:!0}}if(vl(ye)){let Re;return ge&&ge.replace!=null?Re=ge.replace:Re=G0(ye.response.headers.get("Location"),new URL(k.url),h)===O.location.pathname+O.location.search,await ln(k,ye,!0,{submission:Z,replace:Re}),{shortCircuited:!0}}if(Gn(ye)){let Re=Pr(fe,xe.route.id);return(ge&&ge.replace)!==!0&&(Q="PUSH"),{matches:fe,pendingActionResult:[Re.route.id,ye,xe.route.id]}}return{matches:fe,pendingActionResult:[xe.route.id,ye]}}async function tn(k,q,Z,fe,pe,we,Ce,ge,me,ye,xe,Re){let Ze=we||ip(q,Ce),Tt=Ce||ge||W0(Ze),_t=!P&&!ye;if(pe){if(_t){let an=Nt(Re);Oe({navigation:Ze,...an!==void 0?{actionData:an}:{}},{flushSync:xe})}let Ke=await Ir(Z,q.pathname,k.signal);if(Ke.type==="aborted")return{shortCircuited:!0};if(Ke.type==="error"){if(Ke.partialMatches.length===0){let{matches:gr,route:Qn}=Tu(p);return{matches:gr,loaderData:{},errors:{[Qn.id]:Ke.error}}}let an=Pr(Ke.partialMatches).route.id;return{matches:Ke.partialMatches,loaderData:{},errors:{[an]:Ke.error}}}else if(Ke.matches)Z=Ke.matches;else{let{error:an,notFoundMatches:gr,route:Qn}=pr(q.pathname);return{matches:gr,loaderData:{},errors:{[Qn.id]:an}}}}let Mt=m||p,{dsMatches:ut,revalidatingFetchers:et}=P0(k,fe,u,f,t.history,O,Z,Tt,q,ye?[]:i,ye===!0,Y,D,ie,G,z,Mt,h,t.patchRoutesOnNavigation!=null,Re);if(te=++ue,!t.dataStrategy&&!ut.some(Ke=>Ke.shouldLoad)&&!ut.some(Ke=>Ke.route.middleware&&Ke.route.middleware.length>0)&&et.length===0){let Ke=Ee();return Pe(q,{matches:Z,loaderData:{},errors:Re&&Gn(Re[1])?{[Re[0]]:Re[1].error}:null,...Q0(Re),...Ke?{fetchers:new Map(O.fetchers)}:{}},{flushSync:xe}),{shortCircuited:!0}}if(_t){let Ke={};if(!pe){Ke.navigation=Ze;let an=Nt(Re);an!==void 0&&(Ke.actionData=an)}et.length>0&&(Ke.fetchers=mn(et)),Oe(Ke,{flushSync:xe})}et.forEach(Ke=>{Kt(Ke.key),Ke.controller&&F.set(Ke.key,Ke.controller)});let On=()=>et.forEach(Ke=>Kt(Ke.key));re&&re.signal.addEventListener("abort",On);let{loaderResults:ya,fetcherResults:xn}=await ha(ut,et,k,fe);if(k.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",On),et.forEach(Ke=>F.delete(Ke.key));let ct=Ru(ya);if(ct)return await ln(k,ct.result,!0,{replace:me}),{shortCircuited:!0};if(ct=Ru(xn),ct)return z.add(ct.key),await ln(k,ct.result,!0,{replace:me}),{shortCircuited:!0};let{loaderData:_l,errors:mr}=K0(O,Z,ya,Re,et,xn);ye&&O.errors&&(mr={...O.errors,...mr});let Sn=Ee(),va=ke(te),Ll=Sn||va||et.length>0;return{matches:Z,loaderData:_l,errors:mr,...Ll?{fetchers:new Map(O.fetchers)}:{}}}function Nt(k){if(k&&!Gn(k[1]))return{[k[0]]:k[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function mn(k){return k.forEach(q=>{let Z=O.fetchers.get(q.key),fe=No(void 0,Z?Z.data:void 0);O.fetchers.set(q.key,fe)}),new Map(O.fetchers)}async function $t(k,q,Z,fe){Kt(k);let pe=(fe&&fe.flushSync)===!0,we=m||p,Ce=Tp(O.location,O.matches,h,Z,q,fe?.relative),ge=$r(we,Ce,h),me=Dl(ge,we,Ce);if(me.active&&me.matches&&(ge=me.matches),!ge){Pt(k,q,ia(404,{pathname:Ce}),{flushSync:pe});return}let{path:ye,submission:xe,error:Re}=$0(!0,Ce,fe);if(Re){Pt(k,q,Re,{flushSync:pe});return}let Ze=t.getContext?await t.getContext():new _0,Tt=(fe&&fe.preventScrollReset)===!0;if(xe&&Cn(xe.formMethod)){await Rt(k,q,ye,ge,Ze,me.active,pe,Tt,xe);return}G.set(k,{routeId:q,path:ye}),await Me(k,q,ye,ge,Ze,me.active,pe,Tt,xe)}async function Rt(k,q,Z,fe,pe,we,Ce,ge,me){In(),G.delete(k);let ye=O.fetchers.get(k);on(k,tC(me,ye),{flushSync:Ce});let xe=new AbortController,Re=Si(t.history,Z,xe.signal,me);if(we){let Et=await Ir(fe,new URL(Re.url).pathname,Re.signal,k);if(Et.type==="aborted")return;if(Et.type==="error"){Pt(k,q,Et.error,{flushSync:Ce});return}else if(Et.matches)fe=Et.matches;else{Pt(k,q,ia(404,{pathname:Z}),{flushSync:Ce});return}}let Ze=Lu(fe,Z);if(!Ze.route.action&&!Ze.route.lazy){let Et=ia(405,{method:me.formMethod,pathname:Z,routeId:q});Pt(k,q,Et,{flushSync:Ce});return}F.set(k,xe);let Tt=ue,_t=Ci(u,f,Re,fe,Ze,i,pe),Mt=await Ve(Re,_t,pe,k),ut=Mt[Ze.route.id];if(!ut){for(let Et of _t)if(Mt[Et.route.id]){ut=Mt[Et.route.id];break}}if(Re.signal.aborted){F.get(k)===xe&&F.delete(k);return}if(ie.has(k)){if(vl(ut)||Gn(ut)){on(k,ur(void 0));return}}else{if(vl(ut))if(F.delete(k),te>Tt){on(k,ur(void 0));return}else return z.add(k),on(k,No(me)),ln(Re,ut,!1,{fetcherSubmission:me,preventScrollReset:ge});if(Gn(ut)){Pt(k,q,ut.error);return}}let et=O.navigation.location||O.location,On=Si(t.history,et,xe.signal),ya=m||p,xn=O.navigation.state!=="idle"?$r(ya,O.navigation.location,h):O.matches;Fe(xn,"Didn't find any matches after fetcher action");let ct=++ue;he.set(k,ct);let _l=No(me,ut.data);O.fetchers.set(k,_l);let{dsMatches:mr,revalidatingFetchers:Sn}=P0(On,pe,u,f,t.history,O,xn,me,et,i,!1,Y,D,ie,G,z,ya,h,t.patchRoutesOnNavigation!=null,[Ze.route.id,ut]);Sn.filter(Et=>Et.key!==k).forEach(Et=>{let Nn=Et.key,En=O.fetchers.get(Nn),hs=No(void 0,En?En.data:void 0);O.fetchers.set(Nn,hs),Kt(Nn),Et.controller&&F.set(Nn,Et.controller)}),Oe({fetchers:new Map(O.fetchers)});let va=()=>Sn.forEach(Et=>Kt(Et.key));xe.signal.addEventListener("abort",va);let{loaderResults:Ll,fetcherResults:Ke}=await ha(mr,Sn,On,pe);if(xe.signal.aborted)return;if(xe.signal.removeEventListener("abort",va),he.delete(k),F.delete(k),Sn.forEach(Et=>F.delete(Et.key)),O.fetchers.has(k)){let Et=ur(ut.data);O.fetchers.set(k,Et)}let an=Ru(Ll);if(an)return ln(On,an.result,!1,{preventScrollReset:ge});if(an=Ru(Ke),an)return z.add(an.key),ln(On,an.result,!1,{preventScrollReset:ge});let{loaderData:gr,errors:Qn}=K0(O,xn,Ll,void 0,Sn,Ke);ke(ct),O.navigation.state==="loading"&&ct>te?(Fe(Q,"Expected pending action"),re&&re.abort(),Pe(O.navigation.location,{matches:xn,loaderData:gr,errors:Qn,fetchers:new Map(O.fetchers)})):(Oe({errors:Qn,loaderData:I0(O.loaderData,gr,xn,Qn),fetchers:new Map(O.fetchers)}),Y=!1)}async function Me(k,q,Z,fe,pe,we,Ce,ge,me){let ye=O.fetchers.get(k);on(k,No(me,ye?ye.data:void 0),{flushSync:Ce});let xe=new AbortController,Re=Si(t.history,Z,xe.signal);if(we){let et=await Ir(fe,new URL(Re.url).pathname,Re.signal,k);if(et.type==="aborted")return;if(et.type==="error"){Pt(k,q,et.error,{flushSync:Ce});return}else if(et.matches)fe=et.matches;else{Pt(k,q,ia(404,{pathname:Z}),{flushSync:Ce});return}}let Ze=Lu(fe,Z);F.set(k,xe);let Tt=ue,_t=Ci(u,f,Re,fe,Ze,i,pe),ut=(await Ve(Re,_t,pe,k))[Ze.route.id];if(F.get(k)===xe&&F.delete(k),!Re.signal.aborted){if(ie.has(k)){on(k,ur(void 0));return}if(vl(ut))if(te>Tt){on(k,ur(void 0));return}else{z.add(k),await ln(Re,ut,!1,{preventScrollReset:ge});return}if(Gn(ut)){Pt(k,q,ut.error);return}on(k,ur(ut.data))}}async function ln(k,q,Z,{submission:fe,fetcherSubmission:pe,preventScrollReset:we,replace:Ce}={}){q.response.headers.has("X-Remix-Revalidate")&&(Y=!0);let ge=q.response.headers.get("Location");Fe(ge,"Expected a Location header on the redirect Response"),ge=G0(ge,new URL(k.url),h);let me=Go(O.location,ge,{_isRedirect:!0});if(l){let _t=!1;if(q.response.headers.has("X-Remix-Reload-Document"))_t=!0;else if(fc(ge)){const Mt=Nb(ge,!0);_t=Mt.origin!==a.location.origin||ca(Mt.pathname,h)==null}if(_t){Ce?a.location.replace(ge):a.location.assign(ge);return}}re=null;let ye=Ce===!0||q.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:xe,formAction:Re,formEncType:Ze}=O.navigation;!fe&&!pe&&xe&&Re&&Ze&&(fe=W0(O.navigation));let Tt=fe||pe;if(zw.has(q.response.status)&&Tt&&Cn(Tt.formMethod))await Xe(ye,me,{submission:{...Tt,formAction:ge},preventScrollReset:we||oe,enableViewTransition:Z?ce:void 0});else{let _t=ip(me,fe);await Xe(ye,me,{overrideNavigation:_t,fetcherSubmission:pe,preventScrollReset:we||oe,enableViewTransition:Z?ce:void 0})}}async function Ve(k,q,Z,fe){let pe,we={};try{pe=await Fw(y,k,q,fe,Z,!1)}catch(Ce){return q.filter(ge=>ge.shouldLoad).forEach(ge=>{we[ge.route.id]={type:"error",error:Ce}}),we}if(k.signal.aborted)return we;for(let[Ce,ge]of Object.entries(pe))if(Ww(ge)){let me=ge.result;we[Ce]={type:"redirect",response:Xw(me,k,Ce,q,h)}}else we[Ce]=await Gw(ge);return we}async function ha(k,q,Z,fe){let pe=Ve(Z,k,fe,null),we=Promise.all(q.map(async me=>{if(me.matches&&me.match&&me.request&&me.controller){let xe=(await Ve(me.request,me.matches,fe,me.key))[me.match.route.id];return{[me.key]:xe}}else return Promise.resolve({[me.key]:{type:"error",error:ia(404,{pathname:me.path})}})})),Ce=await pe,ge=(await we).reduce((me,ye)=>Object.assign(me,ye),{});return{loaderResults:Ce,fetcherResults:ge}}function In(){Y=!0,G.forEach((k,q)=>{F.has(q)&&D.add(q),Kt(q)})}function on(k,q,Z={}){O.fetchers.set(k,q),Oe({fetchers:new Map(O.fetchers)},{flushSync:(Z&&Z.flushSync)===!0})}function Pt(k,q,Z,fe={}){let pe=Pr(O.matches,q);ot(k),Oe({errors:{[pe.route.id]:Z},fetchers:new Map(O.fetchers)},{flushSync:(fe&&fe.flushSync)===!0})}function ma(k){return V.set(k,(V.get(k)||0)+1),ie.has(k)&&ie.delete(k),O.fetchers.get(k)||_w}function An(k,q){Kt(k,q?.reason),on(k,ur(null))}function ot(k){let q=O.fetchers.get(k);F.has(k)&&!(q&&q.state==="loading"&&he.has(k))&&Kt(k),G.delete(k),he.delete(k),z.delete(k),ie.delete(k),D.delete(k),O.fetchers.delete(k)}function Ra(k){let q=(V.get(k)||0)-1;q<=0?(V.delete(k),ie.add(k)):V.set(k,q),Oe({fetchers:new Map(O.fetchers)})}function Kt(k,q){let Z=F.get(k);Z&&(Z.abort(q),F.delete(k))}function nn(k){for(let q of k){let Z=ma(q),fe=ur(Z.data);O.fetchers.set(q,fe)}}function Ee(){let k=[],q=!1;for(let Z of z){let fe=O.fetchers.get(Z);Fe(fe,`Expected fetcher: ${Z}`),fe.state==="loading"&&(z.delete(Z),k.push(Z),q=!0)}return nn(k),q}function ke(k){let q=[];for(let[Z,fe]of he)if(fe<k){let pe=O.fetchers.get(Z);Fe(pe,`Expected fetcher: ${Z}`),pe.state==="loading"&&(Kt(Z),he.delete(Z),q.push(Z))}return nn(q),q.length>0}function qt(k,q){let Z=O.blockers.get(k)||Oo;return de.get(k)!==q&&de.set(k,q),Z}function ga(k){O.blockers.delete(k),de.delete(k)}function Fa(k,q){let Z=O.blockers.get(k)||Oo;Fe(Z.state==="unblocked"&&q.state==="blocked"||Z.state==="blocked"&&q.state==="blocked"||Z.state==="blocked"&&q.state==="proceeding"||Z.state==="blocked"&&q.state==="unblocked"||Z.state==="proceeding"&&q.state==="unblocked",`Invalid blocker state transition: ${Z.state} -> ${q.state}`);let fe=new Map(O.blockers);fe.set(k,q),Oe({blockers:fe})}function Kr({currentLocation:k,nextLocation:q,historyAction:Z}){if(de.size===0)return;de.size>1&&Ht(!1,"A router only supports one blocker at a time");let fe=Array.from(de.entries()),[pe,we]=fe[fe.length-1],Ce=O.blockers.get(pe);if(!(Ce&&Ce.state==="proceeding")&&we({currentLocation:k,nextLocation:q,historyAction:Z}))return pe}function pr(k){let q=ia(404,{pathname:k}),Z=m||p,{matches:fe,route:pe}=Tu(Z);return{notFoundMatches:fe,route:pe,error:q}}function Ml(k,q,Z){if(b=k,R=q,w=Z||null,!j&&O.navigation===lp){j=!0;let fe=hr(O.location,O.matches);fe!=null&&Oe({restoreScrollPosition:fe})}return()=>{b=null,R=null,w=null}}function Aa(k,q){return w&&w(k,q.map(fe=>rw(fe,O.loaderData)))||k.key}function jl(k,q){if(b&&R){let Z=Aa(k,q);b[Z]=R()}}function hr(k,q){if(b){let Z=Aa(k,q),fe=b[Z];if(typeof fe=="number")return fe}return null}function Dl(k,q,Z){if(t.patchRoutesOnNavigation)if(k){if(Object.keys(k[0].params).length>0)return{active:!0,matches:Ho(q,Z,h,!0)}}else return{active:!0,matches:Ho(q,Z,h,!0)||[]};return{active:!1,matches:null}}async function Ir(k,q,Z,fe){if(!t.patchRoutesOnNavigation)return{type:"success",matches:k};let pe=k;for(;;){let we=m==null,Ce=m||p,ge=f;try{await t.patchRoutesOnNavigation({signal:Z,path:q,matches:pe,fetcherKey:fe,patch:(xe,Re)=>{Z.aborted||q0(xe,Re,Ce,ge,u,!1)}})}catch(xe){return{type:"error",error:xe,partialMatches:pe}}finally{we&&!Z.aborted&&(p=[...p])}if(Z.aborted)return{type:"aborted"};let me=$r(Ce,q,h),ye=null;if(me){if(Object.keys(me[0].params).length===0)return{type:"success",matches:me};if(ye=Ho(Ce,q,h,!0),!(ye&&pe.length<ye.length&&zl(pe,ye.slice(0,pe.length))))return{type:"success",matches:me}}if(ye||(ye=Ho(Ce,q,h,!0)),!ye||zl(pe,ye))return{type:"success",matches:null};pe=ye}}function zl(k,q){return k.length===q.length&&k.every((Z,fe)=>Z.route.id===q[fe].route.id)}function Qr(k){f={},m=Xo(k,u,void 0,f)}function qc(k,q,Z=!1){let fe=m==null;q0(k,q,m||p,f,u,Z),fe&&(p=[...p],Oe({}))}return B={get basename(){return h},get future(){return v},get state(){return O},get routes(){return p},get window(){return a},initialize:Je,subscribe:je,enableScrollRestoration:Ml,navigate:St,fetch:$t,revalidate:Be,createHref:k=>t.history.createHref(k),encodeLocation:k=>t.history.encodeLocation(k),getFetcher:ma,resetFetcher:An,deleteFetcher:Ra,dispose:ze,getBlocker:qt,deleteBlocker:ga,patchRoutes:qc,_internalFetchControllers:F,_internalSetRoutes:Qr,_internalSetStateDoNotUseOrYouWillBreakYourApp(k){Oe(k)}},t.unstable_instrumentations&&(B=Cw(B,t.unstable_instrumentations.map(k=>k.router).filter(Boolean))),B}function Uw(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function Tp(t,a,l,i,s,u){let f,p;if(s){f=[];for(let h of a)if(f.push(h),h.route.id===s){p=h;break}}else f=a,p=a[a.length-1];let m=pc(i||".",dc(f),ca(t.pathname,l)||t.pathname,u==="path");if(i==null&&(m.search=t.search,m.hash=t.hash),(i==null||i===""||i===".")&&p){let h=eh(m.search);if(p.route.index&&!h)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!p.route.index&&h){let y=new URLSearchParams(m.search),v=y.getAll("index");y.delete("index"),v.filter(E=>E).forEach(E=>y.append("index",E));let C=y.toString();m.search=C?`?${C}`:""}}return l!=="/"&&(m.pathname=yw({basename:l,pathname:m.pathname})),Pa(m)}function $0(t,a,l){if(!l||!Uw(l))return{path:a};if(l.formMethod&&!Jw(l.formMethod))return{path:a,error:ia(405,{method:l.formMethod})};let i=()=>({path:a,error:ia(400,{type:"invalid-body"})}),u=(l.formMethod||"get").toUpperCase(),f=qb(a);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cn(u))return i();let v=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((C,[E,b])=>`${C}${E}=${b}
          `,""):String(l.body);return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:void 0,text:v}}}else if(l.formEncType==="application/json"){if(!Cn(u))return i();try{let v=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:v,text:void 0}}}catch{return i()}}}Fe(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=Op(l.formData),m=l.formData;else if(l.body instanceof FormData)p=Op(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=X0(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=X0(p)}catch{return i()}let h={formMethod:u,formAction:f,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cn(h.formMethod))return{path:a,submission:h};let y=Gr(a);return t&&y.search&&eh(y.search)&&p.append("index",""),y.search=`?${p}`,{path:Pa(y),submission:h}}function P0(t,a,l,i,s,u,f,p,m,h,y,v,C,E,b,w,R,j,L,M){let _=M?Gn(M[1])?M[1].error:M[1].data:void 0,N=s.createURL(u.location),B=s.createURL(m),O;if(y&&u.errors){let P=Object.keys(u.errors)[0];O=f.findIndex(Y=>Y.route.id===P)}else if(M&&Gn(M[1])){let P=M[0];O=f.findIndex(Y=>Y.route.id===P)-1}let Q=M?M[1].statusCode:void 0,oe=Q&&Q>=400,re={currentUrl:N,currentParams:u.matches[0]?.params||{},nextUrl:B,nextParams:f[0].params,...p,actionResult:_,actionStatus:Q},ce=Wp(f.map(P=>P.route.path)),A=f.map((P,Y)=>{let{route:D}=P,F=null;if(O!=null&&Y>O?F=!1:D.lazy?F=!0:Jp(D)?y?F=Rp(D,u.loaderData,u.errors):kw(u.loaderData,u.matches[Y],P)&&(F=!0):F=!1,F!==null)return Ap(l,i,t,ce,P,h,a,F);let ue=oe?!1:v||N.pathname+N.search===B.pathname+B.search||N.search!==B.search||Hw(u.matches[Y],P),te={...re,defaultShouldRevalidate:ue},he=Xu(P,te);return Ap(l,i,t,ce,P,h,a,he,te)}),ee=[];return b.forEach((P,Y)=>{if(y||!f.some(V=>V.route.id===P.routeId)||E.has(Y))return;let D=u.fetchers.get(Y),F=D&&D.state!=="idle"&&D.data===void 0,ue=$r(R,P.path,j);if(!ue){if(L&&F)return;ee.push({key:Y,routeId:P.routeId,path:P.path,matches:null,match:null,request:null,controller:null});return}if(w.has(Y))return;let te=Lu(ue,P.path),he=new AbortController,z=Si(s,P.path,he.signal),G=null;if(C.has(Y))C.delete(Y),G=Ci(l,i,z,ue,te,h,a);else if(F)v&&(G=Ci(l,i,z,ue,te,h,a));else{let V={...re,defaultShouldRevalidate:oe?!1:v};Xu(te,V)&&(G=Ci(l,i,z,ue,te,h,a,V))}G&&ee.push({key:Y,routeId:P.routeId,path:P.path,matches:G,match:te,request:z,controller:he})}),{dsMatches:A,revalidatingFetchers:ee}}function Jp(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function Rp(t,a,l){if(t.lazy)return!0;if(!Jp(t))return!1;let i=a!=null&&t.id in a,s=l!=null&&l[t.id]!==void 0;return!i&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!i&&!s}function kw(t,a,l){let i=!a||l.route.id!==a.route.id,s=!t.hasOwnProperty(l.route.id);return i||s}function Hw(t,a){let l=t.route.path;return t.pathname!==a.pathname||l!=null&&l.endsWith("*")&&t.params["*"]!==a.params["*"]}function Xu(t,a){if(t.route.shouldRevalidate){let l=t.route.shouldRevalidate(a);if(typeof l=="boolean")return l}return a.defaultShouldRevalidate}function q0(t,a,l,i,s,u){let f;if(t){let h=i[t];Fe(h,`No route found to patch children into: routeId = ${t}`),h.children||(h.children=[]),f=h.children}else f=l;let p=[],m=[];if(a.forEach(h=>{let y=f.find(v=>Ub(h,v));y?m.push({existingRoute:y,newRoute:h}):p.push(h)}),p.length>0){let h=Xo(p,s,[t||"_","patch",String(f?.length||"0")],i);f.push(...h)}if(u&&m.length>0)for(let h=0;h<m.length;h++){let{existingRoute:y,newRoute:v}=m[h],C=y,[E]=Xo([v],s,[],{},!0);Object.assign(C,{element:E.element?E.element:C.element,errorElement:E.errorElement?E.errorElement:C.errorElement,hydrateFallbackElement:E.hydrateFallbackElement?E.hydrateFallbackElement:C.hydrateFallbackElement})}}function Ub(t,a){return"id"in t&&"id"in a&&t.id===a.id?!0:t.index===a.index&&t.path===a.path&&t.caseSensitive===a.caseSensitive?(!t.children||t.children.length===0)&&(!a.children||a.children.length===0)?!0:t.children.every((l,i)=>a.children?.some(s=>Ub(l,s))):!1}var F0=new WeakMap,kb=({key:t,route:a,manifest:l,mapRouteProperties:i})=>{let s=l[a.id];if(Fe(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let u=s.lazy[t];if(!u)return;let f=F0.get(s);f||(f={},F0.set(s,f));let p=f[t];if(p)return p;let m=(async()=>{let h=ew(t),v=s[t]!==void 0&&t!=="hasErrorBoundary";if(h)Ht(!h,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),f[t]=Promise.resolve();else if(v)Ht(!1,`Route "${s.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let C=await u();C!=null&&(Object.assign(s,{[t]:C}),Object.assign(s,i(s)))}typeof s.lazy=="object"&&(s.lazy[t]=void 0,Object.values(s.lazy).every(C=>C===void 0)&&(s.lazy=void 0))})();return f[t]=m,m},V0=new WeakMap;function $w(t,a,l,i,s){let u=l[t.id];if(Fe(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let y=V0.get(u);if(y)return{lazyRoutePromise:y,lazyHandlerPromise:y};let v=(async()=>{Fe(typeof t.lazy=="function","No lazy route function found");let C=await t.lazy(),E={};for(let b in C){let w=C[b];if(w===void 0)continue;let R=nw(b),L=u[b]!==void 0&&b!=="hasErrorBoundary";R?Ht(!R,"Route property "+b+" is not a supported property to be returned from a lazy route function. This property will be ignored."):L?Ht(!L,`Route "${u.id}" has a static property "${b}" defined but its lazy function is also returning a value for this property. The lazy route property "${b}" will be ignored.`):E[b]=w}Object.assign(u,E),Object.assign(u,{...i(u),lazy:void 0})})();return V0.set(u,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let f=Object.keys(t.lazy),p=[],m;for(let y of f){if(s&&s.includes(y))continue;let v=kb({key:y,route:t,manifest:l,mapRouteProperties:i});v&&(p.push(v),y===a&&(m=v))}let h=p.length>0?Promise.all(p).then(()=>{}):void 0;return h?.catch(()=>{}),m?.catch(()=>{}),{lazyRoutePromise:h,lazyHandlerPromise:m}}async function Y0(t){let a=t.matches.filter(s=>s.shouldLoad),l={};return(await Promise.all(a.map(s=>s.resolve()))).forEach((s,u)=>{l[a[u].route.id]=s}),l}async function Pw(t){return t.matches.some(a=>a.route.middleware)?Hb(t,()=>Y0(t)):Y0(t)}function Hb(t,a){return qw(t,a,i=>i,Qw,l);function l(i,s,u){if(u)return Promise.resolve(Object.assign(u.value,{[s]:{type:"error",result:i}}));{let{matches:f}=t,p=Math.min(Math.max(f.findIndex(h=>h.route.id===s),0),Math.max(f.findIndex(h=>h.unstable_shouldCallHandler()),0)),m=Pr(f,f[p].route.id).route.id;return Promise.resolve({[m]:{type:"error",result:i}})}}}async function qw(t,a,l,i,s){let{matches:u,request:f,params:p,context:m,unstable_pattern:h}=t,y=u.flatMap(C=>C.route.middleware?C.route.middleware.map(E=>[C.route.id,E]):[]);return await $b({request:f,params:p,context:m,unstable_pattern:h},y,a,l,i,s)}async function $b(t,a,l,i,s,u,f=0){let{request:p}=t;if(p.signal.aborted)throw p.signal.reason??new Error(`Request aborted: ${p.method} ${p.url}`);let m=a[f];if(!m)return await l();let[h,y]=m,v,C=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await $b(t,a,l,i,s,u,f+1)},v.value}catch(E){return v={value:await u(E,h,v)},v.value}};try{let E=await y(t,C),b=E!=null?i(E):void 0;return s(b)?b:v?b??v.value:(v={value:await C()},v.value)}catch(E){return await u(E,h,v)}}function Pb(t,a,l,i,s){let u=kb({key:"middleware",route:i.route,manifest:a,mapRouteProperties:t}),f=$w(i.route,Cn(l.method)?"action":"loader",a,t,s);return{middleware:u,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function Ap(t,a,l,i,s,u,f,p,m=null){let h=!1,y=Pb(t,a,l,s,u);return{...s,_lazyPromises:y,shouldLoad:p,unstable_shouldRevalidateArgs:m,unstable_shouldCallHandler(v){return h=!0,m?typeof v=="boolean"?Xu(s,{...m,defaultShouldRevalidate:v}):Xu(s,m):p},resolve(v){let{lazy:C,loader:E,middleware:b}=s.route,w=h||p||v&&!Cn(l.method)&&(C||E),R=b&&b.length>0&&!E&&!C;return w&&(Cn(l.method)||!R)?Vw({request:l,unstable_pattern:i,match:s,lazyHandlerPromise:y?.handler,lazyRoutePromise:y?.route,handlerOverride:v,scopedContext:f}):Promise.resolve({type:"data",result:void 0})}}}function Ci(t,a,l,i,s,u,f,p=null){return i.map(m=>m.route.id!==s.route.id?{...m,shouldLoad:!1,unstable_shouldRevalidateArgs:p,unstable_shouldCallHandler:()=>!1,_lazyPromises:Pb(t,a,l,m,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Ap(t,a,l,Wp(i.map(h=>h.route.path)),m,u,f,!0,p))}async function Fw(t,a,l,i,s,u){l.some(h=>h._lazyPromises?.middleware)&&await Promise.all(l.map(h=>h._lazyPromises?.middleware));let f={request:a,unstable_pattern:Wp(l.map(h=>h.route.path)),params:l[0].params,context:s,matches:l},m=await t({...f,fetcherKey:i,runClientMiddleware:h=>{let y=f;return Hb(y,()=>h({...y,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(l.flatMap(h=>[h._lazyPromises?.handler,h._lazyPromises?.route]))}catch{}return m}async function Vw({request:t,unstable_pattern:a,match:l,lazyHandlerPromise:i,lazyRoutePromise:s,handlerOverride:u,scopedContext:f}){let p,m,h=Cn(t.method),y=h?"action":"loader",v=C=>{let E,b=new Promise((j,L)=>E=L);m=()=>E(),t.signal.addEventListener("abort",m);let w=j=>typeof C!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${y}" [routeId: ${l.route.id}]`)):C({request:t,unstable_pattern:a,params:l.params,context:f},...j!==void 0?[j]:[]),R=(async()=>{try{return{type:"data",result:await(u?u(L=>w(L)):w())}}catch(j){return{type:"error",result:j}}})();return Promise.race([R,b])};try{let C=h?l.route.action:l.route.loader;if(i||s)if(C){let E,[b]=await Promise.all([v(C).catch(w=>{E=w}),i,s]);if(E!==void 0)throw E;p=b}else{await i;let E=h?l.route.action:l.route.loader;if(E)[p]=await Promise.all([v(E),s]);else if(y==="action"){let b=new URL(t.url),w=b.pathname+b.search;throw ia(405,{method:t.method,pathname:w,routeId:l.route.id})}else return{type:"data",result:void 0}}else if(C)p=await v(C);else{let E=new URL(t.url),b=E.pathname+E.search;throw ia(404,{pathname:b})}}catch(C){return{type:"error",result:C}}finally{m&&t.signal.removeEventListener("abort",m)}return p}async function Yw(t){let a=t.headers.get("Content-Type");return a&&/\bapplication\/json\b/.test(a)?t.body==null?null:t.json():t.text()}async function Gw(t){let{result:a,type:l}=t;if(Fb(a)){let i;try{i=await Yw(a)}catch(s){return{type:"error",error:s}}return l==="error"?{type:"error",error:new Gu(a.status,a.statusText,i),statusCode:a.status,headers:a.headers}:{type:"data",data:i,statusCode:a.status,headers:a.headers}}return l==="error"?Z0(a)?a.data instanceof Error?{type:"error",error:a.data,statusCode:a.init?.status,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"error",error:new Gu(a.init?.status||500,void 0,a.data),statusCode:Ko(a)?a.status:void 0,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"error",error:a,statusCode:Ko(a)?a.status:void 0}:Z0(a)?{type:"data",data:a.data,statusCode:a.init?.status,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"data",data:a}}function Xw(t,a,l,i,s){let u=t.headers.get("Location");if(Fe(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!fc(u)){let f=i.slice(0,i.findIndex(p=>p.route.id===l)+1);u=Tp(new URL(a.url),f,s,u),t.headers.set("Location",u)}return t}function G0(t,a,l){if(fc(t)){let i=t,s=i.startsWith("//")?new URL(a.protocol+i):new URL(i),u=ca(s.pathname,l)!=null;if(s.origin===a.origin&&u)return s.pathname+s.search+s.hash}return t}function Si(t,a,l,i){let s=t.createURL(qb(a)).toString(),u={signal:l};if(i&&Cn(i.formMethod)){let{formMethod:f,formEncType:p}=i;u.method=f.toUpperCase(),p==="application/json"?(u.headers=new Headers({"Content-Type":p}),u.body=JSON.stringify(i.json)):p==="text/plain"?u.body=i.text:p==="application/x-www-form-urlencoded"&&i.formData?u.body=Op(i.formData):u.body=i.formData}return new Request(s,u)}function Op(t){let a=new URLSearchParams;for(let[l,i]of t.entries())a.append(l,typeof i=="string"?i:i.name);return a}function X0(t){let a=new FormData;for(let[l,i]of t.entries())a.append(l,i);return a}function Kw(t,a,l,i=!1,s=!1){let u={},f=null,p,m=!1,h={},y=l&&Gn(l[1])?l[1].error:void 0;return t.forEach(v=>{if(!(v.route.id in a))return;let C=v.route.id,E=a[C];if(Fe(!vl(E),"Cannot handle redirect results in processLoaderData"),Gn(E)){let b=E.error;if(y!==void 0&&(b=y,y=void 0),f=f||{},s)f[C]=b;else{let w=Pr(t,C);f[w.route.id]==null&&(f[w.route.id]=b)}i||(u[C]=Bb),m||(m=!0,p=Ko(E.error)?E.error.status:500),E.headers&&(h[C]=E.headers)}else u[C]=E.data,E.statusCode&&E.statusCode!==200&&!m&&(p=E.statusCode),E.headers&&(h[C]=E.headers)}),y!==void 0&&l&&(f={[l[0]]:y},l[2]&&(u[l[2]]=void 0)),{loaderData:u,errors:f,statusCode:p||200,loaderHeaders:h}}function K0(t,a,l,i,s,u){let{loaderData:f,errors:p}=Kw(a,l,i);return s.filter(m=>!m.matches||m.matches.some(h=>h.shouldLoad)).forEach(m=>{let{key:h,match:y,controller:v}=m;if(v&&v.signal.aborted)return;let C=u[h];if(Fe(C,"Did not find corresponding fetcher result"),Gn(C)){let E=Pr(t.matches,y?.route.id);p&&p[E.route.id]||(p={...p,[E.route.id]:C.error}),t.fetchers.delete(h)}else if(vl(C))Fe(!1,"Unhandled fetcher revalidation redirect");else{let E=ur(C.data);t.fetchers.set(h,E)}}),{loaderData:f,errors:p}}function I0(t,a,l,i){let s=Object.entries(a).filter(([,u])=>u!==Bb).reduce((u,[f,p])=>(u[f]=p,u),{});for(let u of l){let f=u.route.id;if(!a.hasOwnProperty(f)&&t.hasOwnProperty(f)&&u.route.loader&&(s[f]=t[f]),i&&i.hasOwnProperty(f))break}return s}function Q0(t){return t?Gn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Pr(t,a){return(a?t.slice(0,t.findIndex(i=>i.route.id===a)+1):[...t]).reverse().find(i=>i.route.hasErrorBoundary===!0)||t[0]}function Tu(t){let a=t.length===1?t[0]:t.find(l=>l.index||!l.path||l.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function ia(t,{pathname:a,routeId:l,method:i,type:s,message:u}={}){let f="Unknown Server Error",p="Unknown @remix-run/router error";return t===400?(f="Bad Request",i&&a&&l?p=`You made a ${i} request to "${a}" but did not provide a \`loader\` for route "${l}", so there is no way to handle the request.`:s==="invalid-body"&&(p="Unable to encode submission body")):t===403?(f="Forbidden",p=`Route "${l}" does not match URL "${a}"`):t===404?(f="Not Found",p=`No route matches URL "${a}"`):t===405&&(f="Method Not Allowed",i&&a&&l?p=`You made a ${i.toUpperCase()} request to "${a}" but did not provide an \`action\` for route "${l}", so there is no way to handle the request.`:i&&(p=`Invalid request method "${i.toUpperCase()}"`)),new Gu(t||500,f,new Error(p),!0)}function Ru(t){let a=Object.entries(t);for(let l=a.length-1;l>=0;l--){let[i,s]=a[l];if(vl(s))return{key:i,result:s}}}function qb(t){let a=typeof t=="string"?Gr(t):t;return Pa({...a,hash:""})}function Iw(t,a){return t.pathname!==a.pathname||t.search!==a.search?!1:t.hash===""?a.hash!=="":t.hash===a.hash?!0:a.hash!==""}function Qw(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([a,l])=>typeof a=="string"&&Zw(l))}function Zw(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function Ww(t){return Fb(t.result)&&Dw.has(t.result.status)}function Gn(t){return t.type==="error"}function vl(t){return(t&&t.type)==="redirect"}function Z0(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function Fb(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function Jw(t){return jw.has(t.toUpperCase())}function Cn(t){return Nw.has(t.toUpperCase())}function eh(t){return new URLSearchParams(t).getAll("index").some(a=>a==="")}function Lu(t,a){let l=typeof a=="string"?Gr(a).search:a.search;if(t[t.length-1].route.index&&eh(l||""))return t[t.length-1];let i=Db(t);return i[i.length-1]}function W0(t){let{formMethod:a,formAction:l,formEncType:i,text:s,formData:u,json:f}=t;if(!(!a||!l||!i)){if(s!=null)return{formMethod:a,formAction:l,formEncType:i,formData:void 0,json:void 0,text:s};if(u!=null)return{formMethod:a,formAction:l,formEncType:i,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:a,formAction:l,formEncType:i,formData:void 0,json:f,text:void 0}}}function ip(t,a){return a?{state:"loading",location:t,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function eC(t,a){return{state:"submitting",location:t,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function No(t,a){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function tC(t,a){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:a?a.data:void 0}}function ur(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function nC(t,a){try{let l=t.sessionStorage.getItem(Lb);if(l){let i=JSON.parse(l);for(let[s,u]of Object.entries(i||{}))u&&Array.isArray(u)&&a.set(s,new Set(u||[]))}}catch{}}function aC(t,a){if(a.size>0){let l={};for(let[i,s]of a)l[i]=[...s];try{t.sessionStorage.setItem(Lb,JSON.stringify(l))}catch(i){Ht(!1,`Failed to save applied view transitions in sessionStorage (${i}).`)}}}function rC(){let t,a,l=new Promise((i,s)=>{t=async u=>{i(u);try{await l}catch{}},a=async u=>{s(u);try{await l}catch{}}});return{promise:l,resolve:t,reject:a}}var Ol=S.createContext(null);Ol.displayName="DataRouter";var ts=S.createContext(null);ts.displayName="DataRouterState";S.createContext(!1);var th=S.createContext({isTransitioning:!1});th.displayName="ViewTransition";var Vb=S.createContext(new Map);Vb.displayName="Fetchers";var lC=S.createContext(null);lC.displayName="Await";var Ca=S.createContext(null);Ca.displayName="Navigation";var hc=S.createContext(null);hc.displayName="Location";var fa=S.createContext({outlet:null,matches:[],isDataRoute:!1});fa.displayName="Route";var nh=S.createContext(null);nh.displayName="RouteError";function iC(t,{relative:a}={}){Fe(ji(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:i}=S.useContext(Ca),{hash:s,pathname:u,search:f}=ns(t,{relative:a}),p=u;return l!=="/"&&(p=u==="/"?l:Ha([l,u])),i.createHref({pathname:p,search:f,hash:s})}function ji(){return S.useContext(hc)!=null}function Xr(){return Fe(ji(),"useLocation() may be used only in the context of a <Router> component."),S.useContext(hc).location}var Yb="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Gb(t){S.useContext(Ca).static||S.useLayoutEffect(t)}function Di(){let{isDataRoute:t}=S.useContext(fa);return t?EC():oC()}function oC(){Fe(ji(),"useNavigate() may be used only in the context of a <Router> component.");let t=S.useContext(Ol),{basename:a,navigator:l}=S.useContext(Ca),{matches:i}=S.useContext(fa),{pathname:s}=Xr(),u=JSON.stringify(dc(i)),f=S.useRef(!1);return Gb(()=>{f.current=!0}),S.useCallback((m,h={})=>{if(Ht(f.current,Yb),!f.current)return;if(typeof m=="number"){l.go(m);return}let y=pc(m,JSON.parse(u),s,h.relative==="path");t==null&&a!=="/"&&(y.pathname=y.pathname==="/"?a:Ha([a,y.pathname])),(h.replace?l.replace:l.push)(y,h.state,h)},[a,l,u,s,t])}var sC=S.createContext(null);function uC(t){let a=S.useContext(fa).outlet;return S.useMemo(()=>a&&S.createElement(sC.Provider,{value:t},a),[a,t])}function cC(){let{matches:t}=S.useContext(fa),a=t[t.length-1];return a?a.params:{}}function ns(t,{relative:a}={}){let{matches:l}=S.useContext(fa),{pathname:i}=Xr(),s=JSON.stringify(dc(l));return S.useMemo(()=>pc(t,JSON.parse(s),i,a==="path"),[t,s,i,a])}function fC(t,a,l,i,s){Fe(ji(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=S.useContext(Ca),{matches:f}=S.useContext(fa),p=f[f.length-1],m=p?p.params:{},h=p?p.pathname:"/",y=p?p.pathnameBase:"/",v=p&&p.route;{let L=v&&v.path||"";Xb(h,!v||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${L}">) 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.
          
          Please change the parent <Route path="${L}"> to <Route path="${L==="/"?"*":`${L}/*`}">.`)}let C=Xr(),E;E=C;let b=E.pathname||"/",w=b;if(y!=="/"){let L=y.replace(/^\//,"").split("/");w="/"+b.replace(/^\//,"").split("/").slice(L.length).join("/")}let R=$r(t,{pathname:w});return Ht(v||R!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Ht(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),gC(R&&R.map(L=>Object.assign({},L,{params:Object.assign({},m,L.params),pathname:Ha([y,u.encodeLocation?u.encodeLocation(L.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?y:Ha([y,u.encodeLocation?u.encodeLocation(L.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),f,l,i,s)}function dC(){let t=SC(),a=Ko(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),l=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},f=null;return console.error("Error handled by React Router default ErrorBoundary:",t),f=S.createElement(S.Fragment,null,S.createElement("p",null,"💿 Hey developer 👋"),S.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",S.createElement("code",{style:u},"ErrorBoundary")," or"," ",S.createElement("code",{style:u},"errorElement")," prop on your route.")),S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},a),l?S.createElement("pre",{style:s},l):null,f)}var pC=S.createElement(dC,null),hC=class extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,a){return a.location!==t.location||a.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:a.error,location:a.location,revalidation:t.revalidation||a.revalidation}}componentDidCatch(t,a){this.props.onError?this.props.onError(t,a):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?S.createElement(fa.Provider,{value:this.props.routeContext},S.createElement(nh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function mC({routeContext:t,match:a,children:l}){let i=S.useContext(Ol);return i&&i.static&&i.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=a.route.id),S.createElement(fa.Provider,{value:t},l)}function gC(t,a=[],l=null,i=null,s=null){if(t==null){if(!l)return null;if(l.errors)t=l.matches;else if(a.length===0&&!l.initialized&&l.matches.length>0)t=l.matches;else return null}let u=t,f=l?.errors;if(f!=null){let y=u.findIndex(v=>v.route.id&&f?.[v.route.id]!==void 0);Fe(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,y+1))}let p=!1,m=-1;if(l)for(let y=0;y<u.length;y++){let v=u[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(m=y),v.route.id){let{loaderData:C,errors:E}=l,b=v.route.loader&&!C.hasOwnProperty(v.route.id)&&(!E||E[v.route.id]===void 0);if(v.route.lazy||b){p=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}let h=l&&i?(y,v)=>{i(y,{location:l.location,params:l.matches?.[0]?.params??{},errorInfo:v})}:void 0;return u.reduceRight((y,v,C)=>{let E,b=!1,w=null,R=null;l&&(E=f&&v.route.id?f[v.route.id]:void 0,w=v.route.errorElement||pC,p&&(m<0&&C===0?(Xb("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,R=null):m===C&&(b=!0,R=v.route.hydrateFallbackElement||null)));let j=a.concat(u.slice(0,C+1)),L=()=>{let M;return E?M=w:b?M=R:v.route.Component?M=S.createElement(v.route.Component,null):v.route.element?M=v.route.element:M=y,S.createElement(mC,{match:v,routeContext:{outlet:y,matches:j,isDataRoute:l!=null},children:M})};return l&&(v.route.ErrorBoundary||v.route.errorElement||C===0)?S.createElement(hC,{location:l.location,revalidation:l.revalidation,component:w,error:E,children:L(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:h}):L()},null)}function ah(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yC(t){let a=S.useContext(Ol);return Fe(a,ah(t)),a}function vC(t){let a=S.useContext(ts);return Fe(a,ah(t)),a}function bC(t){let a=S.useContext(fa);return Fe(a,ah(t)),a}function rh(t){let a=bC(t),l=a.matches[a.matches.length-1];return Fe(l.route.id,`${t} can only be used on routes that contain a unique "id"`),l.route.id}function xC(){return rh("useRouteId")}function SC(){let t=S.useContext(nh),a=vC("useRouteError"),l=rh("useRouteError");return t!==void 0?t:a.errors?.[l]}function EC(){let{router:t}=yC("useNavigate"),a=rh("useNavigate"),l=S.useRef(!1);return Gb(()=>{l.current=!0}),S.useCallback(async(s,u={})=>{Ht(l.current,Yb),l.current&&(typeof s=="number"?t.navigate(s):await t.navigate(s,{fromRouteId:a,...u}))},[t,a])}var J0={};function Xb(t,a,l){!a&&!J0[t]&&(J0[t]=!0,Ht(!1,l))}var ev={};function tv(t,a){!t&&!ev[a]&&(ev[a]=!0,console.warn(a))}function wC(t){let a={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&Ht(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(a,{element:S.createElement(t.Component),Component:void 0})),t.HydrateFallback&&(t.hydrateFallbackElement&&Ht(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(a,{hydrateFallbackElement:S.createElement(t.HydrateFallback),HydrateFallback:void 0})),t.ErrorBoundary&&(t.errorElement&&Ht(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(a,{errorElement:S.createElement(t.ErrorBoundary),ErrorBoundary:void 0})),a}var CC=["HydrateFallback","hydrateFallbackElement"],TC=class{constructor(){this.status="pending",this.promise=new Promise((t,a)=>{this.resolve=l=>{this.status==="pending"&&(this.status="resolved",t(l))},this.reject=l=>{this.status==="pending"&&(this.status="rejected",a(l))}})}};function RC({router:t,flushSync:a,unstable_onError:l}){let[i,s]=S.useState(t.state),[u,f]=S.useState(),[p,m]=S.useState({isTransitioning:!1}),[h,y]=S.useState(),[v,C]=S.useState(),[E,b]=S.useState(),w=S.useRef(new Map),R=S.useCallback(N=>{s(B=>(N.errors&&l&&Object.entries(N.errors).forEach(([O,Q])=>{B.errors?.[O]!==Q&&l(Q,{location:N.location,params:N.matches[0]?.params??{}})}),N))},[l]),j=S.useCallback((N,{deletedFetchers:B,flushSync:O,viewTransitionOpts:Q})=>{N.fetchers.forEach((re,ce)=>{re.data!==void 0&&w.current.set(ce,re.data)}),B.forEach(re=>w.current.delete(re)),tv(O===!1||a!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let oe=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(tv(Q==null||oe,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!Q||!oe){a&&O?a(()=>R(N)):S.startTransition(()=>R(N));return}if(a&&O){a(()=>{v&&(h&&h.resolve(),v.skipTransition()),m({isTransitioning:!0,flushSync:!0,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})});let re=t.window.document.startViewTransition(()=>{a(()=>R(N))});re.finished.finally(()=>{a(()=>{y(void 0),C(void 0),f(void 0),m({isTransitioning:!1})})}),a(()=>C(re));return}v?(h&&h.resolve(),v.skipTransition(),b({state:N,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation})):(f(N),m({isTransitioning:!0,flushSync:!1,currentLocation:Q.currentLocation,nextLocation:Q.nextLocation}))},[t.window,a,v,h,R]);S.useLayoutEffect(()=>t.subscribe(j),[t,j]),S.useEffect(()=>{p.isTransitioning&&!p.flushSync&&y(new TC)},[p]),S.useEffect(()=>{if(h&&u&&t.window){let N=u,B=h.promise,O=t.window.document.startViewTransition(async()=>{S.startTransition(()=>R(N)),await B});O.finished.finally(()=>{y(void 0),C(void 0),f(void 0),m({isTransitioning:!1})}),C(O)}},[u,h,t.window,R]),S.useEffect(()=>{h&&u&&i.location.key===u.location.key&&h.resolve()},[h,v,i.location,u]),S.useEffect(()=>{!p.isTransitioning&&E&&(f(E.state),m({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),b(void 0))},[p.isTransitioning,E]);let L=S.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:N=>t.navigate(N),push:(N,B,O)=>t.navigate(N,{state:B,preventScrollReset:O?.preventScrollReset}),replace:(N,B,O)=>t.navigate(N,{replace:!0,state:B,preventScrollReset:O?.preventScrollReset})}),[t]),M=t.basename||"/",_=S.useMemo(()=>({router:t,navigator:L,static:!1,basename:M,unstable_onError:l}),[t,L,M,l]);return S.createElement(S.Fragment,null,S.createElement(Ol.Provider,{value:_},S.createElement(ts.Provider,{value:i},S.createElement(Vb.Provider,{value:w.current},S.createElement(th.Provider,{value:p},S.createElement(MC,{basename:M,location:i.location,navigationType:i.historyAction,navigator:L},S.createElement(AC,{routes:t.routes,future:t.future,state:i,unstable_onError:l})))))),null)}var AC=S.memo(OC);function OC({routes:t,future:a,state:l,unstable_onError:i}){return fC(t,void 0,l,i,a)}function Kb({to:t,replace:a,state:l,relative:i}){Fe(ji(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=S.useContext(Ca);Ht(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=S.useContext(fa),{pathname:f}=Xr(),p=Di(),m=pc(t,dc(u),f,i==="path"),h=JSON.stringify(m);return S.useEffect(()=>{p(JSON.parse(h),{replace:a,state:l,relative:i})},[p,h,i,a,l]),null}function NC(t){return uC(t.context)}function MC({basename:t="/",children:a=null,location:l,navigationType:i="POP",navigator:s,static:u=!1}){Fe(!ji(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),p=S.useMemo(()=>({basename:f,navigator:s,static:u,future:{}}),[f,s,u]);typeof l=="string"&&(l=Gr(l));let{pathname:m="/",search:h="",hash:y="",state:v=null,key:C="default"}=l,E=S.useMemo(()=>{let b=ca(m,f);return b==null?null:{location:{pathname:b,search:h,hash:y,state:v,key:C},navigationType:i}},[f,m,h,y,v,C,i]);return Ht(E!=null,`<Router basename="${f}"> is not able to match the URL "${m}${h}${y}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:S.createElement(Ca.Provider,{value:p},S.createElement(hc.Provider,{children:a,value:E}))}var Bu="get",Uu="application/x-www-form-urlencoded";function mc(t){return t!=null&&typeof t.tagName=="string"}function jC(t){return mc(t)&&t.tagName.toLowerCase()==="button"}function DC(t){return mc(t)&&t.tagName.toLowerCase()==="form"}function zC(t){return mc(t)&&t.tagName.toLowerCase()==="input"}function _C(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function LC(t,a){return t.button===0&&(!a||a==="_self")&&!_C(t)}var Au=null;function BC(){if(Au===null)try{new FormData(document.createElement("form"),0),Au=!1}catch{Au=!0}return Au}var UC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function op(t){return t!=null&&!UC.has(t)?(Ht(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Uu}"`),null):t}function kC(t,a){let l,i,s,u,f;if(DC(t)){let p=t.getAttribute("action");i=p?ca(p,a):null,l=t.getAttribute("method")||Bu,s=op(t.getAttribute("enctype"))||Uu,u=new FormData(t)}else if(jC(t)||zC(t)&&(t.type==="submit"||t.type==="image")){let p=t.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||p.getAttribute("action");if(i=m?ca(m,a):null,l=t.getAttribute("formmethod")||p.getAttribute("method")||Bu,s=op(t.getAttribute("formenctype"))||op(p.getAttribute("enctype"))||Uu,u=new FormData(p,t),!BC()){let{name:h,type:y,value:v}=t;if(y==="image"){let C=h?`${h}.`:"";u.append(`${C}x`,"0"),u.append(`${C}y`,"0")}else h&&u.append(h,v)}}else{if(mc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Bu,i=null,s=Uu,f=t}return u&&s==="text/plain"&&(f=u,u=void 0),{action:i,method:l.toLowerCase(),encType:s,formData:u,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function lh(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function HC(t,a,l){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname==="/"?i.pathname=`_root.${l}`:a&&ca(i.pathname,a)==="/"?i.pathname=`${a.replace(/\/$/,"")}/_root.${l}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${l}`,i}async function $C(t,a){if(t.id in a)return a[t.id];try{let l=await import(t.module);return a[t.id]=l,l}catch(l){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function PC(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function qC(t,a,l){let i=await Promise.all(t.map(async s=>{let u=a.routes[s.route.id];if(u){let f=await $C(u,l);return f.links?f.links():[]}return[]}));return GC(i.flat(1).filter(PC).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function nv(t,a,l,i,s,u){let f=(m,h)=>l[h]?m.route.id!==l[h].route.id:!0,p=(m,h)=>l[h].pathname!==m.pathname||l[h].route.path?.endsWith("*")&&l[h].params["*"]!==m.params["*"];return u==="assets"?a.filter((m,h)=>f(m,h)||p(m,h)):u==="data"?a.filter((m,h)=>{let y=i.routes[m.route.id];if(!y||!y.hasLoader)return!1;if(f(m,h)||p(m,h))return!0;if(m.route.shouldRevalidate){let v=m.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:l[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function FC(t,a,{includeHydrateFallback:l}={}){return VC(t.map(i=>{let s=a.routes[i.route.id];if(!s)return[];let u=[s.module];return s.clientActionModule&&(u=u.concat(s.clientActionModule)),s.clientLoaderModule&&(u=u.concat(s.clientLoaderModule)),l&&s.hydrateFallbackModule&&(u=u.concat(s.hydrateFallbackModule)),s.imports&&(u=u.concat(s.imports)),u}).flat(1))}function VC(t){return[...new Set(t)]}function YC(t){let a={},l=Object.keys(t).sort();for(let i of l)a[i]=t[i];return a}function GC(t,a){let l=new Set;return new Set(a),t.reduce((i,s)=>{let u=JSON.stringify(YC(s));return l.has(u)||(l.add(u),i.push({key:u,link:s})),i},[])}function Ib(){let t=S.useContext(Ol);return lh(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function XC(){let t=S.useContext(ts);return lh(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var ih=S.createContext(void 0);ih.displayName="FrameworkContext";function Qb(){let t=S.useContext(ih);return lh(t,"You must render this element inside a <HydratedRouter> element"),t}function KC(t,a){let l=S.useContext(ih),[i,s]=S.useState(!1),[u,f]=S.useState(!1),{onFocus:p,onBlur:m,onMouseEnter:h,onMouseLeave:y,onTouchStart:v}=a,C=S.useRef(null);S.useEffect(()=>{if(t==="render"&&f(!0),t==="viewport"){let w=j=>{j.forEach(L=>{f(L.isIntersecting)})},R=new IntersectionObserver(w,{threshold:.5});return C.current&&R.observe(C.current),()=>{R.disconnect()}}},[t]),S.useEffect(()=>{if(i){let w=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(w)}}},[i]);let E=()=>{s(!0)},b=()=>{s(!1),f(!1)};return l?t!=="intent"?[u,C,{}]:[u,C,{onFocus:Mo(p,E),onBlur:Mo(m,b),onMouseEnter:Mo(h,E),onMouseLeave:Mo(y,b),onTouchStart:Mo(v,E)}]:[!1,C,{}]}function Mo(t,a){return l=>{t&&t(l),l.defaultPrevented||a(l)}}function IC({page:t,...a}){let{router:l}=Ib(),i=S.useMemo(()=>$r(l.routes,t,l.basename),[l.routes,t,l.basename]);return i?S.createElement(ZC,{page:t,matches:i,...a}):null}function QC(t){let{manifest:a,routeModules:l}=Qb(),[i,s]=S.useState([]);return S.useEffect(()=>{let u=!1;return qC(t,a,l).then(f=>{u||s(f)}),()=>{u=!0}},[t,a,l]),i}function ZC({page:t,matches:a,...l}){let i=Xr(),{manifest:s,routeModules:u}=Qb(),{basename:f}=Ib(),{loaderData:p,matches:m}=XC(),h=S.useMemo(()=>nv(t,a,m,s,i,"data"),[t,a,m,s,i]),y=S.useMemo(()=>nv(t,a,m,s,i,"assets"),[t,a,m,s,i]),v=S.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let b=new Set,w=!1;if(a.forEach(j=>{let L=s.routes[j.route.id];!L||!L.hasLoader||(!h.some(M=>M.route.id===j.route.id)&&j.route.id in p&&u[j.route.id]?.shouldRevalidate||L.hasClientLoader?w=!0:b.add(j.route.id))}),b.size===0)return[];let R=HC(t,f,"data");return w&&b.size>0&&R.searchParams.set("_routes",a.filter(j=>b.has(j.route.id)).map(j=>j.route.id).join(",")),[R.pathname+R.search]},[f,p,i,s,h,a,t,u]),C=S.useMemo(()=>FC(y,s),[y,s]),E=QC(y);return S.createElement(S.Fragment,null,v.map(b=>S.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...l})),C.map(b=>S.createElement("link",{key:b,rel:"modulepreload",href:b,...l})),E.map(({key:b,link:w})=>S.createElement("link",{key:b,nonce:l.nonce,...w})))}function WC(...t){return a=>{t.forEach(l=>{typeof l=="function"?l(a):l!=null&&(l.current=a)})}}var Zb=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Zb&&(window.__reactRouterVersion="7.9.6")}catch{}function JC(t,a){return Bw({basename:a?.basename,getContext:a?.getContext,future:a?.future,history:QE({window:a?.window}),hydrationData:e2(),routes:t,mapRouteProperties:wC,hydrationRouteProperties:CC,dataStrategy:a?.dataStrategy,patchRoutesOnNavigation:a?.patchRoutesOnNavigation,window:a?.window,unstable_instrumentations:a?.unstable_instrumentations}).initialize()}function e2(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:t2(t.errors)}),t}function t2(t){if(!t)return null;let a=Object.entries(t),l={};for(let[i,s]of a)if(s&&s.__type==="RouteErrorResponse")l[i]=new Gu(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let u=window[s.__subType];if(typeof u=="function")try{let f=new u(s.message);f.stack="",l[i]=f}catch{}}if(l[i]==null){let u=new Error(s.message);u.stack="",l[i]=u}}else l[i]=s;return l}var Wb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ua=S.forwardRef(function({onClick:a,discover:l="render",prefetch:i="none",relative:s,reloadDocument:u,replace:f,state:p,target:m,to:h,preventScrollReset:y,viewTransition:v,...C},E){let{basename:b}=S.useContext(Ca),w=typeof h=="string"&&Wb.test(h),R,j=!1;if(typeof h=="string"&&w&&(R=h,Zb))try{let oe=new URL(window.location.href),re=h.startsWith("//")?new URL(oe.protocol+h):new URL(h),ce=ca(re.pathname,b);re.origin===oe.origin&&ce!=null?h=ce+re.search+re.hash:j=!0}catch{Ht(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let L=iC(h,{relative:s}),[M,_,N]=KC(i,C),B=l2(h,{replace:f,state:p,target:m,preventScrollReset:y,relative:s,viewTransition:v});function O(oe){a&&a(oe),oe.defaultPrevented||B(oe)}let Q=S.createElement("a",{...C,...N,href:R||L,onClick:j||u?a:O,ref:WC(E,_),target:m,"data-discover":!w&&l==="render"?"true":void 0});return M&&!w?S.createElement(S.Fragment,null,Q,S.createElement(IC,{page:L})):Q});ua.displayName="Link";var n2=S.forwardRef(function({"aria-current":a="page",caseSensitive:l=!1,className:i="",end:s=!1,style:u,to:f,viewTransition:p,children:m,...h},y){let v=ns(f,{relative:h.relative}),C=Xr(),E=S.useContext(ts),{navigator:b,basename:w}=S.useContext(Ca),R=E!=null&&c2(v)&&p===!0,j=b.encodeLocation?b.encodeLocation(v).pathname:v.pathname,L=C.pathname,M=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;l||(L=L.toLowerCase(),M=M?M.toLowerCase():null,j=j.toLowerCase()),M&&w&&(M=ca(M,w)||M);const _=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let N=L===j||!s&&L.startsWith(j)&&L.charAt(_)==="/",B=M!=null&&(M===j||!s&&M.startsWith(j)&&M.charAt(j.length)==="/"),O={isActive:N,isPending:B,isTransitioning:R},Q=N?a:void 0,oe;typeof i=="function"?oe=i(O):oe=[i,N?"active":null,B?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let re=typeof u=="function"?u(O):u;return S.createElement(ua,{...h,"aria-current":Q,className:oe,ref:y,style:re,to:f,viewTransition:p},typeof m=="function"?m(O):m)});n2.displayName="NavLink";var a2=S.forwardRef(({discover:t="render",fetcherKey:a,navigate:l,reloadDocument:i,replace:s,state:u,method:f=Bu,action:p,onSubmit:m,relative:h,preventScrollReset:y,viewTransition:v,...C},E)=>{let b=s2(),w=u2(p,{relative:h}),R=f.toLowerCase()==="get"?"get":"post",j=typeof p=="string"&&Wb.test(p),L=M=>{if(m&&m(M),M.defaultPrevented)return;M.preventDefault();let _=M.nativeEvent.submitter,N=_?.getAttribute("formmethod")||f;b(_||M.currentTarget,{fetcherKey:a,method:N,navigate:l,replace:s,state:u,relative:h,preventScrollReset:y,viewTransition:v})};return S.createElement("form",{ref:E,method:R,action:w,onSubmit:i?m:L,...C,"data-discover":!j&&t==="render"?"true":void 0})});a2.displayName="Form";function r2(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jb(t){let a=S.useContext(Ol);return Fe(a,r2(t)),a}function l2(t,{target:a,replace:l,state:i,preventScrollReset:s,relative:u,viewTransition:f}={}){let p=Di(),m=Xr(),h=ns(t,{relative:u});return S.useCallback(y=>{if(LC(y,a)){y.preventDefault();let v=l!==void 0?l:Pa(m)===Pa(h);p(t,{replace:v,state:i,preventScrollReset:s,relative:u,viewTransition:f})}},[m,p,h,l,i,a,t,s,u,f])}var i2=0,o2=()=>`__${String(++i2)}__`;function s2(){let{router:t}=Jb("useSubmit"),{basename:a}=S.useContext(Ca),l=xC();return S.useCallback(async(i,s={})=>{let{action:u,method:f,encType:p,formData:m,body:h}=kC(i,a);if(s.navigate===!1){let y=s.fetcherKey||o2();await t.fetch(y,l,s.action||u,{preventScrollReset:s.preventScrollReset,formData:m,body:h,formMethod:s.method||f,formEncType:s.encType||p,flushSync:s.flushSync})}else await t.navigate(s.action||u,{preventScrollReset:s.preventScrollReset,formData:m,body:h,formMethod:s.method||f,formEncType:s.encType||p,replace:s.replace,state:s.state,fromRouteId:l,flushSync:s.flushSync,viewTransition:s.viewTransition})},[t,a,l])}function u2(t,{relative:a}={}){let{basename:l}=S.useContext(Ca),i=S.useContext(fa);Fe(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),u={...ns(t||".",{relative:a})},f=Xr();if(t==null){u.search=f.search;let p=new URLSearchParams(u.search),m=p.getAll("index");if(m.some(y=>y==="")){p.delete("index"),m.filter(v=>v).forEach(v=>p.append("index",v));let y=p.toString();u.search=y?`?${y}`:""}}return(!t||t===".")&&s.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(u.pathname=u.pathname==="/"?l:Ha([l,u.pathname])),Pa(u)}function c2(t,{relative:a}={}){let l=S.useContext(th);Fe(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Jb("useViewTransitionState"),s=ns(t,{relative:a});if(!l.isTransitioning)return!1;let u=ca(l.currentLocation.pathname,i)||l.currentLocation.pathname,f=ca(l.nextLocation.pathname,i)||l.nextLocation.pathname;return Yu(s.pathname,f)!=null||Yu(s.pathname,u)!=null}function f2(){const t=Di(),[a,l]=S.useState(!!localStorage.getItem("accessToken"));S.useEffect(()=>{const s=()=>l(!!localStorage.getItem("accessToken"));return window.addEventListener("storage",s),window.addEventListener("auth:change",s),()=>{window.removeEventListener("storage",s),window.removeEventListener("auth:change",s)}},[]);const i=()=>{localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),window.dispatchEvent(new Event("auth:change")),t("/login")};return x.jsx("header",{className:"border-b border-gray-200 bg-white",children:x.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:x.jsxs("div",{className:"flex h-16 items-center justify-between",children:[x.jsx(ua,{to:"/",className:"text-xl font-medium text-gray-900",children:"Colearn"}),x.jsxs("nav",{className:"flex items-center gap-6 text-sm text-gray-700",children:[x.jsx(ua,{to:"/directory",className:"hover:text-gray-900",children:"Projects"}),a?x.jsxs(x.Fragment,{children:[x.jsx(ua,{to:"/profile",className:"hover:text-gray-900",children:"Profile"}),x.jsx("button",{type:"button",onClick:i,className:"text-sm text-gray-700 hover:text-gray-900",children:"Logout"})]}):x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx(ua,{to:"/login",className:"hover:text-gray-900",children:"Login"}),x.jsx(ua,{to:"/signup",className:"bg-gray-900 text-white px-4 py-2 rounded text-sm hover:bg-gray-800",children:"Sign up"})]})]})]})})})}function d2(){return x.jsx("footer",{className:"border-t border-gray-200 bg-white",children:x.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 text-center text-sm text-gray-600",children:["© ",new Date().getFullYear()," Colearn. Collaborate. Build. Learn."]})})}function p2(){return x.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[x.jsx(f2,{}),x.jsx("main",{className:"flex-1",children:x.jsx(NC,{})}),x.jsx(d2,{})]})}function h2(){return x.jsxs("div",{children:[x.jsx("section",{className:"py-16 sm:py-20 lg:py-24",children:x.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[x.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-medium text-gray-900 mb-4",children:"Collaborate. Build. Learn."}),x.jsx("p",{className:"text-base sm:text-lg text-gray-600 max-w-2xl mx-auto",children:"Find collaborators, join projects, learn skills, and work with experts."})]})}),x.jsx("section",{className:"py-16 sm:py-20 lg:py-24 bg-gray-50",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[x.jsx("h2",{className:"text-2xl sm:text-3xl font-medium text-gray-900 mb-12 text-center",children:"How it Works"}),x.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 gap-8",children:[x.jsxs("div",{className:"bg-white border border-gray-200 p-8 text-center",children:[x.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-3",children:"List Your Idea"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Users can post a project."})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-8 text-center",children:[x.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-3",children:"Join a Project"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Users can explore projects requiring skills."})]})]})]})})]})}function ex(t,a){return function(){return t.apply(a,arguments)}}const{toString:m2}=Object.prototype,{getPrototypeOf:oh}=Object,{iterator:gc,toStringTag:tx}=Symbol,yc=(t=>a=>{const l=m2.call(a);return t[l]||(t[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Ta=t=>(t=t.toLowerCase(),a=>yc(a)===t),vc=t=>a=>typeof a===t,{isArray:zi}=Array,Ai=vc("undefined");function as(t){return t!==null&&!Ai(t)&&t.constructor!==null&&!Ai(t.constructor)&&Bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const nx=Ta("ArrayBuffer");function g2(t){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(t):a=t&&t.buffer&&nx(t.buffer),a}const y2=vc("string"),Bn=vc("function"),ax=vc("number"),rs=t=>t!==null&&typeof t=="object",v2=t=>t===!0||t===!1,ku=t=>{if(yc(t)!=="object")return!1;const a=oh(t);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(tx in t)&&!(gc in t)},b2=t=>{if(!rs(t)||as(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},x2=Ta("Date"),S2=Ta("File"),E2=Ta("Blob"),w2=Ta("FileList"),C2=t=>rs(t)&&Bn(t.pipe),T2=t=>{let a;return t&&(typeof FormData=="function"&&t instanceof FormData||Bn(t.append)&&((a=yc(t))==="formdata"||a==="object"&&Bn(t.toString)&&t.toString()==="[object FormData]"))},R2=Ta("URLSearchParams"),[A2,O2,N2,M2]=["ReadableStream","Request","Response","Headers"].map(Ta),j2=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ls(t,a,{allOwnKeys:l=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),zi(t))for(i=0,s=t.length;i<s;i++)a.call(null,t[i],i,t);else{if(as(t))return;const u=l?Object.getOwnPropertyNames(t):Object.keys(t),f=u.length;let p;for(i=0;i<f;i++)p=u[i],a.call(null,t[p],p,t)}}function rx(t,a){if(as(t))return null;a=a.toLowerCase();const l=Object.keys(t);let i=l.length,s;for(;i-- >0;)if(s=l[i],a===s.toLowerCase())return s;return null}const bl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lx=t=>!Ai(t)&&t!==bl;function Np(){const{caseless:t,skipUndefined:a}=lx(this)&&this||{},l={},i=(s,u)=>{const f=t&&rx(l,u)||u;ku(l[f])&&ku(s)?l[f]=Np(l[f],s):ku(s)?l[f]=Np({},s):zi(s)?l[f]=s.slice():(!a||!Ai(s))&&(l[f]=s)};for(let s=0,u=arguments.length;s<u;s++)arguments[s]&&ls(arguments[s],i);return l}const D2=(t,a,l,{allOwnKeys:i}={})=>(ls(a,(s,u)=>{l&&Bn(s)?t[u]=ex(s,l):t[u]=s},{allOwnKeys:i}),t),z2=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),_2=(t,a,l,i)=>{t.prototype=Object.create(a.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:a.prototype}),l&&Object.assign(t.prototype,l)},L2=(t,a,l,i)=>{let s,u,f;const p={};if(a=a||{},t==null)return a;do{for(s=Object.getOwnPropertyNames(t),u=s.length;u-- >0;)f=s[u],(!i||i(f,t,a))&&!p[f]&&(a[f]=t[f],p[f]=!0);t=l!==!1&&oh(t)}while(t&&(!l||l(t,a))&&t!==Object.prototype);return a},B2=(t,a,l)=>{t=String(t),(l===void 0||l>t.length)&&(l=t.length),l-=a.length;const i=t.indexOf(a,l);return i!==-1&&i===l},U2=t=>{if(!t)return null;if(zi(t))return t;let a=t.length;if(!ax(a))return null;const l=new Array(a);for(;a-- >0;)l[a]=t[a];return l},k2=(t=>a=>t&&a instanceof t)(typeof Uint8Array<"u"&&oh(Uint8Array)),H2=(t,a)=>{const i=(t&&t[gc]).call(t);let s;for(;(s=i.next())&&!s.done;){const u=s.value;a.call(t,u[0],u[1])}},$2=(t,a)=>{let l;const i=[];for(;(l=t.exec(a))!==null;)i.push(l);return i},P2=Ta("HTMLFormElement"),q2=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,i,s){return i.toUpperCase()+s}),av=(({hasOwnProperty:t})=>(a,l)=>t.call(a,l))(Object.prototype),F2=Ta("RegExp"),ix=(t,a)=>{const l=Object.getOwnPropertyDescriptors(t),i={};ls(l,(s,u)=>{let f;(f=a(s,u,t))!==!1&&(i[u]=f||s)}),Object.defineProperties(t,i)},V2=t=>{ix(t,(a,l)=>{if(Bn(t)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const i=t[l];if(Bn(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},Y2=(t,a)=>{const l={},i=s=>{s.forEach(u=>{l[u]=!0})};return zi(t)?i(t):i(String(t).split(a)),l},G2=()=>{},X2=(t,a)=>t!=null&&Number.isFinite(t=+t)?t:a;function K2(t){return!!(t&&Bn(t.append)&&t[tx]==="FormData"&&t[gc])}const I2=t=>{const a=new Array(10),l=(i,s)=>{if(rs(i)){if(a.indexOf(i)>=0)return;if(as(i))return i;if(!("toJSON"in i)){a[s]=i;const u=zi(i)?[]:{};return ls(i,(f,p)=>{const m=l(f,s+1);!Ai(m)&&(u[p]=m)}),a[s]=void 0,u}}return i};return l(t,0)},Q2=Ta("AsyncFunction"),Z2=t=>t&&(rs(t)||Bn(t))&&Bn(t.then)&&Bn(t.catch),ox=((t,a)=>t?setImmediate:a?((l,i)=>(bl.addEventListener("message",({source:s,data:u})=>{s===bl&&u===l&&i.length&&i.shift()()},!1),s=>{i.push(s),bl.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",Bn(bl.postMessage)),W2=typeof queueMicrotask<"u"?queueMicrotask.bind(bl):typeof process<"u"&&process.nextTick||ox,J2=t=>t!=null&&Bn(t[gc]),W={isArray:zi,isArrayBuffer:nx,isBuffer:as,isFormData:T2,isArrayBufferView:g2,isString:y2,isNumber:ax,isBoolean:v2,isObject:rs,isPlainObject:ku,isEmptyObject:b2,isReadableStream:A2,isRequest:O2,isResponse:N2,isHeaders:M2,isUndefined:Ai,isDate:x2,isFile:S2,isBlob:E2,isRegExp:F2,isFunction:Bn,isStream:C2,isURLSearchParams:R2,isTypedArray:k2,isFileList:w2,forEach:ls,merge:Np,extend:D2,trim:j2,stripBOM:z2,inherits:_2,toFlatObject:L2,kindOf:yc,kindOfTest:Ta,endsWith:B2,toArray:U2,forEachEntry:H2,matchAll:$2,isHTMLForm:P2,hasOwnProperty:av,hasOwnProp:av,reduceDescriptors:ix,freezeMethods:V2,toObjectSet:Y2,toCamelCase:q2,noop:G2,toFiniteNumber:X2,findKey:rx,global:bl,isContextDefined:lx,isSpecCompliantForm:K2,toJSONObject:I2,isAsyncFn:Q2,isThenable:Z2,setImmediate:ox,asap:W2,isIterable:J2};function $e(t,a,l,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",a&&(this.code=a),l&&(this.config=l),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}W.inherits($e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const sx=$e.prototype,ux={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ux[t]={value:t}});Object.defineProperties($e,ux);Object.defineProperty(sx,"isAxiosError",{value:!0});$e.from=(t,a,l,i,s,u)=>{const f=Object.create(sx);W.toFlatObject(t,f,function(y){return y!==Error.prototype},h=>h!=="isAxiosError");const p=t&&t.message?t.message:"Error",m=a==null&&t?t.code:a;return $e.call(f,p,m,l,i,s),t&&f.cause==null&&Object.defineProperty(f,"cause",{value:t,configurable:!0}),f.name=t&&t.name||"Error",u&&Object.assign(f,u),f};const eT=null;function Mp(t){return W.isPlainObject(t)||W.isArray(t)}function cx(t){return W.endsWith(t,"[]")?t.slice(0,-2):t}function rv(t,a,l){return t?t.concat(a).map(function(s,u){return s=cx(s),!l&&u?"["+s+"]":s}).join(l?".":""):a}function tT(t){return W.isArray(t)&&!t.some(Mp)}const nT=W.toFlatObject(W,{},null,function(a){return/^is[A-Z]/.test(a)});function bc(t,a,l){if(!W.isObject(t))throw new TypeError("target must be an object");a=a||new FormData,l=W.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,R){return!W.isUndefined(R[w])});const i=l.metaTokens,s=l.visitor||y,u=l.dots,f=l.indexes,m=(l.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(a);if(!W.isFunction(s))throw new TypeError("visitor must be a function");function h(b){if(b===null)return"";if(W.isDate(b))return b.toISOString();if(W.isBoolean(b))return b.toString();if(!m&&W.isBlob(b))throw new $e("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(b)||W.isTypedArray(b)?m&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function y(b,w,R){let j=b;if(b&&!R&&typeof b=="object"){if(W.endsWith(w,"{}"))w=i?w:w.slice(0,-2),b=JSON.stringify(b);else if(W.isArray(b)&&tT(b)||(W.isFileList(b)||W.endsWith(w,"[]"))&&(j=W.toArray(b)))return w=cx(w),j.forEach(function(M,_){!(W.isUndefined(M)||M===null)&&a.append(f===!0?rv([w],_,u):f===null?w:w+"[]",h(M))}),!1}return Mp(b)?!0:(a.append(rv(R,w,u),h(b)),!1)}const v=[],C=Object.assign(nT,{defaultVisitor:y,convertValue:h,isVisitable:Mp});function E(b,w){if(!W.isUndefined(b)){if(v.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));v.push(b),W.forEach(b,function(j,L){(!(W.isUndefined(j)||j===null)&&s.call(a,j,W.isString(L)?L.trim():L,w,C))===!0&&E(j,w?w.concat(L):[L])}),v.pop()}}if(!W.isObject(t))throw new TypeError("data must be an object");return E(t),a}function lv(t){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return a[i]})}function sh(t,a){this._pairs=[],t&&bc(t,this,a)}const fx=sh.prototype;fx.append=function(a,l){this._pairs.push([a,l])};fx.toString=function(a){const l=a?function(i){return a.call(this,i,lv)}:lv;return this._pairs.map(function(s){return l(s[0])+"="+l(s[1])},"").join("&")};function aT(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function dx(t,a,l){if(!a)return t;const i=l&&l.encode||aT;W.isFunction(l)&&(l={serialize:l});const s=l&&l.serialize;let u;if(s?u=s(a,l):u=W.isURLSearchParams(a)?a.toString():new sh(a,l).toString(i),u){const f=t.indexOf("#");f!==-1&&(t=t.slice(0,f)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class iv{constructor(){this.handlers=[]}use(a,l,i){return this.handlers.push({fulfilled:a,rejected:l,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){W.forEach(this.handlers,function(i){i!==null&&a(i)})}}const px={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rT=typeof URLSearchParams<"u"?URLSearchParams:sh,lT=typeof FormData<"u"?FormData:null,iT=typeof Blob<"u"?Blob:null,oT={isBrowser:!0,classes:{URLSearchParams:rT,FormData:lT,Blob:iT},protocols:["http","https","file","blob","url","data"]},uh=typeof window<"u"&&typeof document<"u",jp=typeof navigator=="object"&&navigator||void 0,sT=uh&&(!jp||["ReactNative","NativeScript","NS"].indexOf(jp.product)<0),uT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cT=uh&&window.location.href||"http://localhost",fT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:uh,hasStandardBrowserEnv:sT,hasStandardBrowserWebWorkerEnv:uT,navigator:jp,origin:cT},Symbol.toStringTag,{value:"Module"})),vn={...fT,...oT};function dT(t,a){return bc(t,new vn.classes.URLSearchParams,{visitor:function(l,i,s,u){return vn.isNode&&W.isBuffer(l)?(this.append(i,l.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...a})}function pT(t){return W.matchAll(/\w+|\[(\w*)]/g,t).map(a=>a[0]==="[]"?"":a[1]||a[0])}function hT(t){const a={},l=Object.keys(t);let i;const s=l.length;let u;for(i=0;i<s;i++)u=l[i],a[u]=t[u];return a}function hx(t){function a(l,i,s,u){let f=l[u++];if(f==="__proto__")return!0;const p=Number.isFinite(+f),m=u>=l.length;return f=!f&&W.isArray(s)?s.length:f,m?(W.hasOwnProp(s,f)?s[f]=[s[f],i]:s[f]=i,!p):((!s[f]||!W.isObject(s[f]))&&(s[f]=[]),a(l,i,s[f],u)&&W.isArray(s[f])&&(s[f]=hT(s[f])),!p)}if(W.isFormData(t)&&W.isFunction(t.entries)){const l={};return W.forEachEntry(t,(i,s)=>{a(pT(i),s,l,0)}),l}return null}function mT(t,a,l){if(W.isString(t))try{return(a||JSON.parse)(t),W.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(l||JSON.stringify)(t)}const is={transitional:px,adapter:["xhr","http","fetch"],transformRequest:[function(a,l){const i=l.getContentType()||"",s=i.indexOf("application/json")>-1,u=W.isObject(a);if(u&&W.isHTMLForm(a)&&(a=new FormData(a)),W.isFormData(a))return s?JSON.stringify(hx(a)):a;if(W.isArrayBuffer(a)||W.isBuffer(a)||W.isStream(a)||W.isFile(a)||W.isBlob(a)||W.isReadableStream(a))return a;if(W.isArrayBufferView(a))return a.buffer;if(W.isURLSearchParams(a))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let p;if(u){if(i.indexOf("application/x-www-form-urlencoded")>-1)return dT(a,this.formSerializer).toString();if((p=W.isFileList(a))||i.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return bc(p?{"files[]":a}:a,m&&new m,this.formSerializer)}}return u||s?(l.setContentType("application/json",!1),mT(a)):a}],transformResponse:[function(a){const l=this.transitional||is.transitional,i=l&&l.forcedJSONParsing,s=this.responseType==="json";if(W.isResponse(a)||W.isReadableStream(a))return a;if(a&&W.isString(a)&&(i&&!this.responseType||s)){const f=!(l&&l.silentJSONParsing)&&s;try{return JSON.parse(a,this.parseReviver)}catch(p){if(f)throw p.name==="SyntaxError"?$e.from(p,$e.ERR_BAD_RESPONSE,this,null,this.response):p}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vn.classes.FormData,Blob:vn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],t=>{is.headers[t]={}});const gT=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yT=t=>{const a={};let l,i,s;return t&&t.split(`
          `).forEach(function(f){s=f.indexOf(":"),l=f.substring(0,s).trim().toLowerCase(),i=f.substring(s+1).trim(),!(!l||a[l]&&gT[l])&&(l==="set-cookie"?a[l]?a[l].push(i):a[l]=[i]:a[l]=a[l]?a[l]+", "+i:i)}),a},ov=Symbol("internals");function jo(t){return t&&String(t).trim().toLowerCase()}function Hu(t){return t===!1||t==null?t:W.isArray(t)?t.map(Hu):String(t)}function vT(t){const a=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=l.exec(t);)a[i[1]]=i[2];return a}const bT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function sp(t,a,l,i,s){if(W.isFunction(i))return i.call(this,a,l);if(s&&(a=l),!!W.isString(a)){if(W.isString(i))return a.indexOf(i)!==-1;if(W.isRegExp(i))return i.test(a)}}function xT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,l,i)=>l.toUpperCase()+i)}function ST(t,a){const l=W.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+l,{value:function(s,u,f){return this[i].call(this,a,s,u,f)},configurable:!0})})}let Un=class{constructor(a){a&&this.set(a)}set(a,l,i){const s=this;function u(p,m,h){const y=jo(m);if(!y)throw new Error("header name must be a non-empty string");const v=W.findKey(s,y);(!v||s[v]===void 0||h===!0||h===void 0&&s[v]!==!1)&&(s[v||m]=Hu(p))}const f=(p,m)=>W.forEach(p,(h,y)=>u(h,y,m));if(W.isPlainObject(a)||a instanceof this.constructor)f(a,l);else if(W.isString(a)&&(a=a.trim())&&!bT(a))f(yT(a),l);else if(W.isObject(a)&&W.isIterable(a)){let p={},m,h;for(const y of a){if(!W.isArray(y))throw TypeError("Object iterator must return a key-value pair");p[h=y[0]]=(m=p[h])?W.isArray(m)?[...m,y[1]]:[m,y[1]]:y[1]}f(p,l)}else a!=null&&u(l,a,i);return this}get(a,l){if(a=jo(a),a){const i=W.findKey(this,a);if(i){const s=this[i];if(!l)return s;if(l===!0)return vT(s);if(W.isFunction(l))return l.call(this,s,i);if(W.isRegExp(l))return l.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,l){if(a=jo(a),a){const i=W.findKey(this,a);return!!(i&&this[i]!==void 0&&(!l||sp(this,this[i],i,l)))}return!1}delete(a,l){const i=this;let s=!1;function u(f){if(f=jo(f),f){const p=W.findKey(i,f);p&&(!l||sp(i,i[p],p,l))&&(delete i[p],s=!0)}}return W.isArray(a)?a.forEach(u):u(a),s}clear(a){const l=Object.keys(this);let i=l.length,s=!1;for(;i--;){const u=l[i];(!a||sp(this,this[u],u,a,!0))&&(delete this[u],s=!0)}return s}normalize(a){const l=this,i={};return W.forEach(this,(s,u)=>{const f=W.findKey(i,u);if(f){l[f]=Hu(s),delete l[u];return}const p=a?xT(u):String(u).trim();p!==u&&delete l[u],l[p]=Hu(s),i[p]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const l=Object.create(null);return W.forEach(this,(i,s)=>{i!=null&&i!==!1&&(l[s]=a&&W.isArray(i)?i.join(", "):i)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,l])=>a+": "+l).join(`
          `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...l){const i=new this(a);return l.forEach(s=>i.set(s)),i}static accessor(a){const i=(this[ov]=this[ov]={accessors:{}}).accessors,s=this.prototype;function u(f){const p=jo(f);i[p]||(ST(s,f),i[p]=!0)}return W.isArray(a)?a.forEach(u):u(a),this}};Un.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(Un.prototype,({value:t},a)=>{let l=a[0].toUpperCase()+a.slice(1);return{get:()=>t,set(i){this[l]=i}}});W.freezeMethods(Un);function up(t,a){const l=this||is,i=a||l,s=Un.from(i.headers);let u=i.data;return W.forEach(t,function(p){u=p.call(l,u,s.normalize(),a?a.status:void 0)}),s.normalize(),u}function mx(t){return!!(t&&t.__CANCEL__)}function _i(t,a,l){$e.call(this,t??"canceled",$e.ERR_CANCELED,a,l),this.name="CanceledError"}W.inherits(_i,$e,{__CANCEL__:!0});function gx(t,a,l){const i=l.config.validateStatus;!l.status||!i||i(l.status)?t(l):a(new $e("Request failed with status code "+l.status,[$e.ERR_BAD_REQUEST,$e.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function ET(t){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return a&&a[1]||""}function wT(t,a){t=t||10;const l=new Array(t),i=new Array(t);let s=0,u=0,f;return a=a!==void 0?a:1e3,function(m){const h=Date.now(),y=i[u];f||(f=h),l[s]=m,i[s]=h;let v=u,C=0;for(;v!==s;)C+=l[v++],v=v%t;if(s=(s+1)%t,s===u&&(u=(u+1)%t),h-f<a)return;const E=y&&h-y;return E?Math.round(C*1e3/E):void 0}}function CT(t,a){let l=0,i=1e3/a,s,u;const f=(h,y=Date.now())=>{l=y,s=null,u&&(clearTimeout(u),u=null),t(...h)};return[(...h)=>{const y=Date.now(),v=y-l;v>=i?f(h,y):(s=h,u||(u=setTimeout(()=>{u=null,f(s)},i-v)))},()=>s&&f(s)]}const Ku=(t,a,l=3)=>{let i=0;const s=wT(50,250);return CT(u=>{const f=u.loaded,p=u.lengthComputable?u.total:void 0,m=f-i,h=s(m),y=f<=p;i=f;const v={loaded:f,total:p,progress:p?f/p:void 0,bytes:m,rate:h||void 0,estimated:h&&p&&y?(p-f)/h:void 0,event:u,lengthComputable:p!=null,[a?"download":"upload"]:!0};t(v)},l)},sv=(t,a)=>{const l=t!=null;return[i=>a[0]({lengthComputable:l,total:t,loaded:i}),a[1]]},uv=t=>(...a)=>W.asap(()=>t(...a)),TT=vn.hasStandardBrowserEnv?((t,a)=>l=>(l=new URL(l,vn.origin),t.protocol===l.protocol&&t.host===l.host&&(a||t.port===l.port)))(new URL(vn.origin),vn.navigator&&/(msie|trident)/i.test(vn.navigator.userAgent)):()=>!0,RT=vn.hasStandardBrowserEnv?{write(t,a,l,i,s,u,f){if(typeof document>"u")return;const p=[`${t}=${encodeURIComponent(a)}`];W.isNumber(l)&&p.push(`expires=${new Date(l).toUTCString()}`),W.isString(i)&&p.push(`path=${i}`),W.isString(s)&&p.push(`domain=${s}`),u===!0&&p.push("secure"),W.isString(f)&&p.push(`SameSite=${f}`),document.cookie=p.join("; ")},read(t){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function AT(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function OT(t,a){return a?t.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):t}function yx(t,a,l){let i=!AT(a);return t&&(i||l==!1)?OT(t,a):a}const cv=t=>t instanceof Un?{...t}:t;function Cl(t,a){a=a||{};const l={};function i(h,y,v,C){return W.isPlainObject(h)&&W.isPlainObject(y)?W.merge.call({caseless:C},h,y):W.isPlainObject(y)?W.merge({},y):W.isArray(y)?y.slice():y}function s(h,y,v,C){if(W.isUndefined(y)){if(!W.isUndefined(h))return i(void 0,h,v,C)}else return i(h,y,v,C)}function u(h,y){if(!W.isUndefined(y))return i(void 0,y)}function f(h,y){if(W.isUndefined(y)){if(!W.isUndefined(h))return i(void 0,h)}else return i(void 0,y)}function p(h,y,v){if(v in a)return i(h,y);if(v in t)return i(void 0,h)}const m={url:u,method:u,data:u,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:p,headers:(h,y,v)=>s(cv(h),cv(y),v,!0)};return W.forEach(Object.keys({...t,...a}),function(y){const v=m[y]||s,C=v(t[y],a[y],y);W.isUndefined(C)&&v!==p||(l[y]=C)}),l}const vx=t=>{const a=Cl({},t);let{data:l,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:u,headers:f,auth:p}=a;if(a.headers=f=Un.from(f),a.url=dx(yx(a.baseURL,a.url,a.allowAbsoluteUrls),t.params,t.paramsSerializer),p&&f.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),W.isFormData(l)){if(vn.hasStandardBrowserEnv||vn.hasStandardBrowserWebWorkerEnv)f.setContentType(void 0);else if(W.isFunction(l.getHeaders)){const m=l.getHeaders(),h=["content-type","content-length"];Object.entries(m).forEach(([y,v])=>{h.includes(y.toLowerCase())&&f.set(y,v)})}}if(vn.hasStandardBrowserEnv&&(i&&W.isFunction(i)&&(i=i(a)),i||i!==!1&&TT(a.url))){const m=s&&u&&RT.read(u);m&&f.set(s,m)}return a},NT=typeof XMLHttpRequest<"u",MT=NT&&function(t){return new Promise(function(l,i){const s=vx(t);let u=s.data;const f=Un.from(s.headers).normalize();let{responseType:p,onUploadProgress:m,onDownloadProgress:h}=s,y,v,C,E,b;function w(){E&&E(),b&&b(),s.cancelToken&&s.cancelToken.unsubscribe(y),s.signal&&s.signal.removeEventListener("abort",y)}let R=new XMLHttpRequest;R.open(s.method.toUpperCase(),s.url,!0),R.timeout=s.timeout;function j(){if(!R)return;const M=Un.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),N={data:!p||p==="text"||p==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:M,config:t,request:R};gx(function(O){l(O),w()},function(O){i(O),w()},N),R=null}"onloadend"in R?R.onloadend=j:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(j)},R.onabort=function(){R&&(i(new $e("Request aborted",$e.ECONNABORTED,t,R)),R=null)},R.onerror=function(_){const N=_&&_.message?_.message:"Network Error",B=new $e(N,$e.ERR_NETWORK,t,R);B.event=_||null,i(B),R=null},R.ontimeout=function(){let _=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const N=s.transitional||px;s.timeoutErrorMessage&&(_=s.timeoutErrorMessage),i(new $e(_,N.clarifyTimeoutError?$e.ETIMEDOUT:$e.ECONNABORTED,t,R)),R=null},u===void 0&&f.setContentType(null),"setRequestHeader"in R&&W.forEach(f.toJSON(),function(_,N){R.setRequestHeader(N,_)}),W.isUndefined(s.withCredentials)||(R.withCredentials=!!s.withCredentials),p&&p!=="json"&&(R.responseType=s.responseType),h&&([C,b]=Ku(h,!0),R.addEventListener("progress",C)),m&&R.upload&&([v,E]=Ku(m),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",E)),(s.cancelToken||s.signal)&&(y=M=>{R&&(i(!M||M.type?new _i(null,t,R):M),R.abort(),R=null)},s.cancelToken&&s.cancelToken.subscribe(y),s.signal&&(s.signal.aborted?y():s.signal.addEventListener("abort",y)));const L=ET(s.url);if(L&&vn.protocols.indexOf(L)===-1){i(new $e("Unsupported protocol "+L+":",$e.ERR_BAD_REQUEST,t));return}R.send(u||null)})},jT=(t,a)=>{const{length:l}=t=t?t.filter(Boolean):[];if(a||l){let i=new AbortController,s;const u=function(h){if(!s){s=!0,p();const y=h instanceof Error?h:this.reason;i.abort(y instanceof $e?y:new _i(y instanceof Error?y.message:y))}};let f=a&&setTimeout(()=>{f=null,u(new $e(`timeout ${a} of ms exceeded`,$e.ETIMEDOUT))},a);const p=()=>{t&&(f&&clearTimeout(f),f=null,t.forEach(h=>{h.unsubscribe?h.unsubscribe(u):h.removeEventListener("abort",u)}),t=null)};t.forEach(h=>h.addEventListener("abort",u));const{signal:m}=i;return m.unsubscribe=()=>W.asap(p),m}},DT=function*(t,a){let l=t.byteLength;if(l<a){yield t;return}let i=0,s;for(;i<l;)s=i+a,yield t.slice(i,s),i=s},zT=async function*(t,a){for await(const l of _T(t))yield*DT(l,a)},_T=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const a=t.getReader();try{for(;;){const{done:l,value:i}=await a.read();if(l)break;yield i}}finally{await a.cancel()}},fv=(t,a,l,i)=>{const s=zT(t,a);let u=0,f,p=m=>{f||(f=!0,i&&i(m))};return new ReadableStream({async pull(m){try{const{done:h,value:y}=await s.next();if(h){p(),m.close();return}let v=y.byteLength;if(l){let C=u+=v;l(C)}m.enqueue(new Uint8Array(y))}catch(h){throw p(h),h}},cancel(m){return p(m),s.return()}},{highWaterMark:2})},dv=64*1024,{isFunction:Ou}=W,LT=(({Request:t,Response:a})=>({Request:t,Response:a}))(W.global),{ReadableStream:pv,TextEncoder:hv}=W.global,mv=(t,...a)=>{try{return!!t(...a)}catch{return!1}},BT=t=>{t=W.merge.call({skipUndefined:!0},LT,t);const{fetch:a,Request:l,Response:i}=t,s=a?Ou(a):typeof fetch=="function",u=Ou(l),f=Ou(i);if(!s)return!1;const p=s&&Ou(pv),m=s&&(typeof hv=="function"?(b=>w=>b.encode(w))(new hv):async b=>new Uint8Array(await new l(b).arrayBuffer())),h=u&&p&&mv(()=>{let b=!1;const w=new l(vn.origin,{body:new pv,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!w}),y=f&&p&&mv(()=>W.isReadableStream(new i("").body)),v={stream:y&&(b=>b.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!v[b]&&(v[b]=(w,R)=>{let j=w&&w[b];if(j)return j.call(w);throw new $e(`Response type '${b}' is not supported`,$e.ERR_NOT_SUPPORT,R)})});const C=async b=>{if(b==null)return 0;if(W.isBlob(b))return b.size;if(W.isSpecCompliantForm(b))return(await new l(vn.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(W.isArrayBufferView(b)||W.isArrayBuffer(b))return b.byteLength;if(W.isURLSearchParams(b)&&(b=b+""),W.isString(b))return(await m(b)).byteLength},E=async(b,w)=>{const R=W.toFiniteNumber(b.getContentLength());return R??C(w)};return async b=>{let{url:w,method:R,data:j,signal:L,cancelToken:M,timeout:_,onDownloadProgress:N,onUploadProgress:B,responseType:O,headers:Q,withCredentials:oe="same-origin",fetchOptions:re}=vx(b),ce=a||fetch;O=O?(O+"").toLowerCase():"text";let A=jT([L,M&&M.toAbortSignal()],_),ee=null;const P=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let Y;try{if(B&&h&&R!=="get"&&R!=="head"&&(Y=await E(Q,j))!==0){let z=new l(w,{method:"POST",body:j,duplex:"half"}),G;if(W.isFormData(j)&&(G=z.headers.get("content-type"))&&Q.setContentType(G),z.body){const[V,ie]=sv(Y,Ku(uv(B)));j=fv(z.body,dv,V,ie)}}W.isString(oe)||(oe=oe?"include":"omit");const D=u&&"credentials"in l.prototype,F={...re,signal:A,method:R.toUpperCase(),headers:Q.normalize().toJSON(),body:j,duplex:"half",credentials:D?oe:void 0};ee=u&&new l(w,F);let ue=await(u?ce(ee,re):ce(w,F));const te=y&&(O==="stream"||O==="response");if(y&&(N||te&&P)){const z={};["status","statusText","headers"].forEach(de=>{z[de]=ue[de]});const G=W.toFiniteNumber(ue.headers.get("content-length")),[V,ie]=N&&sv(G,Ku(uv(N),!0))||[];ue=new i(fv(ue.body,dv,V,()=>{ie&&ie(),P&&P()}),z)}O=O||"text";let he=await v[W.findKey(v,O)||"text"](ue,b);return!te&&P&&P(),await new Promise((z,G)=>{gx(z,G,{data:he,headers:Un.from(ue.headers),status:ue.status,statusText:ue.statusText,config:b,request:ee})})}catch(D){throw P&&P(),D&&D.name==="TypeError"&&/Load failed|fetch/i.test(D.message)?Object.assign(new $e("Network Error",$e.ERR_NETWORK,b,ee),{cause:D.cause||D}):$e.from(D,D&&D.code,b,ee)}}},UT=new Map,bx=t=>{let a=t&&t.env||{};const{fetch:l,Request:i,Response:s}=a,u=[i,s,l];let f=u.length,p=f,m,h,y=UT;for(;p--;)m=u[p],h=y.get(m),h===void 0&&y.set(m,h=p?new Map:BT(a)),y=h;return h};bx();const ch={http:eT,xhr:MT,fetch:{get:bx}};W.forEach(ch,(t,a)=>{if(t){try{Object.defineProperty(t,"name",{value:a})}catch{}Object.defineProperty(t,"adapterName",{value:a})}});const gv=t=>`- ${t}`,kT=t=>W.isFunction(t)||t===null||t===!1;function HT(t,a){t=W.isArray(t)?t:[t];const{length:l}=t;let i,s;const u={};for(let f=0;f<l;f++){i=t[f];let p;if(s=i,!kT(i)&&(s=ch[(p=String(i)).toLowerCase()],s===void 0))throw new $e(`Unknown adapter '${p}'`);if(s&&(W.isFunction(s)||(s=s.get(a))))break;u[p||"#"+f]=s}if(!s){const f=Object.entries(u).map(([m,h])=>`adapter ${m} `+(h===!1?"is not supported by the environment":"is not available in the build"));let p=l?f.length>1?`since :
          `+f.map(gv).join(`
          `):" "+gv(f[0]):"as no adapter specified";throw new $e("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return s}const xx={getAdapter:HT,adapters:ch};function cp(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _i(null,t)}function yv(t){return cp(t),t.headers=Un.from(t.headers),t.data=up.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),xx.getAdapter(t.adapter||is.adapter,t)(t).then(function(i){return cp(t),i.data=up.call(t,t.transformResponse,i),i.headers=Un.from(i.headers),i},function(i){return mx(i)||(cp(t),i&&i.response&&(i.response.data=up.call(t,t.transformResponse,i.response),i.response.headers=Un.from(i.response.headers))),Promise.reject(i)})}const Sx="1.13.2",xc={};["object","boolean","number","function","string","symbol"].forEach((t,a)=>{xc[t]=function(i){return typeof i===t||"a"+(a<1?"n ":" ")+t}});const vv={};xc.transitional=function(a,l,i){function s(u,f){return"[Axios v"+Sx+"] Transitional option '"+u+"'"+f+(i?". "+i:"")}return(u,f,p)=>{if(a===!1)throw new $e(s(f," has been removed"+(l?" in "+l:"")),$e.ERR_DEPRECATED);return l&&!vv[f]&&(vv[f]=!0,console.warn(s(f," has been deprecated since v"+l+" and will be removed in the near future"))),a?a(u,f,p):!0}};xc.spelling=function(a){return(l,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function $T(t,a,l){if(typeof t!="object")throw new $e("options must be an object",$e.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let s=i.length;for(;s-- >0;){const u=i[s],f=a[u];if(f){const p=t[u],m=p===void 0||f(p,u,t);if(m!==!0)throw new $e("option "+u+" must be "+m,$e.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new $e("Unknown option "+u,$e.ERR_BAD_OPTION)}}const $u={assertOptions:$T,validators:xc},Da=$u.validators;let El=class{constructor(a){this.defaults=a||{},this.interceptors={request:new iv,response:new iv}}async request(a,l){try{return await this._request(a,l)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const u=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?u&&!String(i.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(i.stack+=`
          `+u):i.stack=u}catch{}}throw i}}_request(a,l){typeof a=="string"?(l=l||{},l.url=a):l=a||{},l=Cl(this.defaults,l);const{transitional:i,paramsSerializer:s,headers:u}=l;i!==void 0&&$u.assertOptions(i,{silentJSONParsing:Da.transitional(Da.boolean),forcedJSONParsing:Da.transitional(Da.boolean),clarifyTimeoutError:Da.transitional(Da.boolean)},!1),s!=null&&(W.isFunction(s)?l.paramsSerializer={serialize:s}:$u.assertOptions(s,{encode:Da.function,serialize:Da.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),$u.assertOptions(l,{baseUrl:Da.spelling("baseURL"),withXsrfToken:Da.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let f=u&&W.merge(u.common,u[l.method]);u&&W.forEach(["delete","get","head","post","put","patch","common"],b=>{delete u[b]}),l.headers=Un.concat(f,u);const p=[];let m=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(l)===!1||(m=m&&w.synchronous,p.unshift(w.fulfilled,w.rejected))});const h=[];this.interceptors.response.forEach(function(w){h.push(w.fulfilled,w.rejected)});let y,v=0,C;if(!m){const b=[yv.bind(this),void 0];for(b.unshift(...p),b.push(...h),C=b.length,y=Promise.resolve(l);v<C;)y=y.then(b[v++],b[v++]);return y}C=p.length;let E=l;for(;v<C;){const b=p[v++],w=p[v++];try{E=b(E)}catch(R){w.call(this,R);break}}try{y=yv.call(this,E)}catch(b){return Promise.reject(b)}for(v=0,C=h.length;v<C;)y=y.then(h[v++],h[v++]);return y}getUri(a){a=Cl(this.defaults,a);const l=yx(a.baseURL,a.url,a.allowAbsoluteUrls);return dx(l,a.params,a.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(a){El.prototype[a]=function(l,i){return this.request(Cl(i||{},{method:a,url:l,data:(i||{}).data}))}});W.forEach(["post","put","patch"],function(a){function l(i){return function(u,f,p){return this.request(Cl(p||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:u,data:f}))}}El.prototype[a]=l(),El.prototype[a+"Form"]=l(!0)});let PT=class Ex{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(u){l=u});const i=this;this.promise.then(s=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](s);i._listeners=null}),this.promise.then=s=>{let u;const f=new Promise(p=>{i.subscribe(p),u=p}).then(s);return f.cancel=function(){i.unsubscribe(u)},f},a(function(u,f,p){i.reason||(i.reason=new _i(u,f,p),l(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const l=this._listeners.indexOf(a);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const a=new AbortController,l=i=>{a.abort(i)};return this.subscribe(l),a.signal.unsubscribe=()=>this.unsubscribe(l),a.signal}static source(){let a;return{token:new Ex(function(s){a=s}),cancel:a}}};function qT(t){return function(l){return t.apply(null,l)}}function FT(t){return W.isObject(t)&&t.isAxiosError===!0}const Dp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Dp).forEach(([t,a])=>{Dp[a]=t});function wx(t){const a=new El(t),l=ex(El.prototype.request,a);return W.extend(l,El.prototype,a,{allOwnKeys:!0}),W.extend(l,a,null,{allOwnKeys:!0}),l.create=function(s){return wx(Cl(t,s))},l}const Gt=wx(is);Gt.Axios=El;Gt.CanceledError=_i;Gt.CancelToken=PT;Gt.isCancel=mx;Gt.VERSION=Sx;Gt.toFormData=bc;Gt.AxiosError=$e;Gt.Cancel=Gt.CanceledError;Gt.all=function(a){return Promise.all(a)};Gt.spread=qT;Gt.isAxiosError=FT;Gt.mergeConfig=Cl;Gt.AxiosHeaders=Un;Gt.formToJSON=t=>hx(W.isHTMLForm(t)?new FormData(t):t);Gt.getAdapter=xx.getAdapter;Gt.HttpStatusCode=Dp;Gt.default=Gt;const{Axios:_5,AxiosError:L5,CanceledError:B5,isCancel:U5,CancelToken:k5,VERSION:H5,all:$5,Cancel:P5,isAxiosError:q5,spread:F5,toFormData:V5,AxiosHeaders:Y5,HttpStatusCode:G5,formToJSON:X5,getAdapter:K5,mergeConfig:I5}=Gt,Cx="https://api.dikshantsharma.com/api";if(!Cx)throw new Error("api base url is not defined");const hn=Gt.create({baseURL:Cx,withCredentials:!0});hn.interceptors.request.use(t=>{const a=localStorage.getItem("accessToken");return a&&(t.headers.Authorization=`Bearer ${a}`),t});hn.interceptors.response.use(t=>t,t=>(console.log("API ERROR:",t.response?.data||t.message),Promise.reject(t)));const Tn={auth:{login:"/auth/login",signup:"/auth/signup",refresh:"/auth/refresh",verifyOtp:"/auth/verify-otp",myDetails:"/auth/me"},projects:{create:"/projects",getAll:"/projects",getById:t=>`/projects/${t}`,updateById:t=>`/projects/${t}`,getAllOfLoginUser:t=>`/projects/me?role=${t}`,getMembers:t=>`/projects/${t}/members`},applications:{getAllOfProject:t=>`/applications/projects/${t}`,getAllOfLoginUser:"/applications/me",applyToProject:t=>`/applications/projects/${t}`,updateStatus:(t,a)=>`/applications/projects/${t}/status/${a}`}},Iu={login:async(t,a)=>(await hn.post(Tn.auth.login,{email:t,password:a})).data,signup:async(t,a,l,i=null)=>(await hn.post(Tn.auth.signup,{name:t,email:a,password:l,bio:i})).data,verifyOtp:async(t,a)=>(await hn.post(Tn.auth.verifyOtp,{email:t,otp:a})).data,refresh:async(t,a)=>(await hn.post(Tn.auth.refresh,{email:t,refreshToken:a})).data,getMyDetails:async()=>(await hn.get(Tn.auth.myDetails)).data};function VT(){const t=Di(),[a,l]=S.useState({email:"",password:""}),[i,s]=S.useState(!1),[u,f]=S.useState(""),[p,m]=S.useState(""),[h,y]=S.useState(!1),v=E=>{const{name:b,value:w}=E.target;l(R=>({...R,[b]:w}))},C=async E=>{E.preventDefault(),f(""),m(""),s(!0);try{const b=await Iu.login(a.email.trim()?.toLowerCase(),a.password);b?.accessToken&&localStorage.setItem("accessToken",b.accessToken),b?.refreshToken&&localStorage.setItem("refreshToken",b.refreshToken),window.dispatchEvent(new Event("auth:change")),m("Logged in successfully."),setTimeout(()=>t("/"),600)}catch(b){f(b.response?.data?.message||"Unable to login. Try again.")}finally{s(!1)}};return x.jsx("div",{className:"min-h-[calc(100vh-200px)] flex items-center justify-center px-4 sm:px-6 lg:px-8 py-12",children:x.jsxs("div",{className:"w-full max-w-md",children:[x.jsxs("div",{className:"text-center mb-8",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-2",children:"Login"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Sign in to your account to continue"})]}),x.jsx("div",{className:"bg-white border border-gray-200 p-8",children:x.jsxs("form",{className:"space-y-6",onSubmit:C,children:[x.jsxs("div",{children:[x.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"Email"}),x.jsx("input",{id:"email",name:"email",type:"email",value:a.email,onChange:v,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"you@example.com"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"Password"}),x.jsxs("div",{className:"relative",children:[x.jsx("input",{id:"password",name:"password",type:h?"text":"password",value:a.password,onChange:v,required:!0,className:"w-full px-4 py-2 pr-14 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Enter your password"}),x.jsx("button",{type:"button",onClick:()=>y(E=>!E),className:"absolute inset-y-0 right-2 text-xs font-medium text-gray-600 hover:text-gray-900",children:h?"Hide":"Show"})]})]}),u&&x.jsx("p",{className:"text-sm text-red-600",children:u}),p&&x.jsx("p",{className:"text-sm text-green-600",children:p}),x.jsx("button",{type:"submit",disabled:i,className:"w-full bg-gray-900 text-white py-2 px-4 rounded hover:bg-gray-800 text-sm font-medium disabled:opacity-70",children:i?"Logging in...":"Login"})]})}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-600",children:["Don't have an account?"," ",x.jsx(ua,{to:"/signup",className:"text-gray-900 font-medium",children:"Sign up"})]})]})})}function YT(){const t=Di(),[a,l]=S.useState("form"),[i,s]=S.useState({name:"",email:"",password:"",bio:""}),[u,f]=S.useState(""),[p,m]=S.useState(!1),[h,y]=S.useState(!1),[v,C]=S.useState(""),[E,b]=S.useState(""),[w,R]=S.useState(!1),j=N=>{const{name:B,value:O}=N.target;s(Q=>({...Q,[B]:O}))},L=async N=>{N.preventDefault(),C(""),b(""),m(!0);try{const B=await Iu.signup(i.name.trim(),i.email.trim().toLowerCase(),i.password,i.bio.trim()?i.bio.trim():"");l("verify"),b(B?.message||"OTP sent successfully.")}catch(B){C(B.response?.data?.message||"Unable to sign up. Try again.")}finally{m(!1)}},M=async N=>{N.preventDefault(),C(""),b(""),y(!0);try{const B=await Iu.verifyOtp(i.email.trim(),u.trim());B?.accessToken&&localStorage.setItem("accessToken",B.accessToken),B?.refreshToken&&localStorage.setItem("refreshToken",B.refreshToken),window.dispatchEvent(new Event("auth:change")),b("Account verified. Redirecting..."),setTimeout(()=>t("/"),800)}catch(B){C(B.response?.data?.message||"Invalid OTP. Try again.")}finally{y(!1)}},_=()=>{l("form"),f(""),b("")};return x.jsx("div",{className:"min-h-[calc(100vh-200px)] flex items-center justify-center px-4 sm:px-6 lg:px-8 py-12",children:x.jsxs("div",{className:"w-full max-w-md",children:[x.jsxs("div",{className:"text-center mb-8",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-2",children:"Sign Up"}),x.jsx("p",{className:"text-sm text-gray-600",children:"Create an account to get started"})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-8",children:[a==="form"&&x.jsxs("form",{className:"space-y-6",onSubmit:L,children:[x.jsxs("div",{children:[x.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:"Full Name"}),x.jsx("input",{id:"name",name:"name",type:"text",value:i.name,onChange:j,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Name"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"Email"}),x.jsx("input",{id:"email",name:"email",type:"email",value:i.email,onChange:j,required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"you@example.com"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"Password"}),x.jsxs("div",{className:"relative",children:[x.jsx("input",{id:"password",name:"password",type:w?"text":"password",value:i.password,onChange:j,required:!0,className:"w-full px-4 py-2 pr-14 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Create a password"}),x.jsx("button",{type:"button",onClick:()=>R(N=>!N),className:"absolute inset-y-0 right-2 text-xs font-medium text-gray-600 hover:text-gray-900",children:w?"Hide":"Show"})]})]}),x.jsxs("div",{children:[x.jsxs("label",{htmlFor:"bio",className:"block text-sm font-medium text-gray-700 mb-2",children:["Bio ",x.jsx("span",{className:"text-gray-400",children:"(optional)"})]}),x.jsx("textarea",{id:"bio",name:"bio",value:i.bio,onChange:j,rows:3,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400",placeholder:"Tell others a bit about you (optional)"})]}),v&&x.jsx("p",{className:"text-sm text-red-600",children:v}),E&&x.jsx("p",{className:"text-sm text-green-600",children:E}),x.jsx("button",{type:"submit",disabled:p,className:"w-full bg-gray-900 text-white py-2 px-4 rounded hover:bg-gray-800 text-sm font-medium disabled:opacity-70",children:p?"Sending OTP...":"Sign Up"})]}),a==="verify"&&x.jsxs("form",{className:"space-y-6",onSubmit:M,children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-sm text-gray-700 mb-1",children:"Enter the 6-digit OTP sent to"}),x.jsx("p",{className:"text-sm font-medium text-gray-900",children:i.email}),x.jsx("button",{type:"button",onClick:_,className:"mt-2 text-xs text-gray-600 underline",children:"Use a different email"})]}),x.jsxs("div",{children:[x.jsx("label",{htmlFor:"otp",className:"block text-sm font-medium text-gray-700 mb-2",children:"Verification Code"}),x.jsx("input",{id:"otp",name:"otp",type:"text",inputMode:"numeric",pattern:"[0-9]*",maxLength:6,value:u,onChange:N=>f(N.target.value.replace(/[^0-9]/g,"")),required:!0,className:"w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:border-gray-900 text-gray-900 placeholder-gray-400 tracking-[0.4em]",placeholder:"••••••"}),x.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Didn’t receive it? Check spam or request another code."})]}),v&&x.jsx("p",{className:"text-sm text-red-600",children:v}),E&&x.jsx("p",{className:"text-sm text-green-600",children:E}),x.jsx("button",{type:"submit",disabled:h,className:"w-full bg-gray-900 text-white py-2 px-4 rounded hover:bg-gray-800 text-sm font-medium disabled:opacity-70",children:h?"Verifying...":"Verify & Continue"})]})]}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-600",children:["Already have an account?"," ",x.jsx(ua,{to:"/login",className:"text-gray-900 font-medium",children:"Login"})]})]})})}const Tl={create:async(t,a,l,i)=>(await hn.post(Tn.projects.create,{title:t,description:a,skills:l,location_id:i})).data,getById:async t=>(await hn.get(Tn.projects.getById(t))).data,getAll:async()=>(await hn.get(Tn.projects.getAll)).data,getAllofLoginUser:async t=>(await hn.get(Tn.projects.getAllOfLoginUser(t))).data,update:async(t,a)=>(await hn.patch(Tn.projects.updateById(t),a)).data,getMembers:async t=>(await hn.get(Tn.projects.getMembers(t))).data},Io={black:"#000",white:"#fff"},mi={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},gi={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},yi={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},vi={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},bi={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Do={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},GT={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function cr(t,...a){const l=new URL(`https://mui.com/production-error/?code=${t}`);return a.forEach(i=>l.searchParams.append("args[]",i)),`Minified MUI error #${t}; visit ${l} for the full message.`}const Sc="$$material";function Qu(){return Qu=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var i in l)({}).hasOwnProperty.call(l,i)&&(t[i]=l[i])}return t},Qu.apply(null,arguments)}function XT(t){if(t.sheet)return t.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===t)return document.styleSheets[a]}function KT(t){var a=document.createElement("style");return a.setAttribute("data-emotion",t.key),t.nonce!==void 0&&a.setAttribute("nonce",t.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var IT=(function(){function t(l){var i=this;this._insertTag=function(s){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,u),i.tags.push(s)},this.isSpeedy=l.speedy===void 0?!0:l.speedy,this.tags=[],this.ctr=0,this.nonce=l.nonce,this.key=l.key,this.container=l.container,this.prepend=l.prepend,this.insertionPoint=l.insertionPoint,this.before=null}var a=t.prototype;return a.hydrate=function(i){i.forEach(this._insertTag)},a.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(KT(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var u=XT(s);try{u.insertRule(i,u.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},a.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},t})(),yn="-ms-",Zu="-moz-",lt="-webkit-",Tx="comm",fh="rule",dh="decl",QT="@import",Rx="@keyframes",ZT="@layer",WT=Math.abs,Ec=String.fromCharCode,JT=Object.assign;function eR(t,a){return pn(t,0)^45?(((a<<2^pn(t,0))<<2^pn(t,1))<<2^pn(t,2))<<2^pn(t,3):0}function Ax(t){return t.trim()}function tR(t,a){return(t=a.exec(t))?t[0]:t}function it(t,a,l){return t.replace(a,l)}function zp(t,a){return t.indexOf(a)}function pn(t,a){return t.charCodeAt(a)|0}function Qo(t,a,l){return t.slice(a,l)}function La(t){return t.length}function ph(t){return t.length}function Nu(t,a){return a.push(t),t}function nR(t,a){return t.map(a).join("")}var wc=1,Oi=1,Ox=0,kn=0,Jt=0,Li="";function Cc(t,a,l,i,s,u,f){return{value:t,root:a,parent:l,type:i,props:s,children:u,line:wc,column:Oi,length:f,return:""}}function zo(t,a){return JT(Cc("",null,null,"",null,null,0),t,{length:-t.length},a)}function aR(){return Jt}function rR(){return Jt=kn>0?pn(Li,--kn):0,Oi--,Jt===10&&(Oi=1,wc--),Jt}function Kn(){return Jt=kn<Ox?pn(Li,kn++):0,Oi++,Jt===10&&(Oi=1,wc++),Jt}function $a(){return pn(Li,kn)}function Pu(){return kn}function os(t,a){return Qo(Li,t,a)}function Zo(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Nx(t){return wc=Oi=1,Ox=La(Li=t),kn=0,[]}function Mx(t){return Li="",t}function qu(t){return Ax(os(kn-1,_p(t===91?t+2:t===40?t+1:t)))}function lR(t){for(;(Jt=$a())&&Jt<33;)Kn();return Zo(t)>2||Zo(Jt)>3?"":" "}function iR(t,a){for(;--a&&Kn()&&!(Jt<48||Jt>102||Jt>57&&Jt<65||Jt>70&&Jt<97););return os(t,Pu()+(a<6&&$a()==32&&Kn()==32))}function _p(t){for(;Kn();)switch(Jt){case t:return kn;case 34:case 39:t!==34&&t!==39&&_p(Jt);break;case 40:t===41&&_p(t);break;case 92:Kn();break}return kn}function oR(t,a){for(;Kn()&&t+Jt!==57;)if(t+Jt===84&&$a()===47)break;return"/*"+os(a,kn-1)+"*"+Ec(t===47?t:Kn())}function sR(t){for(;!Zo($a());)Kn();return os(t,kn)}function uR(t){return Mx(Fu("",null,null,null,[""],t=Nx(t),0,[0],t))}function Fu(t,a,l,i,s,u,f,p,m){for(var h=0,y=0,v=f,C=0,E=0,b=0,w=1,R=1,j=1,L=0,M="",_=s,N=u,B=i,O=M;R;)switch(b=L,L=Kn()){case 40:if(b!=108&&pn(O,v-1)==58){zp(O+=it(qu(L),"&","&\f"),"&\f")!=-1&&(j=-1);break}case 34:case 39:case 91:O+=qu(L);break;case 9:case 10:case 13:case 32:O+=lR(b);break;case 92:O+=iR(Pu()-1,7);continue;case 47:switch($a()){case 42:case 47:Nu(cR(oR(Kn(),Pu()),a,l),m);break;default:O+="/"}break;case 123*w:p[h++]=La(O)*j;case 125*w:case 59:case 0:switch(L){case 0:case 125:R=0;case 59+y:j==-1&&(O=it(O,/\f/g,"")),E>0&&La(O)-v&&Nu(E>32?xv(O+";",i,l,v-1):xv(it(O," ","")+";",i,l,v-2),m);break;case 59:O+=";";default:if(Nu(B=bv(O,a,l,h,y,s,p,M,_=[],N=[],v),u),L===123)if(y===0)Fu(O,a,B,B,_,u,v,p,N);else switch(C===99&&pn(O,3)===110?100:C){case 100:case 108:case 109:case 115:Fu(t,B,B,i&&Nu(bv(t,B,B,0,0,s,p,M,s,_=[],v),N),s,N,v,p,i?_:N);break;default:Fu(O,B,B,B,[""],N,0,p,N)}}h=y=E=0,w=j=1,M=O="",v=f;break;case 58:v=1+La(O),E=b;default:if(w<1){if(L==123)--w;else if(L==125&&w++==0&&rR()==125)continue}switch(O+=Ec(L),L*w){case 38:j=y>0?1:(O+="\f",-1);break;case 44:p[h++]=(La(O)-1)*j,j=1;break;case 64:$a()===45&&(O+=qu(Kn())),C=$a(),y=v=La(M=O+=sR(Pu())),L++;break;case 45:b===45&&La(O)==2&&(w=0)}}return u}function bv(t,a,l,i,s,u,f,p,m,h,y){for(var v=s-1,C=s===0?u:[""],E=ph(C),b=0,w=0,R=0;b<i;++b)for(var j=0,L=Qo(t,v+1,v=WT(w=f[b])),M=t;j<E;++j)(M=Ax(w>0?C[j]+" "+L:it(L,/&\f/g,C[j])))&&(m[R++]=M);return Cc(t,a,l,s===0?fh:p,m,h,y)}function cR(t,a,l){return Cc(t,a,l,Tx,Ec(aR()),Qo(t,2,-2),0)}function xv(t,a,l,i){return Cc(t,a,l,dh,Qo(t,0,i),Qo(t,i+1,-1),i)}function Ti(t,a){for(var l="",i=ph(t),s=0;s<i;s++)l+=a(t[s],s,t,a)||"";return l}function fR(t,a,l,i){switch(t.type){case ZT:if(t.children.length)break;case QT:case dh:return t.return=t.return||t.value;case Tx:return"";case Rx:return t.return=t.value+"{"+Ti(t.children,i)+"}";case fh:t.value=t.props.join(",")}return La(l=Ti(t.children,i))?t.return=t.value+"{"+l+"}":""}function dR(t){var a=ph(t);return function(l,i,s,u){for(var f="",p=0;p<a;p++)f+=t[p](l,i,s,u)||"";return f}}function pR(t){return function(a){a.root||(a=a.return)&&t(a)}}function jx(t){var a=Object.create(null);return function(l){return a[l]===void 0&&(a[l]=t(l)),a[l]}}var hR=function(a,l,i){for(var s=0,u=0;s=u,u=$a(),s===38&&u===12&&(l[i]=1),!Zo(u);)Kn();return os(a,kn)},mR=function(a,l){var i=-1,s=44;do switch(Zo(s)){case 0:s===38&&$a()===12&&(l[i]=1),a[i]+=hR(kn-1,l,i);break;case 2:a[i]+=qu(s);break;case 4:if(s===44){a[++i]=$a()===58?"&\f":"",l[i]=a[i].length;break}default:a[i]+=Ec(s)}while(s=Kn());return a},gR=function(a,l){return Mx(mR(Nx(a),l))},Sv=new WeakMap,yR=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var l=a.value,i=a.parent,s=a.column===i.column&&a.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(a.props.length===1&&l.charCodeAt(0)!==58&&!Sv.get(i))&&!s){Sv.set(a,!0);for(var u=[],f=gR(l,u),p=i.props,m=0,h=0;m<f.length;m++)for(var y=0;y<p.length;y++,h++)a.props[h]=u[m]?f[m].replace(/&\f/g,p[y]):p[y]+" "+f[m]}}},vR=function(a){if(a.type==="decl"){var l=a.value;l.charCodeAt(0)===108&&l.charCodeAt(2)===98&&(a.return="",a.value="")}};function Dx(t,a){switch(eR(t,a)){case 5103:return lt+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return lt+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return lt+t+Zu+t+yn+t+t;case 6828:case 4268:return lt+t+yn+t+t;case 6165:return lt+t+yn+"flex-"+t+t;case 5187:return lt+t+it(t,/(\w+).+(:[^]+)/,lt+"box-$1$2"+yn+"flex-$1$2")+t;case 5443:return lt+t+yn+"flex-item-"+it(t,/flex-|-self/,"")+t;case 4675:return lt+t+yn+"flex-line-pack"+it(t,/align-content|flex-|-self/,"")+t;case 5548:return lt+t+yn+it(t,"shrink","negative")+t;case 5292:return lt+t+yn+it(t,"basis","preferred-size")+t;case 6060:return lt+"box-"+it(t,"-grow","")+lt+t+yn+it(t,"grow","positive")+t;case 4554:return lt+it(t,/([^-])(transform)/g,"$1"+lt+"$2")+t;case 6187:return it(it(it(t,/(zoom-|grab)/,lt+"$1"),/(image-set)/,lt+"$1"),t,"")+t;case 5495:case 3959:return it(t,/(image-set\([^]*)/,lt+"$1$`$1");case 4968:return it(it(t,/(.+:)(flex-)?(.*)/,lt+"box-pack:$3"+yn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+lt+t+t;case 4095:case 3583:case 4068:case 2532:return it(t,/(.+)-inline(.+)/,lt+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(La(t)-1-a>6)switch(pn(t,a+1)){case 109:if(pn(t,a+4)!==45)break;case 102:return it(t,/(.+:)(.+)-([^]+)/,"$1"+lt+"$2-$3$1"+Zu+(pn(t,a+3)==108?"$3":"$2-$3"))+t;case 115:return~zp(t,"stretch")?Dx(it(t,"stretch","fill-available"),a)+t:t}break;case 4949:if(pn(t,a+1)!==115)break;case 6444:switch(pn(t,La(t)-3-(~zp(t,"!important")&&10))){case 107:return it(t,":",":"+lt)+t;case 101:return it(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lt+(pn(t,14)===45?"inline-":"")+"box$3$1"+lt+"$2$3$1"+yn+"$2box$3")+t}break;case 5936:switch(pn(t,a+11)){case 114:return lt+t+yn+it(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return lt+t+yn+it(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return lt+t+yn+it(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return lt+t+yn+t+t}return t}var bR=function(a,l,i,s){if(a.length>-1&&!a.return)switch(a.type){case dh:a.return=Dx(a.value,a.length);break;case Rx:return Ti([zo(a,{value:it(a.value,"@","@"+lt)})],s);case fh:if(a.length)return nR(a.props,function(u){switch(tR(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ti([zo(a,{props:[it(u,/:(read-\w+)/,":"+Zu+"$1")]})],s);case"::placeholder":return Ti([zo(a,{props:[it(u,/:(plac\w+)/,":"+lt+"input-$1")]}),zo(a,{props:[it(u,/:(plac\w+)/,":"+Zu+"$1")]}),zo(a,{props:[it(u,/:(plac\w+)/,yn+"input-$1")]})],s)}return""})}},xR=[bR],SR=function(a){var l=a.key;if(l==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(w){var R=w.getAttribute("data-emotion");R.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var s=a.stylisPlugins||xR,u={},f,p=[];f=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+l+' "]'),function(w){for(var R=w.getAttribute("data-emotion").split(" "),j=1;j<R.length;j++)u[R[j]]=!0;p.push(w)});var m,h=[yR,vR];{var y,v=[fR,pR(function(w){y.insert(w)})],C=dR(h.concat(s,v)),E=function(R){return Ti(uR(R),C)};m=function(R,j,L,M){y=L,E(R?R+"{"+j.styles+"}":j.styles),M&&(b.inserted[j.name]=!0)}}var b={key:l,sheet:new IT({key:l,container:f,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:u,registered:{},insert:m};return b.sheet.hydrate(p),b},fp={exports:{}},st={};var Ev;function ER(){if(Ev)return st;Ev=1;var t=typeof Symbol=="function"&&Symbol.for,a=t?Symbol.for("react.element"):60103,l=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,f=t?Symbol.for("react.provider"):60109,p=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,C=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,R=t?Symbol.for("react.fundamental"):60117,j=t?Symbol.for("react.responder"):60118,L=t?Symbol.for("react.scope"):60119;function M(N){if(typeof N=="object"&&N!==null){var B=N.$$typeof;switch(B){case a:switch(N=N.type,N){case m:case h:case i:case u:case s:case v:return N;default:switch(N=N&&N.$$typeof,N){case p:case y:case b:case E:case f:return N;default:return B}}case l:return B}}}function _(N){return M(N)===h}return st.AsyncMode=m,st.ConcurrentMode=h,st.ContextConsumer=p,st.ContextProvider=f,st.Element=a,st.ForwardRef=y,st.Fragment=i,st.Lazy=b,st.Memo=E,st.Portal=l,st.Profiler=u,st.StrictMode=s,st.Suspense=v,st.isAsyncMode=function(N){return _(N)||M(N)===m},st.isConcurrentMode=_,st.isContextConsumer=function(N){return M(N)===p},st.isContextProvider=function(N){return M(N)===f},st.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===a},st.isForwardRef=function(N){return M(N)===y},st.isFragment=function(N){return M(N)===i},st.isLazy=function(N){return M(N)===b},st.isMemo=function(N){return M(N)===E},st.isPortal=function(N){return M(N)===l},st.isProfiler=function(N){return M(N)===u},st.isStrictMode=function(N){return M(N)===s},st.isSuspense=function(N){return M(N)===v},st.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===i||N===h||N===u||N===s||N===v||N===C||typeof N=="object"&&N!==null&&(N.$$typeof===b||N.$$typeof===E||N.$$typeof===f||N.$$typeof===p||N.$$typeof===y||N.$$typeof===R||N.$$typeof===j||N.$$typeof===L||N.$$typeof===w)},st.typeOf=M,st}var wv;function wR(){return wv||(wv=1,fp.exports=ER()),fp.exports}var dp,Cv;function CR(){if(Cv)return dp;Cv=1;var t=wR(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=i,u[t.Memo]=s;function f(b){return t.isMemo(b)?s:u[b.$$typeof]||a}var p=Object.defineProperty,m=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,C=Object.prototype;function E(b,w,R){if(typeof w!="string"){if(C){var j=v(w);j&&j!==C&&E(b,j,R)}var L=m(w);h&&(L=L.concat(h(w)));for(var M=f(b),_=f(w),N=0;N<L.length;++N){var B=L[N];if(!l[B]&&!(R&&R[B])&&!(_&&_[B])&&!(M&&M[B])){var O=y(w,B);try{p(b,B,O)}catch{}}}}return b}return dp=E,dp}CR();var TR=!0;function zx(t,a,l){var i="";return l.split(" ").forEach(function(s){t[s]!==void 0?a.push(t[s]+";"):s&&(i+=s+" ")}),i}var hh=function(a,l,i){var s=a.key+"-"+l.name;(i===!1||TR===!1)&&a.registered[s]===void 0&&(a.registered[s]=l.styles)},mh=function(a,l,i){hh(a,l,i);var s=a.key+"-"+l.name;if(a.inserted[l.name]===void 0){var u=l;do a.insert(l===u?"."+s:"",u,a.sheet,!0),u=u.next;while(u!==void 0)}};function RR(t){for(var a=0,l,i=0,s=t.length;s>=4;++i,s-=4)l=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,a=(l&65535)*1540483477+((l>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(s){case 3:a^=(t.charCodeAt(i+2)&255)<<16;case 2:a^=(t.charCodeAt(i+1)&255)<<8;case 1:a^=t.charCodeAt(i)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var AR={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},OR=/[A-Z]|^ms/g,NR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_x=function(a){return a.charCodeAt(1)===45},Tv=function(a){return a!=null&&typeof a!="boolean"},pp=jx(function(t){return _x(t)?t:t.replace(OR,"-$&").toLowerCase()}),Rv=function(a,l){switch(a){case"animation":case"animationName":if(typeof l=="string")return l.replace(NR,function(i,s,u){return Ba={name:s,styles:u,next:Ba},s})}return AR[a]!==1&&!_x(a)&&typeof l=="number"&&l!==0?l+"px":l};function Wo(t,a,l){if(l==null)return"";var i=l;if(i.__emotion_styles!==void 0)return i;switch(typeof l){case"boolean":return"";case"object":{var s=l;if(s.anim===1)return Ba={name:s.name,styles:s.styles,next:Ba},s.name;var u=l;if(u.styles!==void 0){var f=u.next;if(f!==void 0)for(;f!==void 0;)Ba={name:f.name,styles:f.styles,next:Ba},f=f.next;var p=u.styles+";";return p}return MR(t,a,l)}case"function":{if(t!==void 0){var m=Ba,h=l(t);return Ba=m,Wo(t,a,h)}break}}var y=l;if(a==null)return y;var v=a[y];return v!==void 0?v:y}function MR(t,a,l){var i="";if(Array.isArray(l))for(var s=0;s<l.length;s++)i+=Wo(t,a,l[s])+";";else for(var u in l){var f=l[u];if(typeof f!="object"){var p=f;a!=null&&a[p]!==void 0?i+=u+"{"+a[p]+"}":Tv(p)&&(i+=pp(u)+":"+Rv(u,p)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(a==null||a[f[0]]===void 0))for(var m=0;m<f.length;m++)Tv(f[m])&&(i+=pp(u)+":"+Rv(u,f[m])+";");else{var h=Wo(t,a,f);switch(u){case"animation":case"animationName":{i+=pp(u)+":"+h+";";break}default:i+=u+"{"+h+"}"}}}return i}var Av=/label:\s*([^\s;{]+)\s*(;|$)/g,Ba;function ss(t,a,l){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";Ba=void 0;var u=t[0];if(u==null||u.raw===void 0)i=!1,s+=Wo(l,a,u);else{var f=u;s+=f[0]}for(var p=1;p<t.length;p++)if(s+=Wo(l,a,t[p]),i){var m=u;s+=m[p]}Av.lastIndex=0;for(var h="",y;(y=Av.exec(s))!==null;)h+="-"+y[1];var v=RR(s)+h;return{name:v,styles:s,next:Ba}}var jR=function(a){return a()},Lx=Cp.useInsertionEffect?Cp.useInsertionEffect:!1,Bx=Lx||jR,Ov=Lx||S.useLayoutEffect,Ux=S.createContext(typeof HTMLElement<"u"?SR({key:"css"}):null);Ux.Provider;var gh=function(a){return S.forwardRef(function(l,i){var s=S.useContext(Ux);return a(l,s,i)})},Tc=S.createContext({}),yh={}.hasOwnProperty,Lp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",DR=function(a,l){var i={};for(var s in l)yh.call(l,s)&&(i[s]=l[s]);return i[Lp]=a,i},zR=function(a){var l=a.cache,i=a.serialized,s=a.isStringTag;return hh(l,i,s),Bx(function(){return mh(l,i,s)}),null},_R=gh(function(t,a,l){var i=t.css;typeof i=="string"&&a.registered[i]!==void 0&&(i=a.registered[i]);var s=t[Lp],u=[i],f="";typeof t.className=="string"?f=zx(a.registered,u,t.className):t.className!=null&&(f=t.className+" ");var p=ss(u,void 0,S.useContext(Tc));f+=a.key+"-"+p.name;var m={};for(var h in t)yh.call(t,h)&&h!=="css"&&h!==Lp&&(m[h]=t[h]);return m.className=f,l&&(m.ref=l),S.createElement(S.Fragment,null,S.createElement(zR,{cache:a,serialized:p,isStringTag:typeof s=="string"}),S.createElement(s,m))}),LR=_R,Nv=function(a,l){var i=arguments;if(l==null||!yh.call(l,"css"))return S.createElement.apply(void 0,i);var s=i.length,u=new Array(s);u[0]=LR,u[1]=DR(a,l);for(var f=2;f<s;f++)u[f]=i[f];return S.createElement.apply(null,u)};(function(t){var a;a||(a=t.JSX||(t.JSX={}))})(Nv||(Nv={}));var BR=gh(function(t,a){var l=t.styles,i=ss([l],void 0,S.useContext(Tc)),s=S.useRef();return Ov(function(){var u=a.key+"-global",f=new a.sheet.constructor({key:u,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),p=!1,m=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return a.sheet.tags.length&&(f.before=a.sheet.tags[0]),m!==null&&(p=!0,m.setAttribute("data-emotion",u),f.hydrate([m])),s.current=[f,p],function(){f.flush()}},[a]),Ov(function(){var u=s.current,f=u[0],p=u[1];if(p){u[1]=!1;return}if(i.next!==void 0&&mh(a,i.next,!0),f.tags.length){var m=f.tags[f.tags.length-1].nextElementSibling;f.before=m,f.flush()}a.insert("",i,f,!1)},[a,i.name]),null});function vh(){for(var t=arguments.length,a=new Array(t),l=0;l<t;l++)a[l]=arguments[l];return ss(a)}function us(){var t=vh.apply(void 0,arguments),a="animation-"+t.name;return{name:a,styles:"@keyframes "+a+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var UR=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,kR=jx(function(t){return UR.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),HR=kR,$R=function(a){return a!=="theme"},Mv=function(a){return typeof a=="string"&&a.charCodeAt(0)>96?HR:$R},jv=function(a,l,i){var s;if(l){var u=l.shouldForwardProp;s=a.__emotion_forwardProp&&u?function(f){return a.__emotion_forwardProp(f)&&u(f)}:u}return typeof s!="function"&&i&&(s=a.__emotion_forwardProp),s},PR=function(a){var l=a.cache,i=a.serialized,s=a.isStringTag;return hh(l,i,s),Bx(function(){return mh(l,i,s)}),null},qR=function t(a,l){var i=a.__emotion_real===a,s=i&&a.__emotion_base||a,u,f;l!==void 0&&(u=l.label,f=l.target);var p=jv(a,l,i),m=p||Mv(s),h=!m("as");return function(){var y=arguments,v=i&&a.__emotion_styles!==void 0?a.__emotion_styles.slice(0):[];if(u!==void 0&&v.push("label:"+u+";"),y[0]==null||y[0].raw===void 0)v.push.apply(v,y);else{var C=y[0];v.push(C[0]);for(var E=y.length,b=1;b<E;b++)v.push(y[b],C[b])}var w=gh(function(R,j,L){var M=h&&R.as||s,_="",N=[],B=R;if(R.theme==null){B={};for(var O in R)B[O]=R[O];B.theme=S.useContext(Tc)}typeof R.className=="string"?_=zx(j.registered,N,R.className):R.className!=null&&(_=R.className+" ");var Q=ss(v.concat(N),j.registered,B);_+=j.key+"-"+Q.name,f!==void 0&&(_+=" "+f);var oe=h&&p===void 0?Mv(M):m,re={};for(var ce in R)h&&ce==="as"||oe(ce)&&(re[ce]=R[ce]);return re.className=_,L&&(re.ref=L),S.createElement(S.Fragment,null,S.createElement(PR,{cache:j,serialized:Q,isStringTag:typeof M=="string"}),S.createElement(M,re))});return w.displayName=u!==void 0?u:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",w.defaultProps=a.defaultProps,w.__emotion_real=w,w.__emotion_base=s,w.__emotion_styles=v,w.__emotion_forwardProp=p,Object.defineProperty(w,"toString",{value:function(){return"."+f}}),w.withComponent=function(R,j){var L=t(R,Qu({},l,j,{shouldForwardProp:jv(w,j,!0)}));return L.apply(void 0,v)},w}},FR=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Bp=qR.bind(null);FR.forEach(function(t){Bp[t]=Bp(t)});function VR(t){return t==null||Object.keys(t).length===0}function YR(t){const{styles:a,defaultTheme:l={}}=t,i=typeof a=="function"?s=>a(VR(s)?l:s):a;return x.jsx(BR,{styles:i})}function kx(t,a){return Bp(t,a)}function GR(t,a){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=a(t.__emotion_styles))}const Dv=[];function Fr(t){return Dv[0]=t,ss(Dv)}var hp={exports:{}},vt={};var zv;function XR(){if(zv)return vt;zv=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),C=Symbol.for("react.view_transition"),E=Symbol.for("react.client.reference");function b(w){if(typeof w=="object"&&w!==null){var R=w.$$typeof;switch(R){case t:switch(w=w.type,w){case l:case s:case i:case m:case h:case C:return w;default:switch(w=w&&w.$$typeof,w){case f:case p:case v:case y:return w;case u:return w;default:return R}}case a:return R}}}return vt.ContextConsumer=u,vt.ContextProvider=f,vt.Element=t,vt.ForwardRef=p,vt.Fragment=l,vt.Lazy=v,vt.Memo=y,vt.Portal=a,vt.Profiler=s,vt.StrictMode=i,vt.Suspense=m,vt.SuspenseList=h,vt.isContextConsumer=function(w){return b(w)===u},vt.isContextProvider=function(w){return b(w)===f},vt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},vt.isForwardRef=function(w){return b(w)===p},vt.isFragment=function(w){return b(w)===l},vt.isLazy=function(w){return b(w)===v},vt.isMemo=function(w){return b(w)===y},vt.isPortal=function(w){return b(w)===a},vt.isProfiler=function(w){return b(w)===s},vt.isStrictMode=function(w){return b(w)===i},vt.isSuspense=function(w){return b(w)===m},vt.isSuspenseList=function(w){return b(w)===h},vt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===l||w===s||w===i||w===m||w===h||typeof w=="object"&&w!==null&&(w.$$typeof===v||w.$$typeof===y||w.$$typeof===f||w.$$typeof===u||w.$$typeof===p||w.$$typeof===E||w.getModuleId!==void 0)},vt.typeOf=b,vt}var _v;function KR(){return _v||(_v=1,hp.exports=XR()),hp.exports}var Hx=KR();function Ua(t){if(typeof t!="object"||t===null)return!1;const a=Object.getPrototypeOf(t);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function $x(t){if(S.isValidElement(t)||Hx.isValidElementType(t)||!Ua(t))return t;const a={};return Object.keys(t).forEach(l=>{a[l]=$x(t[l])}),a}function bn(t,a,l={clone:!0}){const i=l.clone?{...t}:t;return Ua(t)&&Ua(a)&&Object.keys(a).forEach(s=>{S.isValidElement(a[s])||Hx.isValidElementType(a[s])?i[s]=a[s]:Ua(a[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Ua(t[s])?i[s]=bn(t[s],a[s],l):l.clone?i[s]=Ua(a[s])?$x(a[s]):a[s]:i[s]=a[s]}),i}const IR=t=>{const a=Object.keys(t).map(l=>({key:l,val:t[l]}))||[];return a.sort((l,i)=>l.val-i.val),a.reduce((l,i)=>({...l,[i.key]:i.val}),{})};function QR(t){const{values:a={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:l="px",step:i=5,...s}=t,u=IR(a),f=Object.keys(u);function p(C){return`@media (min-width:${typeof a[C]=="number"?a[C]:C}${l})`}function m(C){return`@media (max-width:${(typeof a[C]=="number"?a[C]:C)-i/100}${l})`}function h(C,E){const b=f.indexOf(E);return`@media (min-width:${typeof a[C]=="number"?a[C]:C}${l}) and (max-width:${(b!==-1&&typeof a[f[b]]=="number"?a[f[b]]:E)-i/100}${l})`}function y(C){return f.indexOf(C)+1<f.length?h(C,f[f.indexOf(C)+1]):p(C)}function v(C){const E=f.indexOf(C);return E===0?p(f[1]):E===f.length-1?m(f[E]):h(C,f[f.indexOf(C)+1]).replace("@media","@media not all and")}return{keys:f,values:u,up:p,down:m,between:h,only:y,not:v,unit:l,...s}}function Lv(t,a){if(!t.containerQueries)return a;const l=Object.keys(a).filter(i=>i.startsWith("@container")).sort((i,s)=>{const u=/min-width:\s*([0-9.]+)/;return+(i.match(u)?.[1]||0)-+(s.match(u)?.[1]||0)});return l.length?l.reduce((i,s)=>{const u=a[s];return delete i[s],i[s]=u,i},{...a}):a}function ZR(t,a){return a==="@"||a.startsWith("@")&&(t.some(l=>a.startsWith(`@${l}`))||!!a.match(/^@\d/))}function WR(t,a){const l=a.match(/^@([^/]+)?\/?(.+)?$/);if(!l)return null;const[,i,s]=l,u=Number.isNaN(+i)?i||0:+i;return t.containerQueries(s).up(u)}function JR(t){const a=(u,f)=>u.replace("@media",f?`@container ${f}`:"@container");function l(u,f){u.up=(...p)=>a(t.breakpoints.up(...p),f),u.down=(...p)=>a(t.breakpoints.down(...p),f),u.between=(...p)=>a(t.breakpoints.between(...p),f),u.only=(...p)=>a(t.breakpoints.only(...p),f),u.not=(...p)=>{const m=a(t.breakpoints.not(...p),f);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const i={},s=u=>(l(i,u),i);return l(s),{...t,containerQueries:s}}const eA={borderRadius:4};function Fo(t,a){return a?bn(t,a,{clone:!1}):t}const Rc={xs:0,sm:600,md:900,lg:1200,xl:1536},Bv={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Rc[t]}px)`},tA={containerQueries:t=>({up:a=>{let l=typeof a=="number"?a:Rc[a]||a;return typeof l=="number"&&(l=`${l}px`),t?`@container ${t} (min-width:${l})`:`@container (min-width:${l})`}})};function fr(t,a,l){const i=t.theme||{};if(Array.isArray(a)){const u=i.breakpoints||Bv;return a.reduce((f,p,m)=>(f[u.up(u.keys[m])]=l(a[m]),f),{})}if(typeof a=="object"){const u=i.breakpoints||Bv;return Object.keys(a).reduce((f,p)=>{if(ZR(u.keys,p)){const m=WR(i.containerQueries?i:tA,p);m&&(f[m]=l(a[p],p))}else if(Object.keys(u.values||Rc).includes(p)){const m=u.up(p);f[m]=l(a[p],p)}else{const m=p;f[m]=a[m]}return f},{})}return l(a)}function nA(t={}){return t.keys?.reduce((l,i)=>{const s=t.up(i);return l[s]={},l},{})||{}}function Uv(t,a){return t.reduce((l,i)=>{const s=l[i];return(!s||Object.keys(s).length===0)&&delete l[i],l},a)}function _e(t){if(typeof t!="string")throw new Error(cr(7));return t.charAt(0).toUpperCase()+t.slice(1)}function Ac(t,a,l=!0){if(!a||typeof a!="string")return null;if(t&&t.vars&&l){const i=`vars.${a}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,t);if(i!=null)return i}return a.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function Wu(t,a,l,i=l){let s;return typeof t=="function"?s=t(l):Array.isArray(t)?s=t[l]||i:s=Ac(t,l)||i,a&&(s=a(s,i,t)),s}function Xt(t){const{prop:a,cssProperty:l=t.prop,themeKey:i,transform:s}=t,u=f=>{if(f[a]==null)return null;const p=f[a],m=f.theme,h=Ac(m,i)||{};return fr(f,p,v=>{let C=Wu(h,s,v);return v===C&&typeof v=="string"&&(C=Wu(h,s,`${a}${v==="default"?"":_e(v)}`,v)),l===!1?C:{[l]:C}})};return u.propTypes={},u.filterProps=[a],u}function aA(t){const a={};return l=>(a[l]===void 0&&(a[l]=t(l)),a[l])}const rA={m:"margin",p:"padding"},lA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},iA=aA(t=>{if(t.length>2)if(kv[t])t=kv[t];else return[t];const[a,l]=t.split(""),i=rA[a],s=lA[l]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),bh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...bh,...xh];function cs(t,a,l,i){const s=Ac(t,a,!0)??l;return typeof s=="number"||typeof s=="string"?u=>typeof u=="string"?u:typeof s=="string"?s.startsWith("var(")&&u===0?0:s.startsWith("var(")&&u===1?s:`calc(${u} * ${s})`:s*u:Array.isArray(s)?u=>{if(typeof u=="string")return u;const f=Math.abs(u),p=s[f];return u>=0?p:typeof p=="number"?-p:typeof p=="string"&&p.startsWith("var(")?`calc(-1 * ${p})`:`-${p}`}:typeof s=="function"?s:()=>{}}function Sh(t){return cs(t,"spacing",8)}function fs(t,a){return typeof a=="string"||a==null?a:t(a)}function oA(t,a){return l=>t.reduce((i,s)=>(i[s]=fs(a,l),i),{})}function sA(t,a,l,i){if(!a.includes(l))return null;const s=iA(l),u=oA(s,i),f=t[l];return fr(t,f,u)}function Px(t,a){const l=Sh(t.theme);return Object.keys(t).map(i=>sA(t,a,i,l)).reduce(Fo,{})}function Ut(t){return Px(t,bh)}Ut.propTypes={};Ut.filterProps=bh;function kt(t){return Px(t,xh)}kt.propTypes={};kt.filterProps=xh;function qx(t=8,a=Sh({spacing:t})){if(t.mui)return t;const l=(...i)=>(i.length===0?[1]:i).map(u=>{const f=a(u);return typeof f=="number"?`${f}px`:f}).join(" ");return l.mui=!0,l}function Oc(...t){const a=t.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),l=i=>Object.keys(i).reduce((s,u)=>a[u]?Fo(s,a[u](i)):s,{});return l.propTypes={},l.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),l}function sa(t){return typeof t!="number"?t:`${t}px solid`}function da(t,a){return Xt({prop:t,themeKey:"borders",transform:a})}const uA=da("border",sa),cA=da("borderTop",sa),fA=da("borderRight",sa),dA=da("borderBottom",sa),pA=da("borderLeft",sa),hA=da("borderColor"),mA=da("borderTopColor"),gA=da("borderRightColor"),yA=da("borderBottomColor"),vA=da("borderLeftColor"),bA=da("outline",sa),xA=da("outlineColor"),Nc=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const a=cs(t.theme,"shape.borderRadius",4),l=i=>({borderRadius:fs(a,i)});return fr(t,t.borderRadius,l)}return null};Nc.propTypes={};Nc.filterProps=["borderRadius"];Oc(uA,cA,fA,dA,pA,hA,mA,gA,yA,vA,Nc,bA,xA);const Mc=t=>{if(t.gap!==void 0&&t.gap!==null){const a=cs(t.theme,"spacing",8),l=i=>({gap:fs(a,i)});return fr(t,t.gap,l)}return null};Mc.propTypes={};Mc.filterProps=["gap"];const jc=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const a=cs(t.theme,"spacing",8),l=i=>({columnGap:fs(a,i)});return fr(t,t.columnGap,l)}return null};jc.propTypes={};jc.filterProps=["columnGap"];const Dc=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const a=cs(t.theme,"spacing",8),l=i=>({rowGap:fs(a,i)});return fr(t,t.rowGap,l)}return null};Dc.propTypes={};Dc.filterProps=["rowGap"];const SA=Xt({prop:"gridColumn"}),EA=Xt({prop:"gridRow"}),wA=Xt({prop:"gridAutoFlow"}),CA=Xt({prop:"gridAutoColumns"}),TA=Xt({prop:"gridAutoRows"}),RA=Xt({prop:"gridTemplateColumns"}),AA=Xt({prop:"gridTemplateRows"}),OA=Xt({prop:"gridTemplateAreas"}),NA=Xt({prop:"gridArea"});Oc(Mc,jc,Dc,SA,EA,wA,CA,TA,RA,AA,OA,NA);function Ri(t,a){return a==="grey"?a:t}const MA=Xt({prop:"color",themeKey:"palette",transform:Ri}),jA=Xt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ri}),DA=Xt({prop:"backgroundColor",themeKey:"palette",transform:Ri});Oc(MA,jA,DA);function Xn(t){return t<=1&&t!==0?`${t*100}%`:t}const zA=Xt({prop:"width",transform:Xn}),Eh=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const a=l=>{const i=t.theme?.breakpoints?.values?.[l]||Rc[l];return i?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Xn(l)}};return fr(t,t.maxWidth,a)}return null};Eh.filterProps=["maxWidth"];const _A=Xt({prop:"minWidth",transform:Xn}),LA=Xt({prop:"height",transform:Xn}),BA=Xt({prop:"maxHeight",transform:Xn}),UA=Xt({prop:"minHeight",transform:Xn});Xt({prop:"size",cssProperty:"width",transform:Xn});Xt({prop:"size",cssProperty:"height",transform:Xn});const kA=Xt({prop:"boxSizing"});Oc(zA,Eh,_A,LA,BA,UA,kA);const ds={border:{themeKey:"borders",transform:sa},borderTop:{themeKey:"borders",transform:sa},borderRight:{themeKey:"borders",transform:sa},borderBottom:{themeKey:"borders",transform:sa},borderLeft:{themeKey:"borders",transform:sa},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:sa},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Nc},color:{themeKey:"palette",transform:Ri},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ri},backgroundColor:{themeKey:"palette",transform:Ri},p:{style:kt},pt:{style:kt},pr:{style:kt},pb:{style:kt},pl:{style:kt},px:{style:kt},py:{style:kt},padding:{style:kt},paddingTop:{style:kt},paddingRight:{style:kt},paddingBottom:{style:kt},paddingLeft:{style:kt},paddingX:{style:kt},paddingY:{style:kt},paddingInline:{style:kt},paddingInlineStart:{style:kt},paddingInlineEnd:{style:kt},paddingBlock:{style:kt},paddingBlockStart:{style:kt},paddingBlockEnd:{style:kt},m:{style:Ut},mt:{style:Ut},mr:{style:Ut},mb:{style:Ut},ml:{style:Ut},mx:{style:Ut},my:{style:Ut},margin:{style:Ut},marginTop:{style:Ut},marginRight:{style:Ut},marginBottom:{style:Ut},marginLeft:{style:Ut},marginX:{style:Ut},marginY:{style:Ut},marginInline:{style:Ut},marginInlineStart:{style:Ut},marginInlineEnd:{style:Ut},marginBlock:{style:Ut},marginBlockStart:{style:Ut},marginBlockEnd:{style:Ut},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Mc},rowGap:{style:Dc},columnGap:{style:jc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xn},maxWidth:{style:Eh},minWidth:{transform:Xn},height:{transform:Xn},maxHeight:{transform:Xn},minHeight:{transform:Xn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function HA(...t){const a=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),l=new Set(a);return t.every(i=>l.size===Object.keys(i).length)}function $A(t,a){return typeof t=="function"?t(a):t}function PA(){function t(l,i,s,u){const f={[l]:i,theme:s},p=u[l];if(!p)return{[l]:i};const{cssProperty:m=l,themeKey:h,transform:y,style:v}=p;if(i==null)return null;if(h==="typography"&&i==="inherit")return{[l]:i};const C=Ac(s,h)||{};return v?v(f):fr(f,i,b=>{let w=Wu(C,y,b);return b===w&&typeof b=="string"&&(w=Wu(C,y,`${l}${b==="default"?"":_e(b)}`,b)),m===!1?w:{[m]:w}})}function a(l){const{sx:i,theme:s={},nested:u}=l||{};if(!i)return null;const f=s.unstable_sxConfig??ds;function p(m){let h=m;if(typeof m=="function")h=m(s);else if(typeof m!="object")return m;if(!h)return null;const y=nA(s.breakpoints),v=Object.keys(y);let C=y;return Object.keys(h).forEach(E=>{const b=$A(h[E],s);if(b!=null)if(typeof b=="object")if(f[E])C=Fo(C,t(E,b,s,f));else{const w=fr({theme:s},b,R=>({[E]:R}));HA(w,b)?C[E]=a({sx:b,theme:s,nested:!0}):C=Fo(C,w)}else C=Fo(C,t(E,b,s,f))}),!u&&s.modularCssLayers?{"@layer sx":Lv(s,Uv(v,C))}:Lv(s,Uv(v,C))}return Array.isArray(i)?i.map(p):p(i)}return a}const Rl=PA();Rl.filterProps=["sx"];function qA(t,a){const l=this;if(l.vars){if(!l.colorSchemes?.[t]||typeof l.getColorSchemeSelector!="function")return{};let i=l.getColorSchemeSelector(t);return i==="&"?a:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:a})}return l.palette.mode===t?a:{}}function wh(t={},...a){const{breakpoints:l={},palette:i={},spacing:s,shape:u={},...f}=t,p=QR(l),m=qx(s);let h=bn({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:m,shape:{...eA,...u}},f);return h=JR(h),h.applyStyles=qA,h=a.reduce((y,v)=>bn(y,v),h),h.unstable_sxConfig={...ds,...f?.unstable_sxConfig},h.unstable_sx=function(v){return Rl({sx:v,theme:this})},h}function FA(t){return Object.keys(t).length===0}function VA(t=null){const a=S.useContext(Tc);return!a||FA(a)?t:a}const YA=wh();function Ch(t=YA){return VA(t)}function mp(t){const a=Fr(t);return t!==a&&a.styles?(a.styles.match(/^@layer\s+[^{]*$/)||(a.styles=`@layer global{${a.styles}}`),a):t}function GA({styles:t,themeId:a,defaultTheme:l={}}){const i=Ch(l),s=a&&i[a]||i;let u=typeof t=="function"?t(s):t;return s.modularCssLayers&&(Array.isArray(u)?u=u.map(f=>mp(typeof f=="function"?f(s):f)):u=mp(u)),x.jsx(YR,{styles:u})}const XA=t=>{const a={systemProps:{},otherProps:{}},l=t?.theme?.unstable_sxConfig??ds;return Object.keys(t).forEach(i=>{l[i]?a.systemProps[i]=t[i]:a.otherProps[i]=t[i]}),a};function Fx(t){const{sx:a,...l}=t,{systemProps:i,otherProps:s}=XA(l);let u;return Array.isArray(a)?u=[i,...a]:typeof a=="function"?u=(...f)=>{const p=a(...f);return Ua(p)?{...i,...p}:i}:u={...i,...a},{...s,sx:u}}const Hv=t=>t,KA=()=>{let t=Hv;return{configure(a){t=a},generate(a){return t(a)},reset(){t=Hv}}},Vx=KA();function Yx(t){var a,l,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(a=0;a<s;a++)t[a]&&(l=Yx(t[a]))&&(i&&(i+=" "),i+=l)}else for(l in t)t[l]&&(i&&(i+=" "),i+=l);return i}function Le(){for(var t,a,l=0,i="",s=arguments.length;l<s;l++)(t=arguments[l])&&(a=Yx(t))&&(i&&(i+=" "),i+=a);return i}function IA(t={}){const{themeId:a,defaultTheme:l,defaultClassName:i="MuiBox-root",generateClassName:s}=t,u=kx("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(Rl);return S.forwardRef(function(m,h){const y=Ch(l),{className:v,component:C="div",...E}=Fx(m);return x.jsx(u,{as:C,ref:h,className:Le(v,s?s(i):i),theme:a&&y[a]||y,...E})})}const QA={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function bt(t,a,l="Mui"){const i=QA[a];return i?`${l}-${i}`:`${Vx.generate(t)}-${a}`}function at(t,a,l="Mui"){const i={};return a.forEach(s=>{i[s]=bt(t,s,l)}),i}function Gx(t){const{variants:a,...l}=t,i={variants:a,style:Fr(l),isProcessed:!0};return i.style===l||a&&a.forEach(s=>{typeof s.style!="function"&&(s.style=Fr(s.style))}),i}const ZA=wh();function gp(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function xl(t,a){return a&&t&&typeof t=="object"&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${a}{${String(t.styles)}}`),t}function WA(t){return t?(a,l)=>l[t]:null}function JA(t,a,l){t.theme=nO(t.theme)?l:t.theme[a]||t.theme}function Vu(t,a,l){const i=typeof a=="function"?a(t):a;if(Array.isArray(i))return i.flatMap(s=>Vu(t,s,l));if(Array.isArray(i?.variants)){let s;if(i.isProcessed)s=l?xl(i.style,l):i.style;else{const{variants:u,...f}=i;s=l?xl(Fr(f),l):f}return Xx(t,i.variants,[s],l)}return i?.isProcessed?l?xl(Fr(i.style),l):i.style:l?xl(Fr(i),l):i}function Xx(t,a,l=[],i=void 0){let s;e:for(let u=0;u<a.length;u+=1){const f=a[u];if(typeof f.props=="function"){if(s??={...t,...t.ownerState,ownerState:t.ownerState},!f.props(s))continue}else for(const p in f.props)if(t[p]!==f.props[p]&&t.ownerState?.[p]!==f.props[p])continue e;typeof f.style=="function"?(s??={...t,...t.ownerState,ownerState:t.ownerState},l.push(i?xl(Fr(f.style(s)),i):f.style(s))):l.push(i?xl(Fr(f.style),i):f.style)}return l}function eO(t={}){const{themeId:a,defaultTheme:l=ZA,rootShouldForwardProp:i=gp,slotShouldForwardProp:s=gp}=t;function u(p){JA(p,a,l)}return(p,m={})=>{GR(p,B=>B.filter(O=>O!==Rl));const{name:h,slot:y,skipVariantsResolver:v,skipSx:C,overridesResolver:E=WA(rO(y)),...b}=m,w=h&&h.startsWith("Mui")||y?"components":"custom",R=v!==void 0?v:y&&y!=="Root"&&y!=="root"||!1,j=C||!1;let L=gp;y==="Root"||y==="root"?L=i:y?L=s:aO(p)&&(L=void 0);const M=kx(p,{shouldForwardProp:L,label:tO(),...b}),_=B=>{if(B.__emotion_real===B)return B;if(typeof B=="function")return function(Q){return Vu(Q,B,Q.theme.modularCssLayers?w:void 0)};if(Ua(B)){const O=Gx(B);return function(oe){return O.variants?Vu(oe,O,oe.theme.modularCssLayers?w:void 0):oe.theme.modularCssLayers?xl(O.style,w):O.style}}return B},N=(...B)=>{const O=[],Q=B.map(_),oe=[];if(O.push(u),h&&E&&oe.push(function(ee){const Y=ee.theme.components?.[h]?.styleOverrides;if(!Y)return null;const D={};for(const F in Y)D[F]=Vu(ee,Y[F],ee.theme.modularCssLayers?"theme":void 0);return E(ee,D)}),h&&!R&&oe.push(function(ee){const Y=ee.theme?.components?.[h]?.variants;return Y?Xx(ee,Y,[],ee.theme.modularCssLayers?"theme":void 0):null}),j||oe.push(Rl),Array.isArray(Q[0])){const A=Q.shift(),ee=new Array(O.length).fill(""),P=new Array(oe.length).fill("");let Y;Y=[...ee,...A,...P],Y.raw=[...ee,...A.raw,...P],O.unshift(Y)}const re=[...O,...Q,...oe],ce=M(...re);return p.muiName&&(ce.muiName=p.muiName),ce};return M.withConfig&&(N.withConfig=M.withConfig),N}}function tO(t,a){return void 0}function nO(t){for(const a in t)return!1;return!0}function aO(t){return typeof t=="string"&&t.charCodeAt(0)>96}function rO(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function Ju(t,a,l=!1){const i={...a};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const u=s;if(u==="components"||u==="slots")i[u]={...t[u],...i[u]};else if(u==="componentsProps"||u==="slotProps"){const f=t[u],p=a[u];if(!p)i[u]=f||{};else if(!f)i[u]=p;else{i[u]={...p};for(const m in f)if(Object.prototype.hasOwnProperty.call(f,m)){const h=m;i[u][h]=Ju(f[h],p[h],l)}}}else u==="className"&&l&&a.className?i.className=Le(t?.className,a?.className):u==="style"&&l&&a.style?i.style={...t?.style,...a?.style}:i[u]===void 0&&(i[u]=t[u])}return i}const Vr=typeof window<"u"?S.useLayoutEffect:S.useEffect;function lO(t,a=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(t,l))}function Th(t,a=0,l=1){return lO(t,a,l)}function iO(t){t=t.slice(1);const a=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let l=t.match(a);return l&&l[0].length===1&&(l=l.map(i=>i+i)),l?`rgb${l.length===4?"a":""}(${l.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Yr(t){if(t.type)return t;if(t.charAt(0)==="#")return Yr(iO(t));const a=t.indexOf("("),l=t.substring(0,a);if(!["rgb","rgba","hsl","hsla","color"].includes(l))throw new Error(cr(9,t));let i=t.substring(a+1,t.length-1),s;if(l==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(cr(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:l,values:i,colorSpace:s}}const oO=t=>{const a=Yr(t);return a.values.slice(0,3).map((l,i)=>a.type.includes("hsl")&&i!==0?`${l}%`:l).join(" ")},$o=(t,a)=>{try{return oO(t)}catch{return t}};function zc(t){const{type:a,colorSpace:l}=t;let{values:i}=t;return a.includes("rgb")?i=i.map((s,u)=>u<3?parseInt(s,10):s):a.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),a.includes("color")?i=`${l} ${i.join(" ")}`:i=`${i.join(", ")}`,`${a}(${i})`}function Kx(t){t=Yr(t);const{values:a}=t,l=a[0],i=a[1]/100,s=a[2]/100,u=i*Math.min(s,1-s),f=(h,y=(h+l/30)%12)=>s-u*Math.max(Math.min(y-3,9-y,1),-1);let p="rgb";const m=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return t.type==="hsla"&&(p+="a",m.push(a[3])),zc({type:p,values:m})}function Up(t){t=Yr(t);let a=t.type==="hsl"||t.type==="hsla"?Yr(Kx(t)).values:t.values;return a=a.map(l=>(t.type!=="color"&&(l/=255),l<=.03928?l/12.92:((l+.055)/1.055)**2.4)),Number((.2126*a[0]+.7152*a[1]+.0722*a[2]).toFixed(3))}function sO(t,a){const l=Up(t),i=Up(a);return(Math.max(l,i)+.05)/(Math.min(l,i)+.05)}function ec(t,a){return t=Yr(t),a=Th(a),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${a}`:t.values[3]=a,zc(t)}function pl(t,a,l){try{return ec(t,a)}catch{return t}}function _c(t,a){if(t=Yr(t),a=Th(a),t.type.includes("hsl"))t.values[2]*=1-a;else if(t.type.includes("rgb")||t.type.includes("color"))for(let l=0;l<3;l+=1)t.values[l]*=1-a;return zc(t)}function pt(t,a,l){try{return _c(t,a)}catch{return t}}function Lc(t,a){if(t=Yr(t),a=Th(a),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*a;else if(t.type.includes("rgb"))for(let l=0;l<3;l+=1)t.values[l]+=(255-t.values[l])*a;else if(t.type.includes("color"))for(let l=0;l<3;l+=1)t.values[l]+=(1-t.values[l])*a;return zc(t)}function ht(t,a,l){try{return Lc(t,a)}catch{return t}}function uO(t,a=.15){return Up(t)>.5?_c(t,a):Lc(t,a)}function Mu(t,a,l){try{return uO(t,a)}catch{return t}}const cO=S.createContext(),fO=()=>S.useContext(cO)??!1,dO=S.createContext(void 0);function pO(t){const{theme:a,name:l,props:i}=t;if(!a||!a.components||!a.components[l])return i;const s=a.components[l];return s.defaultProps?Ju(s.defaultProps,i,a.components.mergeClassNameAndStyle):!s.styleOverrides&&!s.variants?Ju(s,i,a.components.mergeClassNameAndStyle):i}function hO({props:t,name:a}){const l=S.useContext(dO);return pO({props:t,name:a,theme:{components:l}})}let $v=0;function mO(t){const[a,l]=S.useState(t),i=t||a;return S.useEffect(()=>{a==null&&($v+=1,l(`mui-${$v}`))},[a]),i}const gO={...Cp},Pv=gO.useId;function Bc(t){if(Pv!==void 0){const a=Pv();return t??a}return mO(t)}const qv={theme:void 0};function yO(t){let a,l;return function(s){let u=a;return(u===void 0||s.theme!==l)&&(qv.theme=s.theme,u=Gx(t(qv)),a=u,l=s.theme),u}}function vO(t=""){function a(...i){if(!i.length)return"";const s=i[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${s}${a(...i.slice(1))})`:`, ${s}`}return(i,...s)=>`var(--${t?`${t}-`:""}${i}${a(...s)})`}const Fv=(t,a,l,i=[])=>{let s=t;a.forEach((u,f)=>{f===a.length-1?Array.isArray(s)?s[Number(u)]=l:s&&typeof s=="object"&&(s[u]=l):s&&typeof s=="object"&&(s[u]||(s[u]=i.includes(u)?[]:{}),s=s[u])})},bO=(t,a,l)=>{function i(s,u=[],f=[]){Object.entries(s).forEach(([p,m])=>{(!l||l&&!l([...u,p]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?i(m,[...u,p],Array.isArray(m)?[...f,p]:f):a([...u,p],m,f))})}i(t)},xO=(t,a)=>typeof a=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>t.includes(i))||t[t.length-1].toLowerCase().includes("opacity")?a:`${a}px`:a;function yp(t,a){const{prefix:l,shouldSkipGeneratingVar:i}=a||{},s={},u={},f={};return bO(t,(p,m,h)=>{if((typeof m=="string"||typeof m=="number")&&(!i||!i(p,m))){const y=`--${l?`${l}-`:""}${p.join("-")}`,v=xO(p,m);Object.assign(s,{[y]:v}),Fv(u,p,`var(${y})`,h),Fv(f,p,`var(${y}, ${v})`,h)}},p=>p[0]==="vars"),{css:s,vars:u,varsWithDefaults:f}}function SO(t,a={}){const{getSelector:l=j,disableCssColorScheme:i,colorSchemeSelector:s,enableContrastVars:u}=a,{colorSchemes:f={},components:p,defaultColorScheme:m="light",...h}=t,{vars:y,css:v,varsWithDefaults:C}=yp(h,a);let E=C;const b={},{[m]:w,...R}=f;if(Object.entries(R||{}).forEach(([_,N])=>{const{vars:B,css:O,varsWithDefaults:Q}=yp(N,a);E=bn(E,Q),b[_]={css:O,vars:B}}),w){const{css:_,vars:N,varsWithDefaults:B}=yp(w,a);E=bn(E,B),b[m]={css:_,vars:N}}function j(_,N){let B=s;if(s==="class"&&(B=".%s"),s==="data"&&(B="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(B=`[${s}="%s"]`),_){if(B==="media")return t.defaultColorScheme===_?":root":{[`@media (prefers-color-scheme: ${f[_]?.palette?.mode||_})`]:{":root":N}};if(B)return t.defaultColorScheme===_?`:root, ${B.replace("%s",String(_))}`:B.replace("%s",String(_))}return":root"}return{vars:E,generateThemeVars:()=>{let _={...y};return Object.entries(b).forEach(([,{vars:N}])=>{_=bn(_,N)}),_},generateStyleSheets:()=>{const _=[],N=t.defaultColorScheme||"light";function B(oe,re){Object.keys(re).length&&_.push(typeof oe=="string"?{[oe]:{...re}}:oe)}B(l(void 0,{...v}),v);const{[N]:O,...Q}=b;if(O){const{css:oe}=O,re=f[N]?.palette?.mode,ce=!i&&re?{colorScheme:re,...oe}:{...oe};B(l(N,{...ce}),ce)}return Object.entries(Q).forEach(([oe,{css:re}])=>{const ce=f[oe]?.palette?.mode,A=!i&&ce?{colorScheme:ce,...re}:{...re};B(l(oe,{...A}),A)}),u&&_.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),_}}}function EO(t){return function(l){return t==="media"?`@media (prefers-color-scheme: ${l})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${l}"] &`:t==="class"?`.${l} &`:t==="data"?`[data-${l}] &`:`${t.replace("%s",l)} &`:"&"}}function xt(t,a,l=void 0){const i={};for(const s in t){const u=t[s];let f="",p=!0;for(let m=0;m<u.length;m+=1){const h=u[m];h&&(f+=(p===!0?"":" ")+a(h),p=!1,l&&l[h]&&(f+=" "+l[h]))}i[s]=f}return i}function vp(t,a){return S.isValidElement(t)&&a.indexOf(t.type.muiName??t.type?._payload?.value?.muiName)!==-1}function Ix(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Io.white,default:Io.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Qx=Ix();function Zx(){return{text:{primary:Io.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Io.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const kp=Zx();function Vv(t,a,l,i){const s=i.light||i,u=i.dark||i*1.5;t[a]||(t.hasOwnProperty(l)?t[a]=t[l]:a==="light"?t.light=Lc(t.main,s):a==="dark"&&(t.dark=_c(t.main,u)))}function Yv(t,a,l,i,s){const u=s.light||s,f=s.dark||s*1.5;a[l]||(a.hasOwnProperty(i)?a[l]=a[i]:l==="light"?a.light=`color-mix(in ${t}, ${a.main}, #fff ${(u*100).toFixed(0)}%)`:l==="dark"&&(a.dark=`color-mix(in ${t}, ${a.main}, #000 ${(f*100).toFixed(0)}%)`))}function wO(t="light"){return t==="dark"?{main:yi[200],light:yi[50],dark:yi[400]}:{main:yi[700],light:yi[400],dark:yi[800]}}function CO(t="light"){return t==="dark"?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[500],light:gi[300],dark:gi[700]}}function TO(t="light"){return t==="dark"?{main:mi[500],light:mi[300],dark:mi[700]}:{main:mi[700],light:mi[400],dark:mi[800]}}function RO(t="light"){return t==="dark"?{main:vi[400],light:vi[300],dark:vi[700]}:{main:vi[700],light:vi[500],dark:vi[900]}}function AO(t="light"){return t==="dark"?{main:bi[400],light:bi[300],dark:bi[700]}:{main:bi[800],light:bi[500],dark:bi[900]}}function OO(t="light"){return t==="dark"?{main:Do[400],light:Do[300],dark:Do[700]}:{main:"#ed6c02",light:Do[500],dark:Do[900]}}function NO(t){return`oklch(from ${t} var(--__l) 0 h / var(--__a))`}function Rh(t){const{mode:a="light",contrastThreshold:l=3,tonalOffset:i=.2,colorSpace:s,...u}=t,f=t.primary||wO(a),p=t.secondary||CO(a),m=t.error||TO(a),h=t.info||RO(a),y=t.success||AO(a),v=t.warning||OO(a);function C(R){return s?NO(R):sO(R,kp.text.primary)>=l?kp.text.primary:Qx.text.primary}const E=({color:R,name:j,mainShade:L=500,lightShade:M=300,darkShade:_=700})=>{if(R={...R},!R.main&&R[L]&&(R.main=R[L]),!R.hasOwnProperty("main"))throw new Error(cr(11,j?` (${j})`:"",L));if(typeof R.main!="string")throw new Error(cr(12,j?` (${j})`:"",JSON.stringify(R.main)));return s?(Yv(s,R,"light",M,i),Yv(s,R,"dark",_,i)):(Vv(R,"light",M,i),Vv(R,"dark",_,i)),R.contrastText||(R.contrastText=C(R.main)),R};let b;return a==="light"?b=Ix():a==="dark"&&(b=Zx()),bn({common:{...Io},mode:a,primary:E({color:f,name:"primary"}),secondary:E({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:E({color:m,name:"error"}),warning:E({color:v,name:"warning"}),info:E({color:h,name:"info"}),success:E({color:y,name:"success"}),grey:GT,contrastThreshold:l,getContrastText:C,augmentColor:E,tonalOffset:i,...b},u)}function MO(t){const a={};return Object.entries(t).forEach(i=>{const[s,u]=i;typeof u=="object"&&(a[s]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),a}function jO(t,a){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...a}}function DO(t){return Math.round(t*1e5)/1e5}const Gv={textTransform:"uppercase"},Xv='"Roboto", "Helvetica", "Arial", sans-serif';function zO(t,a){const{fontFamily:l=Xv,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:f=500,fontWeightBold:p=700,htmlFontSize:m=16,allVariants:h,pxToRem:y,...v}=typeof a=="function"?a(t):a,C=i/14,E=y||(R=>`${R/m*C}rem`),b=(R,j,L,M,_)=>({fontFamily:l,fontWeight:R,fontSize:E(j),lineHeight:L,...l===Xv?{letterSpacing:`${DO(M/j)}em`}:{},..._,...h}),w={h1:b(s,96,1.167,-1.5),h2:b(s,60,1.2,-.5),h3:b(u,48,1.167,0),h4:b(u,34,1.235,.25),h5:b(u,24,1.334,0),h6:b(f,20,1.6,.15),subtitle1:b(u,16,1.75,.15),subtitle2:b(f,14,1.57,.1),body1:b(u,16,1.5,.15),body2:b(u,14,1.43,.15),button:b(f,14,1.75,.4,Gv),caption:b(u,12,1.66,.4),overline:b(u,12,2.66,1,Gv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return bn({htmlFontSize:m,pxToRem:E,fontFamily:l,fontSize:i,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:p,...w},v,{clone:!1})}const _O=.2,LO=.14,BO=.12;function Dt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${_O})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${LO})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${BO})`].join(",")}const UO=["none",Dt(0,2,1,-1,0,1,1,0,0,1,3,0),Dt(0,3,1,-2,0,2,2,0,0,1,5,0),Dt(0,3,3,-2,0,3,4,0,0,1,8,0),Dt(0,2,4,-1,0,4,5,0,0,1,10,0),Dt(0,3,5,-1,0,5,8,0,0,1,14,0),Dt(0,3,5,-1,0,6,10,0,0,1,18,0),Dt(0,4,5,-2,0,7,10,1,0,2,16,1),Dt(0,5,5,-3,0,8,10,1,0,3,14,2),Dt(0,5,6,-3,0,9,12,1,0,3,16,2),Dt(0,6,6,-3,0,10,14,1,0,4,18,3),Dt(0,6,7,-4,0,11,15,1,0,4,20,3),Dt(0,7,8,-4,0,12,17,2,0,5,22,4),Dt(0,7,8,-4,0,13,19,2,0,5,24,4),Dt(0,7,9,-4,0,14,21,2,0,5,26,4),Dt(0,8,9,-5,0,15,22,2,0,6,28,5),Dt(0,8,10,-5,0,16,24,2,0,6,30,5),Dt(0,8,11,-5,0,17,26,2,0,6,32,5),Dt(0,9,11,-5,0,18,28,2,0,7,34,6),Dt(0,9,12,-6,0,19,29,2,0,7,36,6),Dt(0,10,13,-6,0,20,31,3,0,8,38,7),Dt(0,10,13,-6,0,21,33,3,0,8,40,7),Dt(0,10,14,-6,0,22,35,3,0,8,42,7),Dt(0,11,14,-7,0,23,36,3,0,9,44,8),Dt(0,11,15,-7,0,24,38,3,0,9,46,8)],kO={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},HO={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Kv(t){return`${Math.round(t)}ms`}function $O(t){if(!t)return 0;const a=t/36;return Math.min(Math.round((4+15*a**.25+a/5)*10),3e3)}function PO(t){const a={...kO,...t.easing},l={...HO,...t.duration};return{getAutoHeightDuration:$O,create:(s=["all"],u={})=>{const{duration:f=l.standard,easing:p=a.easeInOut,delay:m=0,...h}=u;return(Array.isArray(s)?s:[s]).map(y=>`${y} ${typeof f=="string"?f:Kv(f)} ${p} ${typeof m=="string"?m:Kv(m)}`).join(",")},...t,easing:a,duration:l}}const qO={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function FO(t){return Ua(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function Wx(t={}){const a={...t};function l(i){const s=Object.entries(i);for(let u=0;u<s.length;u++){const[f,p]=s[u];!FO(p)||f.startsWith("unstable_")?delete i[f]:Ua(p)&&(i[f]={...p},l(i[f]))}}return l(a),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
          
          const theme = ${JSON.stringify(a,null,2)};
          
          theme.breakpoints = createBreakpoints(theme.breakpoints || {});
          theme.transitions = createTransitions(theme.transitions || {});
          
          export default theme;`}function Iv(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const VO=t=>{if(!Number.isNaN(+t))return+t;const a=t.match(/\d*\.?\d+/g);if(!a)return 0;let l=0;for(let i=0;i<a.length;i+=1)l+=+a[i];return l};function YO(t){Object.assign(t,{alpha(a,l){const i=this||t;return i.colorSpace?`oklch(from ${a} l c h / ${typeof l=="string"?`calc(${l})`:l})`:i.vars?`rgba(${a.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof l=="string"?`calc(${l})`:l})`:ec(a,VO(l))},lighten(a,l){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${a}, #fff ${Iv(l)})`:Lc(a,l)},darken(a,l){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${a}, #000 ${Iv(l)})`:_c(a,l)}})}function Hp(t={},...a){const{breakpoints:l,mixins:i={},spacing:s,palette:u={},transitions:f={},typography:p={},shape:m,colorSpace:h,...y}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(cr(20));const v=Rh({...u,colorSpace:h}),C=wh(t);let E=bn(C,{mixins:jO(C.breakpoints,i),palette:v,shadows:UO.slice(),typography:zO(v,p),transitions:PO(f),zIndex:{...qO}});return E=bn(E,y),E=a.reduce((b,w)=>bn(b,w),E),E.unstable_sxConfig={...ds,...y?.unstable_sxConfig},E.unstable_sx=function(w){return Rl({sx:w,theme:this})},E.toRuntimeSource=Wx,YO(E),E}function $p(t){let a;return t<1?a=5.11916*t**2:a=4.5*Math.log(t+1)+2,Math.round(a*10)/1e3}const GO=[...Array(25)].map((t,a)=>{if(a===0)return"none";const l=$p(a);return`linear-gradient(rgba(255 255 255 / ${l}), rgba(255 255 255 / ${l}))`});function Jx(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function eS(t){return t==="dark"?GO:[]}function XO(t){const{palette:a={mode:"light"},opacity:l,overlays:i,colorSpace:s,...u}=t,f=Rh({...a,colorSpace:s});return{palette:f,opacity:{...Jx(f.mode),...l},overlays:i||eS(f.mode),...u}}function KO(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const IO=t=>[...[...Array(25)].map((a,l)=>`--${t?`${t}-`:""}overlays-${l}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],QO=t=>(a,l)=>{const i=t.rootSelector||":root",s=t.colorSchemeSelector;let u=s;if(s==="class"&&(u=".%s"),s==="data"&&(u="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(u=`[${s}="%s"]`),t.defaultColorScheme===a){if(a==="dark"){const f={};return IO(t.cssVarPrefix).forEach(p=>{f[p]=l[p],delete l[p]}),u==="media"?{[i]:l,"@media (prefers-color-scheme: dark)":{[i]:f}}:u?{[u.replace("%s",a)]:f,[`${i}, ${u.replace("%s",a)}`]:l}:{[i]:{...l,...f}}}if(u&&u!=="media")return`${i}, ${u.replace("%s",String(a))}`}else if(a){if(u==="media")return{[`@media (prefers-color-scheme: ${String(a)})`]:{[i]:l}};if(u)return u.replace("%s",String(a))}return i};function ZO(t,a){a.forEach(l=>{t[l]||(t[l]={})})}function ae(t,a,l){!t[a]&&l&&(t[a]=l)}function Po(t){return typeof t!="string"||!t.startsWith("hsl")?t:Kx(t)}function or(t,a){`${a}Channel`in t||(t[`${a}Channel`]=$o(Po(t[a])))}function WO(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const za=t=>{try{return t()}catch{}},JO=(t="mui")=>vO(t);function bp(t,a,l,i,s){if(!l)return;l=l===!0?{}:l;const u=s==="dark"?"dark":"light";if(!i){a[s]=XO({...l,palette:{mode:u,...l?.palette},colorSpace:t});return}const{palette:f,...p}=Hp({...i,palette:{mode:u,...l?.palette},colorSpace:t});return a[s]={...l,palette:f,opacity:{...Jx(u),...l?.opacity},overlays:l?.overlays||eS(u)},p}function eN(t={},...a){const{colorSchemes:l={light:!0},defaultColorScheme:i,disableCssColorScheme:s=!1,cssVarPrefix:u="mui",nativeColor:f=!1,shouldSkipGeneratingVar:p=KO,colorSchemeSelector:m=l.light&&l.dark?"media":void 0,rootSelector:h=":root",...y}=t,v=Object.keys(l)[0],C=i||(l.light&&v!=="light"?"light":v),E=JO(u),{[C]:b,light:w,dark:R,...j}=l,L={...j};let M=b;if((C==="dark"&&!("dark"in l)||C==="light"&&!("light"in l))&&(M=!0),!M)throw new Error(cr(21,C));let _;f&&(_="oklch");const N=bp(_,L,M,y,C);w&&!L.light&&bp(_,L,w,void 0,"light"),R&&!L.dark&&bp(_,L,R,void 0,"dark");let B={defaultColorScheme:C,...N,cssVarPrefix:u,colorSchemeSelector:m,rootSelector:h,getCssVar:E,colorSchemes:L,font:{...MO(N.typography),...N.font},spacing:WO(y.spacing)};Object.keys(B.colorSchemes).forEach(ce=>{const A=B.colorSchemes[ce].palette,ee=Y=>{const D=Y.split("-"),F=D[1],ue=D[2];return E(Y,A[F][ue])};A.mode==="light"&&(ae(A.common,"background","#fff"),ae(A.common,"onBackground","#000")),A.mode==="dark"&&(ae(A.common,"background","#000"),ae(A.common,"onBackground","#fff"));function P(Y,D,F){if(_){let ue;return Y===pl&&(ue=`transparent ${((1-F)*100).toFixed(0)}%`),Y===pt&&(ue=`#000 ${(F*100).toFixed(0)}%`),Y===ht&&(ue=`#fff ${(F*100).toFixed(0)}%`),`color-mix(in ${_}, ${D}, ${ue})`}return Y(D,F)}if(ZO(A,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),A.mode==="light"){ae(A.Alert,"errorColor",P(pt,A.error.light,.6)),ae(A.Alert,"infoColor",P(pt,A.info.light,.6)),ae(A.Alert,"successColor",P(pt,A.success.light,.6)),ae(A.Alert,"warningColor",P(pt,A.warning.light,.6)),ae(A.Alert,"errorFilledBg",ee("palette-error-main")),ae(A.Alert,"infoFilledBg",ee("palette-info-main")),ae(A.Alert,"successFilledBg",ee("palette-success-main")),ae(A.Alert,"warningFilledBg",ee("palette-warning-main")),ae(A.Alert,"errorFilledColor",za(()=>A.getContrastText(A.error.main))),ae(A.Alert,"infoFilledColor",za(()=>A.getContrastText(A.info.main))),ae(A.Alert,"successFilledColor",za(()=>A.getContrastText(A.success.main))),ae(A.Alert,"warningFilledColor",za(()=>A.getContrastText(A.warning.main))),ae(A.Alert,"errorStandardBg",P(ht,A.error.light,.9)),ae(A.Alert,"infoStandardBg",P(ht,A.info.light,.9)),ae(A.Alert,"successStandardBg",P(ht,A.success.light,.9)),ae(A.Alert,"warningStandardBg",P(ht,A.warning.light,.9)),ae(A.Alert,"errorIconColor",ee("palette-error-main")),ae(A.Alert,"infoIconColor",ee("palette-info-main")),ae(A.Alert,"successIconColor",ee("palette-success-main")),ae(A.Alert,"warningIconColor",ee("palette-warning-main")),ae(A.AppBar,"defaultBg",ee("palette-grey-100")),ae(A.Avatar,"defaultBg",ee("palette-grey-400")),ae(A.Button,"inheritContainedBg",ee("palette-grey-300")),ae(A.Button,"inheritContainedHoverBg",ee("palette-grey-A100")),ae(A.Chip,"defaultBorder",ee("palette-grey-400")),ae(A.Chip,"defaultAvatarColor",ee("palette-grey-700")),ae(A.Chip,"defaultIconColor",ee("palette-grey-700")),ae(A.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ae(A.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ae(A.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ae(A.LinearProgress,"primaryBg",P(ht,A.primary.main,.62)),ae(A.LinearProgress,"secondaryBg",P(ht,A.secondary.main,.62)),ae(A.LinearProgress,"errorBg",P(ht,A.error.main,.62)),ae(A.LinearProgress,"infoBg",P(ht,A.info.main,.62)),ae(A.LinearProgress,"successBg",P(ht,A.success.main,.62)),ae(A.LinearProgress,"warningBg",P(ht,A.warning.main,.62)),ae(A.Skeleton,"bg",_?P(pl,A.text.primary,.11):`rgba(${ee("palette-text-primaryChannel")} / 0.11)`),ae(A.Slider,"primaryTrack",P(ht,A.primary.main,.62)),ae(A.Slider,"secondaryTrack",P(ht,A.secondary.main,.62)),ae(A.Slider,"errorTrack",P(ht,A.error.main,.62)),ae(A.Slider,"infoTrack",P(ht,A.info.main,.62)),ae(A.Slider,"successTrack",P(ht,A.success.main,.62)),ae(A.Slider,"warningTrack",P(ht,A.warning.main,.62));const Y=_?P(pt,A.background.default,.6825):Mu(A.background.default,.8);ae(A.SnackbarContent,"bg",Y),ae(A.SnackbarContent,"color",za(()=>_?kp.text.primary:A.getContrastText(Y))),ae(A.SpeedDialAction,"fabHoverBg",Mu(A.background.paper,.15)),ae(A.StepConnector,"border",ee("palette-grey-400")),ae(A.StepContent,"border",ee("palette-grey-400")),ae(A.Switch,"defaultColor",ee("palette-common-white")),ae(A.Switch,"defaultDisabledColor",ee("palette-grey-100")),ae(A.Switch,"primaryDisabledColor",P(ht,A.primary.main,.62)),ae(A.Switch,"secondaryDisabledColor",P(ht,A.secondary.main,.62)),ae(A.Switch,"errorDisabledColor",P(ht,A.error.main,.62)),ae(A.Switch,"infoDisabledColor",P(ht,A.info.main,.62)),ae(A.Switch,"successDisabledColor",P(ht,A.success.main,.62)),ae(A.Switch,"warningDisabledColor",P(ht,A.warning.main,.62)),ae(A.TableCell,"border",P(ht,P(pl,A.divider,1),.88)),ae(A.Tooltip,"bg",P(pl,A.grey[700],.92))}if(A.mode==="dark"){ae(A.Alert,"errorColor",P(ht,A.error.light,.6)),ae(A.Alert,"infoColor",P(ht,A.info.light,.6)),ae(A.Alert,"successColor",P(ht,A.success.light,.6)),ae(A.Alert,"warningColor",P(ht,A.warning.light,.6)),ae(A.Alert,"errorFilledBg",ee("palette-error-dark")),ae(A.Alert,"infoFilledBg",ee("palette-info-dark")),ae(A.Alert,"successFilledBg",ee("palette-success-dark")),ae(A.Alert,"warningFilledBg",ee("palette-warning-dark")),ae(A.Alert,"errorFilledColor",za(()=>A.getContrastText(A.error.dark))),ae(A.Alert,"infoFilledColor",za(()=>A.getContrastText(A.info.dark))),ae(A.Alert,"successFilledColor",za(()=>A.getContrastText(A.success.dark))),ae(A.Alert,"warningFilledColor",za(()=>A.getContrastText(A.warning.dark))),ae(A.Alert,"errorStandardBg",P(pt,A.error.light,.9)),ae(A.Alert,"infoStandardBg",P(pt,A.info.light,.9)),ae(A.Alert,"successStandardBg",P(pt,A.success.light,.9)),ae(A.Alert,"warningStandardBg",P(pt,A.warning.light,.9)),ae(A.Alert,"errorIconColor",ee("palette-error-main")),ae(A.Alert,"infoIconColor",ee("palette-info-main")),ae(A.Alert,"successIconColor",ee("palette-success-main")),ae(A.Alert,"warningIconColor",ee("palette-warning-main")),ae(A.AppBar,"defaultBg",ee("palette-grey-900")),ae(A.AppBar,"darkBg",ee("palette-background-paper")),ae(A.AppBar,"darkColor",ee("palette-text-primary")),ae(A.Avatar,"defaultBg",ee("palette-grey-600")),ae(A.Button,"inheritContainedBg",ee("palette-grey-800")),ae(A.Button,"inheritContainedHoverBg",ee("palette-grey-700")),ae(A.Chip,"defaultBorder",ee("palette-grey-700")),ae(A.Chip,"defaultAvatarColor",ee("palette-grey-300")),ae(A.Chip,"defaultIconColor",ee("palette-grey-300")),ae(A.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ae(A.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ae(A.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ae(A.LinearProgress,"primaryBg",P(pt,A.primary.main,.5)),ae(A.LinearProgress,"secondaryBg",P(pt,A.secondary.main,.5)),ae(A.LinearProgress,"errorBg",P(pt,A.error.main,.5)),ae(A.LinearProgress,"infoBg",P(pt,A.info.main,.5)),ae(A.LinearProgress,"successBg",P(pt,A.success.main,.5)),ae(A.LinearProgress,"warningBg",P(pt,A.warning.main,.5)),ae(A.Skeleton,"bg",_?P(pl,A.text.primary,.13):`rgba(${ee("palette-text-primaryChannel")} / 0.13)`),ae(A.Slider,"primaryTrack",P(pt,A.primary.main,.5)),ae(A.Slider,"secondaryTrack",P(pt,A.secondary.main,.5)),ae(A.Slider,"errorTrack",P(pt,A.error.main,.5)),ae(A.Slider,"infoTrack",P(pt,A.info.main,.5)),ae(A.Slider,"successTrack",P(pt,A.success.main,.5)),ae(A.Slider,"warningTrack",P(pt,A.warning.main,.5));const Y=_?P(ht,A.background.default,.985):Mu(A.background.default,.98);ae(A.SnackbarContent,"bg",Y),ae(A.SnackbarContent,"color",za(()=>_?Qx.text.primary:A.getContrastText(Y))),ae(A.SpeedDialAction,"fabHoverBg",Mu(A.background.paper,.15)),ae(A.StepConnector,"border",ee("palette-grey-600")),ae(A.StepContent,"border",ee("palette-grey-600")),ae(A.Switch,"defaultColor",ee("palette-grey-300")),ae(A.Switch,"defaultDisabledColor",ee("palette-grey-600")),ae(A.Switch,"primaryDisabledColor",P(pt,A.primary.main,.55)),ae(A.Switch,"secondaryDisabledColor",P(pt,A.secondary.main,.55)),ae(A.Switch,"errorDisabledColor",P(pt,A.error.main,.55)),ae(A.Switch,"infoDisabledColor",P(pt,A.info.main,.55)),ae(A.Switch,"successDisabledColor",P(pt,A.success.main,.55)),ae(A.Switch,"warningDisabledColor",P(pt,A.warning.main,.55)),ae(A.TableCell,"border",P(pt,P(pl,A.divider,1),.68)),ae(A.Tooltip,"bg",P(pl,A.grey[700],.92))}or(A.background,"default"),or(A.background,"paper"),or(A.common,"background"),or(A.common,"onBackground"),or(A,"divider"),Object.keys(A).forEach(Y=>{const D=A[Y];Y!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&ae(A[Y],"mainChannel",$o(Po(D.main))),D.light&&ae(A[Y],"lightChannel",$o(Po(D.light))),D.dark&&ae(A[Y],"darkChannel",$o(Po(D.dark))),D.contrastText&&ae(A[Y],"contrastTextChannel",$o(Po(D.contrastText))),Y==="text"&&(or(A[Y],"primary"),or(A[Y],"secondary")),Y==="action"&&(D.active&&or(A[Y],"active"),D.selected&&or(A[Y],"selected")))})}),B=a.reduce((ce,A)=>bn(ce,A),B);const O={prefix:u,disableCssColorScheme:s,shouldSkipGeneratingVar:p,getSelector:QO(B),enableContrastVars:f},{vars:Q,generateThemeVars:oe,generateStyleSheets:re}=SO(B,O);return B.vars=Q,Object.entries(B.colorSchemes[B.defaultColorScheme]).forEach(([ce,A])=>{B[ce]=A}),B.generateThemeVars=oe,B.generateStyleSheets=re,B.generateSpacing=function(){return qx(y.spacing,Sh(this))},B.getColorSchemeSelector=EO(m),B.spacing=B.generateSpacing(),B.shouldSkipGeneratingVar=p,B.unstable_sxConfig={...ds,...y?.unstable_sxConfig},B.unstable_sx=function(A){return Rl({sx:A,theme:this})},B.toRuntimeSource=Wx,B}function Qv(t,a,l){t.colorSchemes&&l&&(t.colorSchemes[a]={...l!==!0&&l,palette:Rh({...l===!0?{}:l.palette,mode:a})})}function tS(t={},...a){const{palette:l,cssVariables:i=!1,colorSchemes:s=l?void 0:{light:!0},defaultColorScheme:u=l?.mode,...f}=t,p=u||"light",m=s?.[p],h={...s,...l?{[p]:{...typeof m!="boolean"&&m,palette:l}}:void 0};if(i===!1){if(!("colorSchemes"in t))return Hp(t,...a);let y=l;"palette"in t||h[p]&&(h[p]!==!0?y=h[p].palette:p==="dark"&&(y={mode:"dark"}));const v=Hp({...t,palette:y},...a);return v.defaultColorScheme=p,v.colorSchemes=h,v.palette.mode==="light"&&(v.colorSchemes.light={...h.light!==!0&&h.light,palette:v.palette},Qv(v,"dark",h.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:v.palette},Qv(v,"light",h.light)),v}return!l&&!("light"in h)&&p==="light"&&(h.light=!0),eN({...f,colorSchemes:h,defaultColorScheme:p,...typeof i!="boolean"&&i},...a)}const Ah=tS();function Uc(){const t=Ch(Ah);return t[Sc]||t}function nS(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const pa=t=>nS(t)&&t!=="classes",Te=eO({themeId:Sc,defaultTheme:Ah,rootShouldForwardProp:pa});function Zv(...t){return t.reduce((a,l)=>l==null?a:function(...s){a.apply(this,s),l.apply(this,s)},()=>{})}function tN(t){return x.jsx(GA,{...t,defaultTheme:Ah,themeId:Sc})}function nN(t){return function(l){return x.jsx(tN,{styles:typeof t=="function"?i=>t({theme:i,...l}):t})}}function aN(){return Fx}const zt=yO;function Ct(t){return hO(t)}function rN(t){return bt("MuiSvgIcon",t)}at("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const lN=t=>{const{color:a,fontSize:l,classes:i}=t,s={root:["root",a!=="inherit"&&`color${_e(a)}`,`fontSize${_e(l)}`]};return xt(s,rN,i)},iN=Te("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.color!=="inherit"&&a[`color${_e(l.color)}`],a[`fontSize${_e(l.fontSize)}`]]}})(zt(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:t.transitions?.create?.("fill",{duration:(t.vars??t).transitions?.duration?.shorter}),variants:[{props:a=>!a.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:t.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:t.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,a])=>a&&a.main).map(([a])=>({props:{color:a},style:{color:(t.vars??t).palette?.[a]?.main}})),{props:{color:"action"},style:{color:(t.vars??t).palette?.action?.active}},{props:{color:"disabled"},style:{color:(t.vars??t).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Pp=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiSvgIcon"}),{children:s,className:u,color:f="inherit",component:p="svg",fontSize:m="medium",htmlColor:h,inheritViewBox:y=!1,titleAccess:v,viewBox:C="0 0 24 24",...E}=i,b=S.isValidElement(s)&&s.type==="svg",w={...i,color:f,component:p,fontSize:m,instanceFontSize:a.fontSize,inheritViewBox:y,viewBox:C,hasSvgAsChild:b},R={};y||(R.viewBox=C);const j=lN(w);return x.jsxs(iN,{as:p,className:Le(j.root,u),focusable:"false",color:h,"aria-hidden":v?void 0:!0,role:v?"img":void 0,ref:l,...R,...E,...b&&s.props,ownerState:w,children:[b?s.props.children:s,v?x.jsx("title",{children:v}):null]})});Pp.muiName="SvgIcon";function oN(t,a){function l(i,s){return x.jsx(Pp,{"data-testid":void 0,ref:s,...i,children:t})}return l.muiName=Pp.muiName,S.memo(S.forwardRef(l))}function aS(t,a=166){let l;function i(...s){const u=()=>{t.apply(this,s)};clearTimeout(l),l=setTimeout(u,a)}return i.clear=()=>{clearTimeout(l)},i}function wa(t){return t&&t.ownerDocument||document}function dr(t){return wa(t).defaultView||window}function Wv(t,a){typeof t=="function"?t(a):t&&(t.current=a)}function Jv(t){const{controlled:a,default:l,name:i,state:s="value"}=t,{current:u}=S.useRef(a!==void 0),[f,p]=S.useState(l),m=u?a:f,h=S.useCallback(y=>{u||p(y)},[]);return[m,h]}function wl(t){const a=S.useRef(t);return Vr(()=>{a.current=t}),S.useRef((...l)=>(0,a.current)(...l)).current}function Rn(...t){const a=S.useRef(void 0),l=S.useCallback(i=>{const s=t.map(u=>{if(u==null)return null;if(typeof u=="function"){const f=u,p=f(i);return typeof p=="function"?p:()=>{f(null)}}return u.current=i,()=>{u.current=null}});return()=>{s.forEach(u=>u?.())}},t);return S.useMemo(()=>t.every(i=>i==null)?null:i=>{a.current&&(a.current(),a.current=void 0),i!=null&&(a.current=l(i))},t)}function sN(t,a){const l=t.charCodeAt(2);return t[0]==="o"&&t[1]==="n"&&l>=65&&l<=90&&typeof a=="function"}function uN(t,a){if(!t)return a;function l(f,p){const m={};return Object.keys(p).forEach(h=>{sN(h,p[h])&&typeof f[h]=="function"&&(m[h]=(...y)=>{f[h](...y),p[h](...y)})}),m}if(typeof t=="function"||typeof a=="function")return f=>{const p=typeof a=="function"?a(f):a,m=typeof t=="function"?t({...f,...p}):t,h=Le(f?.className,p?.className,m?.className),y=l(m,p);return{...p,...m,...y,...!!h&&{className:h},...p?.style&&m?.style&&{style:{...p.style,...m.style}},...p?.sx&&m?.sx&&{sx:[...Array.isArray(p.sx)?p.sx:[p.sx],...Array.isArray(m.sx)?m.sx:[m.sx]]}}};const i=a,s=l(t,i),u=Le(i?.className,t?.className);return{...a,...t,...s,...!!u&&{className:u},...i?.style&&t?.style&&{style:{...i.style,...t.style}},...i?.sx&&t?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(t.sx)?t.sx:[t.sx]]}}}function rS(t,a){if(t==null)return{};var l={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(a.indexOf(i)!==-1)continue;l[i]=t[i]}return l}function qp(t,a){return qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,i){return l.__proto__=i,l},qp(t,a)}function lS(t,a){t.prototype=Object.create(a.prototype),t.prototype.constructor=t,qp(t,a)}var iS=Ab();const ju=Rb(iS),eb={disabled:!1},tc=ka.createContext(null);var cN=function(a){return a.scrollTop},qo="unmounted",gl="exited",yl="entering",Ei="entered",Fp="exiting",qa=(function(t){lS(a,t);function a(i,s){var u;u=t.call(this,i,s)||this;var f=s,p=f&&!f.isMounting?i.enter:i.appear,m;return u.appearStatus=null,i.in?p?(m=gl,u.appearStatus=yl):m=Ei:i.unmountOnExit||i.mountOnEnter?m=qo:m=gl,u.state={status:m},u.nextCallback=null,u}a.getDerivedStateFromProps=function(s,u){var f=s.in;return f&&u.status===qo?{status:gl}:null};var l=a.prototype;return l.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},l.componentDidUpdate=function(s){var u=null;if(s!==this.props){var f=this.state.status;this.props.in?f!==yl&&f!==Ei&&(u=yl):(f===yl||f===Ei)&&(u=Fp)}this.updateStatus(!1,u)},l.componentWillUnmount=function(){this.cancelNextCallback()},l.getTimeouts=function(){var s=this.props.timeout,u,f,p;return u=f=p=s,s!=null&&typeof s!="number"&&(u=s.exit,f=s.enter,p=s.appear!==void 0?s.appear:f),{exit:u,enter:f,appear:p}},l.updateStatus=function(s,u){if(s===void 0&&(s=!1),u!==null)if(this.cancelNextCallback(),u===yl){if(this.props.unmountOnExit||this.props.mountOnEnter){var f=this.props.nodeRef?this.props.nodeRef.current:ju.findDOMNode(this);f&&cN(f)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gl&&this.setState({status:qo})},l.performEnter=function(s){var u=this,f=this.props.enter,p=this.context?this.context.isMounting:s,m=this.props.nodeRef?[p]:[ju.findDOMNode(this),p],h=m[0],y=m[1],v=this.getTimeouts(),C=p?v.appear:v.enter;if(!s&&!f||eb.disabled){this.safeSetState({status:Ei},function(){u.props.onEntered(h)});return}this.props.onEnter(h,y),this.safeSetState({status:yl},function(){u.props.onEntering(h,y),u.onTransitionEnd(C,function(){u.safeSetState({status:Ei},function(){u.props.onEntered(h,y)})})})},l.performExit=function(){var s=this,u=this.props.exit,f=this.getTimeouts(),p=this.props.nodeRef?void 0:ju.findDOMNode(this);if(!u||eb.disabled){this.safeSetState({status:gl},function(){s.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Fp},function(){s.props.onExiting(p),s.onTransitionEnd(f.exit,function(){s.safeSetState({status:gl},function(){s.props.onExited(p)})})})},l.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},l.safeSetState=function(s,u){u=this.setNextCallback(u),this.setState(s,u)},l.setNextCallback=function(s){var u=this,f=!0;return this.nextCallback=function(p){f&&(f=!1,u.nextCallback=null,s(p))},this.nextCallback.cancel=function(){f=!1},this.nextCallback},l.onTransitionEnd=function(s,u){this.setNextCallback(u);var f=this.props.nodeRef?this.props.nodeRef.current:ju.findDOMNode(this),p=s==null&&!this.props.addEndListener;if(!f||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var m=this.props.nodeRef?[this.nextCallback]:[f,this.nextCallback],h=m[0],y=m[1];this.props.addEndListener(h,y)}s!=null&&setTimeout(this.nextCallback,s)},l.render=function(){var s=this.state.status;if(s===qo)return null;var u=this.props,f=u.children;u.in,u.mountOnEnter,u.unmountOnExit,u.appear,u.enter,u.exit,u.timeout,u.addEndListener,u.onEnter,u.onEntering,u.onEntered,u.onExit,u.onExiting,u.onExited,u.nodeRef;var p=rS(u,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ka.createElement(tc.Provider,{value:null},typeof f=="function"?f(s,p):ka.cloneElement(ka.Children.only(f),p))},a})(ka.Component);qa.contextType=tc;qa.propTypes={};function xi(){}qa.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:xi,onEntering:xi,onEntered:xi,onExit:xi,onExiting:xi,onExited:xi};qa.UNMOUNTED=qo;qa.EXITED=gl;qa.ENTERING=yl;qa.ENTERED=Ei;qa.EXITING=Fp;function fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oh(t,a){var l=function(u){return a&&S.isValidElement(u)?a(u):u},i=Object.create(null);return t&&S.Children.map(t,function(s){return s}).forEach(function(s){i[s.key]=l(s)}),i}function dN(t,a){t=t||{},a=a||{};function l(y){return y in a?a[y]:t[y]}var i=Object.create(null),s=[];for(var u in t)u in a?s.length&&(i[u]=s,s=[]):s.push(u);var f,p={};for(var m in a){if(i[m])for(f=0;f<i[m].length;f++){var h=i[m][f];p[i[m][f]]=l(h)}p[m]=l(m)}for(f=0;f<s.length;f++)p[s[f]]=l(s[f]);return p}function Sl(t,a,l){return l[a]!=null?l[a]:t.props[a]}function pN(t,a){return Oh(t.children,function(l){return S.cloneElement(l,{onExited:a.bind(null,l),in:!0,appear:Sl(l,"appear",t),enter:Sl(l,"enter",t),exit:Sl(l,"exit",t)})})}function hN(t,a,l){var i=Oh(t.children),s=dN(a,i);return Object.keys(s).forEach(function(u){var f=s[u];if(S.isValidElement(f)){var p=u in a,m=u in i,h=a[u],y=S.isValidElement(h)&&!h.props.in;m&&(!p||y)?s[u]=S.cloneElement(f,{onExited:l.bind(null,f),in:!0,exit:Sl(f,"exit",t),enter:Sl(f,"enter",t)}):!m&&p&&!y?s[u]=S.cloneElement(f,{in:!1}):m&&p&&S.isValidElement(h)&&(s[u]=S.cloneElement(f,{onExited:l.bind(null,f),in:h.props.in,exit:Sl(f,"exit",t),enter:Sl(f,"enter",t)}))}}),s}var mN=Object.values||function(t){return Object.keys(t).map(function(a){return t[a]})},gN={component:"div",childFactory:function(a){return a}},Nh=(function(t){lS(a,t);function a(i,s){var u;u=t.call(this,i,s)||this;var f=u.handleExited.bind(fN(u));return u.state={contextValue:{isMounting:!0},handleExited:f,firstRender:!0},u}var l=a.prototype;return l.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},l.componentWillUnmount=function(){this.mounted=!1},a.getDerivedStateFromProps=function(s,u){var f=u.children,p=u.handleExited,m=u.firstRender;return{children:m?pN(s,p):hN(s,f,p),firstRender:!1}},l.handleExited=function(s,u){var f=Oh(this.props.children);s.key in f||(s.props.onExited&&s.props.onExited(u),this.mounted&&this.setState(function(p){var m=Qu({},p.children);return delete m[s.key],{children:m}}))},l.render=function(){var s=this.props,u=s.component,f=s.childFactory,p=rS(s,["component","childFactory"]),m=this.state.contextValue,h=mN(this.state.children).map(f);return delete p.appear,delete p.enter,delete p.exit,u===null?ka.createElement(tc.Provider,{value:m},h):ka.createElement(tc.Provider,{value:m},ka.createElement(u,p,h))},a})(ka.Component);Nh.propTypes={};Nh.defaultProps=gN;const tb={};function oS(t,a){const l=S.useRef(tb);return l.current===tb&&(l.current=t(a)),l}const yN=[];function vN(t){S.useEffect(t,yN)}class Mh{static create(){return new Mh}currentId=null;start(a,l){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,l()},a)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function sS(){const t=oS(Mh.create).current;return vN(t.disposeEffect),t}const uS=t=>t.scrollTop;function nc(t,a){const{timeout:l,easing:i,style:s={}}=t;return{duration:s.transitionDuration??(typeof l=="number"?l:l[a.mode]||0),easing:s.transitionTimingFunction??(typeof i=="object"?i[a.mode]:i),delay:s.transitionDelay}}function ac(t){return typeof t=="string"}function cS(t,a,l){return t===void 0||ac(t)?a:{...a,ownerState:{...a.ownerState,...l}}}function fS(t,a,l){return typeof t=="function"?t(a,l):t}function dS(t,a=[]){if(t===void 0)return{};const l={};return Object.keys(t).filter(i=>i.match(/^on[A-Z]/)&&typeof t[i]=="function"&&!a.includes(i)).forEach(i=>{l[i]=t[i]}),l}function nb(t){if(t===void 0)return{};const a={};return Object.keys(t).filter(l=>!(l.match(/^on[A-Z]/)&&typeof t[l]=="function")).forEach(l=>{a[l]=t[l]}),a}function pS(t){const{getSlotProps:a,additionalProps:l,externalSlotProps:i,externalForwardedProps:s,className:u}=t;if(!a){const E=Le(l?.className,u,s?.className,i?.className),b={...l?.style,...s?.style,...i?.style},w={...l,...s,...i};return E.length>0&&(w.className=E),Object.keys(b).length>0&&(w.style=b),{props:w,internalRef:void 0}}const f=dS({...s,...i}),p=nb(i),m=nb(s),h=a(f),y=Le(h?.className,l?.className,u,s?.className,i?.className),v={...h?.style,...l?.style,...s?.style,...i?.style},C={...h,...l,...m,...p};return y.length>0&&(C.className=y),Object.keys(v).length>0&&(C.style=v),{props:C,internalRef:h.ref}}function Yt(t,a){const{className:l,elementType:i,ownerState:s,externalForwardedProps:u,internalForwardedProps:f,shouldForwardComponentProp:p=!1,...m}=a,{component:h,slots:y={[t]:void 0},slotProps:v={[t]:void 0},...C}=u,E=y[t]||i,b=fS(v[t],s),{props:{component:w,...R},internalRef:j}=pS({className:l,...m,externalForwardedProps:t==="root"?C:void 0,externalSlotProps:b}),L=Rn(j,b?.ref,a.ref),M=t==="root"?w||h:w,_=cS(E,{...t==="root"&&!h&&!y[t]&&f,...t!=="root"&&!y[t]&&f,...R,...M&&!p&&{as:M},...M&&p&&{component:M},ref:L},s);return[E,_]}function bN(t){return bt("MuiPaper",t)}at("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const xN=t=>{const{square:a,elevation:l,variant:i,classes:s}=t,u={root:["root",i,!a&&"rounded",i==="elevation"&&`elevation${l}`]};return xt(u,bN,s)},SN=Te("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[l.variant],!l.square&&a.rounded,l.variant==="elevation"&&a[`elevation${l.elevation}`]]}})(zt(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:a})=>!a.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),jh=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiPaper"}),s=Uc(),{className:u,component:f="div",elevation:p=1,square:m=!1,variant:h="elevation",...y}=i,v={...i,component:f,elevation:p,square:m,variant:h},C=xN(v);return x.jsx(SN,{as:f,ownerState:v,className:Le(C.root,u),ref:l,...y,style:{...h==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[p],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[p]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ec("#fff",$p(p))}, ${ec("#fff",$p(p))})`}},...y.style}})});function ab(t){try{return t.matches(":focus-visible")}catch{}return!1}class rc{static create(){return new rc}static use(){const a=oS(rc.create).current,[l,i]=S.useState(!1);return a.shouldMount=l,a.setShouldMount=i,S.useEffect(a.mountEffect,[l]),a}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=wN(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...a){this.mount().then(()=>this.ref.current?.start(...a))}stop(...a){this.mount().then(()=>this.ref.current?.stop(...a))}pulsate(...a){this.mount().then(()=>this.ref.current?.pulsate(...a))}}function EN(){return rc.use()}function wN(){let t,a;const l=new Promise((i,s)=>{t=i,a=s});return l.resolve=t,l.reject=a,l}function CN(t){const{className:a,classes:l,pulsate:i=!1,rippleX:s,rippleY:u,rippleSize:f,in:p,onExited:m,timeout:h}=t,[y,v]=S.useState(!1),C=Le(a,l.ripple,l.rippleVisible,i&&l.ripplePulsate),E={width:f,height:f,top:-(f/2)+u,left:-(f/2)+s},b=Le(l.child,y&&l.childLeaving,i&&l.childPulsate);return!p&&!y&&v(!0),S.useEffect(()=>{if(!p&&m!=null){const w=setTimeout(m,h);return()=>{clearTimeout(w)}}},[m,p,h]),x.jsx("span",{className:C,style:E,children:x.jsx("span",{className:b})})}const oa=at("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Vp=550,TN=80,RN=us`
            0% {
              transform: scale(0);
              opacity: 0.1;
            }
          
            100% {
              transform: scale(1);
              opacity: 0.3;
            }
          `,AN=us`
            0% {
              opacity: 1;
            }
          
            100% {
              opacity: 0;
            }
          `,ON=us`
            0% {
              transform: scale(1);
            }
          
            50% {
              transform: scale(0.92);
            }
          
            100% {
              transform: scale(1);
            }
          `,NN=Te("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),MN=Te(CN,{name:"MuiTouchRipple",slot:"Ripple"})`
            opacity: 0;
            position: absolute;
          
            &.${oa.rippleVisible} {
              opacity: 0.3;
              transform: scale(1);
              animation-name: ${RN};
              animation-duration: ${Vp}ms;
              animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
            }
          
            &.${oa.ripplePulsate} {
              animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
            }
          
            & .${oa.child} {
              opacity: 1;
              display: block;
              width: 100%;
              height: 100%;
              border-radius: 50%;
              background-color: currentColor;
            }
          
            & .${oa.childLeaving} {
              opacity: 0;
              animation-name: ${AN};
              animation-duration: ${Vp}ms;
              animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
            }
          
            & .${oa.childPulsate} {
              position: absolute;
              /* @noflip */
              left: 0px;
              top: 0;
              animation-name: ${ON};
              animation-duration: 2500ms;
              animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
              animation-iteration-count: infinite;
              animation-delay: 200ms;
            }
          `,jN=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiTouchRipple"}),{center:s=!1,classes:u={},className:f,...p}=i,[m,h]=S.useState([]),y=S.useRef(0),v=S.useRef(null);S.useEffect(()=>{v.current&&(v.current(),v.current=null)},[m]);const C=S.useRef(!1),E=sS(),b=S.useRef(null),w=S.useRef(null),R=S.useCallback(_=>{const{pulsate:N,rippleX:B,rippleY:O,rippleSize:Q,cb:oe}=_;h(re=>[...re,x.jsx(MN,{classes:{ripple:Le(u.ripple,oa.ripple),rippleVisible:Le(u.rippleVisible,oa.rippleVisible),ripplePulsate:Le(u.ripplePulsate,oa.ripplePulsate),child:Le(u.child,oa.child),childLeaving:Le(u.childLeaving,oa.childLeaving),childPulsate:Le(u.childPulsate,oa.childPulsate)},timeout:Vp,pulsate:N,rippleX:B,rippleY:O,rippleSize:Q},y.current)]),y.current+=1,v.current=oe},[u]),j=S.useCallback((_={},N={},B=()=>{})=>{const{pulsate:O=!1,center:Q=s||N.pulsate,fakeElement:oe=!1}=N;if(_?.type==="mousedown"&&C.current){C.current=!1;return}_?.type==="touchstart"&&(C.current=!0);const re=oe?null:w.current,ce=re?re.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,ee,P;if(Q||_===void 0||_.clientX===0&&_.clientY===0||!_.clientX&&!_.touches)A=Math.round(ce.width/2),ee=Math.round(ce.height/2);else{const{clientX:Y,clientY:D}=_.touches&&_.touches.length>0?_.touches[0]:_;A=Math.round(Y-ce.left),ee=Math.round(D-ce.top)}if(Q)P=Math.sqrt((2*ce.width**2+ce.height**2)/3),P%2===0&&(P+=1);else{const Y=Math.max(Math.abs((re?re.clientWidth:0)-A),A)*2+2,D=Math.max(Math.abs((re?re.clientHeight:0)-ee),ee)*2+2;P=Math.sqrt(Y**2+D**2)}_?.touches?b.current===null&&(b.current=()=>{R({pulsate:O,rippleX:A,rippleY:ee,rippleSize:P,cb:B})},E.start(TN,()=>{b.current&&(b.current(),b.current=null)})):R({pulsate:O,rippleX:A,rippleY:ee,rippleSize:P,cb:B})},[s,R,E]),L=S.useCallback(()=>{j({},{pulsate:!0})},[j]),M=S.useCallback((_,N)=>{if(E.clear(),_?.type==="touchend"&&b.current){b.current(),b.current=null,E.start(0,()=>{M(_,N)});return}b.current=null,h(B=>B.length>0?B.slice(1):B),v.current=N},[E]);return S.useImperativeHandle(l,()=>({pulsate:L,start:j,stop:M}),[L,j,M]),x.jsx(NN,{className:Le(oa.root,u.root,f),ref:w,...p,children:x.jsx(Nh,{component:null,exit:!0,children:m})})});function DN(t){return bt("MuiButtonBase",t)}const zN=at("MuiButtonBase",["root","disabled","focusVisible"]),_N=t=>{const{disabled:a,focusVisible:l,focusVisibleClassName:i,classes:s}=t,f=xt({root:["root",a&&"disabled",l&&"focusVisible"]},DN,s);return l&&i&&(f.root+=` ${i}`),f},LN=Te("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${zN.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),hS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiButtonBase"}),{action:s,centerRipple:u=!1,children:f,className:p,component:m="button",disabled:h=!1,disableRipple:y=!1,disableTouchRipple:v=!1,focusRipple:C=!1,focusVisibleClassName:E,LinkComponent:b="a",onBlur:w,onClick:R,onContextMenu:j,onDragLeave:L,onFocus:M,onFocusVisible:_,onKeyDown:N,onKeyUp:B,onMouseDown:O,onMouseLeave:Q,onMouseUp:oe,onTouchEnd:re,onTouchMove:ce,onTouchStart:A,tabIndex:ee=0,TouchRippleProps:P,touchRippleRef:Y,type:D,...F}=i,ue=S.useRef(null),te=EN(),he=Rn(te.ref,Y),[z,G]=S.useState(!1);h&&z&&G(!1),S.useImperativeHandle(s,()=>({focusVisible:()=>{G(!0),ue.current.focus()}}),[]);const V=te.shouldMount&&!y&&!h;S.useEffect(()=>{z&&C&&!y&&te.pulsate()},[y,C,z,te]);const ie=sr(te,"start",O,v),de=sr(te,"stop",j,v),be=sr(te,"stop",L,v),Ae=sr(te,"stop",oe,v),Je=sr(te,"stop",Me=>{z&&Me.preventDefault(),Q&&Q(Me)},v),ze=sr(te,"start",A,v),je=sr(te,"stop",re,v),Oe=sr(te,"stop",ce,v),Pe=sr(te,"stop",Me=>{ab(Me.target)||G(!1),w&&w(Me)},!1),St=wl(Me=>{ue.current||(ue.current=Me.currentTarget),ab(Me.target)&&(G(!0),_&&_(Me)),M&&M(Me)}),Be=()=>{const Me=ue.current;return m&&m!=="button"&&!(Me.tagName==="A"&&Me.href)},Xe=wl(Me=>{C&&!Me.repeat&&z&&Me.key===" "&&te.stop(Me,()=>{te.start(Me)}),Me.target===Me.currentTarget&&Be()&&Me.key===" "&&Me.preventDefault(),N&&N(Me),Me.target===Me.currentTarget&&Be()&&Me.key==="Enter"&&!h&&(Me.preventDefault(),R&&R(Me))}),en=wl(Me=>{C&&Me.key===" "&&z&&!Me.defaultPrevented&&te.stop(Me,()=>{te.pulsate(Me)}),B&&B(Me),R&&Me.target===Me.currentTarget&&Be()&&Me.key===" "&&!Me.defaultPrevented&&R(Me)});let tn=m;tn==="button"&&(F.href||F.to)&&(tn=b);const Nt={};tn==="button"?(Nt.type=D===void 0?"button":D,Nt.disabled=h):(!F.href&&!F.to&&(Nt.role="button"),h&&(Nt["aria-disabled"]=h));const mn=Rn(l,ue),$t={...i,centerRipple:u,component:m,disabled:h,disableRipple:y,disableTouchRipple:v,focusRipple:C,tabIndex:ee,focusVisible:z},Rt=_N($t);return x.jsxs(LN,{as:tn,className:Le(Rt.root,p),ownerState:$t,onBlur:Pe,onClick:R,onContextMenu:de,onFocus:St,onKeyDown:Xe,onKeyUp:en,onMouseDown:ie,onMouseLeave:Je,onMouseUp:Ae,onDragLeave:be,onTouchEnd:je,onTouchMove:Oe,onTouchStart:ze,ref:mn,tabIndex:h?-1:ee,type:D,...Nt,...F,children:[f,V?x.jsx(jN,{ref:he,center:u,...P}):null]})});function sr(t,a,l,i=!1){return wl(s=>(l&&l(s),i||t[a](s),!0))}function BN(t){return typeof t.main=="string"}function UN(t,a=[]){if(!BN(t))return!1;for(const l of a)if(!t.hasOwnProperty(l)||typeof t[l]!="string")return!1;return!0}function Nl(t=[]){return([,a])=>a&&UN(a,t)}function kN(t){return bt("MuiCircularProgress",t)}at("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ea=44,Yp=us`
            0% {
              transform: rotate(0deg);
            }
          
            100% {
              transform: rotate(360deg);
            }
          `,Gp=us`
            0% {
              stroke-dasharray: 1px, 200px;
              stroke-dashoffset: 0;
            }
          
            50% {
              stroke-dasharray: 100px, 200px;
              stroke-dashoffset: -15px;
            }
          
            100% {
              stroke-dasharray: 1px, 200px;
              stroke-dashoffset: -126px;
            }
          `,HN=typeof Yp!="string"?vh`
                  animation: ${Yp} 1.4s linear infinite;
                `:null,$N=typeof Gp!="string"?vh`
                  animation: ${Gp} 1.4s ease-in-out infinite;
                `:null,PN=t=>{const{classes:a,variant:l,color:i,disableShrink:s}=t,u={root:["root",l,`color${_e(i)}`],svg:["svg"],track:["track"],circle:["circle",`circle${_e(l)}`,s&&"circleDisableShrink"]};return xt(u,kN,a)},qN=Te("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[l.variant],a[`color${_e(l.color)}`]]}})(zt(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:HN||{animation:`${Yp} 1.4s linear infinite`}},...Object.entries(t.palette).filter(Nl()).map(([a])=>({props:{color:a},style:{color:(t.vars||t).palette[a].main}}))]}))),FN=Te("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),VN=Te("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.circle,a[`circle${_e(l.variant)}`],l.disableShrink&&a.circleDisableShrink]}})(zt(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:a})=>a.variant==="indeterminate"&&!a.disableShrink,style:$N||{animation:`${Gp} 1.4s ease-in-out infinite`}}]}))),YN=Te("circle",{name:"MuiCircularProgress",slot:"Track"})(zt(({theme:t})=>({stroke:"currentColor",opacity:(t.vars||t).palette.action.activatedOpacity}))),GN=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiCircularProgress"}),{className:s,color:u="primary",disableShrink:f=!1,enableTrackSlot:p=!1,size:m=40,style:h,thickness:y=3.6,value:v=0,variant:C="indeterminate",...E}=i,b={...i,color:u,disableShrink:f,size:m,thickness:y,value:v,variant:C,enableTrackSlot:p},w=PN(b),R={},j={},L={};if(C==="determinate"){const M=2*Math.PI*((Ea-y)/2);R.strokeDasharray=M.toFixed(3),L["aria-valuenow"]=Math.round(v),R.strokeDashoffset=`${((100-v)/100*M).toFixed(3)}px`,j.transform="rotate(-90deg)"}return x.jsx(qN,{className:Le(w.root,s),style:{width:m,height:m,...j,...h},ownerState:b,ref:l,role:"progressbar",...L,...E,children:x.jsxs(FN,{className:w.svg,ownerState:b,viewBox:`${Ea/2} ${Ea/2} ${Ea} ${Ea}`,children:[p?x.jsx(YN,{className:w.track,ownerState:b,cx:Ea,cy:Ea,r:(Ea-y)/2,fill:"none",strokeWidth:y,"aria-hidden":"true"}):null,x.jsx(VN,{className:w.circle,style:R,ownerState:b,cx:Ea,cy:Ea,r:(Ea-y)/2,fill:"none",strokeWidth:y})]})})});function XN(t){return bt("MuiTypography",t)}at("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const KN={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},IN=aN(),QN=t=>{const{align:a,gutterBottom:l,noWrap:i,paragraph:s,variant:u,classes:f}=t,p={root:["root",u,t.align!=="inherit"&&`align${_e(a)}`,l&&"gutterBottom",i&&"noWrap",s&&"paragraph"]};return xt(p,XN,f)},ZN=Te("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.variant&&a[l.variant],l.align!=="inherit"&&a[`align${_e(l.align)}`],l.noWrap&&a.noWrap,l.gutterBottom&&a.gutterBottom,l.paragraph&&a.paragraph]}})(zt(({theme:t})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([a,l])=>a!=="inherit"&&l&&typeof l=="object").map(([a,l])=>({props:{variant:a},style:l})),...Object.entries(t.palette).filter(Nl()).map(([a])=>({props:{color:a},style:{color:(t.vars||t).palette[a].main}})),...Object.entries(t.palette?.text||{}).filter(([,a])=>typeof a=="string").map(([a])=>({props:{color:`text${_e(a)}`},style:{color:(t.vars||t).palette.text[a]}})),{props:({ownerState:a})=>a.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:a})=>a.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:a})=>a.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:a})=>a.paragraph,style:{marginBottom:16}}]}))),rb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},WN=S.forwardRef(function(a,l){const{color:i,...s}=Ct({props:a,name:"MuiTypography"}),u=!KN[i],f=IN({...s,...u&&{color:i}}),{align:p="inherit",className:m,component:h,gutterBottom:y=!1,noWrap:v=!1,paragraph:C=!1,variant:E="body1",variantMapping:b=rb,...w}=f,R={...f,align:p,color:i,className:m,component:h,gutterBottom:y,noWrap:v,paragraph:C,variant:E,variantMapping:b},j=h||(C?"p":b[E]||rb[E])||"span",L=QN(R);return x.jsx(ZN,{as:j,ref:l,className:Le(L.root,m),...w,ownerState:R,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...w.style}})});function JN(t){const{elementType:a,externalSlotProps:l,ownerState:i,skipResolvingSlotProps:s=!1,...u}=t,f=s?{}:fS(l,i),{props:p,internalRef:m}=pS({...u,externalSlotProps:f}),h=Rn(m,f?.ref,t.additionalProps?.ref);return cS(a,{...p,ref:h},i)}function ps(t){return parseInt(S.version,10)>=19?t?.props?.ref||null:t?.ref||null}function eM(t){return typeof t=="function"?t():t}const tM=S.forwardRef(function(a,l){const{children:i,container:s,disablePortal:u=!1}=a,[f,p]=S.useState(null),m=Rn(S.isValidElement(i)?ps(i):null,l);if(Vr(()=>{u||p(eM(s)||document.body)},[s,u]),Vr(()=>{if(f&&!u)return Wv(l,f),()=>{Wv(l,null)}},[l,f,u]),u){if(S.isValidElement(i)){const h={ref:m};return S.cloneElement(i,h)}return i}return f&&iS.createPortal(i,f)});function Du(t){return parseInt(t,10)||0}const nM={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function aM(t){for(const a in t)return!1;return!0}function lb(t){return aM(t)||t.outerHeightStyle===0&&!t.overflowing}const rM=S.forwardRef(function(a,l){const{onChange:i,maxRows:s,minRows:u=1,style:f,value:p,...m}=a,{current:h}=S.useRef(p!=null),y=S.useRef(null),v=Rn(l,y),C=S.useRef(null),E=S.useRef(null),b=S.useCallback(()=>{const M=y.current,_=E.current;if(!M||!_)return;const B=dr(M).getComputedStyle(M);if(B.width==="0px")return{outerHeightStyle:0,overflowing:!1};_.style.width=B.width,_.value=M.value||a.placeholder||"x",_.value.slice(-1)===`
          `&&(_.value+=" ");const O=B.boxSizing,Q=Du(B.paddingBottom)+Du(B.paddingTop),oe=Du(B.borderBottomWidth)+Du(B.borderTopWidth),re=_.scrollHeight;_.value="x";const ce=_.scrollHeight;let A=re;u&&(A=Math.max(Number(u)*ce,A)),s&&(A=Math.min(Number(s)*ce,A)),A=Math.max(A,ce);const ee=A+(O==="border-box"?Q+oe:0),P=Math.abs(A-re)<=1;return{outerHeightStyle:ee,overflowing:P}},[s,u,a.placeholder]),w=wl(()=>{const M=y.current,_=b();if(!M||!_||lb(_))return!1;const N=_.outerHeightStyle;return C.current!=null&&C.current!==N}),R=S.useCallback(()=>{const M=y.current,_=b();if(!M||!_||lb(_))return;const N=_.outerHeightStyle;C.current!==N&&(C.current=N,M.style.height=`${N}px`),M.style.overflow=_.overflowing?"hidden":""},[b]),j=S.useRef(-1);Vr(()=>{const M=aS(R),_=y?.current;if(!_)return;const N=dr(_);N.addEventListener("resize",M);let B;return typeof ResizeObserver<"u"&&(B=new ResizeObserver(()=>{w()&&(B.unobserve(_),cancelAnimationFrame(j.current),R(),j.current=requestAnimationFrame(()=>{B.observe(_)}))}),B.observe(_)),()=>{M.clear(),cancelAnimationFrame(j.current),N.removeEventListener("resize",M),B&&B.disconnect()}},[b,R,w]),Vr(()=>{R()});const L=M=>{h||R();const _=M.target,N=_.value.length,B=_.value.endsWith(`
          `),O=_.selectionStart===N;B&&O&&_.setSelectionRange(N,N),i&&i(M)};return x.jsxs(S.Fragment,{children:[x.jsx("textarea",{value:p,onChange:L,ref:v,rows:u,style:f,...m}),x.jsx("textarea",{"aria-hidden":!0,className:a.className,readOnly:!0,ref:E,tabIndex:-1,style:{...nM.shadow,...f,paddingTop:0,paddingBottom:0}})]})});function Bi({props:t,states:a,muiFormControl:l}){return a.reduce((i,s)=>(i[s]=t[s],l&&typeof t[s]>"u"&&(i[s]=l[s]),i),{})}const Dh=S.createContext(void 0);function Ui(){return S.useContext(Dh)}function ib(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function lc(t,a=!1){return t&&(ib(t.value)&&t.value!==""||a&&ib(t.defaultValue)&&t.defaultValue!=="")}function lM(t){return t.startAdornment}function iM(t){return bt("MuiInputBase",t)}const Ni=at("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ob;const kc=(t,a)=>{const{ownerState:l}=t;return[a.root,l.formControl&&a.formControl,l.startAdornment&&a.adornedStart,l.endAdornment&&a.adornedEnd,l.error&&a.error,l.size==="small"&&a.sizeSmall,l.multiline&&a.multiline,l.color&&a[`color${_e(l.color)}`],l.fullWidth&&a.fullWidth,l.hiddenLabel&&a.hiddenLabel]},Hc=(t,a)=>{const{ownerState:l}=t;return[a.input,l.size==="small"&&a.inputSizeSmall,l.multiline&&a.inputMultiline,l.type==="search"&&a.inputTypeSearch,l.startAdornment&&a.inputAdornedStart,l.endAdornment&&a.inputAdornedEnd,l.hiddenLabel&&a.inputHiddenLabel]},oM=t=>{const{classes:a,color:l,disabled:i,error:s,endAdornment:u,focused:f,formControl:p,fullWidth:m,hiddenLabel:h,multiline:y,readOnly:v,size:C,startAdornment:E,type:b}=t,w={root:["root",`color${_e(l)}`,i&&"disabled",s&&"error",m&&"fullWidth",f&&"focused",p&&"formControl",C&&C!=="medium"&&`size${_e(C)}`,y&&"multiline",E&&"adornedStart",u&&"adornedEnd",h&&"hiddenLabel",v&&"readOnly"],input:["input",i&&"disabled",b==="search"&&"inputTypeSearch",y&&"inputMultiline",C==="small"&&"inputSizeSmall",h&&"inputHiddenLabel",E&&"inputAdornedStart",u&&"inputAdornedEnd",v&&"readOnly"]};return xt(w,iM,a)},$c=Te("div",{name:"MuiInputBase",slot:"Root",overridesResolver:kc})(zt(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ni.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:a})=>a.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:a,size:l})=>a.multiline&&l==="small",style:{paddingTop:1}},{props:({ownerState:a})=>a.fullWidth,style:{width:"100%"}}]}))),Pc=Te("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Hc})(zt(({theme:t})=>{const a=t.palette.mode==="light",l={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:a?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},i={opacity:"0 !important"},s=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:a?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&::-ms-input-placeholder":l,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ni.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Ni.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:u})=>!u.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:u})=>u.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),sb=nN({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),zh=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:u,autoFocus:f,className:p,color:m,components:h={},componentsProps:y={},defaultValue:v,disabled:C,disableInjectingGlobalStyles:E,endAdornment:b,error:w,fullWidth:R=!1,id:j,inputComponent:L="input",inputProps:M={},inputRef:_,margin:N,maxRows:B,minRows:O,multiline:Q=!1,name:oe,onBlur:re,onChange:ce,onClick:A,onFocus:ee,onKeyDown:P,onKeyUp:Y,placeholder:D,readOnly:F,renderSuffix:ue,rows:te,size:he,slotProps:z={},slots:G={},startAdornment:V,type:ie="text",value:de,...be}=i,Ae=M.value!=null?M.value:de,{current:Je}=S.useRef(Ae!=null),ze=S.useRef(),je=S.useCallback(ot=>{},[]),Oe=Rn(ze,_,M.ref,je),[Pe,St]=S.useState(!1),Be=Ui(),Xe=Bi({props:i,muiFormControl:Be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Xe.focused=Be?Be.focused:Pe,S.useEffect(()=>{!Be&&C&&Pe&&(St(!1),re&&re())},[Be,C,Pe,re]);const en=Be&&Be.onFilled,tn=Be&&Be.onEmpty,Nt=S.useCallback(ot=>{lc(ot)?en&&en():tn&&tn()},[en,tn]);Vr(()=>{Je&&Nt({value:Ae})},[Ae,Nt,Je]);const mn=ot=>{ee&&ee(ot),M.onFocus&&M.onFocus(ot),Be&&Be.onFocus?Be.onFocus(ot):St(!0)},$t=ot=>{re&&re(ot),M.onBlur&&M.onBlur(ot),Be&&Be.onBlur?Be.onBlur(ot):St(!1)},Rt=(ot,...Ra)=>{if(!Je){const Kt=ot.target||ze.current;if(Kt==null)throw new Error(cr(1));Nt({value:Kt.value})}M.onChange&&M.onChange(ot,...Ra),ce&&ce(ot,...Ra)};S.useEffect(()=>{Nt(ze.current)},[]);const Me=ot=>{ze.current&&ot.currentTarget===ot.target&&ze.current.focus(),A&&A(ot)};let ln=L,Ve=M;Q&&ln==="input"&&(te?Ve={type:void 0,minRows:te,maxRows:te,...Ve}:Ve={type:void 0,maxRows:B,minRows:O,...Ve},ln=rM);const ha=ot=>{Nt(ot.animationName==="mui-auto-fill-cancel"?ze.current:{value:"x"})};S.useEffect(()=>{Be&&Be.setAdornedStart(!!V)},[Be,V]);const In={...i,color:Xe.color||"primary",disabled:Xe.disabled,endAdornment:b,error:Xe.error,focused:Xe.focused,formControl:Be,fullWidth:R,hiddenLabel:Xe.hiddenLabel,multiline:Q,size:Xe.size,startAdornment:V,type:ie},on=oM(In),Pt=G.root||h.Root||$c,ma=z.root||y.root||{},An=G.input||h.Input||Pc;return Ve={...Ve,...z.input??y.input},x.jsxs(S.Fragment,{children:[!E&&typeof sb=="function"&&(ob||(ob=x.jsx(sb,{}))),x.jsxs(Pt,{...ma,ref:l,onClick:Me,...be,...!ac(Pt)&&{ownerState:{...In,...ma.ownerState}},className:Le(on.root,ma.className,p,F&&"MuiInputBase-readOnly"),children:[V,x.jsx(Dh.Provider,{value:null,children:x.jsx(An,{"aria-invalid":Xe.error,"aria-describedby":s,autoComplete:u,autoFocus:f,defaultValue:v,disabled:Xe.disabled,id:j,onAnimationStart:ha,name:oe,placeholder:D,readOnly:F,required:Xe.required,rows:te,value:Ae,onKeyDown:P,onKeyUp:Y,type:ie,...Ve,...!ac(An)&&{as:ln,ownerState:{...In,...Ve.ownerState}},ref:Oe,className:Le(on.input,Ve.className,F&&"MuiInputBase-readOnly"),onBlur:$t,onChange:Rt,onFocus:mn})}),b,ue?ue({...Xe,startAdornment:V}):null]})]})});function sM(t){return bt("MuiInput",t)}const _o={...Ni,...at("MuiInput",["root","underline","input"])};function uM(t){return bt("MuiOutlinedInput",t)}const _a={...Ni,...at("MuiOutlinedInput",["root","notchedOutline","input"])};function cM(t){return bt("MuiFilledInput",t)}const hl={...Ni,...at("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},fM=oN(x.jsx("path",{d:"M7 10l5 5 5-5z"})),dM={entering:{opacity:1},entered:{opacity:1}},Xp=S.forwardRef(function(a,l){const i=Uc(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:u,appear:f=!0,children:p,easing:m,in:h,onEnter:y,onEntered:v,onEntering:C,onExit:E,onExited:b,onExiting:w,style:R,timeout:j=s,TransitionComponent:L=qa,...M}=a,_=S.useRef(null),N=Rn(_,ps(p),l),B=P=>Y=>{if(P){const D=_.current;Y===void 0?P(D):P(D,Y)}},O=B(C),Q=B((P,Y)=>{uS(P);const D=nc({style:R,timeout:j,easing:m},{mode:"enter"});P.style.webkitTransition=i.transitions.create("opacity",D),P.style.transition=i.transitions.create("opacity",D),y&&y(P,Y)}),oe=B(v),re=B(w),ce=B(P=>{const Y=nc({style:R,timeout:j,easing:m},{mode:"exit"});P.style.webkitTransition=i.transitions.create("opacity",Y),P.style.transition=i.transitions.create("opacity",Y),E&&E(P)}),A=B(b),ee=P=>{u&&u(_.current,P)};return x.jsx(L,{appear:f,in:h,nodeRef:_,onEnter:Q,onEntered:oe,onEntering:O,onExit:ce,onExited:A,onExiting:re,addEndListener:ee,timeout:j,...M,children:(P,{ownerState:Y,...D})=>S.cloneElement(p,{style:{opacity:0,visibility:P==="exited"&&!h?"hidden":void 0,...dM[P],...R,...p.props.style},ref:N,...D})})});function pM(t){return bt("MuiBackdrop",t)}at("MuiBackdrop",["root","invisible"]);const hM=t=>{const{classes:a,invisible:l}=t;return xt({root:["root",l&&"invisible"]},pM,a)},mM=Te("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.invisible&&a.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),mS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiBackdrop"}),{children:s,className:u,component:f="div",invisible:p=!1,open:m,components:h={},componentsProps:y={},slotProps:v={},slots:C={},TransitionComponent:E,transitionDuration:b,...w}=i,R={...i,component:f,invisible:p},j=hM(R),L={transition:E,root:h.Root,...C},M={...y,...v},_={component:f,slots:L,slotProps:M},[N,B]=Yt("root",{elementType:mM,externalForwardedProps:_,className:Le(j.root,u),ownerState:R}),[O,Q]=Yt("transition",{elementType:Xp,externalForwardedProps:_,ownerState:R});return x.jsx(O,{in:m,timeout:b,...w,...Q,children:x.jsx(N,{"aria-hidden":!0,...B,classes:j,ref:l,children:s})})}),gM=at("MuiBox",["root"]),yM=tS(),ic=IA({themeId:Sc,defaultTheme:yM,defaultClassName:gM.root,generateClassName:Vx.generate});function vM(t){return bt("MuiButton",t)}const ml=at("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),bM=S.createContext({}),xM=S.createContext(void 0),SM=t=>{const{color:a,disableElevation:l,fullWidth:i,size:s,variant:u,loading:f,loadingPosition:p,classes:m}=t,h={root:["root",f&&"loading",u,`${u}${_e(a)}`,`size${_e(s)}`,`${u}Size${_e(s)}`,`color${_e(a)}`,l&&"disableElevation",i&&"fullWidth",f&&`loadingPosition${_e(p)}`],startIcon:["icon","startIcon",`iconSize${_e(s)}`],endIcon:["icon","endIcon",`iconSize${_e(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},y=xt(h,vM,m);return{...m,...y}},gS=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],EM=Te(hS,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[l.variant],a[`${l.variant}${_e(l.color)}`],a[`size${_e(l.size)}`],a[`${l.variant}Size${_e(l.size)}`],l.color==="inherit"&&a.colorInherit,l.disableElevation&&a.disableElevation,l.fullWidth&&a.fullWidth,l.loading&&a.loading]}})(zt(({theme:t})=>{const a=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],l=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ml.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${ml.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${ml.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ml.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(Nl()).map(([i])=>({props:{color:i},style:{"--variant-textColor":(t.vars||t).palette[i].main,"--variant-outlinedColor":(t.vars||t).palette[i].main,"--variant-outlinedBorder":t.alpha((t.vars||t).palette[i].main,.5),"--variant-containedColor":(t.vars||t).palette[i].contrastText,"--variant-containedBg":(t.vars||t).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[i].dark,"--variant-textBg":t.alpha((t.vars||t).palette[i].main,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[i].main,"--variant-outlinedBg":t.alpha((t.vars||t).palette[i].main,(t.vars||t).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:a,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:l,"--variant-textBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ml.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ml.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${ml.loading}`]:{color:"transparent"}}}]}})),wM=Te("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.startIcon,l.loading&&a.startIconLoadingStart,a[`iconSize${_e(l.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...gS]})),CM=Te("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.endIcon,l.loading&&a.endIconLoadingEnd,a[`iconSize${_e(l.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...gS]})),TM=Te("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ub=Te("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),oc=S.forwardRef(function(a,l){const i=S.useContext(bM),s=S.useContext(xM),u=Ju(i,a),f=Ct({props:u,name:"MuiButton"}),{children:p,color:m="primary",component:h="button",className:y,disabled:v=!1,disableElevation:C=!1,disableFocusRipple:E=!1,endIcon:b,focusVisibleClassName:w,fullWidth:R=!1,id:j,loading:L=null,loadingIndicator:M,loadingPosition:_="center",size:N="medium",startIcon:B,type:O,variant:Q="text",...oe}=f,re=Bc(j),ce=M??x.jsx(GN,{"aria-labelledby":re,color:"inherit",size:16}),A={...f,color:m,component:h,disabled:v,disableElevation:C,disableFocusRipple:E,fullWidth:R,loading:L,loadingIndicator:ce,loadingPosition:_,size:N,type:O,variant:Q},ee=SM(A),P=(B||L&&_==="start")&&x.jsx(wM,{className:ee.startIcon,ownerState:A,children:B||x.jsx(ub,{className:ee.loadingIconPlaceholder,ownerState:A})}),Y=(b||L&&_==="end")&&x.jsx(CM,{className:ee.endIcon,ownerState:A,children:b||x.jsx(ub,{className:ee.loadingIconPlaceholder,ownerState:A})}),D=s||"",F=typeof L=="boolean"?x.jsx("span",{className:ee.loadingWrapper,style:{display:"contents"},children:L&&x.jsx(TM,{className:ee.loadingIndicator,ownerState:A,children:ce})}):null;return x.jsxs(EM,{ownerState:A,className:Le(i.className,ee.root,y,D),component:h,disabled:v||L,focusRipple:!E,focusVisibleClassName:Le(ee.focusVisible,w),ref:l,type:O,id:L?re:j,...oe,classes:ee,children:[P,_!=="end"&&F,p,_==="end"&&F,Y]})});function yS(t=window){const a=t.document.documentElement.clientWidth;return t.innerWidth-a}function RM(t){const a=wa(t);return a.body===t?dr(t).innerWidth>a.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Vo(t,a){a?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function cb(t){return parseInt(dr(t).getComputedStyle(t).paddingRight,10)||0}function AM(t){const l=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),i=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return l||i}function fb(t,a,l,i,s){const u=[a,l,...i];[].forEach.call(t.children,f=>{const p=!u.includes(f),m=!AM(f);p&&m&&Vo(f,s)})}function xp(t,a){let l=-1;return t.some((i,s)=>a(i)?(l=s,!0):!1),l}function OM(t,a){const l=[],i=t.container;if(!a.disableScrollLock){if(RM(i)){const f=yS(dr(i));l.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${cb(i)+f}px`;const p=wa(i).querySelectorAll(".mui-fixed");[].forEach.call(p,m=>{l.push({value:m.style.paddingRight,property:"padding-right",el:m}),m.style.paddingRight=`${cb(m)+f}px`})}let u;if(i.parentNode instanceof DocumentFragment)u=wa(i).body;else{const f=i.parentElement,p=dr(i);u=f?.nodeName==="HTML"&&p.getComputedStyle(f).overflowY==="scroll"?f:i}l.push({value:u.style.overflow,property:"overflow",el:u},{value:u.style.overflowX,property:"overflow-x",el:u},{value:u.style.overflowY,property:"overflow-y",el:u}),u.style.overflow="hidden"}return()=>{l.forEach(({value:u,el:f,property:p})=>{u?f.style.setProperty(p,u):f.style.removeProperty(p)})}}function NM(t){const a=[];return[].forEach.call(t.children,l=>{l.getAttribute("aria-hidden")==="true"&&a.push(l)}),a}class MM{constructor(){this.modals=[],this.containers=[]}add(a,l){let i=this.modals.indexOf(a);if(i!==-1)return i;i=this.modals.length,this.modals.push(a),a.modalRef&&Vo(a.modalRef,!1);const s=NM(l);fb(l,a.mount,a.modalRef,s,!0);const u=xp(this.containers,f=>f.container===l);return u!==-1?(this.containers[u].modals.push(a),i):(this.containers.push({modals:[a],container:l,restore:null,hiddenSiblings:s}),i)}mount(a,l){const i=xp(this.containers,u=>u.modals.includes(a)),s=this.containers[i];s.restore||(s.restore=OM(s,l))}remove(a,l=!0){const i=this.modals.indexOf(a);if(i===-1)return i;const s=xp(this.containers,f=>f.modals.includes(a)),u=this.containers[s];if(u.modals.splice(u.modals.indexOf(a),1),this.modals.splice(i,1),u.modals.length===0)u.restore&&u.restore(),a.modalRef&&Vo(a.modalRef,l),fb(u.container,a.mount,a.modalRef,u.hiddenSiblings,!1),this.containers.splice(s,1);else{const f=u.modals[u.modals.length-1];f.modalRef&&Vo(f.modalRef,!1)}return i}isTopModal(a){return this.modals.length>0&&this.modals[this.modals.length-1]===a}}const jM=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function DM(t){const a=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(a)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:a}function zM(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const a=i=>t.ownerDocument.querySelector(`input[type="radio"]${i}`);let l=a(`[name="${t.name}"]:checked`);return l||(l=a(`[name="${t.name}"]`)),l!==t}function _M(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||zM(t))}function LM(t){const a=[],l=[];return Array.from(t.querySelectorAll(jM)).forEach((i,s)=>{const u=DM(i);u===-1||!_M(i)||(u===0?a.push(i):l.push({documentOrder:s,tabIndex:u,node:i}))}),l.sort((i,s)=>i.tabIndex===s.tabIndex?i.documentOrder-s.documentOrder:i.tabIndex-s.tabIndex).map(i=>i.node).concat(a)}function BM(){return!0}function UM(t){const{children:a,disableAutoFocus:l=!1,disableEnforceFocus:i=!1,disableRestoreFocus:s=!1,getTabbable:u=LM,isEnabled:f=BM,open:p}=t,m=S.useRef(!1),h=S.useRef(null),y=S.useRef(null),v=S.useRef(null),C=S.useRef(null),E=S.useRef(!1),b=S.useRef(null),w=Rn(ps(a),b),R=S.useRef(null);S.useEffect(()=>{!p||!b.current||(E.current=!l)},[l,p]),S.useEffect(()=>{if(!p||!b.current)return;const M=wa(b.current);return b.current.contains(M.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),E.current&&b.current.focus()),()=>{s||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[p]),S.useEffect(()=>{if(!p||!b.current)return;const M=wa(b.current),_=O=>{R.current=O,!(i||!f()||O.key!=="Tab")&&M.activeElement===b.current&&O.shiftKey&&(m.current=!0,y.current&&y.current.focus())},N=()=>{const O=b.current;if(O===null)return;if(!M.hasFocus()||!f()||m.current){m.current=!1;return}if(O.contains(M.activeElement)||i&&M.activeElement!==h.current&&M.activeElement!==y.current)return;if(M.activeElement!==C.current)C.current=null;else if(C.current!==null)return;if(!E.current)return;let Q=[];if((M.activeElement===h.current||M.activeElement===y.current)&&(Q=u(b.current)),Q.length>0){const oe=!!(R.current?.shiftKey&&R.current?.key==="Tab"),re=Q[0],ce=Q[Q.length-1];typeof re!="string"&&typeof ce!="string"&&(oe?ce.focus():re.focus())}else O.focus()};M.addEventListener("focusin",N),M.addEventListener("keydown",_,!0);const B=setInterval(()=>{M.activeElement&&M.activeElement.tagName==="BODY"&&N()},50);return()=>{clearInterval(B),M.removeEventListener("focusin",N),M.removeEventListener("keydown",_,!0)}},[l,i,s,f,p,u]);const j=M=>{v.current===null&&(v.current=M.relatedTarget),E.current=!0,C.current=M.target;const _=a.props.onFocus;_&&_(M)},L=M=>{v.current===null&&(v.current=M.relatedTarget),E.current=!0};return x.jsxs(S.Fragment,{children:[x.jsx("div",{tabIndex:p?0:-1,onFocus:L,ref:h,"data-testid":"sentinelStart"}),S.cloneElement(a,{ref:w,onFocus:j}),x.jsx("div",{tabIndex:p?0:-1,onFocus:L,ref:y,"data-testid":"sentinelEnd"})]})}function kM(t){return typeof t=="function"?t():t}function HM(t){return t?t.props.hasOwnProperty("in"):!1}const db=()=>{},zu=new MM;function $M(t){const{container:a,disableEscapeKeyDown:l=!1,disableScrollLock:i=!1,closeAfterTransition:s=!1,onTransitionEnter:u,onTransitionExited:f,children:p,onClose:m,open:h,rootRef:y}=t,v=S.useRef({}),C=S.useRef(null),E=S.useRef(null),b=Rn(E,y),[w,R]=S.useState(!h),j=HM(p);let L=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(L=!1);const M=()=>wa(C.current),_=()=>(v.current.modalRef=E.current,v.current.mount=C.current,v.current),N=()=>{zu.mount(_(),{disableScrollLock:i}),E.current&&(E.current.scrollTop=0)},B=wl(()=>{const Y=kM(a)||M().body;zu.add(_(),Y),E.current&&N()}),O=()=>zu.isTopModal(_()),Q=wl(Y=>{C.current=Y,Y&&(h&&O()?N():E.current&&Vo(E.current,L))}),oe=S.useCallback(()=>{zu.remove(_(),L)},[L]);S.useEffect(()=>()=>{oe()},[oe]),S.useEffect(()=>{h?B():(!j||!s)&&oe()},[h,oe,j,s,B]);const re=Y=>D=>{Y.onKeyDown?.(D),!(D.key!=="Escape"||D.which===229||!O())&&(l||(D.stopPropagation(),m&&m(D,"escapeKeyDown")))},ce=Y=>D=>{Y.onClick?.(D),D.target===D.currentTarget&&m&&m(D,"backdropClick")};return{getRootProps:(Y={})=>{const D=dS(t);delete D.onTransitionEnter,delete D.onTransitionExited;const F={...D,...Y};return{role:"presentation",...F,onKeyDown:re(F),ref:b}},getBackdropProps:(Y={})=>{const D=Y;return{"aria-hidden":!0,...D,onClick:ce(D),open:h}},getTransitionProps:()=>{const Y=()=>{R(!1),u&&u()},D=()=>{R(!0),f&&f(),s&&oe()};return{onEnter:Zv(Y,p?.props.onEnter??db),onExited:Zv(D,p?.props.onExited??db)}},rootRef:b,portalRef:Q,isTopModal:O,exited:w,hasTransition:j}}function PM(t){return bt("MuiModal",t)}at("MuiModal",["root","hidden","backdrop"]);const qM=t=>{const{open:a,exited:l,classes:i}=t;return xt({root:["root",!a&&l&&"hidden"],backdrop:["backdrop"]},PM,i)},FM=Te("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,!l.open&&l.exited&&a.hidden]}})(zt(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:a})=>!a.open&&a.exited,style:{visibility:"hidden"}}]}))),VM=Te(mS,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),vS=S.forwardRef(function(a,l){const i=Ct({name:"MuiModal",props:a}),{BackdropComponent:s=VM,BackdropProps:u,classes:f,className:p,closeAfterTransition:m=!1,children:h,container:y,component:v,components:C={},componentsProps:E={},disableAutoFocus:b=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:R=!1,disablePortal:j=!1,disableRestoreFocus:L=!1,disableScrollLock:M=!1,hideBackdrop:_=!1,keepMounted:N=!1,onClose:B,onTransitionEnter:O,onTransitionExited:Q,open:oe,slotProps:re={},slots:ce={},theme:A,...ee}=i,P={...i,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:w,disableEscapeKeyDown:R,disablePortal:j,disableRestoreFocus:L,disableScrollLock:M,hideBackdrop:_,keepMounted:N},{getRootProps:Y,getBackdropProps:D,getTransitionProps:F,portalRef:ue,isTopModal:te,exited:he,hasTransition:z}=$M({...P,rootRef:l}),G={...P,exited:he},V=qM(G),ie={};if(h.props.tabIndex===void 0&&(ie.tabIndex="-1"),z){const{onEnter:je,onExited:Oe}=F();ie.onEnter=je,ie.onExited=Oe}const de={slots:{root:C.Root,backdrop:C.Backdrop,...ce},slotProps:{...E,...re}},[be,Ae]=Yt("root",{ref:l,elementType:FM,externalForwardedProps:{...de,...ee,component:v},getSlotProps:Y,ownerState:G,className:Le(p,V?.root,!G.open&&G.exited&&V?.hidden)}),[Je,ze]=Yt("backdrop",{ref:u?.ref,elementType:s,externalForwardedProps:de,shouldForwardComponentProp:!0,additionalProps:u,getSlotProps:je=>D({...je,onClick:Oe=>{je?.onClick&&je.onClick(Oe)}}),className:Le(u?.className,V?.backdrop),ownerState:G});return!N&&!oe&&(!z||he)?null:x.jsx(tM,{ref:ue,container:y,disablePortal:j,children:x.jsxs(be,{...Ae,children:[!_&&s?x.jsx(Je,{...ze}):null,x.jsx(UM,{disableEnforceFocus:w,disableAutoFocus:b,disableRestoreFocus:L,isEnabled:te,open:oe,children:S.cloneElement(h,ie)})]})})});function YM(t){return bt("MuiDialog",t)}const Sp=at("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),bS=S.createContext({}),GM=Te(mS,{name:"MuiDialog",slot:"Backdrop",overrides:(t,a)=>a.backdrop})({zIndex:-1}),XM=t=>{const{classes:a,scroll:l,maxWidth:i,fullWidth:s,fullScreen:u}=t,f={root:["root"],container:["container",`scroll${_e(l)}`],paper:["paper",`paperScroll${_e(l)}`,`paperWidth${_e(String(i))}`,s&&"paperFullWidth",u&&"paperFullScreen"]};return xt(f,YM,a)},KM=Te(vS,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),IM=Te("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.container,a[`scroll${_e(l.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),QM=Te(jh,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.paper,a[`scrollPaper${_e(l.scroll)}`],a[`paperWidth${_e(String(l.maxWidth))}`],l.fullWidth&&a.paperFullWidth,l.fullScreen&&a.paperFullScreen]}})(zt(({theme:t})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:a})=>!a.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${Sp.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(a=>a!=="xs").map(a=>({props:{maxWidth:a},style:{maxWidth:`${t.breakpoints.values[a]}${t.breakpoints.unit}`,[`&.${Sp.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[a]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:a})=>a.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:a})=>a.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Sp.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),xS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialog"}),s=Uc(),u={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":f,"aria-labelledby":p,"aria-modal":m=!0,BackdropComponent:h,BackdropProps:y,children:v,className:C,disableEscapeKeyDown:E=!1,fullScreen:b=!1,fullWidth:w=!1,maxWidth:R="sm",onClick:j,onClose:L,open:M,PaperComponent:_=jh,PaperProps:N={},scroll:B="paper",slots:O={},slotProps:Q={},TransitionComponent:oe=Xp,transitionDuration:re=u,TransitionProps:ce,...A}=i,ee={...i,disableEscapeKeyDown:E,fullScreen:b,fullWidth:w,maxWidth:R,scroll:B},P=XM(ee),Y=S.useRef(),D=St=>{Y.current=St.target===St.currentTarget},F=St=>{j&&j(St),Y.current&&(Y.current=null,L&&L(St,"backdropClick"))},ue=Bc(p),te=S.useMemo(()=>({titleId:ue}),[ue]),he={transition:oe,...O},z={transition:ce,paper:N,backdrop:y,...Q},G={slots:he,slotProps:z},[V,ie]=Yt("root",{elementType:KM,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:ee,className:Le(P.root,C),ref:l}),[de,be]=Yt("backdrop",{elementType:GM,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:ee}),[Ae,Je]=Yt("paper",{elementType:QM,shouldForwardComponentProp:!0,externalForwardedProps:G,ownerState:ee,className:Le(P.paper,N.className)}),[ze,je]=Yt("container",{elementType:IM,externalForwardedProps:G,ownerState:ee,className:P.container}),[Oe,Pe]=Yt("transition",{elementType:Xp,externalForwardedProps:G,ownerState:ee,additionalProps:{appear:!0,in:M,timeout:re,role:"presentation"}});return x.jsx(V,{closeAfterTransition:!0,slots:{backdrop:de},slotProps:{backdrop:{transitionDuration:re,as:h,...be}},disableEscapeKeyDown:E,onClose:L,open:M,onClick:F,...ie,...A,children:x.jsx(Oe,{...Pe,children:x.jsx(ze,{onMouseDown:D,...je,children:x.jsx(Ae,{as:_,elevation:24,role:"dialog","aria-describedby":f,"aria-labelledby":ue,"aria-modal":m,...Je,children:x.jsx(bS.Provider,{value:te,children:v})})})})})});function ZM(t){return bt("MuiDialogActions",t)}at("MuiDialogActions",["root","spacing"]);const WM=t=>{const{classes:a,disableSpacing:l}=t;return xt({root:["root",!l&&"spacing"]},ZM,a)},JM=Te("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,!l.disableSpacing&&a.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:t})=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),SS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialogActions"}),{className:s,disableSpacing:u=!1,...f}=i,p={...i,disableSpacing:u},m=WM(p);return x.jsx(JM,{className:Le(m.root,s),ownerState:p,ref:l,...f})});function ej(t){return bt("MuiDialogContent",t)}at("MuiDialogContent",["root","dividers"]);function tj(t){return bt("MuiDialogTitle",t)}const nj=at("MuiDialogTitle",["root"]),aj=t=>{const{classes:a,dividers:l}=t;return xt({root:["root",l&&"dividers"]},ej,a)},rj=Te("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.dividers&&a.dividers]}})(zt(({theme:t})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:a})=>a.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:a})=>!a.dividers,style:{[`.${nj.root} + &`]:{paddingTop:0}}}]}))),ES=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialogContent"}),{className:s,dividers:u=!1,...f}=i,p={...i,dividers:u},m=aj(p);return x.jsx(rj,{className:Le(m.root,s),ownerState:p,ref:l,...f})}),lj=t=>{const{classes:a}=t;return xt({root:["root"]},tj,a)},ij=Te(WN,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),wS=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiDialogTitle"}),{className:s,id:u,...f}=i,p=i,m=lj(p),{titleId:h=u}=S.useContext(bS);return x.jsx(ij,{component:"h2",className:Le(m.root,s),ownerState:p,ref:l,variant:"h6",id:u??h,...f})}),pb=at("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),oj=t=>{const{classes:a,disableUnderline:l,startAdornment:i,endAdornment:s,size:u,hiddenLabel:f,multiline:p}=t,m={root:["root",!l&&"underline",i&&"adornedStart",s&&"adornedEnd",u==="small"&&`size${_e(u)}`,f&&"hiddenLabel",p&&"multiline"],input:["input"]},h=xt(m,cM,a);return{...a,...h}},sj=Te($c,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[...kc(t,a),!l.disableUnderline&&a.underline]}})(zt(({theme:t})=>{const a=t.palette.mode==="light",l=a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:i}},[`&.${hl.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:i},[`&.${hl.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:u},variants:[{props:({ownerState:f})=>!f.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${hl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${hl.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline):l}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${hl.disabled}, .${hl.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${hl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Nl()).map(([f])=>({props:{disableUnderline:!1,color:f},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[f]?.main}`}}})),{props:({ownerState:f})=>f.startAdornment,style:{paddingLeft:12}},{props:({ownerState:f})=>f.endAdornment,style:{paddingRight:12}},{props:({ownerState:f})=>f.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:f,size:p})=>f.multiline&&p==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:f})=>f.multiline&&f.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:f})=>f.multiline&&f.hiddenLabel&&f.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),uj=Te(Pc,{name:"MuiFilledInput",slot:"Input",overridesResolver:Hc})(zt(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:0}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:0}},{props:({ownerState:a})=>a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:a})=>a.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),_h=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:u={},componentsProps:f,fullWidth:p=!1,hiddenLabel:m,inputComponent:h="input",multiline:y=!1,slotProps:v,slots:C={},type:E="text",...b}=i,w={...i,disableUnderline:s,fullWidth:p,inputComponent:h,multiline:y,type:E},R=oj(i),j={root:{ownerState:w},input:{ownerState:w}},L=v??f?bn(j,v??f):j,M=C.root??u.Root??sj,_=C.input??u.Input??uj;return x.jsx(zh,{slots:{root:M,input:_},slotProps:L,fullWidth:p,inputComponent:h,multiline:y,ref:l,type:E,...b,classes:R})});_h.muiName="Input";function cj(t){return bt("MuiFormControl",t)}at("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const fj=t=>{const{classes:a,margin:l,fullWidth:i}=t,s={root:["root",l!=="none"&&`margin${_e(l)}`,i&&"fullWidth"]};return xt(s,cj,a)},dj=Te("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,a[`margin${_e(l.margin)}`],l.fullWidth&&a.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Jo=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFormControl"}),{children:s,className:u,color:f="primary",component:p="div",disabled:m=!1,error:h=!1,focused:y,fullWidth:v=!1,hiddenLabel:C=!1,margin:E="none",required:b=!1,size:w="medium",variant:R="outlined",...j}=i,L={...i,color:f,component:p,disabled:m,error:h,fullWidth:v,hiddenLabel:C,margin:E,required:b,size:w,variant:R},M=fj(L),[_,N]=S.useState(()=>{let Y=!1;return s&&S.Children.forEach(s,D=>{if(!vp(D,["Input","Select"]))return;const F=vp(D,["Select"])?D.props.input:D;F&&lM(F.props)&&(Y=!0)}),Y}),[B,O]=S.useState(()=>{let Y=!1;return s&&S.Children.forEach(s,D=>{vp(D,["Input","Select"])&&(lc(D.props,!0)||lc(D.props.inputProps,!0))&&(Y=!0)}),Y}),[Q,oe]=S.useState(!1);m&&Q&&oe(!1);const re=y!==void 0&&!m?y:Q;let ce;S.useRef(!1);const A=S.useCallback(()=>{O(!0)},[]),ee=S.useCallback(()=>{O(!1)},[]),P=S.useMemo(()=>({adornedStart:_,setAdornedStart:N,color:f,disabled:m,error:h,filled:B,focused:re,fullWidth:v,hiddenLabel:C,size:w,onBlur:()=>{oe(!1)},onFocus:()=>{oe(!0)},onEmpty:ee,onFilled:A,registerEffect:ce,required:b,variant:R}),[_,f,m,h,B,re,v,C,ce,ee,A,b,w,R]);return x.jsx(Dh.Provider,{value:P,children:x.jsx(dj,{as:p,ownerState:L,className:Le(M.root,u),ref:l,...j,children:s})})});function pj(t){return bt("MuiFormHelperText",t)}const hb=at("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var mb;const hj=t=>{const{classes:a,contained:l,size:i,disabled:s,error:u,filled:f,focused:p,required:m}=t,h={root:["root",s&&"disabled",u&&"error",i&&`size${_e(i)}`,l&&"contained",p&&"focused",f&&"filled",m&&"required"]};return xt(h,pj,a)},mj=Te("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.size&&a[`size${_e(l.size)}`],l.contained&&a.contained,l.filled&&a.filled]}})(zt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${hb.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${hb.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:a})=>a.contained,style:{marginLeft:14,marginRight:14}}]}))),gj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFormHelperText"}),{children:s,className:u,component:f="p",disabled:p,error:m,filled:h,focused:y,margin:v,required:C,variant:E,...b}=i,w=Ui(),R=Bi({props:i,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),j={...i,component:f,contained:R.variant==="filled"||R.variant==="outlined",variant:R.variant,size:R.size,disabled:R.disabled,error:R.error,filled:R.filled,focused:R.focused,required:R.required};delete j.ownerState;const L=hj(j);return x.jsx(mj,{as:f,className:Le(L.root,u),ref:l,...b,ownerState:j,children:s===" "?mb||(mb=x.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function yj(t){return bt("MuiFormLabel",t)}const Yo=at("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),vj=t=>{const{classes:a,color:l,focused:i,disabled:s,error:u,filled:f,required:p}=t,m={root:["root",`color${_e(l)}`,s&&"disabled",u&&"error",f&&"filled",i&&"focused",p&&"required"],asterisk:["asterisk",u&&"error"]};return xt(m,yj,a)},bj=Te("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,l.color==="secondary"&&a.colorSecondary,l.filled&&a.filled]}})(zt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(Nl()).map(([a])=>({props:{color:a},style:{[`&.${Yo.focused}`]:{color:(t.vars||t).palette[a].main}}})),{props:{},style:{[`&.${Yo.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Yo.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),xj=Te("span",{name:"MuiFormLabel",slot:"Asterisk"})(zt(({theme:t})=>({[`&.${Yo.error}`]:{color:(t.vars||t).palette.error.main}}))),Sj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiFormLabel"}),{children:s,className:u,color:f,component:p="label",disabled:m,error:h,filled:y,focused:v,required:C,...E}=i,b=Ui(),w=Bi({props:i,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),R={...i,color:w.color||"primary",component:p,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},j=vj(R);return x.jsxs(bj,{as:p,ownerState:R,className:Le(j.root,u),ref:l,...E,children:[s,w.required&&x.jsxs(xj,{ownerState:R,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]})});function Kp(t){return`scale(${t}, ${t**2})`}const Ej={entering:{opacity:1,transform:Kp(1)},entered:{opacity:1,transform:"none"}},Ep=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ip=S.forwardRef(function(a,l){const{addEndListener:i,appear:s=!0,children:u,easing:f,in:p,onEnter:m,onEntered:h,onEntering:y,onExit:v,onExited:C,onExiting:E,style:b,timeout:w="auto",TransitionComponent:R=qa,...j}=a,L=sS(),M=S.useRef(),_=Uc(),N=S.useRef(null),B=Rn(N,ps(u),l),O=Y=>D=>{if(Y){const F=N.current;D===void 0?Y(F):Y(F,D)}},Q=O(y),oe=O((Y,D)=>{uS(Y);const{duration:F,delay:ue,easing:te}=nc({style:b,timeout:w,easing:f},{mode:"enter"});let he;w==="auto"?(he=_.transitions.getAutoHeightDuration(Y.clientHeight),M.current=he):he=F,Y.style.transition=[_.transitions.create("opacity",{duration:he,delay:ue}),_.transitions.create("transform",{duration:Ep?he:he*.666,delay:ue,easing:te})].join(","),m&&m(Y,D)}),re=O(h),ce=O(E),A=O(Y=>{const{duration:D,delay:F,easing:ue}=nc({style:b,timeout:w,easing:f},{mode:"exit"});let te;w==="auto"?(te=_.transitions.getAutoHeightDuration(Y.clientHeight),M.current=te):te=D,Y.style.transition=[_.transitions.create("opacity",{duration:te,delay:F}),_.transitions.create("transform",{duration:Ep?te:te*.666,delay:Ep?F:F||te*.333,easing:ue})].join(","),Y.style.opacity=0,Y.style.transform=Kp(.75),v&&v(Y)}),ee=O(C),P=Y=>{w==="auto"&&L.start(M.current||0,Y),i&&i(N.current,Y)};return x.jsx(R,{appear:s,in:p,nodeRef:N,onEnter:oe,onEntered:re,onEntering:Q,onExit:A,onExited:ee,onExiting:ce,addEndListener:P,timeout:w==="auto"?null:w,...j,children:(Y,{ownerState:D,...F})=>S.cloneElement(u,{style:{opacity:0,transform:Kp(.75),visibility:Y==="exited"&&!p?"hidden":void 0,...Ej[Y],...b,...u.props.style},ref:B,...F})})});Ip&&(Ip.muiSupportAuto=!0);const wj=t=>{const{classes:a,disableUnderline:l}=t,s=xt({root:["root",!l&&"underline"],input:["input"]},sM,a);return{...a,...s}},Cj=Te($c,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[...kc(t,a),!l.disableUnderline&&a.underline]}})(zt(({theme:t})=>{let l=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(l=t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:i})=>i.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${_o.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_o.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${l}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${_o.disabled}, .${_o.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${l}`}},[`&.${_o.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Nl()).map(([i])=>({props:{color:i,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[i].main}`}}}))]}})),Tj=Te(Pc,{name:"MuiInput",slot:"Input",overridesResolver:Hc})({}),Lh=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiInput"}),{disableUnderline:s=!1,components:u={},componentsProps:f,fullWidth:p=!1,inputComponent:m="input",multiline:h=!1,slotProps:y,slots:v={},type:C="text",...E}=i,b=wj(i),R={root:{ownerState:{disableUnderline:s}}},j=y??f?bn(y??f,R):R,L=v.root??u.Root??Cj,M=v.input??u.Input??Tj;return x.jsx(zh,{slots:{root:L,input:M},slotProps:j,fullWidth:p,inputComponent:m,multiline:h,ref:l,type:C,...E,classes:b})});Lh.muiName="Input";function Rj(t){return bt("MuiInputLabel",t)}at("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Aj=t=>{const{classes:a,formControl:l,size:i,shrink:s,disableAnimation:u,variant:f,required:p}=t,m={root:["root",l&&"formControl",!u&&"animated",s&&"shrink",i&&i!=="medium"&&`size${_e(i)}`,f],asterisk:[p&&"asterisk"]},h=xt(m,Rj,a);return{...a,...h}},Oj=Te(Sj,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[{[`& .${Yo.asterisk}`]:a.asterisk},a.root,l.formControl&&a.formControl,l.size==="small"&&a.sizeSmall,l.shrink&&a.shrink,!l.disableAnimation&&a.animated,l.focused&&a.focused,a[l.variant]]}})(zt(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:a})=>a.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:a})=>a.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:a})=>!a.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:a,ownerState:l})=>a==="filled"&&l.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:a,ownerState:l,size:i})=>a==="filled"&&l.shrink&&i==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:a,ownerState:l})=>a==="outlined"&&l.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),es=S.forwardRef(function(a,l){const i=Ct({name:"MuiInputLabel",props:a}),{disableAnimation:s=!1,margin:u,shrink:f,variant:p,className:m,...h}=i,y=Ui();let v=f;typeof v>"u"&&y&&(v=y.filled||y.focused||y.adornedStart);const C=Bi({props:i,muiFormControl:y,states:["size","variant","required","focused"]}),E={...i,disableAnimation:s,formControl:y,shrink:v,size:C.size,variant:C.variant,required:C.required,focused:C.focused},b=Aj(E);return x.jsx(Oj,{"data-shrink":v,ref:l,className:Le(b.root,m),...h,ownerState:E,classes:b})}),Qp=S.createContext({});function Nj(t){return bt("MuiList",t)}at("MuiList",["root","padding","dense","subheader"]);const Mj=t=>{const{classes:a,disablePadding:l,dense:i,subheader:s}=t;return xt({root:["root",!l&&"padding",i&&"dense",s&&"subheader"]},Nj,a)},jj=Te("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.root,!l.disablePadding&&a.padding,l.dense&&a.dense,l.subheader&&a.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),Dj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiList"}),{children:s,className:u,component:f="ul",dense:p=!1,disablePadding:m=!1,subheader:h,...y}=i,v=S.useMemo(()=>({dense:p}),[p]),C={...i,component:f,dense:p,disablePadding:m},E=Mj(C);return x.jsx(Qp.Provider,{value:v,children:x.jsxs(jj,{as:f,className:Le(E.root,u),ref:l,ownerState:C,...y,children:[h,s]})})}),gb=at("MuiListItemIcon",["root","alignItemsFlexStart"]),yb=at("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function wp(t,a,l){return t===a?t.firstChild:a&&a.nextElementSibling?a.nextElementSibling:l?null:t.firstChild}function vb(t,a,l){return t===a?l?t.firstChild:t.lastChild:a&&a.previousElementSibling?a.previousElementSibling:l?null:t.lastChild}function CS(t,a){if(a===void 0)return!0;let l=t.innerText;return l===void 0&&(l=t.textContent),l=l.trim().toLowerCase(),l.length===0?!1:a.repeating?l[0]===a.keys[0]:l.startsWith(a.keys.join(""))}function Lo(t,a,l,i,s,u){let f=!1,p=s(t,a,a?l:!1);for(;p;){if(p===t.firstChild){if(f)return!1;f=!0}const m=i?!1:p.disabled||p.getAttribute("aria-disabled")==="true";if(!p.hasAttribute("tabindex")||!CS(p,u)||m)p=s(t,p,l);else return p.focus(),!0}return!1}const zj=S.forwardRef(function(a,l){const{actions:i,autoFocus:s=!1,autoFocusItem:u=!1,children:f,className:p,disabledItemsFocusable:m=!1,disableListWrap:h=!1,onKeyDown:y,variant:v="selectedMenu",...C}=a,E=S.useRef(null),b=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Vr(()=>{s&&E.current.focus()},[s]),S.useImperativeHandle(i,()=>({adjustStyleForScrollbar:(M,{direction:_})=>{const N=!E.current.style.width;if(M.clientHeight<E.current.clientHeight&&N){const B=`${yS(dr(M))}px`;E.current.style[_==="rtl"?"paddingLeft":"paddingRight"]=B,E.current.style.width=`calc(100% + ${B})`}return E.current}}),[]);const w=M=>{const _=E.current,N=M.key;if(M.ctrlKey||M.metaKey||M.altKey){y&&y(M);return}const O=wa(_).activeElement;if(N==="ArrowDown")M.preventDefault(),Lo(_,O,h,m,wp);else if(N==="ArrowUp")M.preventDefault(),Lo(_,O,h,m,vb);else if(N==="Home")M.preventDefault(),Lo(_,null,h,m,wp);else if(N==="End")M.preventDefault(),Lo(_,null,h,m,vb);else if(N.length===1){const Q=b.current,oe=N.toLowerCase(),re=performance.now();Q.keys.length>0&&(re-Q.lastTime>500?(Q.keys=[],Q.repeating=!0,Q.previousKeyMatched=!0):Q.repeating&&oe!==Q.keys[0]&&(Q.repeating=!1)),Q.lastTime=re,Q.keys.push(oe);const ce=O&&!Q.repeating&&CS(O,Q);Q.previousKeyMatched&&(ce||Lo(_,O,!1,m,wp,Q))?M.preventDefault():Q.previousKeyMatched=!1}y&&y(M)},R=Rn(E,l);let j=-1;S.Children.forEach(f,(M,_)=>{if(!S.isValidElement(M)){j===_&&(j+=1,j>=f.length&&(j=-1));return}M.props.disabled||(v==="selectedMenu"&&M.props.selected||j===-1)&&(j=_),j===_&&(M.props.disabled||M.props.muiSkipListHighlight||M.type.muiSkipListHighlight)&&(j+=1,j>=f.length&&(j=-1))});const L=S.Children.map(f,(M,_)=>{if(_===j){const N={};return u&&(N.autoFocus=!0),M.props.tabIndex===void 0&&v==="selectedMenu"&&(N.tabIndex=0),S.cloneElement(M,N)}return M});return x.jsx(Dj,{role:"menu",ref:R,className:p,onKeyDown:w,tabIndex:s?0:-1,...C,children:L})});function _j(t){return bt("MuiPopover",t)}at("MuiPopover",["root","paper"]);function bb(t,a){let l=0;return typeof a=="number"?l=a:a==="center"?l=t.height/2:a==="bottom"&&(l=t.height),l}function xb(t,a){let l=0;return typeof a=="number"?l=a:a==="center"?l=t.width/2:a==="right"&&(l=t.width),l}function Sb(t){return[t.horizontal,t.vertical].map(a=>typeof a=="number"?`${a}px`:a).join(" ")}function _u(t){return typeof t=="function"?t():t}const Lj=t=>{const{classes:a}=t;return xt({root:["root"],paper:["paper"]},_j,a)},Bj=Te(vS,{name:"MuiPopover",slot:"Root"})({}),TS=Te(jh,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Uj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiPopover"}),{action:s,anchorEl:u,anchorOrigin:f={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:m="anchorEl",children:h,className:y,container:v,elevation:C=8,marginThreshold:E=16,open:b,PaperProps:w={},slots:R={},slotProps:j={},transformOrigin:L={vertical:"top",horizontal:"left"},TransitionComponent:M,transitionDuration:_="auto",TransitionProps:N={},disableScrollLock:B=!1,...O}=i,Q=S.useRef(),oe={...i,anchorOrigin:f,anchorReference:m,elevation:C,marginThreshold:E,transformOrigin:L,TransitionComponent:M,transitionDuration:_,TransitionProps:N},re=Lj(oe),ce=S.useCallback(()=>{if(m==="anchorPosition")return p;const je=_u(u),Pe=(je&&je.nodeType===1?je:wa(Q.current).body).getBoundingClientRect();return{top:Pe.top+bb(Pe,f.vertical),left:Pe.left+xb(Pe,f.horizontal)}},[u,f.horizontal,f.vertical,p,m]),A=S.useCallback(je=>({vertical:bb(je,L.vertical),horizontal:xb(je,L.horizontal)}),[L.horizontal,L.vertical]),ee=S.useCallback(je=>{const Oe={width:je.offsetWidth,height:je.offsetHeight},Pe=A(Oe);if(m==="none")return{top:null,left:null,transformOrigin:Sb(Pe)};const St=ce();let Be=St.top-Pe.vertical,Xe=St.left-Pe.horizontal;const en=Be+Oe.height,tn=Xe+Oe.width,Nt=dr(_u(u)),mn=Nt.innerHeight-E,$t=Nt.innerWidth-E;if(E!==null&&Be<E){const Rt=Be-E;Be-=Rt,Pe.vertical+=Rt}else if(E!==null&&en>mn){const Rt=en-mn;Be-=Rt,Pe.vertical+=Rt}if(E!==null&&Xe<E){const Rt=Xe-E;Xe-=Rt,Pe.horizontal+=Rt}else if(tn>$t){const Rt=tn-$t;Xe-=Rt,Pe.horizontal+=Rt}return{top:`${Math.round(Be)}px`,left:`${Math.round(Xe)}px`,transformOrigin:Sb(Pe)}},[u,m,ce,A,E]),[P,Y]=S.useState(b),D=S.useCallback(()=>{const je=Q.current;if(!je)return;const Oe=ee(je);Oe.top!==null&&je.style.setProperty("top",Oe.top),Oe.left!==null&&(je.style.left=Oe.left),je.style.transformOrigin=Oe.transformOrigin,Y(!0)},[ee]);S.useEffect(()=>(B&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[u,B,D]);const F=()=>{D()},ue=()=>{Y(!1)};S.useEffect(()=>{b&&D()}),S.useImperativeHandle(s,()=>b?{updatePosition:()=>{D()}}:null,[b,D]),S.useEffect(()=>{if(!b)return;const je=aS(()=>{D()}),Oe=dr(_u(u));return Oe.addEventListener("resize",je),()=>{je.clear(),Oe.removeEventListener("resize",je)}},[u,b,D]);let te=_;const he={slots:{transition:M,...R},slotProps:{transition:N,paper:w,...j}},[z,G]=Yt("transition",{elementType:Ip,externalForwardedProps:he,ownerState:oe,getSlotProps:je=>({...je,onEntering:(Oe,Pe)=>{je.onEntering?.(Oe,Pe),F()},onExited:Oe=>{je.onExited?.(Oe),ue()}}),additionalProps:{appear:!0,in:b}});_==="auto"&&!z.muiSupportAuto&&(te=void 0);const V=v||(u?wa(_u(u)).body:void 0),[ie,{slots:de,slotProps:be,...Ae}]=Yt("root",{ref:l,elementType:Bj,externalForwardedProps:{...he,...O},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:R.backdrop},slotProps:{backdrop:uN(typeof j.backdrop=="function"?j.backdrop(oe):j.backdrop,{invisible:!0})},container:V,open:b},ownerState:oe,className:Le(re.root,y)}),[Je,ze]=Yt("paper",{ref:Q,className:re.paper,elementType:TS,externalForwardedProps:he,shouldForwardComponentProp:!0,additionalProps:{elevation:C,style:P?void 0:{opacity:0}},ownerState:oe});return x.jsx(ie,{...Ae,...!ac(ie)&&{slots:de,slotProps:be,disableScrollLock:B},children:x.jsx(z,{...G,timeout:te,children:x.jsx(Je,{...ze,children:h})})})});function kj(t){return bt("MuiMenu",t)}at("MuiMenu",["root","paper","list"]);const Hj={vertical:"top",horizontal:"right"},$j={vertical:"top",horizontal:"left"},Pj=t=>{const{classes:a}=t;return xt({root:["root"],paper:["paper"],list:["list"]},kj,a)},qj=Te(Uj,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiMenu",slot:"Root"})({}),Fj=Te(TS,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Vj=Te(zj,{name:"MuiMenu",slot:"List"})({outline:0}),Yj=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiMenu"}),{autoFocus:s=!0,children:u,className:f,disableAutoFocusItem:p=!1,MenuListProps:m={},onClose:h,open:y,PaperProps:v={},PopoverClasses:C,transitionDuration:E="auto",TransitionProps:{onEntering:b,...w}={},variant:R="selectedMenu",slots:j={},slotProps:L={},...M}=i,_=fO(),N={...i,autoFocus:s,disableAutoFocusItem:p,MenuListProps:m,onEntering:b,PaperProps:v,transitionDuration:E,TransitionProps:w,variant:R},B=Pj(N),O=s&&!p&&y,Q=S.useRef(null),oe=(te,he)=>{Q.current&&Q.current.adjustStyleForScrollbar(te,{direction:_?"rtl":"ltr"}),b&&b(te,he)},re=te=>{te.key==="Tab"&&(te.preventDefault(),h&&h(te,"tabKeyDown"))};let ce=-1;S.Children.map(u,(te,he)=>{S.isValidElement(te)&&(te.props.disabled||(R==="selectedMenu"&&te.props.selected||ce===-1)&&(ce=he))});const A={slots:j,slotProps:{list:m,transition:w,paper:v,...L}},ee=JN({elementType:j.root,externalSlotProps:L.root,ownerState:N,className:[B.root,f]}),[P,Y]=Yt("paper",{className:B.paper,elementType:Fj,externalForwardedProps:A,shouldForwardComponentProp:!0,ownerState:N}),[D,F]=Yt("list",{className:Le(B.list,m.className),elementType:Vj,shouldForwardComponentProp:!0,externalForwardedProps:A,getSlotProps:te=>({...te,onKeyDown:he=>{re(he),te.onKeyDown?.(he)}}),ownerState:N}),ue=typeof A.slotProps.transition=="function"?A.slotProps.transition(N):A.slotProps.transition;return x.jsx(qj,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?Hj:$j,slots:{root:j.root,paper:P,backdrop:j.backdrop,...j.transition&&{transition:j.transition}},slotProps:{root:ee,paper:Y,backdrop:typeof L.backdrop=="function"?L.backdrop(N):L.backdrop,transition:{...ue,onEntering:(...te)=>{oe(...te),ue?.onEntering?.(...te)}}},open:y,ref:l,transitionDuration:E,ownerState:N,...M,classes:C,children:x.jsx(D,{actions:Q,autoFocus:s&&(ce===-1||p),autoFocusItem:O,variant:R,...F,children:u})})});function Gj(t){return bt("MuiMenuItem",t)}const Bo=at("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Xj=(t,a)=>{const{ownerState:l}=t;return[a.root,l.dense&&a.dense,l.divider&&a.divider,!l.disableGutters&&a.gutters]},Kj=t=>{const{disabled:a,dense:l,divider:i,disableGutters:s,selected:u,classes:f}=t,m=xt({root:["root",l&&"dense",a&&"disabled",!s&&"gutters",i&&"divider",u&&"selected"]},Gj,f);return{...f,...m}},Ij=Te(hS,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Xj})(zt(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Bo.selected}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity),[`&.${Bo.focusVisible}`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.focusOpacity}`)}},[`&.${Bo.selected}:hover`]:{backgroundColor:t.alpha((t.vars||t).palette.primary.main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:t.alpha((t.vars||t).palette.primary.main,(t.vars||t).palette.action.selectedOpacity)}},[`&.${Bo.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Bo.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${pb.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${pb.inset}`]:{marginLeft:52},[`& .${yb.root}`]:{marginTop:0,marginBottom:0},[`& .${yb.inset}`]:{paddingLeft:36},[`& .${gb.root}`]:{minWidth:36},variants:[{props:({ownerState:a})=>!a.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:a})=>a.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:a})=>!a.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:a})=>a.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${gb.root} svg`]:{fontSize:"1.25rem"}}}]}))),sc=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiMenuItem"}),{autoFocus:s=!1,component:u="li",dense:f=!1,divider:p=!1,disableGutters:m=!1,focusVisibleClassName:h,role:y="menuitem",tabIndex:v,className:C,...E}=i,b=S.useContext(Qp),w=S.useMemo(()=>({dense:f||b.dense||!1,disableGutters:m}),[b.dense,f,m]),R=S.useRef(null);Vr(()=>{s&&R.current&&R.current.focus()},[s]);const j={...i,dense:w.dense,divider:p,disableGutters:m},L=Kj(i),M=Rn(R,l);let _;return i.disabled||(_=v!==void 0?v:-1),x.jsx(Qp.Provider,{value:w,children:x.jsx(Ij,{ref:M,role:y,tabIndex:_,component:u,focusVisibleClassName:Le(L.focusVisible,h),className:Le(L.root,C),...E,ownerState:j,classes:L})})});function Qj(t){return bt("MuiNativeSelect",t)}const Bh=at("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Zj=t=>{const{classes:a,variant:l,disabled:i,multiple:s,open:u,error:f}=t,p={select:["select",l,i&&"disabled",s&&"multiple",f&&"error"],icon:["icon",`icon${_e(l)}`,u&&"iconOpen",i&&"disabled"]};return xt(p,Qj,a)},RS=Te("select",{name:"MuiNativeSelect"})(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Bh.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:a})=>a.variant!=="filled"&&a.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Wj=Te(RS,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:pa,overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.select,a[l.variant],l.error&&a.error,{[`&.${Bh.multiple}`]:a.multiple}]}})({}),AS=Te("svg",{name:"MuiNativeSelect"})(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Bh.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:a})=>a.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Jj=Te(AS,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.icon,l.variant&&a[`icon${_e(l.variant)}`],l.open&&a.iconOpen]}})({}),e5=S.forwardRef(function(a,l){const{className:i,disabled:s,error:u,IconComponent:f,inputRef:p,variant:m="standard",...h}=a,y={...a,disabled:s,variant:m,error:u},v=Zj(y);return x.jsxs(S.Fragment,{children:[x.jsx(Wj,{ownerState:y,className:Le(v.select,i),disabled:s,ref:p||l,...h}),a.multiple?null:x.jsx(Jj,{as:f,ownerState:y,className:v.icon})]})});var Eb;const t5=Te("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:pa})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),n5=Te("legend",{name:"MuiNotchedOutlined",shouldForwardProp:pa})(zt(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:a})=>!a.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:a})=>a.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:a})=>a.withLabel&&a.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function a5(t){const{children:a,classes:l,className:i,label:s,notched:u,...f}=t,p=s!=null&&s!=="",m={...t,notched:u,withLabel:p};return x.jsx(t5,{"aria-hidden":!0,className:i,ownerState:m,...f,children:x.jsx(n5,{ownerState:m,children:p?x.jsx("span",{children:s}):Eb||(Eb=x.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const r5=t=>{const{classes:a}=t,i=xt({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},uM,a);return{...a,...i}},l5=Te($c,{shouldForwardProp:t=>pa(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:kc})(zt(({theme:t})=>{const a=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${_a.notchedOutline}`]:{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):a}},[`&.${_a.focused} .${_a.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(Nl()).map(([l])=>({props:{color:l},style:{[`&.${_a.focused} .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette[l].main}}})),{props:{},style:{[`&.${_a.error} .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${_a.disabled} .${_a.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:14}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:14}},{props:({ownerState:l})=>l.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:l,size:i})=>l.multiline&&i==="small",style:{padding:"8.5px 14px"}}]}})),i5=Te(a5,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(zt(({theme:t})=>{const a=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):a}})),o5=Te(Pc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Hc})(zt(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:a})=>a.multiline,style:{padding:0}},{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:0}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:0}}]}))),Al=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiOutlinedInput"}),{components:s={},fullWidth:u=!1,inputComponent:f="input",label:p,multiline:m=!1,notched:h,slots:y={},slotProps:v={},type:C="text",...E}=i,b=r5(i),w=Ui(),R=Bi({props:i,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),j={...i,color:R.color||"primary",disabled:R.disabled,error:R.error,focused:R.focused,formControl:w,fullWidth:u,hiddenLabel:R.hiddenLabel,multiline:m,size:R.size,type:C},L=y.root??s.Root??l5,M=y.input??s.Input??o5,[_,N]=Yt("notchedOutline",{elementType:i5,className:b.notchedOutline,shouldForwardComponentProp:!0,ownerState:j,externalForwardedProps:{slots:y,slotProps:v},additionalProps:{label:p!=null&&p!==""&&R.required?x.jsxs(S.Fragment,{children:[p," ","*"]}):p}});return x.jsx(zh,{slots:{root:L,input:M},slotProps:v,renderSuffix:B=>x.jsx(_,{...N,notched:typeof h<"u"?h:!!(B.startAdornment||B.filled||B.focused)}),fullWidth:u,inputComponent:f,multiline:m,ref:l,type:C,...E,classes:{...b,notchedOutline:null}})});Al.muiName="Input";function OS(t){return bt("MuiSelect",t)}const Uo=at("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var wb;const s5=Te(RS,{name:"MuiSelect",slot:"Select",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[{[`&.${Uo.select}`]:a.select},{[`&.${Uo.select}`]:a[l.variant]},{[`&.${Uo.error}`]:a.error},{[`&.${Uo.multiple}`]:a.multiple}]}})({[`&.${Uo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),u5=Te(AS,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,a)=>{const{ownerState:l}=t;return[a.icon,l.variant&&a[`icon${_e(l.variant)}`],l.open&&a.iconOpen]}})({}),c5=Te("input",{shouldForwardProp:t=>nS(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Cb(t,a){return typeof a=="object"&&a!==null?t===a:String(t)===String(a)}function f5(t){return t==null||typeof t=="string"&&!t.trim()}const d5=t=>{const{classes:a,variant:l,disabled:i,multiple:s,open:u,error:f}=t,p={select:["select",l,i&&"disabled",s&&"multiple",f&&"error"],icon:["icon",`icon${_e(l)}`,u&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return xt(p,OS,a)},p5=S.forwardRef(function(a,l){const{"aria-describedby":i,"aria-label":s,autoFocus:u,autoWidth:f,children:p,className:m,defaultOpen:h,defaultValue:y,disabled:v,displayEmpty:C,error:E=!1,IconComponent:b,inputRef:w,labelId:R,MenuProps:j={},multiple:L,name:M,onBlur:_,onChange:N,onClose:B,onFocus:O,onOpen:Q,open:oe,readOnly:re,renderValue:ce,required:A,SelectDisplayProps:ee={},tabIndex:P,type:Y,value:D,variant:F="standard",...ue}=a,[te,he]=Jv({controlled:D,default:y,name:"Select"}),[z,G]=Jv({controlled:oe,default:h,name:"Select"}),V=S.useRef(null),ie=S.useRef(null),[de,be]=S.useState(null),{current:Ae}=S.useRef(oe!=null),[Je,ze]=S.useState(),je=Rn(l,w),Oe=S.useCallback(Ee=>{ie.current=Ee,Ee&&be(Ee)},[]),Pe=de?.parentNode;S.useImperativeHandle(je,()=>({focus:()=>{ie.current.focus()},node:V.current,value:te}),[te]),S.useEffect(()=>{h&&z&&de&&!Ae&&(ze(f?null:Pe.clientWidth),ie.current.focus())},[de,f]),S.useEffect(()=>{u&&ie.current.focus()},[u]),S.useEffect(()=>{if(!R)return;const Ee=wa(ie.current).getElementById(R);if(Ee){const ke=()=>{getSelection().isCollapsed&&ie.current.focus()};return Ee.addEventListener("click",ke),()=>{Ee.removeEventListener("click",ke)}}},[R]);const St=(Ee,ke)=>{Ee?Q&&Q(ke):B&&B(ke),Ae||(ze(f?null:Pe.clientWidth),G(Ee))},Be=Ee=>{Ee.button===0&&(Ee.preventDefault(),ie.current.focus(),St(!0,Ee))},Xe=Ee=>{St(!1,Ee)},en=S.Children.toArray(p),tn=Ee=>{const ke=en.find(qt=>qt.props.value===Ee.target.value);ke!==void 0&&(he(ke.props.value),N&&N(Ee,ke))},Nt=Ee=>ke=>{let qt;if(ke.currentTarget.hasAttribute("tabindex")){if(L){qt=Array.isArray(te)?te.slice():[];const ga=te.indexOf(Ee.props.value);ga===-1?qt.push(Ee.props.value):qt.splice(ga,1)}else qt=Ee.props.value;if(Ee.props.onClick&&Ee.props.onClick(ke),te!==qt&&(he(qt),N)){const ga=ke.nativeEvent||ke,Fa=new ga.constructor(ga.type,ga);Object.defineProperty(Fa,"target",{writable:!0,value:{value:qt,name:M}}),N(Fa,Ee)}L||St(!1,ke)}},mn=Ee=>{re||[" ","ArrowUp","ArrowDown","Enter"].includes(Ee.key)&&(Ee.preventDefault(),St(!0,Ee))},$t=de!==null&&z,Rt=Ee=>{!$t&&_&&(Object.defineProperty(Ee,"target",{writable:!0,value:{value:te,name:M}}),_(Ee))};delete ue["aria-invalid"];let Me,ln;const Ve=[];let ha=!1;(lc({value:te})||C)&&(ce?Me=ce(te):ha=!0);const In=en.map(Ee=>{if(!S.isValidElement(Ee))return null;let ke;if(L){if(!Array.isArray(te))throw new Error(cr(2));ke=te.some(qt=>Cb(qt,Ee.props.value)),ke&&ha&&Ve.push(Ee.props.children)}else ke=Cb(te,Ee.props.value),ke&&ha&&(ln=Ee.props.children);return S.cloneElement(Ee,{"aria-selected":ke?"true":"false",onClick:Nt(Ee),onKeyUp:qt=>{qt.key===" "&&qt.preventDefault(),Ee.props.onKeyUp&&Ee.props.onKeyUp(qt)},role:"option",selected:ke,value:void 0,"data-value":Ee.props.value})});ha&&(L?Ve.length===0?Me=null:Me=Ve.reduce((Ee,ke,qt)=>(Ee.push(ke),qt<Ve.length-1&&Ee.push(", "),Ee),[]):Me=ln);let on=Je;!f&&Ae&&de&&(on=Pe.clientWidth);let Pt;typeof P<"u"?Pt=P:Pt=v?null:0;const ma=ee.id||(M?`mui-component-select-${M}`:void 0),An={...a,variant:F,value:te,open:$t,error:E},ot=d5(An),Ra={...j.PaperProps,...typeof j.slotProps?.paper=="function"?j.slotProps.paper(An):j.slotProps?.paper},Kt={...j.MenuListProps,...typeof j.slotProps?.list=="function"?j.slotProps.list(An):j.slotProps?.list},nn=Bc();return x.jsxs(S.Fragment,{children:[x.jsx(s5,{as:"div",ref:Oe,tabIndex:Pt,role:"combobox","aria-controls":$t?nn:void 0,"aria-disabled":v?"true":void 0,"aria-expanded":$t?"true":"false","aria-haspopup":"listbox","aria-label":s,"aria-labelledby":[R,ma].filter(Boolean).join(" ")||void 0,"aria-describedby":i,"aria-required":A?"true":void 0,"aria-invalid":E?"true":void 0,onKeyDown:mn,onMouseDown:v||re?null:Be,onBlur:Rt,onFocus:O,...ee,ownerState:An,className:Le(ee.className,ot.select,m),id:ma,children:f5(Me)?wb||(wb=x.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):Me}),x.jsx(c5,{"aria-invalid":E,value:Array.isArray(te)?te.join(","):te,name:M,ref:V,"aria-hidden":!0,onChange:tn,tabIndex:-1,disabled:v,className:ot.nativeInput,autoFocus:u,required:A,...ue,ownerState:An}),x.jsx(u5,{as:b,className:ot.icon,ownerState:An}),x.jsx(Yj,{id:`menu-${M||""}`,anchorEl:Pe,open:$t,onClose:Xe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...j,slotProps:{...j.slotProps,list:{"aria-labelledby":R,role:"listbox","aria-multiselectable":L?"true":void 0,disableListWrap:!0,id:nn,...Kt},paper:{...Ra,style:{minWidth:on,...Ra!=null?Ra.style:null}}},children:In})]})}),h5=t=>{const{classes:a}=t,i=xt({root:["root"]},OS,a);return{...a,...i}},Uh={name:"MuiSelect",slot:"Root",shouldForwardProp:t=>pa(t)&&t!=="variant"},m5=Te(Lh,Uh)(""),g5=Te(Al,Uh)(""),y5=Te(_h,Uh)(""),Mi=S.forwardRef(function(a,l){const i=Ct({name:"MuiSelect",props:a}),{autoWidth:s=!1,children:u,classes:f={},className:p,defaultOpen:m=!1,displayEmpty:h=!1,IconComponent:y=fM,id:v,input:C,inputProps:E,label:b,labelId:w,MenuProps:R,multiple:j=!1,native:L=!1,onClose:M,onOpen:_,open:N,renderValue:B,SelectDisplayProps:O,variant:Q="outlined",...oe}=i,re=L?e5:p5,ce=Ui(),A=Bi({props:i,muiFormControl:ce,states:["variant","error"]}),ee=A.variant||Q,P={...i,variant:ee,classes:f},Y=h5(P),{root:D,...F}=Y,ue=C||{standard:x.jsx(m5,{ownerState:P}),outlined:x.jsx(g5,{label:b,ownerState:P}),filled:x.jsx(y5,{ownerState:P})}[ee],te=Rn(l,ps(ue));return x.jsx(S.Fragment,{children:S.cloneElement(ue,{inputComponent:re,inputProps:{children:u,error:A.error,IconComponent:y,variant:ee,type:void 0,multiple:j,...L?{id:v}:{autoWidth:s,defaultOpen:m,displayEmpty:h,labelId:w,MenuProps:R,onClose:M,onOpen:_,open:N,renderValue:B,SelectDisplayProps:{id:v,...O}},...E,classes:E?bn(F,E.classes):F,...C?C.props.inputProps:{}},...(j&&L||h)&&ee==="outlined"?{notched:!0}:{},ref:te,className:Le(ue.props.className,p,Y.root),...!C&&{variant:ee},...oe})})});Mi.muiName="Select";function v5(t){return bt("MuiTextField",t)}at("MuiTextField",["root"]);const b5={standard:Lh,filled:_h,outlined:Al},x5=t=>{const{classes:a}=t;return xt({root:["root"]},v5,a)},S5=Te(Jo,{name:"MuiTextField",slot:"Root"})({}),uc=S.forwardRef(function(a,l){const i=Ct({props:a,name:"MuiTextField"}),{autoComplete:s,autoFocus:u=!1,children:f,className:p,color:m="primary",defaultValue:h,disabled:y=!1,error:v=!1,FormHelperTextProps:C,fullWidth:E=!1,helperText:b,id:w,InputLabelProps:R,inputProps:j,InputProps:L,inputRef:M,label:_,maxRows:N,minRows:B,multiline:O=!1,name:Q,onBlur:oe,onChange:re,onFocus:ce,placeholder:A,required:ee=!1,rows:P,select:Y=!1,SelectProps:D,slots:F={},slotProps:ue={},type:te,value:he,variant:z="outlined",...G}=i,V={...i,autoFocus:u,color:m,disabled:y,error:v,fullWidth:E,multiline:O,required:ee,select:Y,variant:z},ie=x5(V),de=Bc(w),be=b&&de?`${de}-helper-text`:void 0,Ae=_&&de?`${de}-label`:void 0,Je=b5[z],ze={slots:F,slotProps:{input:L,inputLabel:R,htmlInput:j,formHelperText:C,select:D,...ue}},je={},Oe=ze.slotProps.inputLabel;z==="outlined"&&(Oe&&typeof Oe.shrink<"u"&&(je.notched=Oe.shrink),je.label=_),Y&&((!D||!D.native)&&(je.id=void 0),je["aria-describedby"]=void 0);const[Pe,St]=Yt("root",{elementType:S5,shouldForwardComponentProp:!0,externalForwardedProps:{...ze,...G},ownerState:V,className:Le(ie.root,p),ref:l,additionalProps:{disabled:y,error:v,fullWidth:E,required:ee,color:m,variant:z}}),[Be,Xe]=Yt("input",{elementType:Je,externalForwardedProps:ze,additionalProps:je,ownerState:V}),[en,tn]=Yt("inputLabel",{elementType:es,externalForwardedProps:ze,ownerState:V}),[Nt,mn]=Yt("htmlInput",{elementType:"input",externalForwardedProps:ze,ownerState:V}),[$t,Rt]=Yt("formHelperText",{elementType:gj,externalForwardedProps:ze,ownerState:V}),[Me,ln]=Yt("select",{elementType:Mi,externalForwardedProps:ze,ownerState:V}),Ve=x.jsx(Be,{"aria-describedby":be,autoComplete:s,autoFocus:u,defaultValue:h,fullWidth:E,multiline:O,name:Q,rows:P,maxRows:N,minRows:B,type:te,value:he,id:de,inputRef:M,onBlur:oe,onChange:re,onFocus:ce,placeholder:A,inputProps:mn,slots:{input:F.htmlInput?Nt:void 0},...Xe});return x.jsxs(Pe,{...St,children:[_!=null&&_!==""&&x.jsx(en,{htmlFor:de,id:Ae,...tn,children:_}),Y?x.jsx(Me,{"aria-describedby":be,id:de,labelId:Ae,value:he,input:Ve,...ln,children:f}):Ve,b&&x.jsx($t,{id:be,...Rt,children:b})]})}),NS=[{id:1,name:"JavaScript"},{id:2,name:"React"},{id:3,name:"Node.js"},{id:4,name:"Python"},{id:5,name:"team management"},{id:6,name:"physics"},{id:7,name:"communication"}],MS=[{id:18,name:"Chittaurgarh"},{id:19,name:"Chūru"},{id:20,name:"Dausa"},{id:21,name:"Gangānagar"},{id:22,name:"Gangāpur"},{id:23,name:"Hanumangarh"},{id:24,name:"Jaipur"},{id:48,name:"Udaipur"}];function E5({open:t,project:a,onClose:l,onSuccess:i}){const[s,u]=S.useState({title:"",description:"",skills:[],location_id:""}),[f,p]=S.useState(!1),[m,h]=S.useState("");S.useEffect(()=>{a&&(u({title:a.title||"",description:a.description||"",skills:(a.skills||[]).map(b=>typeof b=="object"?b.id:b),location_id:a.location?.id||a.location_id||a.locationId||""}),h(""))},[a]);const y=b=>{const{name:w,value:R}=b.target;u(j=>({...j,[w]:R})),h("")},v=b=>{const w=b.target.value;u(R=>({...R,skills:w})),h("")},C=async b=>{if(b.preventDefault(),!!a?.id){p(!0),h("");try{const w={title:s.title.trim(),description:s.description.trim(),skills:s.skills.map(L=>typeof L=="string"?parseInt(L,10):L),location_id:parseInt(s.location_id,10)};if(!w.title)throw new Error("Title is required");if(!w.description)throw new Error("Description is required");if(isNaN(w.location_id))throw new Error("Location is required");const R=await Tl.update(a.id,w),j=R?.project||R?.data||R;if(!j)throw new Error("Failed to update project. Please try again.");i(j),l()}catch(w){h(w.response?.data?.message||w.message||"Failed to update project. Please try again.")}finally{p(!1)}}},E=()=>{f||l()};return x.jsx(xS,{open:t,onClose:E,maxWidth:"sm",fullWidth:!0,children:x.jsxs("form",{onSubmit:C,children:[x.jsx(wS,{children:"Edit Project"}),x.jsx(ES,{children:x.jsxs(ic,{sx:{display:"flex",flexDirection:"column",gap:3,pt:2},children:[x.jsx(uc,{label:"Title",name:"title",value:s.title,onChange:y,required:!0,fullWidth:!0,disabled:f}),x.jsx(uc,{label:"Description",name:"description",value:s.description,onChange:y,required:!0,fullWidth:!0,multiline:!0,rows:4,disabled:f}),x.jsxs(Jo,{fullWidth:!0,children:[x.jsx(es,{id:"edit-skills-label",children:"Skills"}),x.jsx(Mi,{labelId:"edit-skills-label",id:"edit-skills",multiple:!0,value:s.skills,onChange:v,input:x.jsx(Al,{label:"Skills"}),disabled:f,children:NS.map(b=>x.jsx(sc,{value:b.id,children:b.name},b.id))})]}),x.jsxs(Jo,{fullWidth:!0,required:!0,children:[x.jsx(es,{id:"edit-location-label",children:"Location"}),x.jsx(Mi,{labelId:"edit-location-label",id:"edit-location",name:"location_id",value:s.location_id,onChange:y,input:x.jsx(Al,{label:"Location"}),disabled:f,children:MS.map(b=>x.jsx(sc,{value:b.id,children:b.name},b.id))})]}),m&&x.jsx(ic,{sx:{color:"error.main",fontSize:"0.875rem",mt:-1},children:m})]})}),x.jsxs(SS,{children:[x.jsx(oc,{onClick:E,disabled:f,children:"Cancel"}),x.jsx(oc,{type:"submit",variant:"contained",disabled:f,children:f?"Saving...":"Save Changes"})]})]})})}const cc={getAllOfProject:async t=>(await hn.get(Tn.applications.getAllOfProject(t))).data,getAllOfLoginUser:async()=>(await hn.get(Tn.applications.getAllOfLoginUser)).data,applyToProject:async(t,a)=>(await hn.post(Tn.applications.applyToProject(t),{message:a})).data,updateStatus:async(t,a,l)=>(await hn.post(Tn.applications.updateStatus(t,a),{status:l})).data};function w5({open:t,projectTitle:a,projectId:l,onClose:i}){const[s,u]=S.useState(""),[f,p]=S.useState(!1),[m,h]=S.useState(""),y=()=>{u(""),h("")},v=()=>{f||(y(),i())},C=async E=>{if(E.preventDefault(),!!l){p(!0),h("");try{await cc.applyToProject(l,s.trim()),h("Application submitted successfully."),setTimeout(()=>{v()},1200)}catch(b){h(b.response?.data?.message||b.message||"Failed to submit application.")}finally{p(!1)}}};return t?x.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 px-4",children:x.jsxs("div",{className:"w-full max-w-lg rounded-lg bg-white p-6 shadow-xl",children:[x.jsxs("div",{className:"mb-4 flex items-start justify-between",children:[x.jsxs("div",{children:[x.jsx("h2",{className:"text-xl font-semibold text-gray-900",children:"Apply to project"}),x.jsx("p",{className:"text-sm text-gray-500",children:a})]}),x.jsx("button",{onClick:v,className:"text-gray-400 transition hover:text-gray-600","aria-label":"Close apply modal",children:"✕"})]}),x.jsxs("form",{onSubmit:C,className:"space-y-4",children:[x.jsxs("div",{children:[x.jsx("label",{htmlFor:"application-message",className:"mb-1 block text-sm font-medium text-gray-700",children:"Message"}),x.jsx("textarea",{id:"application-message",value:s,onChange:E=>u(E.target.value),rows:5,placeholder:"Introduce yourself and share why you'd like to join...",className:"w-full rounded border border-gray-300 px-3 py-2 text-sm text-gray-900 focus:border-gray-900 focus:outline-none focus:ring-1 focus:ring-gray-900",disabled:f})]}),m&&x.jsx("p",{className:`text-sm ${m.includes("successfully")?"text-green-600":"text-red-600"}`,children:m}),x.jsxs("div",{className:"flex justify-end gap-3 pt-2",children:[x.jsx("button",{type:"button",onClick:v,className:"rounded border border-gray-300 px-4 py-2 text-sm font-medium text-gray-700 transition hover:bg-gray-50",disabled:f,children:"Cancel"}),x.jsx("button",{type:"submit",className:"rounded bg-gray-900 px-4 py-2 text-sm font-medium text-white transition hover:bg-gray-800 disabled:cursor-not-allowed disabled:bg-gray-500",disabled:f,children:f?"Applying...":"Apply"})]})]})]})}):null}function C5(){const{projectId:t}=cC(),[a,l]=S.useState(null),[i,s]=S.useState(!0),[u,f]=S.useState(""),[p,m]=S.useState(!1),[h,y]=S.useState(!1),[v,C]=S.useState(!!(typeof window<"u"&&localStorage.getItem("accessToken"))),[E,b]=S.useState([]),[w,R]=S.useState(!1),[j,L]=S.useState(""),[M,_]=S.useState(null),[N,B]=S.useState(""),[O,Q]=S.useState([]),[oe,re]=S.useState(!1),[ce,A]=S.useState("");S.useEffect(()=>{if(!t)return;let V=!0;return(async()=>{s(!0),f("");try{const de=await Tl.getById(t);if(!V)return;const be=de?.data||de?.project;l(be||null)}catch(de){if(!V)return;f(de.response?.data?.message||"Unable to load project.")}finally{V&&s(!1)}})(),()=>{V=!1}},[t]),S.useEffect(()=>{const V=()=>C(!!localStorage.getItem("accessToken"));return window.addEventListener("storage",V),window.addEventListener("auth:change",V),()=>{window.removeEventListener("storage",V),window.removeEventListener("auth:change",V)}},[]);const ee=(V=[])=>V.length?V.map((ie,de)=>{const be=typeof ie=="string"?ie:ie?.name||"Skill";return x.jsx("span",{className:"text-xs text-gray-700 bg-gray-100 px-3 py-1 rounded",children:be},`${be}-${de}`)}):x.jsx("span",{className:"text-xs text-gray-500 bg-gray-100 px-3 py-1 rounded",children:"Skills not specified"}),P=V=>{l(ie=>({...ie,...V}))},Y=a?.role||"viewer",D=Y==="owner",F=Y==="member",ue=Y==="viewer"||Y==="visitor",te=S.useCallback(async()=>{if(!t||!D){b([]);return}R(!0),L("");try{const ie=(await cc.getAllOfProject(t))?.applications||[];b(ie)}catch(V){b([]),L(V.response?.data?.message||"Unable to load applications.")}finally{R(!1)}},[t,D]);S.useEffect(()=>{te()},[te]);const he=S.useCallback(async()=>{if(!t||!D&&!F){Q([]);return}re(!0),A("");try{const ie=(await Tl.getMembers(t))?.members||[];Q(ie)}catch(V){Q([]),A(V.response?.data?.message||"Unable to load members.")}finally{re(!1)}},[t,D,F]);S.useEffect(()=>{he()},[he]);const z=async(V,ie)=>{if(a?.id){_(V),B(ie),L("");try{await cc.updateStatus(a.id,V,ie),await te()}catch(de){L(de.response?.data?.message||`Unable to ${ie} the application. Please try again.`)}finally{_(null),B("")}}},G=V=>{switch(V?.toLowerCase()){case"pending":return"bg-yellow-100 text-yellow-800";case"accepted":return"bg-green-100 text-green-800";case"rejected":return"bg-red-100 text-red-800";default:return"bg-gray-100 text-gray-800"}};return x.jsxs("div",{className:"bg-gray-50 min-h-[calc(100vh-200px)] py-12",children:[x.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[i&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"Loading project..."}),!i&&u&&x.jsx("div",{className:"bg-white border border-red-200 p-6 text-center text-sm text-red-600",children:u}),!i&&!u&&!a&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"Project not found."}),!i&&!u&&a&&x.jsxs("div",{className:"bg-white border border-gray-200 p-6 space-y-8",children:[x.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[x.jsxs("div",{children:[x.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900",children:a.title}),D&&x.jsx("span",{className:"rounded-full bg-gray-900 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-white",children:"Owner"}),F&&x.jsx("span",{className:"rounded-full bg-gray-200 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-gray-700",children:"Member"})]}),x.jsx("p",{className:"mt-4 text-sm text-gray-600",children:a.description})]}),x.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[D&&x.jsx("button",{type:"button",onClick:()=>m(!0),className:"rounded border border-gray-300 px-4 py-2 text-sm font-medium text-gray-700 transition hover:bg-gray-50",children:"Edit Project"}),ue&&(v?x.jsx("button",{type:"button",onClick:()=>y(!0),className:"rounded bg-gray-900 px-4 py-2 text-sm font-medium text-white transition hover:bg-gray-800",children:"Apply"}):x.jsx("p",{className:"rounded border border-gray-200 bg-gray-50 px-4 py-2 text-sm text-gray-600",children:"Please login to apply"}))]})]}),x.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm text-gray-700",children:[x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Status"}),x.jsx("p",{className:"capitalize",children:a.status||"unknown"})]}),x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Location"}),x.jsx("p",{children:a.location?.descriptions||"Remote / not specified"})]}),x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Created"}),x.jsx("p",{children:a.created_at?new Date(a.created_at).toLocaleDateString():"—"})]}),x.jsxs("div",{className:"space-y-1",children:[x.jsx("p",{className:"font-medium text-gray-900",children:"Updated"}),x.jsx("p",{children:a.updated_at?new Date(a.updated_at).toLocaleDateString():"—"})]})]}),x.jsxs("div",{children:[x.jsx("p",{className:"mb-2 text-sm font-medium text-gray-900",children:"Required Skills"}),x.jsx("div",{className:"flex flex-wrap gap-2",children:ee(a.skills)})]}),D&&x.jsxs("div",{className:"space-y-4 rounded border border-gray-200 bg-gray-50 p-4",children:[x.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[x.jsxs("div",{children:[x.jsxs("p",{className:"text-base font-medium text-gray-900",children:["Applications (",E.length,")"]}),x.jsx("p",{className:"text-sm text-gray-600",children:"Review requests from collaborators."})]}),w&&x.jsx("p",{className:"text-sm text-gray-500",children:"Loading..."})]}),j&&x.jsx("p",{className:"text-sm text-red-600",children:j}),!w&&!j&&E.length===0&&x.jsx("p",{className:"text-sm text-gray-600",children:"No applications yet."}),x.jsx("div",{className:"space-y-4",children:E.map(V=>x.jsxs("div",{className:"rounded border border-gray-200 bg-white p-4",children:[x.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between",children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-900",children:V.user?.name||"Unknown user"}),x.jsx("p",{className:"text-xs text-gray-500",children:V.user?.email||"No email provided"}),x.jsx("p",{className:"mt-2 text-sm text-gray-600",children:V.message||"No message provided."}),x.jsxs("p",{className:"mt-1 text-xs text-gray-500",children:["Applied on"," ",V.created_at?new Date(V.created_at).toLocaleDateString():"—"]})]}),x.jsx("span",{className:`h-fit rounded px-3 py-1 text-xs font-medium capitalize ${G(V.status)}`,children:V.status||"unknown"})]}),V.status==="pending"&&x.jsxs("div",{className:"mt-3 flex gap-3",children:[x.jsx("button",{type:"button",onClick:()=>z(V.id,"accepted"),className:"rounded border border-green-600 px-3 py-1.5 text-sm font-medium text-green-700 hover:bg-green-50 disabled:cursor-not-allowed disabled:opacity-60",disabled:M===V.id,children:M===V.id&&N==="accepted"?"Accepting...":"Accept"}),x.jsx("button",{type:"button",onClick:()=>z(V.id,"rejected"),className:"rounded border border-red-600 px-3 py-1.5 text-sm font-medium text-red-700 hover:bg-red-50 disabled:cursor-not-allowed disabled:opacity-60",disabled:M===V.id,children:M===V.id&&N==="rejected"?"Rejecting...":"Reject"})]})]},V.id))})]}),(D||F)&&x.jsxs("div",{className:"space-y-4 rounded border border-gray-200 bg-gray-50 p-4",children:[x.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[x.jsxs("div",{children:[x.jsxs("p",{className:"text-base font-medium text-gray-900",children:["Project Members (",O.length,")"]}),x.jsx("p",{className:"text-sm text-gray-600",children:"View all members of this project."})]}),oe&&x.jsx("p",{className:"text-sm text-gray-500",children:"Loading..."})]}),ce&&x.jsx("p",{className:"text-sm text-red-600",children:ce}),!oe&&!ce&&O.length===0&&x.jsx("p",{className:"text-sm text-gray-600",children:"No members yet."}),x.jsx("div",{className:"space-y-3",children:O.map(V=>x.jsx("div",{className:"rounded border border-gray-200 bg-white p-4",children:x.jsx("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between",children:x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-1",children:[x.jsx("p",{className:"text-sm font-medium text-gray-900",children:V.name||"Unknown user"}),V.role==="owner"&&x.jsx("span",{className:"rounded-full bg-gray-900 px-2 py-0.5 text-xs font-semibold uppercase tracking-wide text-white",children:"Owner"}),V.role==="member"&&x.jsx("span",{className:"rounded-full bg-gray-200 px-2 py-0.5 text-xs font-semibold uppercase tracking-wide text-gray-700",children:"Member"})]}),x.jsx("p",{className:"text-xs text-gray-500",children:V.email||"No email provided"}),V.joined_at&&x.jsxs("p",{className:"mt-1 text-xs text-gray-500",children:["Joined on"," ",new Date(V.joined_at).toLocaleDateString()]})]})})},V.id))})]})]})]}),x.jsx(E5,{open:p,project:a,onClose:()=>m(!1),onSuccess:P}),x.jsx(w5,{open:h,projectTitle:a?.title,projectId:a?.id,onClose:()=>y(!1)})]})}function T5(){const[t,a]=S.useState([]),[l,i]=S.useState(!0),[s,u]=S.useState("");S.useEffect(()=>{let p=!0;return(async()=>{i(!0),u("");try{const h=await Tl.getAll();if(!p)return;a(h?.projects||[])}catch(h){if(!p)return;u(h.response?.data?.message||"Unable to load projects.")}finally{p&&i(!1)}})(),()=>{p=!1}},[]);const f=(p=[])=>p.length?p.map((m,h)=>{const y=typeof m=="string"?m:m?.name||"Skill";return x.jsx("span",{className:"text-xs text-gray-700 bg-gray-100 px-3 py-1 rounded",children:y},`${y}-${h}`)}):x.jsx("span",{className:"text-xs text-gray-500 bg-gray-100 px-3 py-1 rounded",children:"Skills not specified"});return x.jsx("div",{className:"bg-gray-50 min-h-[calc(100vh-200px)] py-12",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[x.jsxs("div",{className:"mb-10 text-center",children:[x.jsx("h1",{className:"text-3xl font-medium text-gray-900 mb-3",children:"Explore Projects"}),x.jsx("p",{className:"text-sm text-gray-600 max-w-2xl mx-auto",children:"Browse active collaborations from the Colearn community. Join a team that matches your skills or discover new opportunities to grow."})]}),l&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"Loading projects..."}),!l&&s&&x.jsx("div",{className:"bg-white border border-red-200 p-6 text-center text-sm text-red-600",children:s}),!l&&!s&&t.length===0&&x.jsx("div",{className:"bg-white border border-gray-200 p-8 text-center text-sm text-gray-600",children:"No projects found yet. Check back soon!"}),!l&&!s&&t.length>0&&x.jsx("div",{className:"grid grid-cols-1 gap-6",children:t.map(p=>x.jsxs("div",{className:"bg-white border border-gray-200 p-6 flex flex-col gap-4",children:[x.jsxs("div",{children:[x.jsx("h2",{className:"text-xl font-medium text-gray-900",children:p.title}),x.jsx("p",{className:"text-sm text-gray-600 mt-2",children:p.description})]}),x.jsx("div",{className:"flex flex-wrap gap-4 text-sm text-gray-600",children:x.jsxs("span",{children:[x.jsx("span",{className:"font-medium text-gray-800",children:"Location:"})," ",p.location?.descriptions||"Remote / not specified"]})}),x.jsx("div",{className:"flex flex-wrap gap-2",children:f(p.skills)}),x.jsx("div",{children:x.jsx(ua,{to:`/projects/${p.id}`,className:"inline-flex items-center text-sm font-medium text-gray-900 hover:text-gray-700",children:"View details →"})})]},p.id))})]})})}function R5({open:t,onClose:a,onSuccess:l}){const[i,s]=S.useState({title:"",description:"",skills:[],location_id:""}),[u,f]=S.useState(!1),[p,m]=S.useState(""),h=E=>{const{name:b,value:w}=E.target;s(R=>({...R,[b]:w})),m("")},y=E=>{const b=E.target.value;s(w=>({...w,skills:b})),m("")},v=async E=>{E.preventDefault(),m(""),f(!0);try{const b=i.skills.map(j=>typeof j=="string"?parseInt(j,10):j),w={title:i.title.trim(),description:i.description.trim(),skills:b,location_id:parseInt(i.location_id,10)};if(!w.title)throw new Error("Title is required");if(!w.description)throw new Error("Description is required");if(isNaN(w.location_id))throw new Error("Location ID must be a valid number");const R=await Tl.create(w.title,w.description,w.skills,w.location_id);if(R?.project?.id)s({title:"",description:"",skills:[],location_id:""}),l(R.project.id),a();else throw new Error(R?.message||"Failed to create project")}catch(b){m(b.response?.data?.message||b.message||"Failed to create project. Please try again.")}finally{f(!1)}},C=()=>{u||(s({title:"",description:"",skills:[],location_id:""}),m(""),a())};return x.jsx(xS,{open:t,onClose:C,maxWidth:"sm",fullWidth:!0,children:x.jsxs("form",{onSubmit:v,children:[x.jsx(wS,{children:"Create New Project"}),x.jsx(ES,{children:x.jsxs(ic,{sx:{display:"flex",flexDirection:"column",gap:3,pt:2},children:[x.jsx(uc,{label:"Title",name:"title",value:i.title,onChange:h,required:!0,fullWidth:!0,disabled:u}),x.jsx(uc,{label:"Description",name:"description",value:i.description,onChange:h,required:!0,fullWidth:!0,multiline:!0,rows:4,disabled:u}),x.jsxs(Jo,{fullWidth:!0,children:[x.jsx(es,{id:"skills-label",children:"Skills"}),x.jsx(Mi,{labelId:"skills-label",id:"skills",multiple:!0,value:i.skills,onChange:y,input:x.jsx(Al,{label:"Skills"}),disabled:u,children:NS.map(E=>x.jsx(sc,{value:E.id,children:E.name},E.id))})]}),x.jsxs(Jo,{fullWidth:!0,required:!0,children:[x.jsx(es,{id:"location-label",children:"Location"}),x.jsx(Mi,{labelId:"location-label",id:"location_id",name:"location_id",value:i.location_id,onChange:h,input:x.jsx(Al,{label:"Location"}),disabled:u,children:MS.map(E=>x.jsx(sc,{value:E.id,children:E.name},E.id))})]}),p&&x.jsx(ic,{sx:{color:"error.main",fontSize:"0.875rem",mt:-1},children:p})]})}),x.jsxs(SS,{children:[x.jsx(oc,{onClick:C,disabled:u,children:"Cancel"}),x.jsx(oc,{type:"submit",variant:"contained",disabled:u,children:u?"Creating...":"Create Project"})]})]})})}function A5(){const t=Di(),[a,l]=S.useState(null),[i,s]=S.useState([]),[u,f]=S.useState([]),[p,m]=S.useState(!0),[h,y]=S.useState(""),[v,C]=S.useState(!1),[E,b]=S.useState("owner"),[w,R]=S.useState(!1);S.useEffect(()=>{let N=!0;return(async()=>{m(!0),y("");try{const O=await Iu.getMyDetails();if(!N)return;l(O?.user||null);try{const Q=await cc.getAllOfLoginUser();if(!N)return;f(Q?.applications||[])}catch(Q){if(console.error("Error fetching applications:",Q),!N)return;f([])}}catch(O){if(!N)return;y(O.response?.data?.message||"Unable to load profile data.")}finally{N&&m(!1)}})(),()=>{N=!1}},[]),S.useEffect(()=>{let N=!0;return(async()=>{R(!0);try{const O=await Tl.getAllofLoginUser(E);if(!N)return;const Q=O?.projects||(Array.isArray(O)?O:[]);s(Q)}catch(O){if(console.error("Error fetching projects:",O),!N)return;s([])}finally{N&&R(!1)}})(),()=>{N=!1}},[E]);const j=N=>{(async()=>{try{const O=await Tl.getAllofLoginUser(E),Q=O?.projects||(Array.isArray(O)?O:[]);s(Q)}catch(O){console.error("Error refreshing projects:",O)}})(),t(`/projects/${N}`)},L=N=>!N||N.length===0?x.jsx("span",{className:"text-xs text-gray-500 italic",children:"No skills specified"}):N.map((B,O)=>x.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-700 text-sm rounded",children:B.name||B},O)),M=N=>{switch(N?.toLowerCase()){case"pending":return"bg-yellow-100 text-yellow-800";case"approved":return"bg-green-100 text-green-800";case"rejected":return"bg-red-100 text-red-800";default:return"bg-gray-100 text-gray-800"}};if(p)return x.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:x.jsx("div",{className:"text-center",children:x.jsx("p",{className:"text-gray-600",children:"Loading profile..."})})});if(h)return x.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:x.jsxs("div",{className:"text-center",children:[x.jsx("p",{className:"text-red-600 mb-4",children:h}),x.jsx("button",{onClick:()=>window.location.reload(),className:"text-sm text-gray-700 hover:text-gray-900 underline",children:"Retry"})]})});const _=N=>{b(N)};return x.jsxs("div",{className:"min-h-screen bg-gray-50",children:[x.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[x.jsxs("div",{className:"bg-white border border-gray-200 p-6 mb-6",children:[x.jsx("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:x.jsx("h1",{className:"text-2xl sm:text-3xl font-medium text-gray-900",children:"Profile"})}),a?x.jsxs("div",{className:"space-y-4",children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Name"}),x.jsx("p",{className:"text-gray-900",children:a.name||"—"})]}),x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Email"}),x.jsx("p",{className:"text-gray-900",children:a.email||"—"})]}),a.bio&&x.jsxs("div",{children:[x.jsx("p",{className:"text-sm font-medium text-gray-700 mb-1",children:"Bio"}),x.jsx("p",{className:"text-gray-900",children:a.bio})]})]}):x.jsx("p",{className:"text-gray-600",children:"No user data available."})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-6 mb-6",children:[x.jsx("button",{onClick:()=>C(!0),className:"bg-gray-900 text-white px-4 py-2 my-1 rounded text-sm font-medium hover:bg-gray-800 w-full sm:w-auto",children:"Create Project"}),x.jsxs("div",{className:"mb-6",children:[x.jsxs("h2",{className:"text-xl font-medium text-gray-900 mb-4",children:["My Projects (",i.length,")"]}),x.jsxs("div",{className:"flex items-center gap-4",children:[x.jsx("span",{className:`text-sm font-medium transition ${E==="owner"?"text-gray-900":"text-gray-400"}`,children:"Owned"}),x.jsx("button",{type:"button",onClick:()=>_(E==="owner"?"member":"owner"),disabled:w,className:`relative inline-flex h-8 w-16 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 ${E==="owner"?"bg-gray-900":"bg-gray-300"} ${w?"opacity-50 cursor-not-allowed":"cursor-pointer"}`,"aria-label":"Toggle between owned and joined projects",children:x.jsx("span",{className:`inline-block h-6 w-6 transform rounded-full bg-white transition-transform ${E==="owner"?"translate-x-1":"translate-x-9"}`})}),x.jsx("span",{className:`text-sm font-medium transition ${E==="member"?"text-gray-900":"text-gray-400"}`,children:"Joined"})]})]}),w?x.jsx("p",{className:"text-gray-600 text-sm",children:"Loading projects..."}):i.length===0?x.jsx("p",{className:"text-gray-600 text-sm",children:E==="owner"?"You don't own any projects yet.":"You haven't joined any projects yet."}):x.jsx("div",{className:"space-y-4",children:i.map(N=>x.jsx("div",{className:"border border-gray-200 p-4 rounded hover:bg-gray-50",children:x.jsx("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",children:x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[x.jsx(ua,{to:`/projects/${N.id}`,className:"text-lg font-medium text-gray-900 hover:text-gray-700",children:N.title}),x.jsx("span",{className:`px-2 py-1 text-xs rounded capitalize ${N.status==="active"?"bg-green-100 text-green-800":"bg-gray-100 text-gray-800"}`,children:N.status||"unknown"})]}),x.jsx("p",{className:"text-sm text-gray-600 mb-2",children:N.description}),x.jsx("div",{className:"flex flex-wrap items-center gap-4 text-xs text-gray-600",children:N.location&&x.jsxs("span",{children:["📍"," ",typeof N.location=="string"?N.location:N.location.descriptions||"—"]})}),N.skills&&N.skills.length>0&&x.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:L(N.skills)})]})})},N.id))})]}),x.jsxs("div",{className:"bg-white border border-gray-200 p-6",children:[x.jsxs("h2",{className:"text-xl font-medium text-gray-900 mb-4",children:["My Applications (",u.length,")"]}),u.length===0?x.jsx("p",{className:"text-gray-600 text-sm",children:"No applications yet."}):x.jsx("div",{className:"space-y-4",children:u.map(N=>x.jsx("div",{className:"border border-gray-200 p-4 rounded",children:x.jsx("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",children:x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[N.project&&x.jsx(ua,{to:`/projects/${N.project.id}`,className:"text-lg font-medium text-gray-900 hover:text-gray-700",children:N.project.title}),x.jsx("span",{className:`px-2 py-1 text-xs rounded capitalize ${M(N.status)}`,children:N.status||"unknown"})]}),N.message&&x.jsx("p",{className:"text-sm text-gray-700 mb-2",children:N.message}),x.jsxs("p",{className:"text-xs text-gray-500",children:["Applied on:"," ",N.created_at?new Date(N.created_at).toLocaleDateString():"—"]})]})})},N.id))})]})]}),x.jsx(R5,{open:v,onClose:()=>C(!1),onSuccess:j})]})}function O5(){return x.jsx("div",{children:"Page Not Found"})}function Tb({children:t}){return localStorage.getItem("accessToken")?x.jsx(Kb,{to:"/",replace:!0}):t}function N5({children:t}){return localStorage.getItem("accessToken")?t:x.jsx(Kb,{to:"/login",replace:!0})}const M5=JC([{element:x.jsx(p2,{}),children:[{path:"/",element:x.jsx(h2,{})},{path:"/login",element:x.jsx(Tb,{children:x.jsx(VT,{})})},{path:"/signup",element:x.jsx(Tb,{children:x.jsx(YT,{})})},{path:"/directory",element:x.jsx(T5,{})},{path:"/projects/:projectId",element:x.jsx(C5,{})},{path:"/profile",element:x.jsx(N5,{children:x.jsx(A5,{})})},{path:"*",element:x.jsx(O5,{})}]}]);function j5(){return x.jsx("div",{className:"App",children:x.jsx(RC,{router:M5})})}XE.createRoot(document.getElementById("root")).render(x.jsx(S.StrictMode,{children:x.jsx(j5,{})}));
          
          Evidence
          select
          Solution

          Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.

      2. Re-examine Cache-control Directives (1)
        1. GET https://colearn.dikshantsharma.com
          Alert tags
          Alert description

          The cache-control header has not been set properly or is missing, allowing the browser and proxies to cache content. For static assets like css, js, or image files this might be intended, however, the resources should be reviewed to ensure that no sensitive content will be cached.

          Request
          Request line and header section (253 bytes)
          GET https://colearn.dikshantsharma.com HTTP/1.1
          host: colearn.dikshantsharma.com
          user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
          pragma: no-cache
          cache-control: no-cache
          
          
          Request body (0 bytes)
          Response
          Status line and header section (485 bytes)
          HTTP/1.1 200 OK
          Accept-Ranges: bytes
          Access-Control-Allow-Origin: *
          Age: 1121
          Cache-Control: public, max-age=0, must-revalidate
          Content-Disposition: inline
          Content-Length: 575
          Content-Type: text/html; charset=utf-8
          Date: Fri, 21 Nov 2025 17:06:12 GMT
          Etag: "afd76a5d5c8d5135b831fe69d5eee691"
          Last-Modified: Fri, 21 Nov 2025 16:47:31 GMT
          Server: Vercel
          Strict-Transport-Security: max-age=63072000
          X-Vercel-Cache: HIT
          X-Vercel-Id: bom1::bpmmg-1763744772773-afa886f6c173
          
          
          Response body (575 bytes)
          <!doctype html>
          <html lang="en">
            <head>
              <meta charset="UTF-8" />
              <link rel="icon" type="image/svg+xml" href="/logo.png" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Colearn</title>
              <script type="module" crossorigin src="/assets/index-C_l3bB_u.js"></script>
              <link rel="stylesheet" crossorigin href="/assets/index-B3mBNjjx.css">
            <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
            <body>
              <div id="root"></div>
            </body>
          </html>
          
          Parameter
          cache-control
          Evidence
          public, max-age=0, must-revalidate
          Solution

          For secure content, ensure the cache-control HTTP header is set with "no-cache, no-store, must-revalidate". If an asset should be cached consider setting the directives "public, max-age, immutable".

Appendix

Alert types

This section contains additional information on the types of alerts in the report.

  1. Content Security Policy (CSP) Header Not Set

    Source raised by a passive scanner (Content Security Policy (CSP) Header Not Set)
    CWE ID 693
    WASC ID 15
    Reference
    1. https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy
    2. https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html
    3. https://www.w3.org/TR/CSP/
    4. https://w3c.github.io/webappsec-csp/
    5. https://web.dev/articles/csp
    6. https://caniuse.com/#feat=contentsecuritypolicy
    7. https://content-security-policy.com/
  2. Cross-Domain Misconfiguration

    Source raised by a passive scanner (Cross-Domain Misconfiguration)
    CWE ID 264
    WASC ID 14
    Reference
    1. https://vulncat.fortify.com/en/detail?id=desc.config.dotnet.html5_overly_permissive_cors_policy
  3. Hidden File Found

    Source raised by an active scanner (Hidden File Finder)
    CWE ID 538
    WASC ID 13
    Reference
    1. https://blog.hboeck.de/archives/892-Introducing-Snallygaster-a-Tool-to-Scan-for-Secrets-on-Web-Servers.html
  4. Missing Anti-clickjacking Header

    Source raised by a passive scanner (Anti-clickjacking Header)
    CWE ID 1021
    WASC ID 15
    Reference
    1. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
  5. Timestamp Disclosure - Unix

    Source raised by a passive scanner (Timestamp Disclosure)
    CWE ID 497
    WASC ID 13
    Reference
    1. https://cwe.mitre.org/data/definitions/200.html
  6. X-Content-Type-Options Header Missing

    Source raised by a passive scanner (X-Content-Type-Options Header Missing)
    CWE ID 693
    WASC ID 15
    Reference
    1. https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/gg622941(v=vs.85)
    2. https://owasp.org/www-community/Security_Headers
  7. Information Disclosure - Suspicious Comments

    Source raised by a passive scanner (Information Disclosure - Suspicious Comments)
    CWE ID 615
    WASC ID 13
  8. Modern Web Application

    Source raised by a passive scanner (Modern Web Application)
  9. Re-examine Cache-control Directives

    Source raised by a passive scanner (Re-examine Cache-control Directives)
    CWE ID 525
    WASC ID 13
    Reference
    1. https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#web-content-caching
    2. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
    3. https://grayduck.mn/2021/09/13/cache-control-recommendations/
  10. Retrieved from Cache

    Source raised by a passive scanner (Retrieved from Cache)
    Reference
    1. https://tools.ietf.org/html/rfc7234
    2. https://tools.ietf.org/html/rfc7231
    3. https://www.rfc-editor.org/rfc/rfc9110.html