From ed00a0b32034df0f7c6cdfa6bd9cd3c48ddcd281 Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Fri, 17 May 2024 03:20:04 +0900 Subject: [PATCH] Updates --- 404.html | 2 +- 404/index.html | 2 +- .../6hy8Rhel5Yb0eNzsDgXzO/_buildManifest.js | 1 + .../_ssgManifest.js | 0 .../TBw8VhLzlN79Oy-v53eI7/_buildManifest.js | 1 - _next/static/chunks/150-6efdc8cb2d14f63f.js | 89 ------------------- _next/static/chunks/150-708d8be8634999a9.js | 89 +++++++++++++++++++ _next/static/chunks/295-face7ac39a95b2fa.js | 23 ----- _next/static/chunks/718-add7984c140a9b83.js | 23 +++++ .../chunks/framework-03cd576e71e4cd66.js | 33 +++++++ .../chunks/framework-fae63b21a27d6472.js | 33 ------- _next/static/chunks/main-ada389a1caa7877a.js | 6 -- _next/static/chunks/main-e7f677954ac819e2.js | 6 ++ _next/static/chunks/nextra-data-en-US.json | 2 +- .../chunks/pages/_app-9778bc9d9df0b64a.js | 1 + .../chunks/pages/_app-ac84f11b63ebc5d1.js | 1 - ...1d29d86f.js => _error-5a00309fd5f4b49e.js} | 2 +- .../chunks/pages/docs-4a7cfa99a2b4e8dc.js | 1 - .../chunks/pages/docs-e1beda089be78031.js | 1 + .../nestjs-websocket-621a47fa1ec92e2a.js | 1 - .../nestjs-websocket-f7e20aac9f1d241d.js | 1 + ...bject-oriented-network-0993e6f66aa34d63.js | 1 + ...bject-oriented-network-53e1adc838bdb5b2.js | 1 - .../remote-function-call-a92543961313481f.js | 1 - .../remote-function-call-e1cb61704b33bd0b.js | 1 + .../remote-object-call-27153481d4f48db4.js | 1 - .../remote-object-call-e957da6d90ec3eec.js | 1 + .../features/components-4600af08640ceecc.js | 1 + .../features/components-ab741fdc79e7d9fd.js | 1 - ...dc39e.js => websocket-2e505a3986faffc8.js} | 2 +- .../docs/features/worker-50cbd163507c0981.js | 1 + .../docs/features/worker-e9ee86a2ed1ef0e1.js | 1 - .../docs/projects/chat-29a3d87384f3a488.js | 1 + .../docs/projects/chat-d3eed41c99360f17.js | 1 - .../docs/projects/market-99c7938bb5b7111d.js | 1 + .../docs/projects/market-bedb362ebc11ade6.js | 1 - .../docs/projects/mutex-1351b547800aca63.js | 1 - .../docs/projects/mutex-eb85bc2b37ddf9d9.js | 1 + .../remote-procedure-call-6a86a9f0da176ccd.js | 1 + .../remote-procedure-call-dc24e0e55251ae79.js | 1 - .../pages/docs/setup-8a302025319fe315.js | 1 + .../pages/docs/setup-bbd9244d93b87b4b.js | 1 - .../chunks/pages/index-26e393dd5a14d053.js | 1 + .../chunks/pages/index-e824fb9325c9a7f9.js | 1 - .../static/chunks/webpack-6af0e3c12b874bb0.js | 1 - .../static/chunks/webpack-6ef43a8d4a395f49.js | 1 + api/assets/navigation.js | 2 +- api/assets/search.js | 2 +- api/classes/Communicator.html | 24 ++--- api/classes/SharedWorkerAcceptor-1.html | 24 ++--- api/classes/SharedWorkerConnector-1.html | 26 +++--- api/classes/SharedWorkerServer-1.html | 10 +-- api/classes/WebSocketAcceptor-1.html | 28 +++--- api/classes/WebSocketConnector-1.html | 28 +++--- api/classes/WebSocketError.html | 8 +- api/classes/WebSocketServer-1.html | 12 +-- api/classes/WorkerConnector-1.html | 28 +++--- api/classes/WorkerServer-1.html | 24 ++--- api/enums/WebSocketAcceptor.State.html | 4 +- api/enums/WebSocketConnector.State.html | 4 +- api/enums/WebSocketServer.State.html | 4 +- .../SharedWorkerConnector.compile.html | 2 +- .../SharedWorkerConnector.remove.html | 2 +- api/index.html | 11 ++- api/interfaces/Invoke.IFunction.html | 8 +- api/interfaces/Invoke.IParameter.html | 4 +- api/interfaces/Invoke.IReturn.html | 8 +- ...SharedWorkerConnector.IConnectOptions.html | 4 +- .../WebSocketConnector.IConnectOptions.html | 4 +- .../WorkerConnector.IConnectOptions.html | 6 +- api/modules/Invoke.html | 2 +- api/modules/SharedWorkerAcceptor.html | 2 +- api/modules/SharedWorkerConnector.html | 2 +- api/modules/SharedWorkerServer.html | 2 +- api/modules/WebSocketAcceptor.html | 2 +- api/modules/WebSocketConnector.html | 2 +- api/modules/WebSocketServer.html | 2 +- api/modules/WorkerConnector.html | 2 +- api/modules/WorkerServer.html | 2 +- api/modules/default.html | 2 +- api/types/Driver.html | 2 +- api/types/Invoke-1.html | 2 +- api/types/Primitive.html | 2 +- api/types/Promisive.html | 2 +- api/variables/Driver-1.html | 2 +- docs/examples/nestjs-websocket/index.html | 4 +- .../object-oriented-network/index.html | 4 +- docs/examples/remote-function-call/index.html | 4 +- docs/examples/remote-object-call/index.html | 4 +- docs/features/components/index.html | 4 +- docs/features/websocket/index.html | 4 +- docs/features/worker/index.html | 4 +- docs/index.html | 4 +- docs/projects/chat/index.html | 4 +- docs/projects/market/index.html | 4 +- docs/projects/mutex/index.html | 4 +- docs/remote-procedure-call/index.html | 4 +- docs/setup/index.html | 4 +- index.html | 4 +- 99 files changed, 358 insertions(+), 349 deletions(-) create mode 100644 _next/static/6hy8Rhel5Yb0eNzsDgXzO/_buildManifest.js rename _next/static/{TBw8VhLzlN79Oy-v53eI7 => 6hy8Rhel5Yb0eNzsDgXzO}/_ssgManifest.js (100%) delete mode 100644 _next/static/TBw8VhLzlN79Oy-v53eI7/_buildManifest.js delete mode 100644 _next/static/chunks/150-6efdc8cb2d14f63f.js create mode 100644 _next/static/chunks/150-708d8be8634999a9.js delete mode 100644 _next/static/chunks/295-face7ac39a95b2fa.js create mode 100644 _next/static/chunks/718-add7984c140a9b83.js create mode 100644 _next/static/chunks/framework-03cd576e71e4cd66.js delete mode 100644 _next/static/chunks/framework-fae63b21a27d6472.js delete mode 100644 _next/static/chunks/main-ada389a1caa7877a.js create mode 100644 _next/static/chunks/main-e7f677954ac819e2.js create mode 100644 _next/static/chunks/pages/_app-9778bc9d9df0b64a.js delete mode 100644 _next/static/chunks/pages/_app-ac84f11b63ebc5d1.js rename _next/static/chunks/pages/{_error-ee5b5fb91d29d86f.js => _error-5a00309fd5f4b49e.js} (51%) delete mode 100644 _next/static/chunks/pages/docs-4a7cfa99a2b4e8dc.js create mode 100644 _next/static/chunks/pages/docs-e1beda089be78031.js delete mode 100644 _next/static/chunks/pages/docs/examples/nestjs-websocket-621a47fa1ec92e2a.js create mode 100644 _next/static/chunks/pages/docs/examples/nestjs-websocket-f7e20aac9f1d241d.js create mode 100644 _next/static/chunks/pages/docs/examples/object-oriented-network-0993e6f66aa34d63.js delete mode 100644 _next/static/chunks/pages/docs/examples/object-oriented-network-53e1adc838bdb5b2.js delete mode 100644 _next/static/chunks/pages/docs/examples/remote-function-call-a92543961313481f.js create mode 100644 _next/static/chunks/pages/docs/examples/remote-function-call-e1cb61704b33bd0b.js delete mode 100644 _next/static/chunks/pages/docs/examples/remote-object-call-27153481d4f48db4.js create mode 100644 _next/static/chunks/pages/docs/examples/remote-object-call-e957da6d90ec3eec.js create mode 100644 _next/static/chunks/pages/docs/features/components-4600af08640ceecc.js delete mode 100644 _next/static/chunks/pages/docs/features/components-ab741fdc79e7d9fd.js rename _next/static/chunks/pages/docs/features/{websocket-d97b662b7eedc39e.js => websocket-2e505a3986faffc8.js} (51%) create mode 100644 _next/static/chunks/pages/docs/features/worker-50cbd163507c0981.js delete mode 100644 _next/static/chunks/pages/docs/features/worker-e9ee86a2ed1ef0e1.js create mode 100644 _next/static/chunks/pages/docs/projects/chat-29a3d87384f3a488.js delete mode 100644 _next/static/chunks/pages/docs/projects/chat-d3eed41c99360f17.js create mode 100644 _next/static/chunks/pages/docs/projects/market-99c7938bb5b7111d.js delete mode 100644 _next/static/chunks/pages/docs/projects/market-bedb362ebc11ade6.js delete mode 100644 _next/static/chunks/pages/docs/projects/mutex-1351b547800aca63.js create mode 100644 _next/static/chunks/pages/docs/projects/mutex-eb85bc2b37ddf9d9.js create mode 100644 _next/static/chunks/pages/docs/remote-procedure-call-6a86a9f0da176ccd.js delete mode 100644 _next/static/chunks/pages/docs/remote-procedure-call-dc24e0e55251ae79.js create mode 100644 _next/static/chunks/pages/docs/setup-8a302025319fe315.js delete mode 100644 _next/static/chunks/pages/docs/setup-bbd9244d93b87b4b.js create mode 100644 _next/static/chunks/pages/index-26e393dd5a14d053.js delete mode 100644 _next/static/chunks/pages/index-e824fb9325c9a7f9.js delete mode 100644 _next/static/chunks/webpack-6af0e3c12b874bb0.js create mode 100644 _next/static/chunks/webpack-6ef43a8d4a395f49.js diff --git a/404.html b/404.html index 3f71a14..7c23beb 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/404/index.html b/404/index.html index 3f71a14..7c23beb 100644 --- a/404/index.html +++ b/404/index.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/6hy8Rhel5Yb0eNzsDgXzO/_buildManifest.js b/_next/static/6hy8Rhel5Yb0eNzsDgXzO/_buildManifest.js new file mode 100644 index 0000000..e836f33 --- /dev/null +++ b/_next/static/6hy8Rhel5Yb0eNzsDgXzO/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(e,s){return{__rewrites:{afterFiles:[{has:void 0,source:"/api",destination:"/api/index.html"}],beforeFiles:[],fallback:[]},"/":[e,s,"static/chunks/150-708d8be8634999a9.js","static/chunks/pages/index-26e393dd5a14d053.js"],"/_error":["static/chunks/pages/_error-5a00309fd5f4b49e.js"],"/docs":[e,s,"static/chunks/pages/docs-e1beda089be78031.js"],"/docs/examples/nestjs-websocket":[e,s,"static/chunks/pages/docs/examples/nestjs-websocket-f7e20aac9f1d241d.js"],"/docs/examples/object-oriented-network":[e,s,"static/chunks/pages/docs/examples/object-oriented-network-0993e6f66aa34d63.js"],"/docs/examples/remote-function-call":[e,s,"static/chunks/pages/docs/examples/remote-function-call-e1cb61704b33bd0b.js"],"/docs/examples/remote-object-call":[e,s,"static/chunks/pages/docs/examples/remote-object-call-e957da6d90ec3eec.js"],"/docs/features/components":[e,s,"static/chunks/pages/docs/features/components-4600af08640ceecc.js"],"/docs/features/websocket":[e,s,"static/chunks/pages/docs/features/websocket-2e505a3986faffc8.js"],"/docs/features/worker":[e,s,"static/chunks/pages/docs/features/worker-50cbd163507c0981.js"],"/docs/projects/chat":[e,s,"static/chunks/pages/docs/projects/chat-29a3d87384f3a488.js"],"/docs/projects/market":[e,s,"static/chunks/pages/docs/projects/market-99c7938bb5b7111d.js"],"/docs/projects/mutex":[e,s,"static/chunks/pages/docs/projects/mutex-eb85bc2b37ddf9d9.js"],"/docs/remote-procedure-call":[e,s,"static/chunks/pages/docs/remote-procedure-call-6a86a9f0da176ccd.js"],"/docs/setup":[e,s,"static/chunks/pages/docs/setup-8a302025319fe315.js"],sortedPages:["/","/_app","/_error","/docs","/docs/examples/nestjs-websocket","/docs/examples/object-oriented-network","/docs/examples/remote-function-call","/docs/examples/remote-object-call","/docs/features/components","/docs/features/websocket","/docs/features/worker","/docs/projects/chat","/docs/projects/market","/docs/projects/mutex","/docs/remote-procedure-call","/docs/setup"]}}("static/css/445c4173ffc2bf04.css","static/chunks/718-add7984c140a9b83.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/TBw8VhLzlN79Oy-v53eI7/_ssgManifest.js b/_next/static/6hy8Rhel5Yb0eNzsDgXzO/_ssgManifest.js similarity index 100% rename from _next/static/TBw8VhLzlN79Oy-v53eI7/_ssgManifest.js rename to _next/static/6hy8Rhel5Yb0eNzsDgXzO/_ssgManifest.js diff --git a/_next/static/TBw8VhLzlN79Oy-v53eI7/_buildManifest.js b/_next/static/TBw8VhLzlN79Oy-v53eI7/_buildManifest.js deleted file mode 100644 index a586747..0000000 --- a/_next/static/TBw8VhLzlN79Oy-v53eI7/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(e,s){return{__rewrites:{afterFiles:[{has:void 0,source:"/api",destination:"/api/index.html"}],beforeFiles:[],fallback:[]},"/":[e,s,"static/chunks/150-6efdc8cb2d14f63f.js","static/chunks/pages/index-e824fb9325c9a7f9.js"],"/_error":["static/chunks/pages/_error-ee5b5fb91d29d86f.js"],"/docs":[e,s,"static/chunks/pages/docs-4a7cfa99a2b4e8dc.js"],"/docs/examples/nestjs-websocket":[e,s,"static/chunks/pages/docs/examples/nestjs-websocket-621a47fa1ec92e2a.js"],"/docs/examples/object-oriented-network":[e,s,"static/chunks/pages/docs/examples/object-oriented-network-53e1adc838bdb5b2.js"],"/docs/examples/remote-function-call":[e,s,"static/chunks/pages/docs/examples/remote-function-call-a92543961313481f.js"],"/docs/examples/remote-object-call":[e,s,"static/chunks/pages/docs/examples/remote-object-call-27153481d4f48db4.js"],"/docs/features/components":[e,s,"static/chunks/pages/docs/features/components-ab741fdc79e7d9fd.js"],"/docs/features/websocket":[e,s,"static/chunks/pages/docs/features/websocket-d97b662b7eedc39e.js"],"/docs/features/worker":[e,s,"static/chunks/pages/docs/features/worker-e9ee86a2ed1ef0e1.js"],"/docs/projects/chat":[e,s,"static/chunks/pages/docs/projects/chat-d3eed41c99360f17.js"],"/docs/projects/market":[e,s,"static/chunks/pages/docs/projects/market-bedb362ebc11ade6.js"],"/docs/projects/mutex":[e,s,"static/chunks/pages/docs/projects/mutex-1351b547800aca63.js"],"/docs/remote-procedure-call":[e,s,"static/chunks/pages/docs/remote-procedure-call-dc24e0e55251ae79.js"],"/docs/setup":[e,s,"static/chunks/pages/docs/setup-bbd9244d93b87b4b.js"],sortedPages:["/","/_app","/_error","/docs","/docs/examples/nestjs-websocket","/docs/examples/object-oriented-network","/docs/examples/remote-function-call","/docs/examples/remote-object-call","/docs/features/components","/docs/features/websocket","/docs/features/worker","/docs/projects/chat","/docs/projects/market","/docs/projects/mutex","/docs/remote-procedure-call","/docs/setup"]}}("static/css/445c4173ffc2bf04.css","static/chunks/295-face7ac39a95b2fa.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/150-6efdc8cb2d14f63f.js b/_next/static/chunks/150-6efdc8cb2d14f63f.js deleted file mode 100644 index 01ab40d..0000000 --- a/_next/static/chunks/150-6efdc8cb2d14f63f.js +++ /dev/null @@ -1,89 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return createCache}});var n=function(){function StyleSheet(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var e=StyleSheet.prototype;return e.hydrate=function(e){e.forEach(this._insertTag)},e.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[x]+" "+S:Utility_replace(S,/&\f/g,m[x])).trim())&&(u[v++]=w);return node(e,t,r,0===i?b:s,u,c,d)}function declaration(e,t,r,n){return node(e,t,r,v,Utility_substr(e,0,n),Utility_substr(e,n+1,-1),n)}var identifierWithPointTracking=function(e,t,r){for(var n=0,o=0;n=o,o=peek(),38===n&&12===o&&(t[r]=1),!token(o);)next();return Utility_substr(p,e,c)},toRules=function(e,t){var r=-1,n=44;do switch(token(n)){case 0:38===n&&12===peek()&&(t[r]=1),e[r]+=identifierWithPointTracking(c-1,t,r);break;case 2:e[r]+=delimit(n);break;case 4:if(44===n){e[++r]=58===peek()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=next());return e},getRules=function(e,t){var r;return r=toRules(alloc(e),t),p="",r},S=new WeakMap,compat=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||S.get(r))&&!n){S.set(e,!0);for(var o=[],i=getRules(t,o),a=r.props,l=0,s=0;l-1&&!e.return)switch(e.type){case v:e.return=function emotion_cache_browser_esm_prefix(e,t){switch(45^Utility_charat(e,0)?(((t<<2^Utility_charat(e,0))<<2^Utility_charat(e,1))<<2^Utility_charat(e,2))<<2^Utility_charat(e,3):0){case 5103:return y+"print-"+e+e;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 y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return y+e+h+e+m+e+e;case 6828:case 4268:return y+e+m+e+e;case 6165:return y+e+m+"flex-"+e+e;case 5187:return y+e+Utility_replace(e,/(\w+).+(:[^]+)/,y+"box-$1$2"+m+"flex-$1$2")+e;case 5443:return y+e+m+"flex-item-"+Utility_replace(e,/flex-|-self/,"")+e;case 4675:return y+e+m+"flex-line-pack"+Utility_replace(e,/align-content|flex-|-self/,"")+e;case 5548:return y+e+m+Utility_replace(e,"shrink","negative")+e;case 5292:return y+e+m+Utility_replace(e,"basis","preferred-size")+e;case 6060:return y+"box-"+Utility_replace(e,"-grow","")+y+e+m+Utility_replace(e,"grow","positive")+e;case 4554:return y+Utility_replace(e,/([^-])(transform)/g,"$1"+y+"$2")+e;case 6187:return Utility_replace(Utility_replace(Utility_replace(e,/(zoom-|grab)/,y+"$1"),/(image-set)/,y+"$1"),e,"")+e;case 5495:case 3959:return Utility_replace(e,/(image-set\([^]*)/,y+"$1$`$1");case 4968:return Utility_replace(Utility_replace(e,/(.+:)(flex-)?(.*)/,y+"box-pack:$3"+m+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+y+e+e;case 4095:case 3583:case 4068:case 2532:return Utility_replace(e,/(.+)-inline(.+)/,y+"$1$2")+e;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(Utility_strlen(e)-1-t>6)switch(Utility_charat(e,t+1)){case 109:if(45!==Utility_charat(e,t+4))break;case 102:return Utility_replace(e,/(.+:)(.+)-([^]+)/,"$1"+y+"$2-$3$1"+h+(108==Utility_charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~indexof(e,"stretch")?emotion_cache_browser_esm_prefix(Utility_replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Utility_charat(e,t+1))break;case 6444:switch(Utility_charat(e,Utility_strlen(e)-3-(~indexof(e,"!important")&&10))){case 107:return Utility_replace(e,":",":"+y)+e;case 101:return Utility_replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+y+(45===Utility_charat(e,14)?"inline-":"")+"box$3$1"+y+"$2$3$1"+m+"$2box$3")+e}break;case 5936:switch(Utility_charat(e,t+11)){case 114:return y+e+m+Utility_replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return y+e+m+Utility_replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return y+e+m+Utility_replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return y+e+m+e+e}return e}(e.value,e.length);break;case x:return Serializer_serialize([Tokenizer_copy(e,{value:Utility_replace(e.value,"@","@"+y)})],n);case b:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return Serializer_serialize([Tokenizer_copy(e,{props:[Utility_replace(t,/:(read-\w+)/,":"+h+"$1")]})],n);case"::placeholder":return Serializer_serialize([Tokenizer_copy(e,{props:[Utility_replace(t,/:(plac\w+)/,":"+y+"input-$1")]}),Tokenizer_copy(e,{props:[Utility_replace(t,/:(plac\w+)/,":"+h+"$1")]}),Tokenizer_copy(e,{props:[Utility_replace(t,/:(plac\w+)/,m+"input-$1")]})],n)}return""}).join("")}}],createCache=function(e){var t,r,o,a,u,m=e.key;if("css"===m){var h=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(h,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var y=e.stylisPlugins||w,b={},v=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+m+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||token(d)>3?"":" "}(k);break;case 92:E+=function(e,t){for(var r;--t&&next()&&!(d<48)&&!(d>102)&&(!(d>57)||!(d<65))&&(!(d>70)||!(d<97)););return r=c+(t<6&&32==peek()&&32==next()),Utility_substr(p,e,r)}(c-1,7);continue;case 47:switch(peek()){case 42:case 47:Utility_append(node(y=function(e,t){for(;next();)if(e+d===57)break;else if(e+d===84&&47===peek())break;return"/*"+Utility_substr(p,t,c-1)+"*"+i(47===e?e:next())}(next(),c),t,r,g,i(d),Utility_substr(y,2,-2),0),h);break;default:E+="/"}break;case 123*Z:m[b++]=Utility_strlen(E)*P;case 125*Z:case 59:case 0:switch($){case 0:case 125:C=0;case 59+v:-1==P&&(E=Utility_replace(E,/\f/g,"")),w>0&&Utility_strlen(E)-x&&Utility_append(w>32?declaration(E+";",n,r,x-1):declaration(Utility_replace(E," ","")+";",n,r,x-2),h);break;case 59:E+=";";default:if(Utility_append(M=ruleset(E,t,r,b,v,o,m,T,R=[],O=[],x),a),123===$){if(0===v)parse(E,t,M,M,R,a,x,m,O);else switch(99===S&&110===Utility_charat(E,3)?100:S){case 100:case 108:case 109:case 115:parse(e,M,M,n&&Utility_append(ruleset(e,M,M,0,0,o,m,T,o,R=[],x),O),o,O,x,m,n?R:O);break;default:parse(E,M,M,M,[""],O,0,m,O)}}}b=v=w=0,Z=P=1,T=E="",x=u;break;case 58:x=1+Utility_strlen(E),w=k;default:if(Z<1){if(123==$)--Z;else if(125==$&&0==Z++&&125==(d=c>0?Utility_charat(p,--c):0,s--,10===d&&(s=1,l--),d))continue}switch(E+=i($),$*Z){case 38:P=v>0?1:(E+="\f",-1);break;case 44:m[b++]=(Utility_strlen(E)-1)*P,P=1;break;case 64:45===peek()&&(E+=delimit(next())),S=peek(),v=x=Utility_strlen(T=E+=function(e){for(;!token(peek());)next();return Utility_substr(p,e,c)}(c)),$++;break;case 45:45===k&&2==Utility_strlen(E)&&(Z=0)}}return a}("",null,null,null,[""],t=alloc(t=e),0,[0],t),p="",r),x)},S={key:m,sheet:new n({key:m,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:b,registered:{},insert:function(e,t,r,n){u=r,stylis(e?e+"{"+t.styles+"}":t.styles),n&&(S.inserted[t.name]=!0)}};return S.sheet.hydrate(v),S}},5042:function(e,t,r){"use strict";function memoize(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return memoize}})},6498:function(e,t,r){"use strict";r.d(t,{C:function(){return l},T:function(){return s},i:function(){return i},w:function(){return withEmotionCache}});var n=r(7294),o=r(8417);r(8137),r(7278);var i=!0,a=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),l=a.Provider,withEmotionCache=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(a),r)})};i||(withEmotionCache=function(e){return function(t){var r=(0,n.useContext)(a);return null===r?(r=(0,o.Z)({key:"css"}),n.createElement(a.Provider,{value:r},e(t,r))):e(t,r)}});var s=n.createContext({})},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return keyframes},iv:function(){return css},xB:function(){return s}});var n=r(6498),o=r(7294),i=r(444),a=r(7278),l=r(8137);r(8417),r(8679);var s=(0,n.w)(function(e,t){var r=e.styles,s=(0,l.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var u,c=s.name,d=s.styles,p=s.next;void 0!==p;)c+=" "+p.name,d+=p.styles,p=p.next;var m=!0===t.compat,h=t.insert("",{name:c,styles:d},t.sheet,m);return m?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var y=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),y.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=y.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==s.next&&(0,i.My)(t,s.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",s,r,!1)},[t,s.name]),null});function css(){for(var e=arguments.length,t=Array(e),r=0;r=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},7278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return l}});var n,o=r(7294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},444:function(e,t,r){"use strict";function getRegisteredStyles(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return insertStyles},fp:function(){return getRegisteredStyles},hC:function(){return registerStyles}});var registerStyles=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},insertStyles=function(e,t,r){registerStyles(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},5449:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0,function(e,t){if((t||!e||!e.__esModule)&&null!==e&&("object"==typeof e||"function"==typeof e)){var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n)}}(r(7294));var o=n(r(4938)),i=r(5893);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub")},7600:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0;var o=n(r(4938)),i=r(5893);t.Z=(0,o.default)([(0,i.jsx)("path",{d:"M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1m0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5z"},"0"),(0,i.jsx)("path",{d:"M17.5 10.5c.88 0 1.73.09 2.5.26V9.24c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99M13 12.49v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26V11.9c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.3-4.5.83m4.5 1.84c-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26v-1.52c-.79-.16-1.64-.24-2.5-.24"},"1")],"MenuBook")},4938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(7208)},5616:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(3534),s=r(6523),u=r(9707),c=r(9718),d=r(5893);let p=["className","component"];var m=r(1983),h=r(1265),y=r(606),g=r(1977);let b=(0,g.Z)("MuiBox",["root"]),v=(0,h.Z)(),x=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:m="MuiBox-root",generateClassName:h}=e,y=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=i.forwardRef(function(e,i){let l=(0,c.Z)(r),s=(0,u.Z)(e),{className:g,component:b="div"}=s,v=(0,o.Z)(s,p);return(0,d.jsx)(y,(0,n.Z)({as:b,ref:i,className:(0,a.Z)(g,h?h(m):m),theme:t&&l[t]||l},v))});return g}({themeId:y.Z,defaultTheme:v,defaultClassName:b.root,generateClassName:m.Z.generate});var S=x},9417:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(2236),s=r(8510),u=r(2101),c=r(948),d=r(6206),p=r(1657),m=r(8183),h=r(8216),y=r(1977),g=r(5463);function getButtonUtilityClass(e){return(0,g.ZP)("MuiButton",e)}let b=(0,y.Z)("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"]),v=i.createContext({}),x=i.createContext(void 0);var S=r(5893);let w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],useUtilityClasses=e=>{let{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,classes:l}=e,u={root:["root",a,`${a}${(0,h.Z)(t)}`,`size${(0,h.Z)(i)}`,`${a}Size${(0,h.Z)(i)}`,`color${(0,h.Z)(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,h.Z)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,h.Z)(i)}`]},c=(0,s.Z)(u,getButtonUtilityClass,l);return(0,o.Z)({},l,c)},commonIconStyles=e=>(0,o.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),k=(0,c.ZP)(m.Z,{shouldForwardProp:e=>(0,d.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,h.Z)(r.color)}`],t[`size${(0,h.Z)(r.size)}`],t[`${r.variant}Size${(0,h.Z)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;let i="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,o.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${b.focusVisible}`]:(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${b.disabled}`]:(0,o.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,u.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${b.disabled}`]:{boxShadow:"none"}}),Z=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,h.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},commonIconStyles(e))),C=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,h.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},commonIconStyles(e))),P=i.forwardRef(function(e,t){let r=i.useContext(v),s=i.useContext(x),u=(0,l.Z)(r,e),c=(0,p.Z)({props:u,name:"MuiButton"}),{children:d,color:m="primary",component:h="button",className:y,disabled:g=!1,disableElevation:b=!1,disableFocusRipple:P=!1,endIcon:$,focusVisibleClassName:T,fullWidth:R=!1,size:O="medium",startIcon:M,type:E,variant:j="text"}=c,U=(0,n.Z)(c,w),I=(0,o.Z)({},c,{color:m,component:h,disabled:g,disableElevation:b,disableFocusRipple:P,fullWidth:R,size:O,type:E,variant:j}),B=useUtilityClasses(I),N=M&&(0,S.jsx)(Z,{className:B.startIcon,ownerState:I,children:M}),W=$&&(0,S.jsx)(C,{className:B.endIcon,ownerState:I,children:$}),F=s||"";return(0,S.jsxs)(k,(0,o.Z)({ownerState:I,className:(0,a.Z)(r.className,B.root,y,F),component:h,disabled:g,focusRipple:!P,focusVisibleClassName:(0,a.Z)(B.focusVisible,T),ref:t,type:E},U,{classes:B,children:[N,d,W]}))});var $=P},8183:function(e,t,r){"use strict";r.d(t,{Z:function(){return W}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(948),u=r(1657),c=r(20),d=r(275),p=r(9632);function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var m=i.createContext(null);function getChildMapping(e,t){var r=Object.create(null);return e&&i.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,i.isValidElement)(e)?t(e):e}),r}function getProp(e,t,r){return null!=r[t]?r[t]:e.props[t]}var h=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},y=function(e){function TransitionGroup(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}TransitionGroup.prototype=Object.create(e.prototype),TransitionGroup.prototype.constructor=TransitionGroup,_setPrototypeOf(TransitionGroup,e);var t=TransitionGroup.prototype;return t.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},t.componentWillUnmount=function(){this.mounted=!1},TransitionGroup.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,a=t.handleExited;return{children:t.firstRender?getChildMapping(e.children,function(t){return(0,i.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:getProp(t,"appear",e),enter:getProp(t,"enter",e),exit:getProp(t,"exit",e)})}):(Object.keys(n=function(e,t){function getValueForKey(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var r,n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a={};for(var l in t){if(n[l])for(r=0;re,k,Z,C,P,$=(0,g.F4)(k||(k=_` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),T=(0,g.F4)(Z||(Z=_` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),R=(0,g.F4)(C||(C=_` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),O=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),M=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:d}=e,[p,m]=i.useState(!1),h=(0,a.Z)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),y=(0,a.Z)(r.child,p&&r.childLeaving,n&&r.childPulsate);return u||p||m(!0),i.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,u,d]),(0,v.jsx)("span",{className:h,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+o},children:(0,v.jsx)("span",{className:y})})},{name:"MuiTouchRipple",slot:"Ripple"})(P||(P=_` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),S.rippleVisible,$,550,({theme:e})=>e.transitions.easing.easeInOut,S.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,S.child,S.childLeaving,T,550,({theme:e})=>e.transitions.easing.easeInOut,S.childPulsate,R,({theme:e})=>e.transitions.easing.easeInOut),E=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=r,d=(0,o.Z)(r,w),[p,m]=i.useState([]),h=i.useRef(0),g=i.useRef(null);i.useEffect(()=>{g.current&&(g.current(),g.current=null)},[p]);let x=i.useRef(!1),k=(0,b.Z)(),Z=i.useRef(null),C=i.useRef(null),P=i.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:i}=e;m(e=>[...e,(0,v.jsx)(M,{classes:{ripple:(0,a.Z)(s.ripple,S.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,S.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,S.ripplePulsate),child:(0,a.Z)(s.child,S.child),childLeaving:(0,a.Z)(s.childLeaving,S.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,S.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},h.current)]),h.current+=1,g.current=i},[s]),$=i.useCallback((e={},t={},r=()=>{})=>{let n,o,i;let{pulsate:a=!1,center:s=l||t.pulsate,fakeElement:u=!1}=t;if((null==e?void 0:e.type)==="mousedown"&&x.current){x.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(x.current=!0);let c=u?null:C.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!s&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-d.left),o=Math.round(r-d.top)}else n=Math.round(d.width/2),o=Math.round(d.height/2);if(s)(i=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(i+=1);else{let e=2*Math.max(Math.abs((c?c.clientWidth:0)-n),n)+2,t=2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2;i=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===Z.current&&(Z.current=()=>{P({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},k.start(80,()=>{Z.current&&(Z.current(),Z.current=null)})):P({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},[l,P,k]),T=i.useCallback(()=>{$({},{pulsate:!0})},[$]),R=i.useCallback((e,t)=>{if(k.clear(),(null==e?void 0:e.type)==="touchend"&&Z.current){Z.current(),Z.current=null,k.start(0,()=>{R(e,t)});return}Z.current=null,m(e=>e.length>0?e.slice(1):e),g.current=t},[k]);return i.useImperativeHandle(t,()=>({pulsate:T,start:$,stop:R}),[T,$,R]),(0,v.jsx)(O,(0,n.Z)({className:(0,a.Z)(S.root,s.root,c),ref:C},d,{children:(0,v.jsx)(y,{component:null,exit:!0,children:p})}))});var j=r(5463);function getButtonBaseUtilityClass(e){return(0,j.ZP)("MuiButtonBase",e)}let U=(0,x.Z)("MuiButtonBase",["root","disabled","focusVisible"]),I=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],useUtilityClasses=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=(0,l.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},getButtonBaseUtilityClass,o);return r&&n&&(i.root+=` ${n}`),i},B=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${U.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),N=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:s=!1,children:m,className:h,component:y="button",disabled:g=!1,disableRipple:b=!1,disableTouchRipple:x=!1,focusRipple:S=!1,LinkComponent:w="a",onBlur:k,onClick:Z,onContextMenu:C,onDragLeave:P,onFocus:$,onFocusVisible:T,onKeyDown:R,onKeyUp:O,onMouseDown:M,onMouseLeave:j,onMouseUp:U,onTouchEnd:N,onTouchMove:W,onTouchStart:F,tabIndex:V=0,TouchRippleProps:L,touchRippleRef:D,type:G}=r,H=(0,o.Z)(r,I),K=i.useRef(null),q=i.useRef(null),X=(0,c.Z)(q,D),{isFocusVisibleRef:Y,onFocus:J,onBlur:Q,ref:ee}=(0,p.Z)(),[et,er]=i.useState(!1);g&&et&&er(!1),i.useImperativeHandle(l,()=>({focusVisible:()=>{er(!0),K.current.focus()}}),[]);let[en,eo]=i.useState(!1);i.useEffect(()=>{eo(!0)},[]);let ei=en&&!b&&!g;function useRippleHandler(e,t,r=x){return(0,d.Z)(n=>(t&&t(n),!r&&q.current&&q.current[e](n),!0))}i.useEffect(()=>{et&&S&&!b&&en&&q.current.pulsate()},[b,S,et,en]);let ea=useRippleHandler("start",M),el=useRippleHandler("stop",C),es=useRippleHandler("stop",P),eu=useRippleHandler("stop",U),ec=useRippleHandler("stop",e=>{et&&e.preventDefault(),j&&j(e)}),ed=useRippleHandler("start",F),ep=useRippleHandler("stop",N),ef=useRippleHandler("stop",W),em=useRippleHandler("stop",e=>{Q(e),!1===Y.current&&er(!1),k&&k(e)},!1),eh=(0,d.Z)(e=>{K.current||(K.current=e.currentTarget),J(e),!0===Y.current&&(er(!0),T&&T(e)),$&&$(e)}),isNonNativeButton=()=>{let e=K.current;return y&&"button"!==y&&!("A"===e.tagName&&e.href)},ey=i.useRef(!1),eg=(0,d.Z)(e=>{S&&!ey.current&&et&&q.current&&" "===e.key&&(ey.current=!0,q.current.stop(e,()=>{q.current.start(e)})),e.target===e.currentTarget&&isNonNativeButton()&&" "===e.key&&e.preventDefault(),R&&R(e),e.target===e.currentTarget&&isNonNativeButton()&&"Enter"===e.key&&!g&&(e.preventDefault(),Z&&Z(e))}),eb=(0,d.Z)(e=>{S&&" "===e.key&&q.current&&et&&!e.defaultPrevented&&(ey.current=!1,q.current.stop(e,()=>{q.current.pulsate(e)})),O&&O(e),Z&&e.target===e.currentTarget&&isNonNativeButton()&&" "===e.key&&!e.defaultPrevented&&Z(e)}),ev=y;"button"===ev&&(H.href||H.to)&&(ev=w);let ex={};"button"===ev?(ex.type=void 0===G?"button":G,ex.disabled=g):(H.href||H.to||(ex.role="button"),g&&(ex["aria-disabled"]=g));let eS=(0,c.Z)(t,ee,K),ew=(0,n.Z)({},r,{centerRipple:s,component:y,disabled:g,disableRipple:b,disableTouchRipple:x,focusRipple:S,tabIndex:V,focusVisible:et}),ek=useUtilityClasses(ew);return(0,v.jsxs)(B,(0,n.Z)({as:ev,className:(0,a.Z)(ek.root,h),ownerState:ew,onBlur:em,onClick:Z,onContextMenu:el,onFocus:eh,onKeyDown:eg,onKeyUp:eb,onMouseDown:ea,onMouseLeave:ec,onMouseUp:eu,onDragLeave:es,onTouchEnd:ep,onTouchMove:ef,onTouchStart:ed,ref:eS,tabIndex:g?-1:V,type:G},ex,H,{children:[m,ei?(0,v.jsx)(E,(0,n.Z)({ref:X,center:s},L)):null]}))});var W=N},2660:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(1657),u=r(948),c=r(1977),d=r(5463);function getCardActionAreaUtilityClass(e){return(0,d.ZP)("MuiCardActionArea",e)}let p=(0,c.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var m=r(8183),h=r(5893);let y=["children","className","focusVisibleClassName"],useUtilityClasses=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"],focusHighlight:["focusHighlight"]},getCardActionAreaUtilityClass,t)},g=(0,u.ZP)(m.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${p.focusVisible} .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),b=(0,u.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})})),v=i.forwardRef(function(e,t){let r=(0,s.Z)({props:e,name:"MuiCardActionArea"}),{children:i,className:l,focusVisibleClassName:u}=r,c=(0,o.Z)(r,y),d=useUtilityClasses(r);return(0,h.jsxs)(g,(0,n.Z)({className:(0,a.Z)(d.root,l),focusVisibleClassName:(0,a.Z)(u,d.focusVisible),ref:t,ownerState:r},c,{children:[i,(0,h.jsx)(b,{className:d.focusHighlight,ownerState:r})]}))});var x=v},4267:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(948),u=r(1657),c=r(1977),d=r(5463);function getCardContentUtilityClass(e){return(0,d.ZP)("MuiCardContent",e)}(0,c.Z)("MuiCardContent",["root"]);var p=r(5893);let m=["className","component"],useUtilityClasses=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"]},getCardContentUtilityClass,t)},h=(0,s.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),y=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiCardContent"}),{className:i,component:l="div"}=r,s=(0,o.Z)(r,m),c=(0,n.Z)({},r,{component:l}),d=useUtilityClasses(c);return(0,p.jsx)(h,(0,n.Z)({as:l,className:(0,a.Z)(d.root,i),ownerState:c,ref:t},s))});var g=y},8236:function(e,t,r){"use strict";r.d(t,{Z:function(){return R}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5463),s=r(8510),u=r(2908),c=r(5149),d=r(3534),p=r(8027),m=r(7172),h=r(6523);let y=["ownerState"],g=["variants"],b=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function shouldForwardProp(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,m.Z)(),lowercaseFirstLetter=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function resolveTheme({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function processStyleArg(e,t){let{ownerState:r}=t,i=(0,n.Z)(t,y),a="function"==typeof e?e((0,o.Z)({ownerState:r},i)):e;if(Array.isArray(a))return a.flatMap(e=>processStyleArg(e,(0,o.Z)({ownerState:r},i)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,n.Z)(a,g),l=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,o.Z)({ownerState:r},i,r)):Object.keys(e.props).forEach(n=>{(null==r?void 0:r[n])!==e.props[n]&&i[n]!==e.props[n]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof e.style?e.style((0,o.Z)({ownerState:r},i,r)):e.style))}),l}return a}let x=function(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:i=shouldForwardProp,slotShouldForwardProp:a=shouldForwardProp}=e,systemSx=e=>(0,h.Z)((0,o.Z)({},e,{theme:resolveTheme((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return systemSx.__mui_systemSx=!0,(e,l={})=>{var s;let u;(0,d.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:c,slot:m,skipVariantsResolver:h,skipSx:y,overridesResolver:g=(s=lowercaseFirstLetter(m))?(e,t)=>t[s]:null}=l,v=(0,n.Z)(l,b),x=void 0!==h?h:m&&"Root"!==m&&"root"!==m||!1,S=y||!1,w=shouldForwardProp;"Root"===m||"root"===m?w=i:m?w=a:"string"==typeof e&&e.charCodeAt(0)>96&&(w=void 0);let k=(0,d.default)(e,(0,o.Z)({shouldForwardProp:w,label:u},v)),transformStyleArg=e=>"function"==typeof e&&e.__emotion_real!==e||(0,p.P)(e)?n=>processStyleArg(e,(0,o.Z)({},n,{theme:resolveTheme({theme:n.theme,defaultTheme:r,themeId:t})})):e,muiStyledResolver=(n,...i)=>{let a=transformStyleArg(n),l=i?i.map(transformStyleArg):[];c&&g&&l.push(e=>{let n=resolveTheme((0,o.Z)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[c]||!n.components[c].styleOverrides)return null;let i=n.components[c].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=processStyleArg(r,(0,o.Z)({},e,{theme:n}))}),g(e,a)}),c&&!x&&l.push(e=>{var n;let i=resolveTheme((0,o.Z)({},e,{defaultTheme:r,themeId:t})),a=null==i||null==(n=i.components)||null==(n=n[c])?void 0:n.variants;return processStyleArg({variants:a},(0,o.Z)({},e,{theme:i}))}),S||l.push(systemSx);let s=l.length-i.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=k(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(muiStyledResolver.withConfig=k.withConfig),muiStyledResolver}}();var S=r(5893);let w=["className","component","disableGutters","fixed","maxWidth","classes"],k=(0,m.Z)(),Z=x("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,u.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemePropsDefault=e=>(0,c.Z)({props:e,name:"MuiContainer",defaultTheme:k}),useUtilityClasses=(e,t)=>{let{classes:r,fixed:n,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,u.Z)(String(i))}`,n&&"fixed",o&&"disableGutters"]};return(0,s.Z)(a,e=>(0,l.ZP)(t,e),r)};var C=r(8216),P=r(948),$=r(1657);let T=function(e={}){let{createStyledComponent:t=Z,useThemeProps:r=useThemePropsDefault,componentName:l="MuiContainer"}=e,s=t(({theme:e,ownerState:t})=>(0,o.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{let n=e.breakpoints.values[r];return 0!==n&&(t[e.breakpoints.up(r)]={maxWidth:`${n}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,o.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}})),u=i.forwardRef(function(e,t){let i=r(e),{className:u,component:c="div",disableGutters:d=!1,fixed:p=!1,maxWidth:m="lg"}=i,h=(0,n.Z)(i,w),y=(0,o.Z)({},i,{component:c,disableGutters:d,fixed:p,maxWidth:m}),g=useUtilityClasses(y,l);return(0,S.jsx)(s,(0,o.Z)({as:c,ownerState:y,className:(0,a.Z)(g.root,u),ref:t},h))});return u}({createStyledComponent:(0,P.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,C.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,$.Z)({props:e,name:"MuiContainer"})});var R=T},1519:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(8510),s=r(2101),u=r(948),c=r(1657),d=r(1977),p=r(5463);function getDividerUtilityClass(e){return(0,p.ZP)("MuiDivider",e)}(0,d.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var m=r(5893);let h=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],useUtilityClasses=e=>{let{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:u}=e;return(0,l.Z)({root:["root",t&&"absolute",u,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},getDividerUtilityClass,n)},y=(0,u.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,s.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>(0,o.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>(0,o.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),g=(0,u.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>(0,o.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),b=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:s,component:u=l?"div":"hr",flexItem:d=!1,light:p=!1,orientation:b="horizontal",role:v="hr"!==u?"separator":void 0,textAlign:x="center",variant:S="fullWidth"}=r,w=(0,n.Z)(r,h),k=(0,o.Z)({},r,{absolute:i,component:u,flexItem:d,light:p,orientation:b,role:v,textAlign:x,variant:S}),Z=useUtilityClasses(k);return(0,m.jsx)(y,(0,o.Z)({as:u,className:(0,a.Z)(Z.root,s),role:v,ref:t,ownerState:k},w,{children:l?(0,m.jsx)(g,{className:Z.wrapper,ownerState:k,children:l}):null}))});b.muiSkipListHighlight=!0;var v=b},1181:function(e,t,r){"use strict";r.d(t,{ZP:function(){return C}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5408),s=r(9707),u=r(8510),c=r(948),d=r(1657),p=r(9718),m=r(247),h=r(606);let y=i.createContext();var g=r(1977),b=r(5463);function getGridUtilityClass(e){return(0,b.ZP)("MuiGrid",e)}let v=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=(0,g.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...v.map(e=>`grid-xs-${e}`),...v.map(e=>`grid-sm-${e}`),...v.map(e=>`grid-md-${e}`),...v.map(e=>`grid-lg-${e}`),...v.map(e=>`grid-xl-${e}`)]);var S=r(5893);let w=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function getOffset(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function extractZeroValueBreakpointKeys({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(e=>{""===r&&0!==t[e]&&(r=e)});let n=Object.keys(e).sort((t,r)=>e[t]-e[r]);return n.slice(0,n.indexOf(r))}let k=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:n,direction:o,item:i,spacing:a,wrap:l,zeroMinWidth:s,breakpoints:u}=r,c=[];n&&(c=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];let n=[];return t.forEach(t=>{let o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])}),n}(a,u,t));let d=[];return u.forEach(e=>{let n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,s&&t.zeroMinWidth,...c,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})(({ownerState:e})=>(0,o.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap}),function({theme:e,ownerState:t}){let r=(0,l.P$)({values:t.direction,breakpoints:e.breakpoints.values});return(0,l.k9)({theme:e},r,e=>{let t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${x.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){let{container:r,rowSpacing:n}=t,o={};if(r&&0!==n){let t;let r=(0,l.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=extractZeroValueBreakpointKeys({breakpoints:e.breakpoints.values,values:r})),o=(0,l.k9)({theme:e},r,(r,n)=>{var o;let i=e.spacing(r);return"0px"!==i?{marginTop:`-${getOffset(i)}`,[`& > .${x.item}`]:{paddingTop:getOffset(i)}}:null!=(o=t)&&o.includes(n)?{}:{marginTop:0,[`& > .${x.item}`]:{paddingTop:0}}})}return o},function({theme:e,ownerState:t}){let{container:r,columnSpacing:n}=t,o={};if(r&&0!==n){let t;let r=(0,l.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=extractZeroValueBreakpointKeys({breakpoints:e.breakpoints.values,values:r})),o=(0,l.k9)({theme:e},r,(r,n)=>{var o;let i=e.spacing(r);return"0px"!==i?{width:`calc(100% + ${getOffset(i)})`,marginLeft:`-${getOffset(i)}`,[`& > .${x.item}`]:{paddingLeft:getOffset(i)}}:null!=(o=t)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${x.item}`]:{paddingLeft:0}}})}return o},function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,i)=>{let a={};if(t[i]&&(r=t[i]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let s=(0,l.P$)({values:t.columns,breakpoints:e.breakpoints.values}),u="object"==typeof s?s[i]:s;if(null==u)return n;let c=`${Math.round(r/u*1e8)/1e6}%`,d={};if(t.container&&t.item&&0!==t.columnSpacing){let r=e.spacing(t.columnSpacing);if("0px"!==r){let e=`calc(${c} + ${getOffset(r)})`;d={flexBasis:e,maxWidth:e}}}a=(0,o.Z)({flexBasis:c,flexGrow:0,maxWidth:c},d)}return 0===e.breakpoints.values[i]?Object.assign(n,a):n[e.breakpoints.up(i)]=a,n},{})}),useUtilityClasses=e=>{let{classes:t,container:r,direction:n,item:o,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:s}=e,c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];let r=[];return t.forEach(t=>{let n=e[t];if(Number(n)>0){let e=`spacing-${t}-${String(n)}`;r.push(e)}}),r}(i,s));let d=[];s.forEach(t=>{let r=e[t];r&&d.push(`grid-${t}-${String(r)}`)});let p={root:["root",r&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,u.Z)(p,getGridUtilityClass,t)},Z=i.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,p.Z)(m.Z);return e[h.Z]||e}(),u=(0,s.Z)(r),{className:c,columns:g,columnSpacing:b,component:v="div",container:x=!1,direction:Z="row",item:C=!1,rowSpacing:P,spacing:$=0,wrap:T="wrap",zeroMinWidth:R=!1}=u,O=(0,n.Z)(u,w),M=P||$,E=b||$,j=i.useContext(y),U=x?g||12:j,I={},B=(0,o.Z)({},O);l.keys.forEach(e=>{null!=O[e]&&(I[e]=O[e],delete B[e])});let N=(0,o.Z)({},u,{columns:U,container:x,direction:Z,item:C,rowSpacing:M,columnSpacing:E,wrap:T,zeroMinWidth:R,spacing:$},I,{breakpoints:l.keys}),W=useUtilityClasses(N);return(0,S.jsx)(y.Provider,{value:U,children:(0,S.jsx)(k,(0,o.Z)({ownerState:N,className:(0,a.Z)(W.root,c),as:v,ref:t},B))})});var C=Z},5861:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(9707),s=r(8510),u=r(948),c=r(1657),d=r(8216),p=r(1977),m=r(5463);function getTypographyUtilityClass(e){return(0,m.ZP)("MuiTypography",e)}(0,p.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var h=r(5893);let y=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],useUtilityClasses=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&`align${(0,d.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,s.Z)(l,getTypographyUtilityClass,a)},g=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,d.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,o.Z)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},transformDeprecatedColors=e=>v[e]||e,x=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiTypography"}),i=transformDeprecatedColors(r.color),s=(0,l.Z)((0,o.Z)({},r,{color:i})),{align:u="inherit",className:d,component:p,gutterBottom:m=!1,noWrap:v=!1,paragraph:x=!1,variant:S="body1",variantMapping:w=b}=s,k=(0,n.Z)(s,y),Z=(0,o.Z)({},s,{align:u,color:i,className:d,component:p,gutterBottom:m,noWrap:v,paragraph:x,variant:S,variantMapping:w}),C=p||(x?"p":w[S]||b[S])||"span",P=useUtilityClasses(Z);return(0,h.jsx)(g,(0,o.Z)({as:C,ref:t,ownerState:Z,className:(0,a.Z)(P.root,d)},k))});var S=x},1265:function(e,t,r){"use strict";r.d(t,{Z:function(){return styles_createTheme}});var n=r(7462),o=r(3366),i=r(8758),a=r(8027),l=r(4920),s=r(6523),u=r(7172),c=r(2101),d={black:"#000",white:"#fff"},p={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"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let x=["mode","contrastThreshold","tonalOffset"],S={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:d.white,default:d.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}},w={text:{primary:d.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:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function addLightOrDark(e,t,r,n){let o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,c.$n)(e.main,o):"dark"===t&&(e.dark=(0,c._j)(e.main,i)))}let k=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Z={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function createShadow(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let P=["none",createShadow(0,2,1,-1,0,1,1,0,0,1,3,0),createShadow(0,3,1,-2,0,2,2,0,0,1,5,0),createShadow(0,3,3,-2,0,3,4,0,0,1,8,0),createShadow(0,2,4,-1,0,4,5,0,0,1,10,0),createShadow(0,3,5,-1,0,5,8,0,0,1,14,0),createShadow(0,3,5,-1,0,6,10,0,0,1,18,0),createShadow(0,4,5,-2,0,7,10,1,0,2,16,1),createShadow(0,5,5,-3,0,8,10,1,0,3,14,2),createShadow(0,5,6,-3,0,9,12,1,0,3,16,2),createShadow(0,6,6,-3,0,10,14,1,0,4,18,3),createShadow(0,6,7,-4,0,11,15,1,0,4,20,3),createShadow(0,7,8,-4,0,12,17,2,0,5,22,4),createShadow(0,7,8,-4,0,13,19,2,0,5,24,4),createShadow(0,7,9,-4,0,14,21,2,0,5,26,4),createShadow(0,8,9,-5,0,15,22,2,0,6,28,5),createShadow(0,8,10,-5,0,16,24,2,0,6,30,5),createShadow(0,8,11,-5,0,17,26,2,0,6,32,5),createShadow(0,9,11,-5,0,18,28,2,0,7,34,6),createShadow(0,9,12,-6,0,19,29,2,0,7,36,6),createShadow(0,10,13,-6,0,20,31,3,0,8,38,7),createShadow(0,10,13,-6,0,21,33,3,0,8,40,7),createShadow(0,10,14,-6,0,22,35,3,0,8,42,7),createShadow(0,11,14,-7,0,23,36,3,0,9,44,8),createShadow(0,11,15,-7,0,24,38,3,0,9,46,8)],$=["duration","easing","delay"],T={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)"},R={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function formatMs(e){return`${Math.round(e)}ms`}function getAutoHeightDuration(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var O={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let M=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var styles_createTheme=function(e={},...t){var r;let{mixins:E={},palette:j={},transitions:U={},typography:I={}}=e,B=(0,o.Z)(e,M);if(e.vars)throw Error((0,i.Z)(18));let N=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:l=.2}=e,s=(0,o.Z)(e,x),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),k=e.secondary||function(e="light"){return"dark"===e?{main:m[200],light:m[50],dark:m[400]}:{main:m[500],light:m[300],dark:m[700]}}(t),Z=e.error||function(e="light"){return"dark"===e?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),C=e.info||function(e="light"){return"dark"===e?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(t),P=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),$=e.warning||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:"#ed6c02",light:y[500],dark:y[900]}}(t);function getContrastText(e){let t=(0,c.mi)(e,w.text.primary)>=r?w.text.primary:S.text.primary;return t}let augmentColor=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,i.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return addLightOrDark(e,"light",o,l),addLightOrDark(e,"dark",a,l),e.contrastText||(e.contrastText=getContrastText(e.main)),e},T=(0,a.Z)((0,n.Z)({common:(0,n.Z)({},d),mode:t,primary:augmentColor({color:u,name:"primary"}),secondary:augmentColor({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:augmentColor({color:Z,name:"error"}),warning:augmentColor({color:$,name:"warning"}),info:augmentColor({color:C,name:"info"}),success:augmentColor({color:P,name:"success"}),grey:p,contrastThreshold:r,getContrastText,augmentColor,tonalOffset:l},{dark:w,light:S}[t]),s);return T}(j),W=(0,u.Z)(e),F=(0,a.Z)(W,{mixins:(r=W.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}}},E)),palette:N,shadows:P.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:i=C,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:m,pxToRem:h}=r,y=(0,o.Z)(r,k),g=l/14,b=h||(e=>`${e/p*g}rem`),buildVariant=(e,t,r,o,a)=>(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:b(t),lineHeight:r},i===C?{letterSpacing:`${Math.round(1e5*(o/t))/1e5}em`}:{},a,m),v={h1:buildVariant(s,96,1.167,-1.5),h2:buildVariant(s,60,1.2,-.5),h3:buildVariant(u,48,1.167,0),h4:buildVariant(u,34,1.235,.25),h5:buildVariant(u,24,1.334,0),h6:buildVariant(c,20,1.6,.15),subtitle1:buildVariant(u,16,1.75,.15),subtitle2:buildVariant(c,14,1.57,.1),body1:buildVariant(u,16,1.5,.15),body2:buildVariant(u,14,1.43,.15),button:buildVariant(c,14,1.75,.4,Z),caption:buildVariant(u,12,1.66,.4),overline:buildVariant(u,12,2.66,1,Z),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:p,pxToRem:b,fontFamily:i,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d},v),y,{clone:!1})}(N,I),transitions:function(e){let t=(0,n.Z)({},T,e.easing),r=(0,n.Z)({},R,e.duration);return(0,n.Z)({getAutoHeightDuration,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0}=n;return(0,o.Z)(n,$),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:formatMs(i)} ${a} ${"string"==typeof l?l:formatMs(l)}`).join(",")}},e,{easing:t,duration:r})}(U),zIndex:(0,n.Z)({},O)});return F=(0,a.Z)(F,B),(F=t.reduce((e,t)=>(0,a.Z)(e,t),F)).unstable_sxConfig=(0,n.Z)({},l.Z,null==B?void 0:B.unstable_sxConfig),F.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},F}},247:function(e,t,r){"use strict";var n=r(1265);let o=(0,n.Z)();t.Z=o},606:function(e,t){"use strict";t.Z="$$material"},6206:function(e,t,r){"use strict";r.d(t,{Z:function(){return styles_rootShouldForwardProp}});var styles_rootShouldForwardProp=e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e},948:function(e,t,r){"use strict";var n=r(8128),o=r(247),i=r(606),a=r(6206);let l=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z});t.ZP=l},1657:function(e,t,r){"use strict";r.d(t,{Z:function(){return useThemeProps}});var n=r(5149),o=r(247),i=r(606);function useThemeProps({props:e,name:t}){return(0,n.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},8216:function(e,t,r){"use strict";var n=r(2908);t.Z=n.Z},7208:function(e,t,r){"use strict";r.r(t),r.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return utils_createChainedFunction},createSvgIcon:function(){return createSvgIcon},debounce:function(){return utils_debounce},deprecatedPropType:function(){return utils_deprecatedPropType},isMuiElement:function(){return utils_isMuiElement},ownerDocument:function(){return x},ownerWindow:function(){return utils_ownerWindow},requirePropFactory:function(){return utils_requirePropFactory},setRef:function(){return S},unstable_ClassNameGenerator:function(){return T},unstable_useEnhancedEffect:function(){return w},unstable_useId:function(){return utils_useId},unsupportedProp:function(){return utils_unsupportedProp},useControlled:function(){return utils_useControlled},useEventCallback:function(){return C.Z},useForkRef:function(){return P.Z},useIsFocusVisible:function(){return $.Z}});var n=r(1983),o=r(8216),utils_createChainedFunction=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})},i=r(7462),a=r(7294),l=r.t(a,2),s=r(3366),u=r(512),c=r(8510),d=r(1657),p=r(948),m=r(1977),h=r(5463);function getSvgIconUtilityClass(e){return(0,h.ZP)("MuiSvgIcon",e)}(0,m.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=r(5893);let g=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],useUtilityClasses=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,o.Z)(t)}`,`fontSize${(0,o.Z)(r)}`]};return(0,c.Z)(i,getSvgIconUtilityClass,n)},b=(0,p.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,o.Z)(r.color)}`],t[`fontSize${(0,o.Z)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,l,s,u,c,d,p,m,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),v=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:l="inherit",component:c="svg",fontSize:p="medium",htmlColor:m,inheritViewBox:h=!1,titleAccess:v,viewBox:x="0 0 24 24"}=r,S=(0,s.Z)(r,g),w=a.isValidElement(n)&&"svg"===n.type,k=(0,i.Z)({},r,{color:l,component:c,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:x,hasSvgAsChild:w}),Z={};h||(Z.viewBox=x);let C=useUtilityClasses(k);return(0,y.jsxs)(b,(0,i.Z)({as:c,className:(0,u.Z)(C.root,o),focusable:"false",color:m,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:t},Z,S,w&&n.props,{ownerState:k,children:[w?n.props.children:n,v?(0,y.jsx)("title",{children:v}):null]}))});function createSvgIcon(e,t){function Component(r,n){return(0,y.jsx)(v,(0,i.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return Component.muiName=v.muiName,a.memo(a.forwardRef(Component))}v.muiName="SvgIcon";var utils_debounce=function(e,t=166){let r;function debounced(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return debounced.clear=()=>{clearTimeout(r)},debounced},utils_deprecatedPropType=function(e,t){return()=>null},utils_isMuiElement=function(e,t){var r,n;return a.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(n=e.type)||null==(n=n._payload)||null==(n=n.value)?void 0:n.muiName)};function ownerDocument(e){return e&&e.ownerDocument||document}var x=ownerDocument,utils_ownerWindow=function(e){let t=ownerDocument(e);return t.defaultView||window},utils_requirePropFactory=function(e,t){return()=>null},S=r(5091).Z,w=r(4895).Z;let k=0,Z=l["useId".toString()];var utils_useId=function(e){if(void 0!==Z){let t=Z();return null!=e?e:t}return function(e){let[t,r]=a.useState(e),n=e||t;return a.useEffect(()=>{null==t&&(k+=1,r(`mui-${k}`))},[t]),n}(e)},utils_unsupportedProp=function(e,t,r,n,o){return null},utils_useControlled=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=a.useRef(void 0!==e),[i,l]=a.useState(t),s=o?e:i,u=a.useCallback(e=>{o||l(e)},[]);return[s,u]},C=r(275),P=r(20),$=r(9632);let T={configure:e=>{n.Z.configure(e)}}},275:function(e,t,r){"use strict";r.d(t,{Z:function(){return utils_useEventCallback}});var n=r(7294),o=r(4895),utils_useEventCallback=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},20:function(e,t,r){"use strict";r.d(t,{Z:function(){return utils_useForkRef}});var n=r(7294),o=r(5091),utils_useForkRef=function(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},9632:function(e,t,r){"use strict";r.d(t,{Z:function(){return utils_useIsFocusVisible}});var n=r(7294),o=r(9192);let i=!0,a=!1,l=new o.V,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function handleKeyDown(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function handlePointerDown(){i=!1}function handleVisibilityChange(){"hidden"===this.visibilityState&&a&&(i=!0)}var utils_useIsFocusVisible=function(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",handleKeyDown,!0),t.addEventListener("mousedown",handlePointerDown,!0),t.addEventListener("pointerdown",handlePointerDown,!0),t.addEventListener("touchstart",handlePointerDown,!0),t.addEventListener("visibilitychange",handleVisibilityChange,!0)}},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!s[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,()=>{a=!1}),t.current=!1,!0)},ref:e}}},3534:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{GlobalStyles:function(){return GlobalStyles},StyledEngineProvider:function(){return StyledEngineProvider},ThemeContext:function(){return u.T},css:function(){return h.iv},default:function(){return styled},internal_processStyles:function(){return internal_processStyles},keyframes:function(){return h.F4}});var o=r(7462),i=r(7294),a=r(5042),l=/^((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|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|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)-.*))$/,s=(0,a.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=r(6498),c=r(444),d=r(8137),p=r(7278),testOmitPropsOnComponent=function(e){return"theme"!==e},getDefaultShouldForwardProp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:testOmitPropsOnComponent},composeShouldForwardProps=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Insertion=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,p.L)(function(){return(0,c.My)(t,r,n)}),null},m=(function createStyled(e,t){var r,n,a=e.__emotion_real===e,l=a&&e.__emotion_base||e;void 0!==t&&(r=t.label,n=t.target);var s=composeShouldForwardProps(e,t,a),p=s||getDefaultShouldForwardProp(l),m=!p("as");return function(){var h=arguments,y=a&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&y.push("label:"+r+";"),null==h[0]||void 0===h[0].raw)y.push.apply(y,h);else{y.push(h[0][0]);for(var g=h.length,b=1;bt(null==e||0===Object.keys(e).length?r:e):t;return(0,g.jsx)(h.xB,{styles:n})}function styled(e,t){let r=m(e,t);return r}"object"==typeof document&&(n=(0,y.Z)({key:"css",prepend:!0}));let internal_processStyles=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},2101:function(e,t,r){"use strict";var n=r(4836);t.Fq=function(e,t){return e=decomposeColor(e),t=clampWrapper(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,recomposeColor(e)},t._j=function(e,t){if(e=decomposeColor(e),t=clampWrapper(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return recomposeColor(e)},t.mi=function(e,t){let r=getLuminance(e),n=getLuminance(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=decomposeColor(e),t=clampWrapper(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return recomposeColor(e)};var o=n(r(743)),i=n(r(9425));function clampWrapper(e,t=0,r=1){return(0,i.default)(e,t,r)}function decomposeColor(e){let t;if(e.type)return e;if("#"===e.charAt(0))return decomposeColor(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,o.default)(9,e));let i=e.substring(r+1,e.length-1);if("color"===n){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,o.default)(10,t))}else i=i.split(",");return{type:n,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function recomposeColor(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function getLuminance(e){let t="hsl"===(e=decomposeColor(e)).type||"hsla"===e.type?decomposeColor(function(e){e=decomposeColor(e);let{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),f=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),a="rgb",l=[Math.round(255*f(0)),Math.round(255*f(8)),Math.round(255*f(4))];return"hsla"===e.type&&(a+="a",l.push(t[3])),recomposeColor({type:a,values:l})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},8128:function(e,t,r){"use strict";var n=r(4836);t.ZP=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=shouldForwardProp,slotShouldForwardProp:s=shouldForwardProp}=e,systemSx=e=>(0,u.default)((0,o.default)({},e,{theme:resolveTheme((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return systemSx.__mui_systemSx=!0,(e,u={})=>{var c;let d;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:h,skipVariantsResolver:y,skipSx:g,overridesResolver:b=(c=lowercaseFirstLetter(h))?(e,t)=>t[c]:null}=u,v=(0,i.default)(u,p),x=void 0!==y?y:h&&"Root"!==h&&"root"!==h||!1,S=g||!1,w=shouldForwardProp;"Root"===h||"root"===h?w=n:h?w=s:"string"==typeof e&&e.charCodeAt(0)>96&&(w=void 0);let k=(0,a.default)(e,(0,o.default)({shouldForwardProp:w,label:d},v)),transformStyleArg=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?n=>processStyleArg(e,(0,o.default)({},n,{theme:resolveTheme({theme:n.theme,defaultTheme:r,themeId:t})})):e,muiStyledResolver=(n,...i)=>{let a=transformStyleArg(n),l=i?i.map(transformStyleArg):[];m&&b&&l.push(e=>{let n=resolveTheme((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[m]||!n.components[m].styleOverrides)return null;let i=n.components[m].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=processStyleArg(r,(0,o.default)({},e,{theme:n}))}),b(e,a)}),m&&!x&&l.push(e=>{var n;let i=resolveTheme((0,o.default)({},e,{defaultTheme:r,themeId:t})),a=null==i||null==(n=i.components)||null==(n=n[m])?void 0:n.variants;return processStyleArg({variants:a},(0,o.default)({},e,{theme:i}))}),S||l.push(systemSx);let s=l.length-i.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=k(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(muiStyledResolver.withConfig=k.withConfig),muiStyledResolver}};var o=n(r(434)),i=n(r(7071)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(3534)),l=r(211);n(r(9698)),n(r(7889));var s=n(r(9926)),u=n(r(386));let c=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function shouldForwardProp(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,s.default)(),lowercaseFirstLetter=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function resolveTheme({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function processStyleArg(e,t){let{ownerState:r}=t,n=(0,i.default)(t,c),a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>processStyleArg(e,(0,o.default)({ownerState:r},n)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,i.default)(a,d),l=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(o=>{(null==r?void 0:r[o])!==e.props[o]&&n[o]!==e.props[o]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),l}return a}},5408:function(e,t,r){"use strict";r.d(t,{L7:function(){return removeUnusedBreakpoints},P$:function(){return resolveBreakpointValues},VO:function(){return n},W8:function(){return createEmptyBreakpointObject},k9:function(){return handleBreakpoints}});let n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function handleBreakpoints(e,t,r){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i)){let n=e.up(i);o[n]=r(t[i],i)}else o[i]=t[i];return o},{})}let a=r(t);return a}function createEmptyBreakpointObject(e={}){var t;let r=null==(t=e.keys)?void 0:t.reduce((t,r)=>{let n=e.up(r);return t[n]={},t},{});return r||{}}function removeUnusedBreakpoints(e,t){return e.reduce((e,t)=>{let r=e[t],n=!r||0===Object.keys(r).length;return n&&delete e[t],e},t)}function resolveBreakpointValues({values:e,breakpoints:t,base:r}){let n;let o=r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n{null!=e[t]&&(r[t]=!0)}),r}(e,t),i=Object.keys(o);return 0===i.length?e:i.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},7064:function(e,t,r){"use strict";function applyStyles(e,t){if(this.vars&&"function"==typeof this.getColorSchemeSelector){let r=this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return this.palette.mode===e?t:{}}r.d(t,{Z:function(){return applyStyles}})},1512:function(e,t,r){"use strict";r.d(t,{Z:function(){return createBreakpoints}});var n=r(3366),o=r(7462);let i=["values","unit","step"],sortBreakpointsValues=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function createBreakpoints(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:a=5}=e,l=(0,n.Z)(e,i),s=sortBreakpointsValues(t),u=Object.keys(s);function up(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function down(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-a/100}${r})`}function between(e,n){let o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-a/100}${r})`}return(0,o.Z)({keys:u,values:s,up,down,between,only:function(e){return u.indexOf(e)+1{let r=0===e.length?[1]:e;return r.map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return spacing.mui=!0,spacing}(h),x=(0,i.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},m),spacing:v,shape:(0,n.Z)({},l,y)},g);return x.applyStyles=d.Z,(x=t.reduce((e,t)=>(0,i.Z)(e,t),x)).unstable_sxConfig=(0,n.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),x.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},x}},9926:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return o.Z},unstable_applyStyles:function(){return i.Z}});var n=r(7172),o=r(1512),i=r(7064)},7730:function(e,t,r){"use strict";var n=r(8027);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},8700:function(e,t,r){"use strict";r.d(t,{hB:function(){return createUnarySpacing},eI:function(){return createUnaryUnit},NA:function(){return getValue},e6:function(){return margin},o3:function(){return padding}});var n=r(5408),o=r(4844),i=r(7730);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...d];function createUnaryUnit(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function createUnarySpacing(e){return createUnaryUnit(e,"spacing",8,"spacing")}function getValue(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function spacing_style(e,t){let r=createUnarySpacing(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){if(-1===t.indexOf(r))return null;let i=u(r),a=e[r];return(0,n.k9)(e,a,e=>i.reduce((t,r)=>(t[r]=getValue(o,e),t),{}))})(e,t,o,r)).reduce(i.Z,{})}function margin(e){return spacing_style(e,c)}function padding(e){return spacing_style(e,d)}function spacing(e){return spacing_style(e,p)}margin.propTypes={},margin.filterProps=c,padding.propTypes={},padding.filterProps=d,spacing.propTypes={},spacing.filterProps=p},4844:function(e,t,r){"use strict";r.d(t,{DW:function(){return getPath},Jq:function(){return getStyleValue}});var n=r(2908),o=r(5408);function getPath(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function getStyleValue(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:getPath(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:i,transform:a}=e,fn=e=>{if(null==e[t])return null;let l=e[t],s=e.theme,u=getPath(s,i)||{};return(0,o.k9)(e,l,e=>{let o=getStyleValue(u,a,e);return(e===o&&"string"==typeof e&&(o=getStyleValue(u,a,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return fn.propTypes={},fn.filterProps=[t],fn}},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return F}});var n=r(8700),o=r(4844),i=r(7730),esm_compose=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),fn=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return fn.propTypes={},fn.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),fn},a=r(5408);function borderTransform(e){return"number"!=typeof e?e:`${e}px solid`}function createBorderStyle(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let l=createBorderStyle("border",borderTransform),s=createBorderStyle("borderTop",borderTransform),u=createBorderStyle("borderRight",borderTransform),c=createBorderStyle("borderBottom",borderTransform),d=createBorderStyle("borderLeft",borderTransform),p=createBorderStyle("borderColor"),m=createBorderStyle("borderTopColor"),h=createBorderStyle("borderRightColor"),y=createBorderStyle("borderBottomColor"),g=createBorderStyle("borderLeftColor"),b=createBorderStyle("outline",borderTransform),v=createBorderStyle("outlineColor"),borderRadius=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,a.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};borderRadius.propTypes={},borderRadius.filterProps=["borderRadius"],esm_compose(l,s,u,c,d,p,m,h,y,g,borderRadius,b,v);let gap=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,a.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};gap.propTypes={},gap.filterProps=["gap"];let columnGap=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,a.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};columnGap.propTypes={},columnGap.filterProps=["columnGap"];let rowGap=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,a.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};rowGap.propTypes={},rowGap.filterProps=["rowGap"];let x=(0,o.ZP)({prop:"gridColumn"}),S=(0,o.ZP)({prop:"gridRow"}),w=(0,o.ZP)({prop:"gridAutoFlow"}),k=(0,o.ZP)({prop:"gridAutoColumns"}),Z=(0,o.ZP)({prop:"gridAutoRows"}),C=(0,o.ZP)({prop:"gridTemplateColumns"}),P=(0,o.ZP)({prop:"gridTemplateRows"}),$=(0,o.ZP)({prop:"gridTemplateAreas"}),T=(0,o.ZP)({prop:"gridArea"});function paletteTransform(e,t){return"grey"===t?t:e}esm_compose(gap,columnGap,rowGap,x,S,w,k,Z,C,P,$,T);let R=(0,o.ZP)({prop:"color",themeKey:"palette",transform:paletteTransform}),O=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:paletteTransform}),M=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:paletteTransform});function sizingTransform(e){return e<=1&&0!==e?`${100*e}%`:e}esm_compose(R,O,M);let E=(0,o.ZP)({prop:"width",transform:sizingTransform}),maxWidth=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,a.k9)(e,e.maxWidth,t=>{var r,n;let o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||a.VO[t];return o?(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:sizingTransform(t)}}):null;maxWidth.filterProps=["maxWidth"];let j=(0,o.ZP)({prop:"minWidth",transform:sizingTransform}),U=(0,o.ZP)({prop:"height",transform:sizingTransform}),I=(0,o.ZP)({prop:"maxHeight",transform:sizingTransform}),B=(0,o.ZP)({prop:"minHeight",transform:sizingTransform});(0,o.ZP)({prop:"size",cssProperty:"width",transform:sizingTransform}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:sizingTransform});let N=(0,o.ZP)({prop:"boxSizing"});esm_compose(E,maxWidth,j,U,I,B,N);let W={border:{themeKey:"borders",transform:borderTransform},borderTop:{themeKey:"borders",transform:borderTransform},borderRight:{themeKey:"borders",transform:borderTransform},borderBottom:{themeKey:"borders",transform:borderTransform},borderLeft:{themeKey:"borders",transform:borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:borderRadius},color:{themeKey:"palette",transform:paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:paletteTransform},backgroundColor:{themeKey:"palette",transform:paletteTransform},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gap},rowGap:{style:rowGap},columnGap:{style:columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:sizingTransform},maxWidth:{style:maxWidth},minWidth:{transform:sizingTransform},height:{transform:sizingTransform},maxHeight:{transform:sizingTransform},minHeight:{transform:sizingTransform},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var F=W},9707:function(e,t,r){"use strict";r.d(t,{Z:function(){return extendSxProp}});var n=r(7462),o=r(3366),i=r(8027),a=r(4920);let l=["sx"],splitProps=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function extendSxProp(e){let t;let{sx:r}=e,a=(0,o.Z)(e,l),{systemProps:s,otherProps:u}=splitProps(a);return t=Array.isArray(r)?[s,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},s,t):s}:(0,n.Z)({},s,r),(0,n.Z)({},u,{sx:t})}},386:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return o.Z},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return i.Z}});var n=r(6523),o=r(9707),i=r(4920)},6523:function(e,t,r){"use strict";r.d(t,{n:function(){return unstable_createStyleFunctionSx}});var n=r(2908),o=r(7730),i=r(4844),a=r(5408),l=r(4920);function unstable_createStyleFunctionSx(){function getThemeValue(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:p}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let m=(0,i.DW)(r,c)||{};return p?p(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(m,d,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(m,d,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function styleFunctionSx(e){var t;let{sx:r,theme:n={}}=e||{};if(!r)return null;let i=null!=(t=n.unstable_sxConfig)?t:l.Z;function traverse(e){let t=e;if("function"==typeof e)t=e(n);else if("object"!=typeof e)return e;if(!t)return null;let r=(0,a.W8)(n.breakpoints),l=Object.keys(r),s=r;return Object.keys(t).forEach(e=>{var r;let l="function"==typeof(r=t[e])?r(n):r;if(null!=l){if("object"==typeof l){if(i[e])s=(0,o.Z)(s,getThemeValue(e,l,n,i));else{let t=(0,a.k9)({theme:n},l,t=>({[e]:t}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(t,l)?s[e]=styleFunctionSx({sx:l,theme:n}):s=(0,o.Z)(s,t)}}else s=(0,o.Z)(s,getThemeValue(e,l,n,i))}}),(0,a.L7)(l,s)}return Array.isArray(r)?r.map(traverse):traverse(r)}}let s=unstable_createStyleFunctionSx();s.filterProps=["sx"],t.Z=s},9718:function(e,t,r){"use strict";r.d(t,{Z:function(){return esm_useTheme}});var n=r(7172),o=r(7294),i=r(6498),useThemeWithoutDefault=function(e=null){let t=o.useContext(i.T);return t&&0!==Object.keys(t).length?t:e};let a=(0,n.Z)();var esm_useTheme=function(e=a){return useThemeWithoutDefault(e)}},5149:function(e,t,r){"use strict";r.d(t,{Z:function(){return useThemeProps}});var n=r(2236),o=r(9718);function useThemeProps({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);i&&(a=a[i]||a);let l=function(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}({theme:a,name:t,props:e});return l}},1983:function(e,t){"use strict";let r;let defaultGenerator=e=>e,n=(r=defaultGenerator,{configure(e){r=e},generate:e=>r(e),reset(){r=defaultGenerator}});t.Z=n},2908:function(e,t,r){"use strict";r.d(t,{Z:function(){return capitalize}});var n=r(8758);function capitalize(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(2908)},9425:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return clamp_clamp}});var clamp_clamp=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},8510:function(e,t,r){"use strict";function composeClasses(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}r.d(t,{Z:function(){return composeClasses}})},8027:function(e,t,r){"use strict";r.d(t,{P:function(){return isPlainObject},Z:function(){return function deepmerge(e,t,r={clone:!0}){let o=r.clone?(0,n.Z)({},e):e;return isPlainObject(e)&&isPlainObject(t)&&Object.keys(t).forEach(n=>{"__proto__"!==n&&(isPlainObject(t[n])&&n in e&&isPlainObject(e[n])?o[n]=deepmerge(e[n],t[n],r):r.clone?o[n]=isPlainObject(t[n])?function deepClone(e){if(!isPlainObject(e))return e;let t={};return Object.keys(e).forEach(r=>{t[r]=deepClone(e[r])}),t}(t[n]):t[n]:o[n]=t[n])}),o}}});var n=r(7462);function isPlainObject(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},211:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(8027)},8758:function(e,t,r){"use strict";function formatMuiErrorMessage(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,n.ZP)(e,t,r)}),o}},7889:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return getDisplayName},getFunctionName:function(){return getFunctionName}});var n=r(9864);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function getFunctionName(e){let t=`${e}`.match(o),r=t&&t[1];return r||""}function getFunctionComponentName(e,t=""){return e.displayName||e.name||getFunctionName(e)||t}function getWrappedName(e,t,r){let n=getFunctionComponentName(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function getDisplayName(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return getFunctionComponentName(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return getWrappedName(e,e.render,"ForwardRef");case n.Memo:return getWrappedName(e,e.type,"memo")}}}},2236:function(e,t,r){"use strict";r.d(t,{Z:function(){return function resolveProps(e,t){let r=(0,n.Z)({},t);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))r[o]=(0,n.Z)({},e[o],r[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let i=e[o]||{},a=t[o];r[o]={},a&&Object.keys(a)?i&&Object.keys(i)?(r[o]=(0,n.Z)({},a),Object.keys(i).forEach(e=>{r[o][e]=resolveProps(i[e],a[e])})):r[o]=a:r[o]=i}else void 0===r[o]&&(r[o]=e[o])}),r}}});var n=r(7462)},5091:function(e,t,r){"use strict";function setRef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return setRef}})},4895:function(e,t,r){"use strict";var n=r(7294);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},9192:function(e,t,r){"use strict";r.d(t,{V:function(){return Timeout},Z:function(){return useTimeout}});var n=r(7294);let o={},i=[];let Timeout=class Timeout{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Timeout}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}};function useTimeout(){var e;let t=function(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(void 0)),r}(Timeout.create).current;return e=t.disposeEffect,n.useEffect(e,i),t}},8679:function(e,t,r){"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function getStatics(e){return n.isMemo(e)?a:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=a;var s=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function hoistNonReactStatics(e,t,r){if("string"!=typeof t){if(m){var n=p(t);n&&n!==m&&hoistNonReactStatics(e,n,r)}var o=u(t);c&&(o=o.concat(c(t)));for(var a=getStatics(e),l=getStatics(t),h=0;h=0)continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},7462:function(e,t,r){"use strict";function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return _objectWithoutPropertiesLoose}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/150-708d8be8634999a9.js b/_next/static/chunks/150-708d8be8634999a9.js new file mode 100644 index 0000000..4fb99ec --- /dev/null +++ b/_next/static/chunks/150-708d8be8634999a9.js @@ -0,0 +1,89 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?h[Z]+" "+k:l(k,/&\f/g,h[Z])).trim())&&(f[x++]=w);return b(e,t,r,0===i?R:u,f,d,p)}function z(e,t,r,n){return b(e,t,r,M,c(e,0,n),c(e,n+1,-1),n)}var I=function(e,t,r){for(var n=0,o=0;n=o,o=k(),38===n&&12===o&&(t[r]=1),!w(o);)Z();return c(v,e,g)},N=function(e,t){var r=-1,n=44;do switch(w(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=I(g-1,t,r);break;case 2:e[r]+=$(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=Z());return e},W=function(e,t){var r;return r=N(S(e),t),v="",r},B=new WeakMap,L=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||B.get(r))&&!n){B.set(e,!0);for(var o=[],i=W(t,o),a=r.props,l=0,s=0;l-1&&!e.return)switch(e.type){case M:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return O+"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 O+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return O+t+P+t+C+t+t;case 6828:case 4268:return O+t+C+t+t;case 6165:return O+t+C+"flex-"+t+t;case 5187:return O+t+l(t,/(\w+).+(:[^]+)/,O+"box-$1$2"+C+"flex-$1$2")+t;case 5443:return O+t+C+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return O+t+C+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return O+t+C+l(t,"shrink","negative")+t;case 5292:return O+t+C+l(t,"basis","preferred-size")+t;case 6060:return O+"box-"+l(t,"-grow","")+O+t+C+l(t,"grow","positive")+t;case 4554:return O+l(t,/([^-])(transform)/g,"$1"+O+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,O+"$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(f(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+P+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~s(t,"stretch")?e(l(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,f(t)-3-(~s(t,"!important")&&10))){case 107:return l(t,":",":"+O)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===u(t,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+C+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return O+t+C+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return O+t+C+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return O+t+C+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return O+t+C+t+t}return t}(e.value,e.length);break;case E:return _([x(e,{value:l(e.value,"@","@"+O)})],n);case R:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return _([x(e,{props:[l(t,/:(read-\w+)/,":"+P+"$1")]})],n);case"::placeholder":return _([x(e,{props:[l(t,/:(plac\w+)/,":"+O+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":"+P+"$1")]}),x(e,{props:[l(t,/:(plac\w+)/,C+"input-$1")]})],n)}return""}).join("")}}],D=function(e){var t,r,o,a,h,x=e.key;if("css"===x){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var P=e.stylisPlugins||V,O={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||w(y)>3?"":" "}(j);break;case 92:G+=function(e,t){for(var r;--t&&Z()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==k()&&32==Z()),c(v,e,r)}(g-1,7);continue;case 47:switch(k()){case 42:case 47:d(b(P=function(e,t){for(;Z();)if(e+y===57)break;else if(e+y===84&&47===k())break;return"/*"+c(v,t,g-1)+"*"+i(47===e?e:Z())}(Z(),g),r,n,A,i(y),c(P,2,-2),0),C);break;default:G+="/"}break;case 123*I:S[O++]=f(G)*W;case 125*I:case 59:case 0:switch(B){case 0:case 125:N=0;case 59+R:-1==W&&(G=l(G,/\f/g,"")),_>0&&f(G)-M&&d(_>32?z(G+";",o,n,M-1):z(l(G," ","")+";",o,n,M-2),C);break;case 59:G+=";";default:if(d(D=T(G,r,n,O,R,a,S,L,F=[],V=[],M),h),123===B){if(0===R)e(G,r,D,D,F,h,M,S,V);else switch(99===E&&110===u(G,3)?100:E){case 100:case 108:case 109:case 115:e(t,D,D,o&&d(T(t,D,D,0,0,a,S,L,a,F=[],M),V),a,V,M,S,o?F:V);break;default:e(G,D,D,D,[""],V,0,S,V)}}}O=R=_=0,I=W=1,L=G="",M=x;break;case 58:M=1+f(G),_=j;default:if(I<1){if(123==B)--I;else if(125==B&&0==I++&&125==(y=g>0?u(v,--g):0,m--,10===y&&(m=1,p--),y))continue}switch(G+=i(B),B*I){case 38:W=R>0?1:(G+="\f",-1);break;case 44:S[O++]=(f(G)-1)*W,W=1;break;case 64:45===k()&&(G+=$(Z())),E=k(),R=M=f(L=G+=function(e){for(;!w(k());)Z();return c(v,e,g)}(g)),B++;break;case 45:45===j&&2==f(G)&&(I=0)}}return h}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",r),M)},I={key:x,sheet:new n({key:x,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:O,registered:{},insert:function(e,t,r,n){h=r,E(e?e+"{"+t.styles+"}":t.styles),n&&(I.inserted[t.name]=!0)}};return I.sheet.hydrate(R),I}},5042:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},6498:function(e,t,r){"use strict";r.d(t,{C:function(){return l},T:function(){return u},i:function(){return i},w:function(){return s}});var n=r(7294),o=r(8417);r(8137),r(7278);var i=!0,a=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),l=a.Provider,s=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(a),r)})};i||(s=function(e){return function(t){var r=(0,n.useContext)(a);return null===r?(r=(0,o.Z)({key:"css"}),n.createElement(a.Provider,{value:r},e(t,r))):e(t,r)}});var u=n.createContext({})},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return c},iv:function(){return u},xB:function(){return s}});var n=r(6498),o=r(7294),i=r(444),a=r(7278),l=r(8137);r(8417),r(8679);var s=(0,n.w)(function(e,t){var r=e.styles,s=(0,l.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var u,c=s.name,f=s.styles,d=s.next;void 0!==d;)c+=" "+d.name,f+=d.styles,d=d.next;var p=!0===t.compat,m=t.insert("",{name:c,styles:f},t.sheet,p);return p?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:m},u.nonce=t.sheet.nonce,u))}var h=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),h.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=h.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==s.next&&(0,i.My)(t,s.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",s,r,!1)},[t,s.name]),null});function u(){for(var e=arguments.length,t=Array(e),r=0;r=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},7278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return l}});var n,o=r(7294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},444:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},5449:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0,function(e,t){if((t||!e||!e.__esModule)&&null!==e&&("object"==typeof e||"function"==typeof e)){var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}n.default=e,r&&r.set(e,n)}}(r(7294));var o=n(r(4938)),i=r(5893);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub")},7600:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0;var o=n(r(4938)),i=r(5893);t.Z=(0,o.default)([(0,i.jsx)("path",{d:"M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1m0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5z"},"0"),(0,i.jsx)("path",{d:"M17.5 10.5c.88 0 1.73.09 2.5.26V9.24c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99M13 12.49v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26V11.9c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.3-4.5.83m4.5 1.84c-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26v-1.52c-.79-.16-1.64-.24-2.5-.24"},"1")],"MenuBook")},4938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(7208)},5616:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(3534),s=r(6523),u=r(9707),c=r(9718),f=r(5893);let d=["className","component"];var p=r(1983),m=r(1265),h=r(606);let g=(0,r(1977).Z)("MuiBox",["root"]),y=(0,m.Z)();var v=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:p="MuiBox-root",generateClassName:m}=e,h=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z);return i.forwardRef(function(e,i){let l=(0,c.Z)(r),s=(0,u.Z)(e),{className:g,component:y="div"}=s,v=(0,o.Z)(s,d);return(0,f.jsx)(h,(0,n.Z)({as:y,ref:i,className:(0,a.Z)(g,m?m(p):p),theme:t&&l[t]||l},v))})}({themeId:h.Z,defaultTheme:y,defaultClassName:g.root,generateClassName:p.Z.generate})},8183:function(e,t,r){"use strict";r.d(t,{Z:function(){return F}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(948),u=r(1657),c=r(20),f=r(275),d=r(9632);function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var m=i.createContext(null);function h(e,t){var r=Object.create(null);return e&&i.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,i.isValidElement)(e)?t(e):e}),r}function g(e,t,r){return null!=r[t]?r[t]:e.props[t]}var y=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},v=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,a=t.handleExited;return{children:t.firstRender?h(e.children,function(t){return(0,i.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:g(t,"appear",e),enter:g(t,"enter",e),exit:g(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(n=0;ne,C,P,O,A,R=(0,b.F4)(C||(C=$` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),M=(0,b.F4)(P||(P=$` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),E=(0,b.F4)(O||(O=$` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),_=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),j=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:f}=e,[d,p]=i.useState(!1),m=(0,a.Z)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h=(0,a.Z)(r.child,d&&r.childLeaving,n&&r.childPulsate);return u||d||p(!0),i.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,f);return()=>{clearTimeout(e)}}},[c,u,f]),(0,Z.jsx)("span",{className:m,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+o},children:(0,Z.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})(A||(A=$` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),w.rippleVisible,R,550,({theme:e})=>e.transitions.easing.easeInOut,w.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,w.child,w.childLeaving,M,550,({theme:e})=>e.transitions.easing.easeInOut,w.childPulsate,E,({theme:e})=>e.transitions.easing.easeInOut),T=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=r,f=(0,o.Z)(r,S),[d,p]=i.useState([]),m=i.useRef(0),h=i.useRef(null);i.useEffect(()=>{h.current&&(h.current(),h.current=null)},[d]);let g=i.useRef(!1),y=(0,x.Z)(),b=i.useRef(null),k=i.useRef(null),$=i.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:i}=e;p(e=>[...e,(0,Z.jsx)(j,{classes:{ripple:(0,a.Z)(s.ripple,w.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,w.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,w.ripplePulsate),child:(0,a.Z)(s.child,w.child),childLeaving:(0,a.Z)(s.childLeaving,w.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,w.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},m.current)]),m.current+=1,h.current=i},[s]),C=i.useCallback((e={},t={},r=()=>{})=>{let n,o,i;let{pulsate:a=!1,center:s=l||t.pulsate,fakeElement:u=!1}=t;if((null==e?void 0:e.type)==="mousedown"&&g.current){g.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(g.current=!0);let c=u?null:k.current,f=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!s&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-f.left),o=Math.round(r-f.top)}else n=Math.round(f.width/2),o=Math.round(f.height/2);s?(i=Math.sqrt((2*f.width**2+f.height**2)/3))%2==0&&(i+=1):i=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-n),n)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2)**2),null!=e&&e.touches?null===b.current&&(b.current=()=>{$({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},y.start(80,()=>{b.current&&(b.current(),b.current=null)})):$({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},[l,$,y]),P=i.useCallback(()=>{C({},{pulsate:!0})},[C]),O=i.useCallback((e,t)=>{if(y.clear(),(null==e?void 0:e.type)==="touchend"&&b.current){b.current(),b.current=null,y.start(0,()=>{O(e,t)});return}b.current=null,p(e=>e.length>0?e.slice(1):e),h.current=t},[y]);return i.useImperativeHandle(t,()=>({pulsate:P,start:C,stop:O}),[P,C,O]),(0,Z.jsx)(_,(0,n.Z)({className:(0,a.Z)(w.root,s.root,c),ref:k},f,{children:(0,Z.jsx)(v,{component:null,exit:!0,children:d})}))});var z=r(5463);function I(e){return(0,z.ZP)("MuiButtonBase",e)}let N=(0,k.Z)("MuiButtonBase",["root","disabled","focusVisible"]),W=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],B=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=(0,l.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},I,o);return r&&n&&(i.root+=` ${n}`),i},L=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${N.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var F=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:s=!1,children:p,className:m,component:h="button",disabled:g=!1,disableRipple:y=!1,disableTouchRipple:v=!1,focusRipple:b=!1,LinkComponent:x="a",onBlur:k,onClick:w,onContextMenu:S,onDragLeave:$,onFocus:C,onFocusVisible:P,onKeyDown:O,onKeyUp:A,onMouseDown:R,onMouseLeave:M,onMouseUp:E,onTouchEnd:_,onTouchMove:j,onTouchStart:z,tabIndex:I=0,TouchRippleProps:N,touchRippleRef:F,type:V}=r,D=(0,o.Z)(r,W),G=i.useRef(null),H=i.useRef(null),K=(0,c.Z)(H,F),{isFocusVisibleRef:q,onFocus:U,onBlur:X,ref:Y}=(0,d.Z)(),[J,Q]=i.useState(!1);g&&J&&Q(!1),i.useImperativeHandle(l,()=>({focusVisible:()=>{Q(!0),G.current.focus()}}),[]);let[ee,et]=i.useState(!1);i.useEffect(()=>{et(!0)},[]);let er=ee&&!y&&!g;function en(e,t,r=v){return(0,f.Z)(n=>(t&&t(n),!r&&H.current&&H.current[e](n),!0))}i.useEffect(()=>{J&&b&&!y&&ee&&H.current.pulsate()},[y,b,J,ee]);let eo=en("start",R),ei=en("stop",S),ea=en("stop",$),el=en("stop",E),es=en("stop",e=>{J&&e.preventDefault(),M&&M(e)}),eu=en("start",z),ec=en("stop",_),ef=en("stop",j),ed=en("stop",e=>{X(e),!1===q.current&&Q(!1),k&&k(e)},!1),ep=(0,f.Z)(e=>{G.current||(G.current=e.currentTarget),U(e),!0===q.current&&(Q(!0),P&&P(e)),C&&C(e)}),em=()=>{let e=G.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},eh=i.useRef(!1),eg=(0,f.Z)(e=>{b&&!eh.current&&J&&H.current&&" "===e.key&&(eh.current=!0,H.current.stop(e,()=>{H.current.start(e)})),e.target===e.currentTarget&&em()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&em()&&"Enter"===e.key&&!g&&(e.preventDefault(),w&&w(e))}),ey=(0,f.Z)(e=>{b&&" "===e.key&&H.current&&J&&!e.defaultPrevented&&(eh.current=!1,H.current.stop(e,()=>{H.current.pulsate(e)})),A&&A(e),w&&e.target===e.currentTarget&&em()&&" "===e.key&&!e.defaultPrevented&&w(e)}),ev=h;"button"===ev&&(D.href||D.to)&&(ev=x);let eb={};"button"===ev?(eb.type=void 0===V?"button":V,eb.disabled=g):(D.href||D.to||(eb.role="button"),g&&(eb["aria-disabled"]=g));let ex=(0,c.Z)(t,Y,G),eZ=(0,n.Z)({},r,{centerRipple:s,component:h,disabled:g,disableRipple:y,disableTouchRipple:v,focusRipple:b,tabIndex:I,focusVisible:J}),ek=B(eZ);return(0,Z.jsxs)(L,(0,n.Z)({as:ev,className:(0,a.Z)(ek.root,m),ownerState:eZ,onBlur:ed,onClick:w,onContextMenu:ei,onFocus:ep,onKeyDown:eg,onKeyUp:ey,onMouseDown:eo,onMouseLeave:es,onMouseUp:el,onDragLeave:ea,onTouchEnd:ec,onTouchMove:ef,onTouchStart:eu,ref:ex,tabIndex:g?-1:I,type:V},eb,D,{children:[p,er?(0,Z.jsx)(T,(0,n.Z)({ref:K,center:s},N)):null]}))})},9417:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(2236),s=r(8510),u=r(2101),c=r(948),f=r(6206),d=r(1657),p=r(8183),m=r(8216),h=r(1977),g=r(5463);function y(e){return(0,g.ZP)("MuiButton",e)}let v=(0,h.Z)("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"]),b=i.createContext({}),x=i.createContext(void 0);var Z=r(5893);let k=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],w=e=>{let{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,classes:l}=e,u={root:["root",a,`${a}${(0,m.Z)(t)}`,`size${(0,m.Z)(i)}`,`${a}Size${(0,m.Z)(i)}`,`color${(0,m.Z)(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,m.Z)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,m.Z)(i)}`]},c=(0,s.Z)(u,y,l);return(0,o.Z)({},l,c)},S=e=>(0,o.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),$=(0,c.ZP)(p.Z,{shouldForwardProp:e=>(0,f.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,m.Z)(r.color)}`],t[`size${(0,m.Z)(r.size)}`],t[`${r.variant}Size${(0,m.Z)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;let i="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,o.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${v.focusVisible}`]:(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${v.disabled}`]:(0,o.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,u.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}}),C=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,m.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},S(e))),P=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,m.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},S(e)));var O=i.forwardRef(function(e,t){let r=i.useContext(b),s=i.useContext(x),u=(0,l.Z)(r,e),c=(0,d.Z)({props:u,name:"MuiButton"}),{children:f,color:p="primary",component:m="button",className:h,disabled:g=!1,disableElevation:y=!1,disableFocusRipple:v=!1,endIcon:S,focusVisibleClassName:O,fullWidth:A=!1,size:R="medium",startIcon:M,type:E,variant:_="text"}=c,j=(0,n.Z)(c,k),T=(0,o.Z)({},c,{color:p,component:m,disabled:g,disableElevation:y,disableFocusRipple:v,fullWidth:A,size:R,type:E,variant:_}),z=w(T),I=M&&(0,Z.jsx)(C,{className:z.startIcon,ownerState:T,children:M}),N=S&&(0,Z.jsx)(P,{className:z.endIcon,ownerState:T,children:S});return(0,Z.jsxs)($,(0,o.Z)({ownerState:T,className:(0,a.Z)(r.className,z.root,h,s||""),component:m,disabled:g,focusRipple:!v,focusVisibleClassName:(0,a.Z)(z.focusVisible,O),ref:t,type:E},j,{classes:z,children:[I,f,N]}))})},9974:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(1657),u=r(948),c=r(1977),f=r(5463);function d(e){return(0,f.ZP)("MuiCardActionArea",e)}let p=(0,c.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var m=r(8183),h=r(5893);let g=["children","className","focusVisibleClassName"],y=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"],focusHighlight:["focusHighlight"]},d,t)},v=(0,u.ZP)(m.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${p.focusVisible} .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),b=(0,u.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}));var x=i.forwardRef(function(e,t){let r=(0,s.Z)({props:e,name:"MuiCardActionArea"}),{children:i,className:l,focusVisibleClassName:u}=r,c=(0,o.Z)(r,g),f=y(r);return(0,h.jsxs)(v,(0,n.Z)({className:(0,a.Z)(f.root,l),focusVisibleClassName:(0,a.Z)(u,f.focusVisible),ref:t,ownerState:r},c,{children:[i,(0,h.jsx)(b,{className:f.focusHighlight,ownerState:r})]}))})},4267:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(948),u=r(1657),c=r(1977),f=r(5463);function d(e){return(0,f.ZP)("MuiCardContent",e)}(0,c.Z)("MuiCardContent",["root"]);var p=r(5893);let m=["className","component"],h=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"]},d,t)},g=(0,s.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}}));var y=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiCardContent"}),{className:i,component:l="div"}=r,s=(0,o.Z)(r,m),c=(0,n.Z)({},r,{component:l}),f=h(c);return(0,p.jsx)(g,(0,n.Z)({as:l,className:(0,a.Z)(f.root,i),ownerState:c,ref:t},s))})},8236:function(e,t,r){"use strict";r.d(t,{Z:function(){return _}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5463),s=r(8510),u=r(2908),c=r(5149),f=r(3534),d=r(8027),p=r(7172),m=r(6523);let h=["ownerState"],g=["variants"],y=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let b=(0,p.Z)(),x=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Z({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function k(e,t){let{ownerState:r}=t,i=(0,n.Z)(t,h),a="function"==typeof e?e((0,o.Z)({ownerState:r},i)):e;if(Array.isArray(a))return a.flatMap(e=>k(e,(0,o.Z)({ownerState:r},i)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,n.Z)(a,g);return e.forEach(e=>{let n=!0;"function"==typeof e.props?n=e.props((0,o.Z)({ownerState:r},i,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&i[t]!==e.props[t]&&(n=!1)}),n&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.Z)({ownerState:r},i,r)):e.style))}),t}return a}let w=function(e={}){let{themeId:t,defaultTheme:r=b,rootShouldForwardProp:i=v,slotShouldForwardProp:a=v}=e,l=e=>(0,m.Z)((0,o.Z)({},e,{theme:Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return l.__mui_systemSx=!0,(e,s={})=>{var u;let c;(0,f.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:p,slot:m,skipVariantsResolver:h,skipSx:g,overridesResolver:b=(u=x(m))?(e,t)=>t[u]:null}=s,w=(0,n.Z)(s,y),S=void 0!==h?h:m&&"Root"!==m&&"root"!==m||!1,$=g||!1,C=v;"Root"===m||"root"===m?C=i:m?C=a:"string"==typeof e&&e.charCodeAt(0)>96&&(C=void 0);let P=(0,f.default)(e,(0,o.Z)({shouldForwardProp:C,label:c},w)),O=e=>"function"==typeof e&&e.__emotion_real!==e||(0,d.P)(e)?n=>k(e,(0,o.Z)({},n,{theme:Z({theme:n.theme,defaultTheme:r,themeId:t})})):e,A=(n,...i)=>{let a=O(n),s=i?i.map(O):[];p&&b&&s.push(e=>{let n=Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;let i=n.components[p].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=k(r,(0,o.Z)({},e,{theme:n}))}),b(e,a)}),p&&!S&&s.push(e=>{var n;let i=Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return k({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.Z)({},e,{theme:i}))}),$||s.push(l);let u=s.length-i.length;if(Array.isArray(n)&&u>0){let e=Array(u).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let c=P(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return P.withConfig&&(A.withConfig=P.withConfig),A}}();var S=r(5893);let $=["className","component","disableGutters","fixed","maxWidth","classes"],C=(0,p.Z)(),P=w("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,u.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),O=e=>(0,c.Z)({props:e,name:"MuiContainer",defaultTheme:C}),A=(e,t)=>{let{classes:r,fixed:n,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,u.Z)(String(i))}`,n&&"fixed",o&&"disableGutters"]};return(0,s.Z)(a,e=>(0,l.ZP)(t,e),r)};var R=r(8216),M=r(948),E=r(1657),_=function(e={}){let{createStyledComponent:t=P,useThemeProps:r=O,componentName:l="MuiContainer"}=e,s=t(({theme:e,ownerState:t})=>(0,o.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{let n=e.breakpoints.values[r];return 0!==n&&(t[e.breakpoints.up(r)]={maxWidth:`${n}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,o.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}));return i.forwardRef(function(e,t){let i=r(e),{className:u,component:c="div",disableGutters:f=!1,fixed:d=!1,maxWidth:p="lg"}=i,m=(0,n.Z)(i,$),h=(0,o.Z)({},i,{component:c,disableGutters:f,fixed:d,maxWidth:p}),g=A(h,l);return(0,S.jsx)(s,(0,o.Z)({as:c,ownerState:h,className:(0,a.Z)(g.root,u),ref:t},m))})}({createStyledComponent:(0,M.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,R.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,E.Z)({props:e,name:"MuiContainer"})})},1519:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(8510),s=r(2101),u=r(948),c=r(1657),f=r(1977),d=r(5463);function p(e){return(0,d.ZP)("MuiDivider",e)}(0,f.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var m=r(5893);let h=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],g=e=>{let{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:u}=e;return(0,l.Z)({root:["root",t&&"absolute",u,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},p,n)},y=(0,u.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,s.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>(0,o.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>(0,o.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),v=(0,u.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>(0,o.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),b=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:s,component:u=l?"div":"hr",flexItem:f=!1,light:d=!1,orientation:p="horizontal",role:b="hr"!==u?"separator":void 0,textAlign:x="center",variant:Z="fullWidth"}=r,k=(0,n.Z)(r,h),w=(0,o.Z)({},r,{absolute:i,component:u,flexItem:f,light:d,orientation:p,role:b,textAlign:x,variant:Z}),S=g(w);return(0,m.jsx)(y,(0,o.Z)({as:u,className:(0,a.Z)(S.root,s),role:b,ref:t,ownerState:w},k,{children:l?(0,m.jsx)(v,{className:S.wrapper,ownerState:w,children:l}):null}))});b.muiSkipListHighlight=!0;var x=b},1181:function(e,t,r){"use strict";r.d(t,{ZP:function(){return P}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5408),s=r(9707),u=r(8510),c=r(948),f=r(1657),d=r(9718),p=r(247),m=r(606);let h=i.createContext();var g=r(1977),y=r(5463);function v(e){return(0,y.ZP)("MuiGrid",e)}let b=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=(0,g.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...b.map(e=>`grid-xs-${e}`),...b.map(e=>`grid-sm-${e}`),...b.map(e=>`grid-md-${e}`),...b.map(e=>`grid-lg-${e}`),...b.map(e=>`grid-xl-${e}`)]);var Z=r(5893);let k=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function w(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function S({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(e=>{""===r&&0!==t[e]&&(r=e)});let n=Object.keys(e).sort((t,r)=>e[t]-e[r]);return n.slice(0,n.indexOf(r))}let $=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:n,direction:o,item:i,spacing:a,wrap:l,zeroMinWidth:s,breakpoints:u}=r,c=[];n&&(c=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];let n=[];return t.forEach(t=>{let o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])}),n}(a,u,t));let f=[];return u.forEach(e=>{let n=r[e];n&&f.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,s&&t.zeroMinWidth,...c,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...f]}})(({ownerState:e})=>(0,o.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap}),function({theme:e,ownerState:t}){let r=(0,l.P$)({values:t.direction,breakpoints:e.breakpoints.values});return(0,l.k9)({theme:e},r,e=>{let t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${x.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){let{container:r,rowSpacing:n}=t,o={};if(r&&0!==n){let t;let r=(0,l.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=S({breakpoints:e.breakpoints.values,values:r})),o=(0,l.k9)({theme:e},r,(r,n)=>{var o;let i=e.spacing(r);return"0px"!==i?{marginTop:`-${w(i)}`,[`& > .${x.item}`]:{paddingTop:w(i)}}:null!=(o=t)&&o.includes(n)?{}:{marginTop:0,[`& > .${x.item}`]:{paddingTop:0}}})}return o},function({theme:e,ownerState:t}){let{container:r,columnSpacing:n}=t,o={};if(r&&0!==n){let t;let r=(0,l.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=S({breakpoints:e.breakpoints.values,values:r})),o=(0,l.k9)({theme:e},r,(r,n)=>{var o;let i=e.spacing(r);return"0px"!==i?{width:`calc(100% + ${w(i)})`,marginLeft:`-${w(i)}`,[`& > .${x.item}`]:{paddingLeft:w(i)}}:null!=(o=t)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${x.item}`]:{paddingLeft:0}}})}return o},function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,i)=>{let a={};if(t[i]&&(r=t[i]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let s=(0,l.P$)({values:t.columns,breakpoints:e.breakpoints.values}),u="object"==typeof s?s[i]:s;if(null==u)return n;let c=`${Math.round(r/u*1e8)/1e6}%`,f={};if(t.container&&t.item&&0!==t.columnSpacing){let r=e.spacing(t.columnSpacing);if("0px"!==r){let e=`calc(${c} + ${w(r)})`;f={flexBasis:e,maxWidth:e}}}a=(0,o.Z)({flexBasis:c,flexGrow:0,maxWidth:c},f)}return 0===e.breakpoints.values[i]?Object.assign(n,a):n[e.breakpoints.up(i)]=a,n},{})}),C=e=>{let{classes:t,container:r,direction:n,item:o,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:s}=e,c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];let r=[];return t.forEach(t=>{let n=e[t];if(Number(n)>0){let e=`spacing-${t}-${String(n)}`;r.push(e)}}),r}(i,s));let f=[];s.forEach(t=>{let r=e[t];r&&f.push(`grid-${t}-${String(r)}`)});let d={root:["root",r&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...f]};return(0,u.Z)(d,v,t)};var P=i.forwardRef(function(e,t){let r=(0,f.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,d.Z)(p.Z);return e[m.Z]||e}(),u=(0,s.Z)(r),{className:c,columns:g,columnSpacing:y,component:v="div",container:b=!1,direction:x="row",item:w=!1,rowSpacing:S,spacing:P=0,wrap:O="wrap",zeroMinWidth:A=!1}=u,R=(0,n.Z)(u,k),M=S||P,E=y||P,_=i.useContext(h),j=b?g||12:_,T={},z=(0,o.Z)({},R);l.keys.forEach(e=>{null!=R[e]&&(T[e]=R[e],delete z[e])});let I=(0,o.Z)({},u,{columns:j,container:b,direction:x,item:w,rowSpacing:M,columnSpacing:E,wrap:O,zeroMinWidth:A,spacing:P},T,{breakpoints:l.keys}),N=C(I);return(0,Z.jsx)(h.Provider,{value:j,children:(0,Z.jsx)($,(0,o.Z)({ownerState:I,className:(0,a.Z)(N.root,c),as:v,ref:t},z))})})},5861:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(9707),s=r(8510),u=r(948),c=r(1657),f=r(8216),d=r(1977),p=r(5463);function m(e){return(0,p.ZP)("MuiTypography",e)}(0,d.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var h=r(5893);let g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],y=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&`align${(0,f.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,s.Z)(l,m,a)},v=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,f.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,o.Z)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},x={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Z=e=>x[e]||e;var k=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiTypography"}),i=Z(r.color),s=(0,l.Z)((0,o.Z)({},r,{color:i})),{align:u="inherit",className:f,component:d,gutterBottom:p=!1,noWrap:m=!1,paragraph:x=!1,variant:k="body1",variantMapping:w=b}=s,S=(0,n.Z)(s,g),$=(0,o.Z)({},s,{align:u,color:i,className:f,component:d,gutterBottom:p,noWrap:m,paragraph:x,variant:k,variantMapping:w}),C=d||(x?"p":w[k]||b[k])||"span",P=y($);return(0,h.jsx)(v,(0,o.Z)({as:C,ref:t,ownerState:$,className:(0,a.Z)(P.root,f)},S))})},1265:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});var n=r(7462),o=r(3366),i=r(8758),a=r(8027),l=r(4920),s=r(6523),u=r(7172),c=r(2101),f={black:"#000",white:"#fff"},d={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"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},h={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let b=["mode","contrastThreshold","tonalOffset"],x={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:f.white,default:f.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}},Z={text:{primary:f.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:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,r,n){let o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,c.$n)(e.main,o):"dark"===t&&(e.dark=(0,c._j)(e.main,i)))}let w=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],S={textTransform:"uppercase"},$='"Roboto", "Helvetica", "Arial", sans-serif';function C(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],O=["duration","easing","delay"],A={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)"},R={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function M(e){return`${Math.round(e)}ms`}function E(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var _={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var T=function(e={},...t){var r;let{mixins:C={},palette:T={},transitions:z={},typography:I={}}=e,N=(0,o.Z)(e,j);if(e.vars)throw Error((0,i.Z)(18));let W=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:l=.2}=e,s=(0,o.Z)(e,b),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),w=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),S=e.error||function(e="light"){return"dark"===e?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),$=e.info||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),C=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),P=e.warning||function(e="light"){return"dark"===e?{main:h[400],light:h[300],dark:h[700]}:{main:"#ed6c02",light:h[500],dark:h[900]}}(t);function O(e){return(0,c.mi)(e,Z.text.primary)>=r?Z.text.primary:x.text.primary}let A=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,i.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return k(e,"light",o,l),k(e,"dark",a,l),e.contrastText||(e.contrastText=O(e.main)),e};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},f),mode:t,primary:A({color:u,name:"primary"}),secondary:A({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:S,name:"error"}),warning:A({color:P,name:"warning"}),info:A({color:$,name:"info"}),success:A({color:C,name:"success"}),grey:d,contrastThreshold:r,getContrastText:O,augmentColor:A,tonalOffset:l},{dark:Z,light:x}[t]),s)}(T),B=(0,u.Z)(e),L=(0,a.Z)(B,{mixins:(r=B.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}}},C)),palette:W,shadows:P.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:i=$,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:m}=r,h=(0,o.Z)(r,w),g=l/14,y=m||(e=>`${e/d*g}rem`),v=(e,t,r,o,a)=>(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:r},i===$?{letterSpacing:`${Math.round(o/t*1e5)/1e5}em`}:{},a,p),b={h1:v(s,96,1.167,-1.5),h2:v(s,60,1.2,-.5),h3:v(u,48,1.167,0),h4:v(u,34,1.235,.25),h5:v(u,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(u,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(u,16,1.5,.15),body2:v(u,14,1.43,.15),button:v(c,14,1.75,.4,S),caption:v(u,12,1.66,.4),overline:v(u,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:d,pxToRem:y,fontFamily:i,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:f},b),h,{clone:!1})}(W,I),transitions:function(e){let t=(0,n.Z)({},A,e.easing),r=(0,n.Z)({},R,e.duration);return(0,n.Z)({getAutoHeightDuration:E,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0}=n;return(0,o.Z)(n,O),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:M(i)} ${a} ${"string"==typeof l?l:M(l)}`).join(",")}},e,{easing:t,duration:r})}(z),zIndex:(0,n.Z)({},_)});return L=(0,a.Z)(L,N),(L=t.reduce((e,t)=>(0,a.Z)(e,t),L)).unstable_sxConfig=(0,n.Z)({},l.Z,null==N?void 0:N.unstable_sxConfig),L.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},L}},247:function(e,t,r){"use strict";let n=(0,r(1265).Z)();t.Z=n},606:function(e,t){"use strict";t.Z="$$material"},6206:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e},948:function(e,t,r){"use strict";var n=r(8128),o=r(247),i=r(606),a=r(6206);let l=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z});t.ZP=l},1657:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(5149),o=r(247),i=r(606);function a({props:e,name:t}){return(0,n.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},8216:function(e,t,r){"use strict";var n=r(2908);t.Z=n.Z},7208:function(e,t,r){"use strict";r.r(t),r.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i},createSvgIcon:function(){return k},debounce:function(){return w},deprecatedPropType:function(){return S},isMuiElement:function(){return $},ownerDocument:function(){return P},ownerWindow:function(){return O},requirePropFactory:function(){return A},setRef:function(){return R},unstable_ClassNameGenerator:function(){return B},unstable_useEnhancedEffect:function(){return M},unstable_useId:function(){return j},unsupportedProp:function(){return T},useControlled:function(){return z},useEventCallback:function(){return I.Z},useForkRef:function(){return N.Z},useIsFocusVisible:function(){return W.Z}});var n=r(1983),o=r(8216),i=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})},a=r(7462),l=r(7294),s=r.t(l,2),u=r(3366),c=r(512),f=r(8510),d=r(1657),p=r(948),m=r(1977),h=r(5463);function g(e){return(0,h.ZP)("MuiSvgIcon",e)}(0,m.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=r(5893);let v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],b=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,o.Z)(t)}`,`fontSize${(0,o.Z)(r)}`]};return(0,f.Z)(i,g,n)},x=(0,p.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,o.Z)(r.color)}`],t[`fontSize${(0,o.Z)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,l,s,u,c,f,d,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"})[t.fontSize],color:null!=(f=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?f:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0})[t.color]}}),Z=l.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:s="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:m=!1,titleAccess:h,viewBox:g="0 0 24 24"}=r,Z=(0,u.Z)(r,v),k=l.isValidElement(n)&&"svg"===n.type,w=(0,a.Z)({},r,{color:i,component:s,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:g,hasSvgAsChild:k}),S={};m||(S.viewBox=g);let $=b(w);return(0,y.jsxs)(x,(0,a.Z)({as:s,className:(0,c.Z)($.root,o),focusable:"false",color:p,"aria-hidden":!h||void 0,role:h?"img":void 0,ref:t},S,Z,k&&n.props,{ownerState:w,children:[k?n.props.children:n,h?(0,y.jsx)("title",{children:h}):null]}))});function k(e,t){function r(r,n){return(0,y.jsx)(Z,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=Z.muiName,l.memo(l.forwardRef(r))}Z.muiName="SvgIcon";var w=function(e,t=166){let r;function n(...o){clearTimeout(r),r=setTimeout(()=>{e.apply(this,o)},t)}return n.clear=()=>{clearTimeout(r)},n},S=function(e,t){return()=>null},$=function(e,t){var r,n;return l.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(n=e.type)||null==(n=n._payload)||null==(n=n.value)?void 0:n.muiName)};function C(e){return e&&e.ownerDocument||document}var P=C,O=function(e){return C(e).defaultView||window},A=function(e,t){return()=>null},R=r(5091).Z,M=r(4895).Z;let E=0,_=s["useId".toString()];var j=function(e){if(void 0!==_){let t=_();return null!=e?e:t}return function(e){let[t,r]=l.useState(e),n=e||t;return l.useEffect(()=>{null==t&&(E+=1,r(`mui-${E}`))},[t]),n}(e)},T=function(e,t,r,n,o){return null},z=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=l.useRef(void 0!==e),[i,a]=l.useState(t),s=l.useCallback(e=>{o||a(e)},[]);return[o?e:i,s]},I=r(275),N=r(20),W=r(9632);let B={configure:e=>{n.Z.configure(e)}}},275:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7294),o=r(4895),i=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},20:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7294),o=r(5091),i=function(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},9632:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(7294),o=r(9192);let i=!0,a=!1,l=new o.V,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}var d=function(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!0)}},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!s[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,()=>{a=!1}),t.current=!1,!0)},ref:e}}},3534:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{GlobalStyles:function(){return k},StyledEngineProvider:function(){return Z},ThemeContext:function(){return u.T},css:function(){return v.iv},default:function(){return w},internal_processStyles:function(){return S},keyframes:function(){return v.F4}});var o=r(7462),i=r(7294),a=r(5042),l=/^((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|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|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)-.*))$/,s=(0,a.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=r(6498),c=r(444),f=r(8137),d=r(7278),p=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:p},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,d.L)(function(){return(0,c.My)(t,r,n)}),null},y=(function e(t,r){var n,a,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var d=h(t,r,l),p=d||m(s),y=!p("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,Z=1;Zt(null==e||0===Object.keys(e).length?r:e):t;return(0,x.jsx)(v.xB,{styles:n})}function w(e,t){return y(e,t)}"object"==typeof document&&(n=(0,b.Z)({key:"css",prepend:!0}));let S=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},2101:function(e,t,r){"use strict";var n=r(4836);t.Fq=function(e,t){return e=l(e),t=a(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)},t._j=function(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return s(e)},t.mi=function(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return s(e)};var o=n(r(743)),i=n(r(9425));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function l(e){let t;if(e.type)return e;if("#"===e.charAt(0))return l(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,o.default)(9,e));let i=e.substring(r+1,e.length-1);if("color"===n){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,o.default)(10,t))}else i=i.split(",");return{type:n,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function s(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function u(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(function(e){let{values:t}=e=l(e),r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),s({type:u,values:c})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},8128:function(e,t,r){"use strict";var n=r(4836);t.ZP=function(e={}){let{themeId:t,defaultTheme:r=h,rootShouldForwardProp:n=m,slotShouldForwardProp:s=m}=e,c=e=>(0,u.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(e,u={})=>{var f;let p;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:h,slot:b,skipVariantsResolver:x,skipSx:Z,overridesResolver:k=(f=g(b))?(e,t)=>t[f]:null}=u,w=(0,i.default)(u,d),S=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,$=Z||!1,C=m;"Root"===b||"root"===b?C=n:b?C=s:"string"==typeof e&&e.charCodeAt(0)>96&&(C=void 0);let P=(0,a.default)(e,(0,o.default)({shouldForwardProp:C,label:p},w)),O=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,A=(n,...i)=>{let a=O(n),l=i?i.map(O):[];h&&k&&l.push(e=>{let n=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[h]||!n.components[h].styleOverrides)return null;let i=n.components[h].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=v(r,(0,o.default)({},e,{theme:n}))}),k(e,a)}),h&&!S&&l.push(e=>{var n;let i=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[h])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),$||l.push(c);let s=l.length-i.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=P(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return P.withConfig&&(A.withConfig=P.withConfig),A}};var o=n(r(434)),i=n(r(7071)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(3534)),l=r(211);n(r(9698)),n(r(7889));var s=n(r(9926)),u=n(r(386));let c=["ownerState"],f=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let h=(0,s.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function v(e,t){let{ownerState:r}=t,n=(0,i.default)(t,c),a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>v(e,(0,o.default)({ownerState:r},n)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,i.default)(a,f);return e.forEach(e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)}),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),t}return a}},5408:function(e,t,r){"use strict";r.d(t,{L7:function(){return l},P$:function(){return s},VO:function(){return n},W8:function(){return a},k9:function(){return i}});let n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>(-1!==Object.keys(e.values||n).indexOf(i)?o[e.up(i)]=r(t[i],i):o[i]=t[i],o),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function l(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function s({values:e,breakpoints:t,base:r}){let n;let o=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===o.length?e:o.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},7064:function(e,t,r){"use strict";function n(e,t){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:this.palette.mode===e?t:{}}r.d(t,{Z:function(){return n}})},1512:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(3366),o=r(7462);let i=["values","unit","step"],a=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:l=5}=e,s=(0,n.Z)(e,i),u=a(t),c=Object.keys(u);function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function d(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-l/100}${r})`}function p(e,n){let o=c.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[c[o]]?t[c[o]]:n)-l/100}${r})`}return(0,o.Z)({keys:c,values:u,up:f,down:d,between:p,only:function(e){return c.indexOf(e)+1(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(m),b=(0,i.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},p),spacing:v,shape:(0,n.Z)({},l,h)},g);return b.applyStyles=f.Z,(b=t.reduce((e,t)=>(0,i.Z)(e,t),b)).unstable_sxConfig=(0,n.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},b}},9926:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return o.Z},unstable_applyStyles:function(){return i.Z}});var n=r(7172),o=r(1512),i=r(7064)},7730:function(e,t,r){"use strict";var n=r(8027);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},8700:function(e,t,r){"use strict";r.d(t,{hB:function(){return m},eI:function(){return p},NA:function(){return h},e6:function(){return y},o3:function(){return v}});var n=r(5408),o=r(4844),i=r(7730);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...c,...f];function p(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function m(e){return p(e,"spacing",8,"spacing")}function h(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function g(e,t){let r=m(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(-1===t.indexOf(r))return null;let a=(i=u(r),e=>i.reduce((t,r)=>(t[r]=h(o,e),t),{})),l=e[r];return(0,n.k9)(e,l,a)})(e,t,o,r)).reduce(i.Z,{})}function y(e){return g(e,c)}function v(e){return g(e,f)}function b(e){return g(e,d)}y.propTypes={},y.filterProps=c,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=d},4844:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(2908),o=r(5408);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=i(e.theme,l)||{};return(0,o.k9)(e,u,e=>{let o=a(c,s,e);return(e===o&&"string"==typeof e&&(o=a(c,s,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return u.propTypes={},u.filterProps=[t],u}},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return B}});var n=r(8700),o=r(4844),i=r(7730),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},l=r(5408);function s(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let c=u("border",s),f=u("borderTop",s),d=u("borderRight",s),p=u("borderBottom",s),m=u("borderLeft",s),h=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),v=u("borderBottomColor"),b=u("borderLeftColor"),x=u("outline",s),Z=u("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["borderRadius"],a(c,f,d,p,m,h,g,y,v,b,k,x,Z);let w=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["gap"];let S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["columnGap"];let $=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};$.propTypes={},$.filterProps=["rowGap"];let C=(0,o.ZP)({prop:"gridColumn"}),P=(0,o.ZP)({prop:"gridRow"}),O=(0,o.ZP)({prop:"gridAutoFlow"}),A=(0,o.ZP)({prop:"gridAutoColumns"}),R=(0,o.ZP)({prop:"gridAutoRows"}),M=(0,o.ZP)({prop:"gridTemplateColumns"});function E(e,t){return"grey"===t?t:e}function _(e){return e<=1&&0!==e?`${100*e}%`:e}a(w,S,$,C,P,O,A,R,M,(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"})),a((0,o.ZP)({prop:"color",themeKey:"palette",transform:E}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:E}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:E}));let j=(0,o.ZP)({prop:"width",transform:_}),T=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{var r,n;let o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||l.VO[t];return o?(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:_(t)}}):null;T.filterProps=["maxWidth"];let z=(0,o.ZP)({prop:"minWidth",transform:_}),I=(0,o.ZP)({prop:"height",transform:_}),N=(0,o.ZP)({prop:"maxHeight",transform:_}),W=(0,o.ZP)({prop:"minHeight",transform:_});(0,o.ZP)({prop:"size",cssProperty:"width",transform:_}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:_}),a(j,T,z,I,N,W,(0,o.ZP)({prop:"boxSizing"}));var B={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:E},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:E},backgroundColor:{themeKey:"palette",transform:E},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:$},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:T},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},9707:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(7462),o=r(3366),i=r(8027),a=r(4920);let l=["sx"],s=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function u(e){let t;let{sx:r}=e,{systemProps:a,otherProps:u}=s((0,o.Z)(e,l));return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},a,t):a}:(0,n.Z)({},a,r),(0,n.Z)({},u,{sx:t})}},386:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return o.Z},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return i.Z}});var n=r(6523),o=r(9707),i=r(4920)},6523:function(e,t,r){"use strict";r.d(t,{n:function(){return s}});var n=r(2908),o=r(7730),i=r(4844),a=r(5408),l=r(4920);function s(){function e(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:f,style:d}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,c)||{};return d?d(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){var n;let{sx:i,theme:s={}}=r||{};if(!i)return null;let u=null!=(n=s.unstable_sxConfig)?n:l.Z;function c(r){let n=r;if("function"==typeof r)n=r(s);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(s.breakpoints),l=Object.keys(i),c=i;return Object.keys(n).forEach(r=>{var i;let l="function"==typeof(i=n[r])?i(s):i;if(null!=l){if("object"==typeof l){if(u[r])c=(0,o.Z)(c,e(r,l,s,u));else{let e=(0,a.k9)({theme:s},l,e=>({[r]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(e,l)?c[r]=t({sx:l,theme:s}):c=(0,o.Z)(c,e)}}else c=(0,o.Z)(c,e(r,l,s,u))}}),(0,a.L7)(l,c)}return Array.isArray(i)?i.map(c):c(i)}}let u=s();u.filterProps=["sx"],t.Z=u},9718:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(7172),o=r(7294),i=r(6498),a=function(e=null){let t=o.useContext(i.T);return t&&0!==Object.keys(t).length?t:e};let l=(0,n.Z)();var s=function(e=l){return a(e)}},5149:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(2236),o=r(9718);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);return i&&(a=a[i]||a),function(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}({theme:a,name:t,props:e})}},1983:function(e,t){"use strict";let r;let n=e=>e,o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=o},2908:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(8758);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(2908)},9425:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},8510:function(e,t,r){"use strict";function n(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}r.d(t,{Z:function(){return n}})},8027:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{"__proto__"!==n&&(o(r[n])&&n in t&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n])}),a}}});var n=r(7462);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},211:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(8027)},8758:function(e,t,r){"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,n.ZP)(e,t,r)}),o}},7889:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s},getFunctionName:function(){return i}});var n=r(9864);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function l(e,t,r){let n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function s(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return l(e,e.render,"ForwardRef");case n.Memo:return l(e,e.type,"memo")}}}},2236:function(e,t,r){"use strict";r.d(t,{Z:function(){return function e(t,r){let o=(0,n.Z)({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,n.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},l=r[i];o[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(o[i]=(0,n.Z)({},l),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],l[t])})):o[i]=l:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}}});var n=r(7462)},5091:function(e,t,r){"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return n}})},4895:function(e,t,r){"use strict";var n=r(7294);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},9192:function(e,t,r){"use strict";r.d(t,{V:function(){return a},Z:function(){return l}});var n=r(7294);let o={},i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function l(){var e;let t=function(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(void 0)),r}(a.create).current;return e=t.disposeEffect,n.useEffect(e,i),t}},8679:function(e,t,r){"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return n.isMemo(e)?a:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=p(r);o&&o!==m&&e(t,o,n)}var a=c(r);f&&(a=a.concat(f(r)));for(var l=s(t),h=s(r),g=0;g=0)continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},7462:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/295-face7ac39a95b2fa.js b/_next/static/chunks/295-face7ac39a95b2fa.js deleted file mode 100644 index 14b39d2..0000000 --- a/_next/static/chunks/295-face7ac39a95b2fa.js +++ /dev/null @@ -1,23 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[295],{5202:function(){!function(){"use strict";function applyFocusVisiblePolyfill(n){var a=!0,g=!1,v=null,j={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function isValidFocusTarget(n){return!!n&&n!==document&&"HTML"!==n.nodeName&&"BODY"!==n.nodeName&&"classList"in n&&"contains"in n.classList}function addFocusVisibleClass(n){n.classList.contains("focus-visible")||(n.classList.add("focus-visible"),n.setAttribute("data-focus-visible-added",""))}function onPointerDown(n){a=!1}function addInitialPointerMoveListeners(){document.addEventListener("mousemove",onInitialPointerMove),document.addEventListener("mousedown",onInitialPointerMove),document.addEventListener("mouseup",onInitialPointerMove),document.addEventListener("pointermove",onInitialPointerMove),document.addEventListener("pointerdown",onInitialPointerMove),document.addEventListener("pointerup",onInitialPointerMove),document.addEventListener("touchmove",onInitialPointerMove),document.addEventListener("touchstart",onInitialPointerMove),document.addEventListener("touchend",onInitialPointerMove)}function onInitialPointerMove(n){n.target.nodeName&&"html"===n.target.nodeName.toLowerCase()||(a=!1,document.removeEventListener("mousemove",onInitialPointerMove),document.removeEventListener("mousedown",onInitialPointerMove),document.removeEventListener("mouseup",onInitialPointerMove),document.removeEventListener("pointermove",onInitialPointerMove),document.removeEventListener("pointerdown",onInitialPointerMove),document.removeEventListener("pointerup",onInitialPointerMove),document.removeEventListener("touchmove",onInitialPointerMove),document.removeEventListener("touchstart",onInitialPointerMove),document.removeEventListener("touchend",onInitialPointerMove))}document.addEventListener("keydown",function(g){g.metaKey||g.altKey||g.ctrlKey||(isValidFocusTarget(n.activeElement)&&addFocusVisibleClass(n.activeElement),a=!0)},!0),document.addEventListener("mousedown",onPointerDown,!0),document.addEventListener("pointerdown",onPointerDown,!0),document.addEventListener("touchstart",onPointerDown,!0),document.addEventListener("visibilitychange",function(n){"hidden"===document.visibilityState&&(g&&(a=!0),addInitialPointerMoveListeners())},!0),addInitialPointerMoveListeners(),n.addEventListener("focus",function(n){var g,v,z;isValidFocusTarget(n.target)&&(a||(v=(g=n.target).type,"INPUT"===(z=g.tagName)&&j[v]&&!g.readOnly||"TEXTAREA"===z&&!g.readOnly||g.isContentEditable))&&addFocusVisibleClass(n.target)},!0),n.addEventListener("blur",function(n){if(isValidFocusTarget(n.target)){var a;(n.target.classList.contains("focus-visible")||n.target.hasAttribute("data-focus-visible-added"))&&(g=!0,window.clearTimeout(v),v=window.setTimeout(function(){g=!1},100),(a=n.target).hasAttribute("data-focus-visible-added")&&(a.classList.remove("focus-visible"),a.removeAttribute("data-focus-visible-added")))}},!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var n;window.applyFocusVisiblePolyfill=applyFocusVisiblePolyfill;try{n=new CustomEvent("focus-visible-polyfill-ready")}catch(a){(n=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(n)}"undefined"!=typeof document&&applyFocusVisiblePolyfill(document)}()},9266:function(n,a,g){"use strict";var v=g(3905),j=g(9073);n.exports=function(n){var a=v(n);return a.token="","x-oauth-basic"===a.password?a.token=a.user:"x-token-auth"===a.user&&(a.token=a.password),j(a.protocols)||0===a.protocols.length&&j(n)?a.protocol="ssh":a.protocols.length?a.protocol=a.protocols[0]:(a.protocol="file",a.protocols=["file"]),a.href=a.href.replace(/\/$/,""),a}},3458:function(n,a,g){"use strict";var v=g(9266);function gitUrlParse(n){if("string"!=typeof n)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(n)&&(n="https://github.com/"+n);var a=v(n),g=a.resource.split("."),j=null;switch(a.toString=function(n){return gitUrlParse.stringify(this,n)},a.source=g.length>2?g.slice(1-g.length).join("."):a.source=a.resource,a.git_suffix=/\.git$/.test(a.pathname),a.name=decodeURIComponent((a.pathname||a.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),a.owner=decodeURIComponent(a.user),a.source){case"git.cloudforge.com":a.owner=a.user,a.organization=g[0],a.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===a.resource){4===(j=a.name.split("/")).length&&(a.organization=j[1],a.owner=j[2],a.name=j[3],a.full_name=j[2]+"/"+j[3]);break}2===(j=a.name.split("/")).length?(a.owner=j[1],a.name=j[1],a.full_name="_git/"+a.name):3===j.length?(a.name=j[2],"DefaultCollection"===j[0]?(a.owner=j[2],a.organization=j[0],a.full_name=a.organization+"/_git/"+a.name):(a.owner=j[0],a.full_name=a.owner+"/_git/"+a.name)):4===j.length&&(a.organization=j[0],a.owner=j[1],a.name=j[3],a.full_name=a.organization+"/"+a.owner+"/_git/"+a.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===a.resource){4===(j=a.name.split("/")).length&&(a.organization=j[1],a.owner=j[2],a.name=j[3]);break}5===(j=a.name.split("/")).length?(a.organization=j[0],a.owner=j[1],a.name=j[4],a.full_name="_git/"+a.name):3===j.length?(a.name=j[2],"DefaultCollection"===j[0]?(a.owner=j[2],a.organization=j[0],a.full_name=a.organization+"/_git/"+a.name):(a.owner=j[0],a.full_name=a.owner+"/_git/"+a.name)):4===j.length&&(a.organization=j[0],a.owner=j[1],a.name=j[3],a.full_name=a.organization+"/"+a.owner+"/_git/"+a.name),a.query&&a.query.path&&(a.filepath=a.query.path.replace(/^\/+/g,"")),a.query&&a.query.version&&(a.ref=a.query.version.replace(/^GB/,""));break;default:var z=(j=a.name.split("/")).length-1;if(j.length>=2){var H=j.indexOf("-",2),W=j.indexOf("blob",2),B=j.indexOf("tree",2),K=j.indexOf("commit",2),ee=j.indexOf("src",2),et=j.indexOf("raw",2),en=j.indexOf("edit",2);z=H>0?H-1:W>0?W-1:B>0?B-1:K>0?K-1:ee>0?ee-1:et>0?et-1:en>0?en-1:z,a.owner=j.slice(0,z).join("/"),a.name=j[z],K&&(a.commit=j[z+2])}a.ref="",a.filepathtype="",a.filepath="";var er=j.length>z&&"-"===j[z+1]?z+1:z;j.length>er+2&&["raw","src","blob","tree","edit"].indexOf(j[er+1])>=0&&(a.filepathtype=j[er+1],a.ref=j[er+2],j.length>er+3&&(a.filepath=j.slice(er+3).join("/"))),a.organization=a.owner}!a.full_name&&(a.full_name=a.owner,a.name&&(a.full_name&&(a.full_name+="/"),a.full_name+=a.name)),a.owner.startsWith("scm/")&&(a.source="bitbucket-server",a.owner=a.owner.replace("scm/",""),a.organization=a.owner,a.full_name=a.owner+"/"+a.name);var eo=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(a.pathname);return null!=eo&&(a.source="bitbucket-server","users"===eo[1]?a.owner="~"+eo[2]:a.owner=eo[2],a.organization=a.owner,a.name=eo[3],(j=eo[4].split("/")).length>1&&(["raw","browse"].indexOf(j[1])>=0?(a.filepathtype=j[1],j.length>2&&(a.filepath=j.slice(2).join("/"))):"commits"===j[1]&&j.length>2&&(a.commit=j[2])),a.full_name=a.owner+"/"+a.name,a.query.at?a.ref=a.query.at:a.ref=""),a}gitUrlParse.stringify=function(n,a){a=a||(n.protocols&&n.protocols.length?n.protocols.join("+"):n.protocol);var g=n.port?":"+n.port:"",v=n.user||"git",j=n.git_suffix?".git":"";switch(a){case"ssh":if(g)return"ssh://"+v+"@"+n.resource+g+"/"+n.full_name+j;return v+"@"+n.resource+":"+n.full_name+j;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return a+"://"+v+"@"+n.resource+g+"/"+n.full_name+j;case"http":case"https":return a+"://"+(n.token?"bitbucket.org"===n.source?"x-token-auth:"+n.token+"@":n.token+"@":n.user&&(n.protocols.includes("http")||n.protocols.includes("https"))?n.user+"@":"")+n.resource+g+"/"+("bitbucket-server"===n.source?"scm/"+n.full_name:""+n.full_name)+j;default:return n.href}},n.exports=gitUrlParse},6337:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var n=function(n){for(var a=n,g=getFrameElement(a);g;)g=getFrameElement(a=g.ownerDocument);return a}(window.document),a=[],g=null,v=null;IntersectionObserver.prototype.THROTTLE_TIMEOUT=100,IntersectionObserver.prototype.POLL_INTERVAL=null,IntersectionObserver.prototype.USE_MUTATION_OBSERVER=!0,IntersectionObserver._setupCrossOriginUpdater=function(){return g||(g=function(n,g){v=n&&g?convertFromParentRect(n,g):getEmptyRect(),a.forEach(function(n){n._checkForIntersections()})}),g},IntersectionObserver._resetCrossOriginUpdater=function(){g=null,v=null},IntersectionObserver.prototype.observe=function(n){if(!this._observationTargets.some(function(a){return a.element==n})){if(!(n&&1==n.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:n,entry:null}),this._monitorIntersections(n.ownerDocument),this._checkForIntersections()}},IntersectionObserver.prototype.unobserve=function(n){this._observationTargets=this._observationTargets.filter(function(a){return a.element!=n}),this._unmonitorIntersections(n.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},IntersectionObserver.prototype.takeRecords=function(){var n=this._queuedEntries.slice();return this._queuedEntries=[],n},IntersectionObserver.prototype._initThresholds=function(n){var a=n||[0];return Array.isArray(a)||(a=[a]),a.sort().filter(function(n,a,g){if("number"!=typeof n||isNaN(n)||n<0||n>1)throw Error("threshold must be a number between 0 and 1 inclusively");return n!==g[a-1]})},IntersectionObserver.prototype._parseRootMargin=function(n){var a=(n||"0px").split(/\s+/).map(function(n){var a=/^(-?\d*\.?\d+)(px|%)$/.exec(n);if(!a)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(a[1]),unit:a[2]}});return a[1]=a[1]||a[0],a[2]=a[2]||a[0],a[3]=a[3]||a[1],a},IntersectionObserver.prototype._monitorIntersections=function(a){var g=a.defaultView;if(g&&-1==this._monitoringDocuments.indexOf(a)){var v=this._checkForIntersections,j=null,z=null;if(this.POLL_INTERVAL?j=g.setInterval(v,this.POLL_INTERVAL):(addEvent(g,"resize",v,!0),addEvent(a,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in g&&(z=new g.MutationObserver(v)).observe(a,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(a),this._monitoringUnsubscribes.push(function(){var n=a.defaultView;n&&(j&&n.clearInterval(j),removeEvent(n,"resize",v,!0)),removeEvent(a,"scroll",v,!0),z&&z.disconnect()}),a!=(this.root&&(this.root.ownerDocument||this.root)||n)){var H=getFrameElement(a);H&&this._monitorIntersections(H.ownerDocument)}}},IntersectionObserver.prototype._unmonitorIntersections=function(a){var g=this._monitoringDocuments.indexOf(a);if(-1!=g){var v=this.root&&(this.root.ownerDocument||this.root)||n;if(!this._observationTargets.some(function(n){var g=n.element.ownerDocument;if(g==a)return!0;for(;g&&g!=v;){var j=getFrameElement(g);if((g=j&&j.ownerDocument)==a)return!0}return!1})){var j=this._monitoringUnsubscribes[g];if(this._monitoringDocuments.splice(g,1),this._monitoringUnsubscribes.splice(g,1),j(),a!=v){var z=getFrameElement(a);z&&this._unmonitorIntersections(z.ownerDocument)}}}},IntersectionObserver.prototype._unmonitorAllIntersections=function(){var n=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var a=0;a=0&&W>=0&&{top:g,bottom:v,left:j,right:z,width:H,height:W}||null}(K,H)),!H)break;W=W&&getParentNode(W)}return H}},IntersectionObserver.prototype._getRootRect=function(){var a;if(this.root&&!isDoc(this.root))a=getBoundingClientRect(this.root);else{var g=isDoc(this.root)?this.root:n,v=g.documentElement,j=g.body;a={top:0,left:0,right:v.clientWidth||j.clientWidth,width:v.clientWidth||j.clientWidth,bottom:v.clientHeight||j.clientHeight,height:v.clientHeight||j.clientHeight}}return this._expandRectByRootMargin(a)},IntersectionObserver.prototype._expandRectByRootMargin=function(n){var a=this._rootMarginValues.map(function(a,g){return"px"==a.unit?a.value:a.value*(g%2?n.width:n.height)/100}),g={top:n.top-a[0],right:n.right+a[1],bottom:n.bottom+a[2],left:n.left-a[3]};return g.width=g.right-g.left,g.height=g.bottom-g.top,g},IntersectionObserver.prototype._hasCrossedThreshold=function(n,a){var g=n&&n.isIntersecting?n.intersectionRatio||0:-1,v=a.isIntersecting?a.intersectionRatio||0:-1;if(g!==v)for(var j=0;ja.indexOf(this)&&a.push(this)},IntersectionObserver.prototype._unregisterInstance=function(){var n=a.indexOf(this);-1!=n&&a.splice(n,1)},window.IntersectionObserver=IntersectionObserver,window.IntersectionObserverEntry=IntersectionObserverEntry}function getFrameElement(n){try{return n.defaultView&&n.defaultView.frameElement||null}catch(n){return null}}function IntersectionObserverEntry(n){this.time=n.time,this.target=n.target,this.rootBounds=ensureDOMRect(n.rootBounds),this.boundingClientRect=ensureDOMRect(n.boundingClientRect),this.intersectionRect=ensureDOMRect(n.intersectionRect||getEmptyRect()),this.isIntersecting=!!n.intersectionRect;var a=this.boundingClientRect,g=a.width*a.height,v=this.intersectionRect,j=v.width*v.height;g?this.intersectionRatio=Number((j/g).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function IntersectionObserver(n,a){var g,v,j,z=a||{};if("function"!=typeof n)throw Error("callback must be a function");if(z.root&&1!=z.root.nodeType&&9!=z.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(g=this._checkForIntersections.bind(this),v=this.THROTTLE_TIMEOUT,j=null,function(){j||(j=setTimeout(function(){g(),j=null},v))}),this._callback=n,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(z.rootMargin),this.thresholds=this._initThresholds(z.threshold),this.root=z.root||null,this.rootMargin=this._rootMarginValues.map(function(n){return n.value+n.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function addEvent(n,a,g,v){"function"==typeof n.addEventListener?n.addEventListener(a,g,v||!1):"function"==typeof n.attachEvent&&n.attachEvent("on"+a,g)}function removeEvent(n,a,g,v){"function"==typeof n.removeEventListener?n.removeEventListener(a,g,v||!1):"function"==typeof n.detachEvent&&n.detachEvent("on"+a,g)}function getBoundingClientRect(n){var a;try{a=n.getBoundingClientRect()}catch(n){}return a?(a.width&&a.height||(a={top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.right-a.left,height:a.bottom-a.top}),a):getEmptyRect()}function getEmptyRect(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function ensureDOMRect(n){return!n||"x"in n?n:{top:n.top,y:n.top,bottom:n.bottom,left:n.left,x:n.left,right:n.right,width:n.width,height:n.height}}function convertFromParentRect(n,a){var g=a.top-n.top,v=a.left-n.left;return{top:g,left:v,height:a.height,width:a.width,bottom:g+a.height,right:v+a.width}}function containsDeep(n,a){for(var g=a;g;){if(g==n)return!0;g=getParentNode(g)}return!1}function getParentNode(a){var g=a.parentNode;return 9==a.nodeType&&a!=n?getFrameElement(a):(g&&g.assignedSlot&&(g=g.assignedSlot.parentNode),g&&11==g.nodeType&&g.host)?g.host:g}function isDoc(n){return n&&9===n.nodeType}}()},9073:function(n,a,g){"use strict";var v=g(2337);n.exports=function isSsh(n){if(Array.isArray(n))return -1!==n.indexOf("ssh")||-1!==n.indexOf("rsync");if("string"!=typeof n)return!1;var a=v(n);if(n=n.substring(n.indexOf("://")+3),isSsh(a))return!0;var g=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!n.match(g)&&n.indexOf("@")-1},ListCache.prototype.set=function(n,a){var g=this.__data__,v=assocIndexOf(g,n);return v<0?g.push([n,a]):g[v][1]=a,this},MapCache.prototype.clear=function(){this.__data__={hash:new Hash,map:new(eg||ListCache),string:new Hash}},MapCache.prototype.delete=function(n){return getMapData(this,n).delete(n)},MapCache.prototype.get=function(n){return getMapData(this,n).get(n)},MapCache.prototype.has=function(n){return getMapData(this,n).has(n)},MapCache.prototype.set=function(n,a){return getMapData(this,n).set(n,a),this};var e_=memoize(function(n){n=null==(a=n)?"":function(n){if("string"==typeof n)return n;if(isSymbol(n))return eb?eb.call(n):"";var a=n+"";return"0"==a&&1/n==-z?"-0":a}(a);var a,g=[];return B.test(n)&&g.push(""),n.replace(K,function(n,a,v,j){g.push(v?j.replace(ee,"$1"):a||n)}),g});function memoize(n,a){if("function"!=typeof n||a&&"function"!=typeof a)throw TypeError("Expected a function");var memoized=function(){var g=arguments,v=a?a.apply(this,g):g[0],j=memoized.cache;if(j.has(v))return j.get(v);var z=n.apply(this,g);return memoized.cache=j.set(v,z),z};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;var ew=Array.isArray;function isObject(n){var a=typeof n;return!!n&&("object"==a||"function"==a)}function isSymbol(n){return"symbol"==typeof n||!!n&&"object"==typeof n&&"[object Symbol]"==ef.call(n)}n.exports=function(n,a,g){var v=null==n?void 0:function(n,a){var g;a=!function(n,a){if(ew(n))return!1;var g=typeof n;return!!("number"==g||"symbol"==g||"boolean"==g||null==n||isSymbol(n))||W.test(n)||!H.test(n)||null!=a&&n in Object(a)}(a,n)?ew(g=a)?g:e_(g):[a];for(var v=0,j=a.length;null!=n&&v{}).then(()=>{if(n.parentElement&&n.isConnected){if("empty"!==a&&j(!0),null==g?void 0:g.current){let a=new Event("load");Object.defineProperty(a,"target",{writable:!1,value:n});let v=!1,j=!1;g.current({...a,nativeEvent:a,currentTarget:n,target:n,isDefaultPrevented:()=>v,isPropagationStopped:()=>j,persist:()=>{},preventDefault:()=>{v=!0,a.preventDefault()},stopPropagation:()=>{j=!0,a.stopPropagation()}})}(null==v?void 0:v.current)&&v.current(n)}})}function getDynamicProps(n){let[a,g]=z.version.split("."),v=parseInt(a,10),j=parseInt(g,10);return v>18||18===v&&j>=3?{fetchPriority:n}:{fetchpriority:n}}let eo=(0,z.forwardRef)((n,a)=>{let{src:g,srcSet:v,sizes:j,height:H,width:W,decoding:B,className:K,style:ee,fetchPriority:et,placeholder:en,loading:er,unoptimized:eo,fill:ei,onLoadRef:es,onLoadingCompleteRef:el,setBlurComplete:eu,setShowAltText:ec,onLoad:ed,onError:ep,...ef}=n;return z.default.createElement("img",{...ef,...getDynamicProps(et),loading:er,width:W,height:H,decoding:B,"data-nimg":ei?"fill":"1",className:K,style:ee,sizes:j,srcSet:v,src:g,ref:(0,z.useCallback)(n=>{a&&("function"==typeof a?a(n):"object"==typeof a&&(a.current=n)),n&&(ep&&(n.src=n.src),n.complete&&handleLoading(n,en,es,el,eu,eo))},[g,en,es,el,eu,ep,eo,a]),onLoad:n=>{let a=n.currentTarget;handleLoading(a,en,es,el,eu,eo)},onError:n=>{ec(!0),"empty"!==en&&eu(!0),ep&&ep(n)}})});function ImagePreload(n){let{isAppRouter:a,imgAttributes:g}=n,v={as:"image",imageSrcSet:g.srcSet,imageSizes:g.sizes,crossOrigin:g.crossOrigin,referrerPolicy:g.referrerPolicy,...getDynamicProps(g.fetchPriority)};return a&&H.default.preload?(H.default.preload(g.src,v),null):z.default.createElement(W.default,null,z.default.createElement("link",{key:"__nimg-"+g.src+g.srcSet+g.sizes,rel:"preload",href:g.srcSet?void 0:g.src,...v}))}let ei=(0,z.forwardRef)((n,a)=>{let g=(0,z.useContext)(et.RouterContext),v=(0,z.useContext)(ee.ImageConfigContext),j=(0,z.useMemo)(()=>{let n=er||v||K.imageConfigDefault,a=[...n.deviceSizes,...n.imageSizes].sort((n,a)=>n-a),g=n.deviceSizes.sort((n,a)=>n-a);return{...n,allSizes:a,deviceSizes:g}},[v]),{onLoad:H,onLoadingComplete:W}=n,ei=(0,z.useRef)(H);(0,z.useEffect)(()=>{ei.current=H},[H]);let es=(0,z.useRef)(W);(0,z.useEffect)(()=>{es.current=W},[W]);let[el,eu]=(0,z.useState)(!1),[ec,ed]=(0,z.useState)(!1),{props:ep,meta:ef}=(0,B.getImgProps)(n,{defaultLoader:en.default,imgConf:j,blurComplete:el,showAltText:ec});return z.default.createElement(z.default.Fragment,null,z.default.createElement(eo,{...ep,unoptimized:ef.unoptimized,placeholder:ef.placeholder,fill:ef.fill,onLoadRef:ei,onLoadingCompleteRef:es,setBlurComplete:eu,setShowAltText:ed,ref:a}),ef.priority?z.default.createElement(ImagePreload,{isAppRouter:!g,imgAttributes:ep}):null)});("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),n.exports=a.default)},5170:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return eu}});let v=g(8754),j=v._(g(7294)),z=g(4450),H=g(2227),W=g(4364),B=g(109),K=g(3607),ee=g(1823),et=g(9031),en=g(920),er=g(30),eo=g(7192),ei=g(7498),es=new Set;function prefetch(n,a,g,v,j,z){if(!z&&!(0,H.isLocalURL)(a))return;if(!v.bypassPrefetchedCheck){let j=void 0!==v.locale?v.locale:"locale"in n?n.locale:void 0,z=a+"%"+g+"%"+j;if(es.has(z))return;es.add(z)}let W=z?n.prefetch(a,j):n.prefetch(a,g,v);Promise.resolve(W).catch(n=>{})}function formatStringOrUrl(n){return"string"==typeof n?n:(0,W.formatUrl)(n)}let el=j.default.forwardRef(function(n,a){let g,v;let{href:W,as:es,children:el,prefetch:eu=null,passHref:ec,replace:ed,shallow:ep,scroll:ef,locale:eh,onClick:em,onMouseEnter:ex,onTouchStart:eg,legacyBehavior:ev=!1,...ey}=n;g=el,ev&&("string"==typeof g||"number"==typeof g)&&(g=j.default.createElement("a",null,g));let eb=j.default.useContext(ee.RouterContext),e_=j.default.useContext(et.AppRouterContext),ew=null!=eb?eb:e_,ek=!eb,eC=!1!==eu,eE=null===eu?ei.PrefetchKind.AUTO:ei.PrefetchKind.FULL,{href:eT,as:eO}=j.default.useMemo(()=>{if(!eb){let n=formatStringOrUrl(W);return{href:n,as:es?formatStringOrUrl(es):n}}let[n,a]=(0,z.resolveHref)(eb,W,!0);return{href:n,as:es?(0,z.resolveHref)(eb,es):a||n}},[eb,W,es]),ej=j.default.useRef(eT),eS=j.default.useRef(eO);ev&&(v=j.default.Children.only(g));let eI=ev?v&&"object"==typeof v&&v.ref:a,[eP,eN,eZ]=(0,en.useIntersection)({rootMargin:"200px"}),eR=j.default.useCallback(n=>{(eS.current!==eO||ej.current!==eT)&&(eZ(),eS.current=eO,ej.current=eT),eP(n),eI&&("function"==typeof eI?eI(n):"object"==typeof eI&&(eI.current=n))},[eO,eI,eT,eZ,eP]);j.default.useEffect(()=>{ew&&eN&&eC&&prefetch(ew,eT,eO,{locale:eh},{kind:eE},ek)},[eO,eT,eN,eh,eC,null==eb?void 0:eb.locale,ew,ek,eE]);let eA={ref:eR,onClick(n){ev||"function"!=typeof em||em(n),ev&&v.props&&"function"==typeof v.props.onClick&&v.props.onClick(n),ew&&!n.defaultPrevented&&function(n,a,g,v,z,W,B,K,ee,et){let{nodeName:en}=n.currentTarget,er="A"===en.toUpperCase();if(er&&(function(n){let a=n.currentTarget,g=a.getAttribute("target");return g&&"_self"!==g||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.nativeEvent&&2===n.nativeEvent.which}(n)||!ee&&!(0,H.isLocalURL)(g)))return;n.preventDefault();let navigate=()=>{let n=null==B||B;"beforePopState"in a?a[z?"replace":"push"](g,v,{shallow:W,locale:K,scroll:n}):a[z?"replace":"push"](v||g,{forceOptimisticNavigation:!et,scroll:n})};ee?j.default.startTransition(navigate):navigate()}(n,ew,eT,eO,ed,ep,ef,eh,ek,eC)},onMouseEnter(n){ev||"function"!=typeof ex||ex(n),ev&&v.props&&"function"==typeof v.props.onMouseEnter&&v.props.onMouseEnter(n),ew&&(eC||!ek)&&prefetch(ew,eT,eO,{locale:eh,priority:!0,bypassPrefetchedCheck:!0},{kind:eE},ek)},onTouchStart(n){ev||"function"!=typeof eg||eg(n),ev&&v.props&&"function"==typeof v.props.onTouchStart&&v.props.onTouchStart(n),ew&&(eC||!ek)&&prefetch(ew,eT,eO,{locale:eh,priority:!0,bypassPrefetchedCheck:!0},{kind:eE},ek)}};if((0,B.isAbsoluteUrl)(eO))eA.href=eO;else if(!ev||ec||"a"===v.type&&!("href"in v.props)){let n=void 0!==eh?eh:null==eb?void 0:eb.locale,a=(null==eb?void 0:eb.isLocaleDomain)&&(0,er.getDomainLocale)(eO,n,null==eb?void 0:eb.locales,null==eb?void 0:eb.domainLocales);eA.href=a||(0,eo.addBasePath)((0,K.addLocale)(eO,n,null==eb?void 0:eb.defaultLocale))}return ev?j.default.cloneElement(v,eA):j.default.createElement("a",{...ey,...eA},g)}),eu=el;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),n.exports=a.default)},920:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let v=g(7294),j=g(3436),z="function"==typeof IntersectionObserver,H=new Map,W=[];function useIntersection(n){let{rootRef:a,rootMargin:g,disabled:B}=n,K=B||!z,[ee,et]=(0,v.useState)(!1),en=(0,v.useRef)(null),er=(0,v.useCallback)(n=>{en.current=n},[]);(0,v.useEffect)(()=>{if(z){if(K||ee)return;let n=en.current;if(n&&n.tagName){let v=function(n,a,g){let{id:v,observer:j,elements:z}=function(n){let a;let g={root:n.root||null,margin:n.rootMargin||""},v=W.find(n=>n.root===g.root&&n.margin===g.margin);if(v&&(a=H.get(v)))return a;let j=new Map,z=new IntersectionObserver(n=>{n.forEach(n=>{let a=j.get(n.target),g=n.isIntersecting||n.intersectionRatio>0;a&&g&&a(g)})},n);return a={id:g,observer:z,elements:j},W.push(g),H.set(g,a),a}(g);return z.set(n,a),j.observe(n),function(){if(z.delete(n),j.unobserve(n),0===z.size){j.disconnect(),H.delete(v);let n=W.findIndex(n=>n.root===v.root&&n.margin===v.margin);n>-1&&W.splice(n,1)}}}(n,n=>n&&et(n),{root:null==a?void 0:a.current,rootMargin:g});return v}}else if(!ee){let n=(0,j.requestIdleCallback)(()=>et(!0));return()=>(0,j.cancelIdleCallback)(n)}},[K,g,a,ee,en.current]);let eo=(0,v.useCallback)(()=>{et(!1)},[]);return[er,ee,eo]}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),n.exports=a.default)},3914:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),g(1905);let v=g(2393),j=g(5494);function isStaticRequire(n){return void 0!==n.default}function getInt(n){return void 0===n?n:"number"==typeof n?Number.isFinite(n)?n:NaN:"string"==typeof n&&/^[0-9]+$/.test(n)?parseInt(n,10):NaN}function getImgProps(n,a){var g;let z,H,W,{src:B,sizes:K,unoptimized:ee=!1,priority:et=!1,loading:en,className:er,quality:eo,width:ei,height:es,fill:el=!1,style:eu,onLoad:ec,onLoadingComplete:ed,placeholder:ep="empty",blurDataURL:ef,fetchPriority:eh,layout:em,objectFit:ex,objectPosition:eg,lazyBoundary:ev,lazyRoot:ey,...eb}=n,{imgConf:e_,showAltText:ew,blurComplete:ek,defaultLoader:eC}=a,eE=e_||j.imageConfigDefault;if("allSizes"in eE)z=eE;else{let n=[...eE.deviceSizes,...eE.imageSizes].sort((n,a)=>n-a),a=eE.deviceSizes.sort((n,a)=>n-a);z={...eE,allSizes:n,deviceSizes:a}}let eT=eb.loader||eC;delete eb.loader,delete eb.srcSet;let eO="__next_img_default"in eT;if(eO){if("custom"===z.loader)throw Error('Image with src "'+B+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let n=eT;eT=a=>{let{config:g,...v}=a;return n(v)}}if(em){"fill"===em&&(el=!0);let n={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[em];n&&(eu={...eu,...n});let a={responsive:"100vw",fill:"100vw"}[em];a&&!K&&(K=a)}let ej="",eS=getInt(ei),eI=getInt(es);if("object"==typeof(g=B)&&(isStaticRequire(g)||void 0!==g.src)){let n=isStaticRequire(B)?B.default:B;if(!n.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(n));if(!n.height||!n.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(n));if(H=n.blurWidth,W=n.blurHeight,ef=ef||n.blurDataURL,ej=n.src,!el){if(eS||eI){if(eS&&!eI){let a=eS/n.width;eI=Math.round(n.height*a)}else if(!eS&&eI){let a=eI/n.height;eS=Math.round(n.width*a)}}else eS=n.width,eI=n.height}}let eP=!et&&("lazy"===en||void 0===en);(!(B="string"==typeof B?B:ej)||B.startsWith("data:")||B.startsWith("blob:"))&&(ee=!0,eP=!1),z.unoptimized&&(ee=!0),eO&&B.endsWith(".svg")&&!z.dangerouslyAllowSVG&&(ee=!0),et&&(eh="high");let eN=getInt(eo),eZ=Object.assign(el?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:ex,objectPosition:eg}:{},ew?{}:{color:"transparent"},eu),eR=ek||"empty"===ep?null:"blur"===ep?'url("data:image/svg+xml;charset=utf-8,'+(0,v.getImageBlurSvg)({widthInt:eS,heightInt:eI,blurWidth:H,blurHeight:W,blurDataURL:ef||"",objectFit:eZ.objectFit})+'")':'url("'+ep+'")',eA=eR?{backgroundSize:eZ.objectFit||"cover",backgroundPosition:eZ.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eR}:{},eM=function(n){let{config:a,src:g,unoptimized:v,width:j,quality:z,sizes:H,loader:W}=n;if(v)return{src:g,srcSet:void 0,sizes:void 0};let{widths:B,kind:K}=function(n,a,g){let{deviceSizes:v,allSizes:j}=n;if(g){let n=/(^|\s)(1?\d?\d)vw/g,a=[];for(let v;v=n.exec(g);v)a.push(parseInt(v[2]));if(a.length){let n=.01*Math.min(...a);return{widths:j.filter(a=>a>=v[0]*n),kind:"w"}}return{widths:j,kind:"w"}}if("number"!=typeof a)return{widths:v,kind:"w"};let z=[...new Set([a,2*a].map(n=>j.find(a=>a>=n)||j[j.length-1]))];return{widths:z,kind:"x"}}(a,j,H),ee=B.length-1;return{sizes:H||"w"!==K?H:"100vw",srcSet:B.map((n,v)=>W({config:a,src:g,quality:z,width:n})+" "+("w"===K?n:v+1)+K).join(", "),src:W({config:a,src:g,quality:z,width:B[ee]})}}({config:z,src:B,unoptimized:ee,width:eS,quality:eN,sizes:K,loader:eT}),eL={...eb,loading:eP?"lazy":en,fetchPriority:eh,width:eS,height:eI,decoding:"async",className:er,style:{...eZ,...eA},sizes:eM.sizes,srcSet:eM.srcSet,src:eM.src},eD={unoptimized:ee,priority:et,placeholder:ep,fill:el};return{props:eL,meta:eD}}},2393:function(n,a){"use strict";function getImageBlurSvg(n){let{widthInt:a,heightInt:g,blurWidth:v,blurHeight:j,blurDataURL:z,objectFit:H}=n,W=v?40*v:a,B=j?40*j:g,K=W&&B?"viewBox='0 0 "+W+" "+B+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+K+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(K?"none":"contain"===H?"xMidYMid":"cover"===H?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+z+"'/%3E%3C/svg%3E"}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},645:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(n,a){for(var g in a)Object.defineProperty(n,g,{enumerable:!0,get:a[g]})}(a,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return B}});let v=g(8754),j=g(3914),z=g(1905),H=g(3271),W=v._(g(4545)),unstable_getImgProps=n=>{(0,z.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:a}=(0,j.getImgProps)(n,{defaultLoader:W.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[n,g]of Object.entries(a))void 0===g&&delete a[n];return{props:a}},B=H.Image},4545:function(n,a){"use strict";function defaultLoader(n){let{config:a,src:g,width:v,quality:j}=n;return a.path+"?url="+encodeURIComponent(g)+"&w="+v+"&q="+(j||75)}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return g}}),defaultLoader.__next_img_default=!0;let g=defaultLoader},9128:function(){},9008:function(n,a,g){n.exports=g(9201)},5675:function(n,a,g){n.exports=g(645)},1664:function(n,a,g){n.exports=g(5170)},1163:function(n,a,g){n.exports=g(9974)},8164:function(n,a,g){"use strict";let v;g.d(a,{ZP:function(){return Layout}});var j,z,H,W,B,K,ee,et,en,er,eo,ei,es,el,eu,ec,ed,ep,ef,eh,em,ex,eg,ev,ey,eb,e_=g(1163),ew=g(7294);g(5202);var ek=g(512);function useMounted(){let[n,a]=(0,ew.useState)(!1);return(0,ew.useEffect)(()=>{a(!0)},[]),n}var eC=g(7222),useFSRoute=()=>{let{locale:n=eC.ZW,asPath:a,route:g}=(0,e_.useRouter)();return(0,ew.useMemo)(()=>{let v=eC.hV.has(g)?g:a,{pathname:j}=new URL(v,"https://nextra.vercel.app"),z=n?j.replace(RegExp(`\\.${n}(\\/|$)`),"$1"):j;return z.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[a,n,g])},eE=g(2643),eT=g(4861);(j=ef||(ef={})).assertEqual=n=>n,j.assertIs=function(n){},j.assertNever=function(n){throw Error()},j.arrayToEnum=n=>{let a={};for(let g of n)a[g]=g;return a},j.getValidEnumValues=n=>{let a=j.objectKeys(n).filter(a=>"number"!=typeof n[n[a]]),g={};for(let v of a)g[v]=n[v];return j.objectValues(g)},j.objectValues=n=>j.objectKeys(n).map(function(a){return n[a]}),j.objectKeys="function"==typeof Object.keys?n=>Object.keys(n):n=>{let a=[];for(let g in n)Object.prototype.hasOwnProperty.call(n,g)&&a.push(g);return a},j.find=(n,a)=>{for(let g of n)if(a(g))return g},j.isInteger="function"==typeof Number.isInteger?n=>Number.isInteger(n):n=>"number"==typeof n&&isFinite(n)&&Math.floor(n)===n,j.joinValues=function(n,a=" | "){return n.map(n=>"string"==typeof n?`'${n}'`:n).join(a)},j.jsonStringifyReplacer=(n,a)=>"bigint"==typeof a?a.toString():a,(eh||(eh={})).mergeShapes=(n,a)=>({...n,...a});let eO=ef.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),getParsedType=n=>{let a=typeof n;switch(a){case"undefined":return eO.undefined;case"string":return eO.string;case"number":return isNaN(n)?eO.nan:eO.number;case"boolean":return eO.boolean;case"function":return eO.function;case"bigint":return eO.bigint;case"symbol":return eO.symbol;case"object":if(Array.isArray(n))return eO.array;if(null===n)return eO.null;if(n.then&&"function"==typeof n.then&&n.catch&&"function"==typeof n.catch)return eO.promise;if("undefined"!=typeof Map&&n instanceof Map)return eO.map;if("undefined"!=typeof Set&&n instanceof Set)return eO.set;if("undefined"!=typeof Date&&n instanceof Date)return eO.date;return eO.object;default:return eO.unknown}},ej=ef.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);let ZodError=class ZodError extends Error{constructor(n){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let a=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,a):this.__proto__=a,this.name="ZodError",this.issues=n}get errors(){return this.issues}format(n){let a=n||function(n){return n.message},g={_errors:[]},processError=n=>{for(let v of n.issues)if("invalid_union"===v.code)v.unionErrors.map(processError);else if("invalid_return_type"===v.code)processError(v.returnTypeError);else if("invalid_arguments"===v.code)processError(v.argumentsError);else if(0===v.path.length)g._errors.push(a(v));else{let n=g,j=0;for(;jn.message){let a={},g=[];for(let v of this.issues)v.path.length>0?(a[v.path[0]]=a[v.path[0]]||[],a[v.path[0]].push(n(v))):g.push(n(v));return{formErrors:g,fieldErrors:a}}get formErrors(){return this.flatten()}};ZodError.create=n=>{let a=new ZodError(n);return a};let errorMap=(n,a)=>{let g;switch(n.code){case ej.invalid_type:g=n.received===eO.undefined?"Required":`Expected ${n.expected}, received ${n.received}`;break;case ej.invalid_literal:g=`Invalid literal value, expected ${JSON.stringify(n.expected,ef.jsonStringifyReplacer)}`;break;case ej.unrecognized_keys:g=`Unrecognized key(s) in object: ${ef.joinValues(n.keys,", ")}`;break;case ej.invalid_union:g="Invalid input";break;case ej.invalid_union_discriminator:g=`Invalid discriminator value. Expected ${ef.joinValues(n.options)}`;break;case ej.invalid_enum_value:g=`Invalid enum value. Expected ${ef.joinValues(n.options)}, received '${n.received}'`;break;case ej.invalid_arguments:g="Invalid function arguments";break;case ej.invalid_return_type:g="Invalid function return type";break;case ej.invalid_date:g="Invalid date";break;case ej.invalid_string:"object"==typeof n.validation?"includes"in n.validation?(g=`Invalid input: must include "${n.validation.includes}"`,"number"==typeof n.validation.position&&(g=`${g} at one or more positions greater than or equal to ${n.validation.position}`)):"startsWith"in n.validation?g=`Invalid input: must start with "${n.validation.startsWith}"`:"endsWith"in n.validation?g=`Invalid input: must end with "${n.validation.endsWith}"`:ef.assertNever(n.validation):g="regex"!==n.validation?`Invalid ${n.validation}`:"Invalid";break;case ej.too_small:g="array"===n.type?`Array must contain ${n.exact?"exactly":n.inclusive?"at least":"more than"} ${n.minimum} element(s)`:"string"===n.type?`String must contain ${n.exact?"exactly":n.inclusive?"at least":"over"} ${n.minimum} character(s)`:"number"===n.type?`Number must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${n.minimum}`:"date"===n.type?`Date must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(n.minimum))}`:"Invalid input";break;case ej.too_big:g="array"===n.type?`Array must contain ${n.exact?"exactly":n.inclusive?"at most":"less than"} ${n.maximum} element(s)`:"string"===n.type?`String must contain ${n.exact?"exactly":n.inclusive?"at most":"under"} ${n.maximum} character(s)`:"number"===n.type?`Number must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:"bigint"===n.type?`BigInt must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:"date"===n.type?`Date must be ${n.exact?"exactly":n.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(n.maximum))}`:"Invalid input";break;case ej.custom:g="Invalid input";break;case ej.invalid_intersection_types:g="Intersection results could not be merged";break;case ej.not_multiple_of:g=`Number must be a multiple of ${n.multipleOf}`;break;case ej.not_finite:g="Number must be finite";break;default:g=a.defaultError,ef.assertNever(n)}return{message:g}},eS=errorMap;function getErrorMap(){return eS}let makeIssue=n=>{let{data:a,path:g,errorMaps:v,issueData:j}=n,z=[...g,...j.path||[]],H={...j,path:z};if(void 0!==j.message)return{...j,path:z,message:j.message};let W="",B=v.filter(n=>!!n).slice().reverse();for(let n of B)W=n(H,{data:a,defaultError:W}).message;return{...j,path:z,message:W}};function addIssueToContext(n,a){let g=getErrorMap(),v=makeIssue({issueData:a,data:n.data,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,g,g===errorMap?void 0:errorMap].filter(n=>!!n)});n.common.issues.push(v)}let ParseStatus=class ParseStatus{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(n,a){let g=[];for(let v of a){if("aborted"===v.status)return eI;"dirty"===v.status&&n.dirty(),g.push(v.value)}return{status:n.value,value:g}}static async mergeObjectAsync(n,a){let g=[];for(let n of a){let a=await n.key,v=await n.value;g.push({key:a,value:v})}return ParseStatus.mergeObjectSync(n,g)}static mergeObjectSync(n,a){let g={};for(let v of a){let{key:a,value:j}=v;if("aborted"===a.status||"aborted"===j.status)return eI;"dirty"===a.status&&n.dirty(),"dirty"===j.status&&n.dirty(),"__proto__"!==a.value&&(void 0!==j.value||v.alwaysSet)&&(g[a.value]=j.value)}return{status:n.value,value:g}}};let eI=Object.freeze({status:"aborted"}),DIRTY=n=>({status:"dirty",value:n}),OK=n=>({status:"valid",value:n}),isAborted=n=>"aborted"===n.status,isDirty=n=>"dirty"===n.status,isValid=n=>"valid"===n.status,isAsync=n=>"undefined"!=typeof Promise&&n instanceof Promise;function __classPrivateFieldGet(n,a,g,v){if("a"===g&&!v)throw TypeError("Private accessor was defined without a getter");if("function"==typeof a?n!==a||!v:!a.has(n))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===g?v:"a"===g?v.call(n):v?v.value:a.get(n)}function __classPrivateFieldSet(n,a,g,v,j){if("m"===v)throw TypeError("Private method is not writable");if("a"===v&&!j)throw TypeError("Private accessor was defined without a setter");if("function"==typeof a?n!==a||!j:!a.has(n))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===v?j.call(n,g):j?j.value=g:a.set(n,g),g}"function"==typeof SuppressedError&&SuppressedError,(z=em||(em={})).errToObj=n=>"string"==typeof n?{message:n}:n||{},z.toString=n=>"string"==typeof n?n:null==n?void 0:n.message;let ParseInputLazyPath=class ParseInputLazyPath{constructor(n,a,g,v){this._cachedPath=[],this.parent=n,this.data=a,this._path=g,this._key=v}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}};let handleResult=(n,a)=>{if(isValid(a))return{success:!0,data:a.value};if(!n.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let a=new ZodError(n.common.issues);return this._error=a,this._error}}};function processCreateParams(n){if(!n)return{};let{errorMap:a,invalid_type_error:g,required_error:v,description:j}=n;if(a&&(g||v))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return a?{errorMap:a,description:j}:{errorMap:(a,j)=>{var z,H;let{message:W}=n;return"invalid_enum_value"===a.code?{message:null!=W?W:j.defaultError}:void 0===j.data?{message:null!==(z=null!=W?W:v)&&void 0!==z?z:j.defaultError}:"invalid_type"!==a.code?{message:j.defaultError}:{message:null!==(H=null!=W?W:g)&&void 0!==H?H:j.defaultError}},description:j}}let ZodType=class ZodType{constructor(n){this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(n){return getParsedType(n.data)}_getOrReturnCtx(n,a){return a||{common:n.parent.common,data:n.data,parsedType:getParsedType(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new ParseStatus,ctx:{common:n.parent.common,data:n.data,parsedType:getParsedType(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){let a=this._parse(n);if(isAsync(a))throw Error("Synchronous parse encountered promise.");return a}_parseAsync(n){let a=this._parse(n);return Promise.resolve(a)}parse(n,a){let g=this.safeParse(n,a);if(g.success)return g.data;throw g.error}safeParse(n,a){var g;let v={common:{issues:[],async:null!==(g=null==a?void 0:a.async)&&void 0!==g&&g,contextualErrorMap:null==a?void 0:a.errorMap},path:(null==a?void 0:a.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:getParsedType(n)},j=this._parseSync({data:n,path:v.path,parent:v});return handleResult(v,j)}async parseAsync(n,a){let g=await this.safeParseAsync(n,a);if(g.success)return g.data;throw g.error}async safeParseAsync(n,a){let g={common:{issues:[],contextualErrorMap:null==a?void 0:a.errorMap,async:!0},path:(null==a?void 0:a.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:getParsedType(n)},v=this._parse({data:n,path:g.path,parent:g}),j=await (isAsync(v)?v:Promise.resolve(v));return handleResult(g,j)}refine(n,a){let getIssueProperties=n=>"string"==typeof a||void 0===a?{message:a}:"function"==typeof a?a(n):a;return this._refinement((a,g)=>{let v=n(a),setError=()=>g.addIssue({code:ej.custom,...getIssueProperties(a)});return"undefined"!=typeof Promise&&v instanceof Promise?v.then(n=>!!n||(setError(),!1)):!!v||(setError(),!1)})}refinement(n,a){return this._refinement((g,v)=>!!n(g)||(v.addIssue("function"==typeof a?a(g,v):a),!1))}_refinement(n){return new ZodEffects({schema:this,typeName:ev.ZodEffects,effect:{type:"refinement",refinement:n}})}superRefine(n){return this._refinement(n)}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this,this._def)}promise(){return ZodPromise.create(this,this._def)}or(n){return ZodUnion.create([this,n],this._def)}and(n){return ZodIntersection.create(this,n,this._def)}transform(n){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:ev.ZodEffects,effect:{type:"transform",transform:n}})}default(n){return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:"function"==typeof n?n:()=>n,typeName:ev.ZodDefault})}brand(){return new ZodBranded({typeName:ev.ZodBranded,type:this,...processCreateParams(this._def)})}catch(n){return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:"function"==typeof n?n:()=>n,typeName:ev.ZodCatch})}describe(n){let a=this.constructor;return new a({...this._def,description:n})}pipe(n){return ZodPipeline.create(this,n)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};let eP=/^c[^\s-]{8,}$/i,eN=/^[0-9a-z]+$/,eZ=/^[0-9A-HJKMNP-TV-Z]{26}$/,eR=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,eA=/^[a-z0-9_-]{21}$/i,eM=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,eL=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eD=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,eF=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ez=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eU="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",eV=RegExp(`^${eU}$`);function timeRegexSource(n){let a="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return n.precision?a=`${a}\\.\\d{${n.precision}}`:null==n.precision&&(a=`${a}(\\.\\d+)?`),a}function datetimeRegex(n){let a=`${eU}T${timeRegexSource(n)}`,g=[];return g.push(n.local?"Z?":"Z"),n.offset&&g.push("([+-]\\d{2}:?\\d{2})"),a=`${a}(${g.join("|")})`,RegExp(`^${a}$`)}let ZodString=class ZodString extends ZodType{_parse(n){var a,g;let j;this._def.coerce&&(n.data=String(n.data));let z=this._getType(n);if(z!==eO.string){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.string,received:a.parsedType}),eI}let H=new ParseStatus;for(let z of this._def.checks)if("min"===z.kind)n.data.lengthz.value&&(addIssueToContext(j=this._getOrReturnCtx(n,j),{code:ej.too_big,maximum:z.value,type:"string",inclusive:!0,exact:!1,message:z.message}),H.dirty());else if("length"===z.kind){let a=n.data.length>z.value,g=n.data.lengthn.test(a),{validation:a,code:ej.invalid_string,...em.errToObj(g)})}_addCheck(n){return new ZodString({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...em.errToObj(n)})}url(n){return this._addCheck({kind:"url",...em.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...em.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...em.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...em.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...em.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...em.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...em.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...em.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...em.errToObj(n)})}datetime(n){var a,g;return"string"==typeof n?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:void 0===(null==n?void 0:n.precision)?null:null==n?void 0:n.precision,offset:null!==(a=null==n?void 0:n.offset)&&void 0!==a&&a,local:null!==(g=null==n?void 0:n.local)&&void 0!==g&&g,...em.errToObj(null==n?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return"string"==typeof n?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:void 0===(null==n?void 0:n.precision)?null:null==n?void 0:n.precision,...em.errToObj(null==n?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...em.errToObj(n)})}regex(n,a){return this._addCheck({kind:"regex",regex:n,...em.errToObj(a)})}includes(n,a){return this._addCheck({kind:"includes",value:n,position:null==a?void 0:a.position,...em.errToObj(null==a?void 0:a.message)})}startsWith(n,a){return this._addCheck({kind:"startsWith",value:n,...em.errToObj(a)})}endsWith(n,a){return this._addCheck({kind:"endsWith",value:n,...em.errToObj(a)})}min(n,a){return this._addCheck({kind:"min",value:n,...em.errToObj(a)})}max(n,a){return this._addCheck({kind:"max",value:n,...em.errToObj(a)})}length(n,a){return this._addCheck({kind:"length",value:n,...em.errToObj(a)})}nonempty(n){return this.min(1,em.errToObj(n))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(n=>"datetime"===n.kind)}get isDate(){return!!this._def.checks.find(n=>"date"===n.kind)}get isTime(){return!!this._def.checks.find(n=>"time"===n.kind)}get isDuration(){return!!this._def.checks.find(n=>"duration"===n.kind)}get isEmail(){return!!this._def.checks.find(n=>"email"===n.kind)}get isURL(){return!!this._def.checks.find(n=>"url"===n.kind)}get isEmoji(){return!!this._def.checks.find(n=>"emoji"===n.kind)}get isUUID(){return!!this._def.checks.find(n=>"uuid"===n.kind)}get isNANOID(){return!!this._def.checks.find(n=>"nanoid"===n.kind)}get isCUID(){return!!this._def.checks.find(n=>"cuid"===n.kind)}get isCUID2(){return!!this._def.checks.find(n=>"cuid2"===n.kind)}get isULID(){return!!this._def.checks.find(n=>"ulid"===n.kind)}get isIP(){return!!this._def.checks.find(n=>"ip"===n.kind)}get isBase64(){return!!this._def.checks.find(n=>"base64"===n.kind)}get minLength(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return n}get maxLength(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.value{var a;return new ZodString({checks:[],typeName:ev.ZodString,coerce:null!==(a=null==n?void 0:n.coerce)&&void 0!==a&&a,...processCreateParams(n)})};let ZodNumber=class ZodNumber extends ZodType{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(n){let a;this._def.coerce&&(n.data=Number(n.data));let g=this._getType(n);if(g!==eO.number){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.number,received:a.parsedType}),eI}let v=new ParseStatus;for(let g of this._def.checks)if("int"===g.kind)ef.isInteger(n.data)||(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.invalid_type,expected:"integer",received:"float",message:g.message}),v.dirty());else if("min"===g.kind){let j=g.inclusive?n.datag.value:n.data>=g.value;j&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.too_big,maximum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty())}else"multipleOf"===g.kind?0!==function(n,a){let g=(n.toString().split(".")[1]||"").length,v=(a.toString().split(".")[1]||"").length,j=g>v?g:v,z=parseInt(n.toFixed(j).replace(".","")),H=parseInt(a.toFixed(j).replace(".",""));return z%H/Math.pow(10,j)}(n.data,g.value)&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.not_multiple_of,multipleOf:g.value,message:g.message}),v.dirty()):"finite"===g.kind?Number.isFinite(n.data)||(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.not_finite,message:g.message}),v.dirty()):ef.assertNever(g);return{status:v.value,value:n.data}}gte(n,a){return this.setLimit("min",n,!0,em.toString(a))}gt(n,a){return this.setLimit("min",n,!1,em.toString(a))}lte(n,a){return this.setLimit("max",n,!0,em.toString(a))}lt(n,a){return this.setLimit("max",n,!1,em.toString(a))}setLimit(n,a,g,v){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:n,value:a,inclusive:g,message:em.toString(v)}]})}_addCheck(n){return new ZodNumber({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:em.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:em.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:em.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:em.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:em.toString(n)})}multipleOf(n,a){return this._addCheck({kind:"multipleOf",value:n,message:em.toString(a)})}finite(n){return this._addCheck({kind:"finite",message:em.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:em.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:em.toString(n)})}get minValue(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return n}get maxValue(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.value"int"===n.kind||"multipleOf"===n.kind&&ef.isInteger(n.value))}get isFinite(){let n=null,a=null;for(let g of this._def.checks){if("finite"===g.kind||"int"===g.kind||"multipleOf"===g.kind)return!0;"min"===g.kind?(null===a||g.value>a)&&(a=g.value):"max"===g.kind&&(null===n||g.valuenew ZodNumber({checks:[],typeName:ev.ZodNumber,coerce:(null==n?void 0:n.coerce)||!1,...processCreateParams(n)});let ZodBigInt=class ZodBigInt extends ZodType{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(n){let a;this._def.coerce&&(n.data=BigInt(n.data));let g=this._getType(n);if(g!==eO.bigint){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.bigint,received:a.parsedType}),eI}let v=new ParseStatus;for(let g of this._def.checks)if("min"===g.kind){let j=g.inclusive?n.datag.value:n.data>=g.value;j&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.too_big,type:"bigint",maximum:g.value,inclusive:g.inclusive,message:g.message}),v.dirty())}else"multipleOf"===g.kind?n.data%g.value!==BigInt(0)&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.not_multiple_of,multipleOf:g.value,message:g.message}),v.dirty()):ef.assertNever(g);return{status:v.value,value:n.data}}gte(n,a){return this.setLimit("min",n,!0,em.toString(a))}gt(n,a){return this.setLimit("min",n,!1,em.toString(a))}lte(n,a){return this.setLimit("max",n,!0,em.toString(a))}lt(n,a){return this.setLimit("max",n,!1,em.toString(a))}setLimit(n,a,g,v){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:n,value:a,inclusive:g,message:em.toString(v)}]})}_addCheck(n){return new ZodBigInt({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:em.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:em.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:em.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:em.toString(n)})}multipleOf(n,a){return this._addCheck({kind:"multipleOf",value:n,message:em.toString(a)})}get minValue(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return n}get maxValue(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.value{var a;return new ZodBigInt({checks:[],typeName:ev.ZodBigInt,coerce:null!==(a=null==n?void 0:n.coerce)&&void 0!==a&&a,...processCreateParams(n)})};let ZodBoolean=class ZodBoolean extends ZodType{_parse(n){this._def.coerce&&(n.data=!!n.data);let a=this._getType(n);if(a!==eO.boolean){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.boolean,received:a.parsedType}),eI}return OK(n.data)}};ZodBoolean.create=n=>new ZodBoolean({typeName:ev.ZodBoolean,coerce:(null==n?void 0:n.coerce)||!1,...processCreateParams(n)});let ZodDate=class ZodDate extends ZodType{_parse(n){let a;this._def.coerce&&(n.data=new Date(n.data));let g=this._getType(n);if(g!==eO.date){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.date,received:a.parsedType}),eI}if(isNaN(n.data.getTime())){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_date}),eI}let v=new ParseStatus;for(let g of this._def.checks)"min"===g.kind?n.data.getTime()g.value&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.too_big,message:g.message,inclusive:!0,exact:!1,maximum:g.value,type:"date"}),v.dirty()):ef.assertNever(g);return{status:v.value,value:new Date(n.data.getTime())}}_addCheck(n){return new ZodDate({...this._def,checks:[...this._def.checks,n]})}min(n,a){return this._addCheck({kind:"min",value:n.getTime(),message:em.toString(a)})}max(n,a){return this._addCheck({kind:"max",value:n.getTime(),message:em.toString(a)})}get minDate(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return null!=n?new Date(n):null}get maxDate(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.valuenew ZodDate({checks:[],coerce:(null==n?void 0:n.coerce)||!1,typeName:ev.ZodDate,...processCreateParams(n)});let ZodSymbol=class ZodSymbol extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.symbol){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.symbol,received:a.parsedType}),eI}return OK(n.data)}};ZodSymbol.create=n=>new ZodSymbol({typeName:ev.ZodSymbol,...processCreateParams(n)});let ZodUndefined=class ZodUndefined extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.undefined){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.undefined,received:a.parsedType}),eI}return OK(n.data)}};ZodUndefined.create=n=>new ZodUndefined({typeName:ev.ZodUndefined,...processCreateParams(n)});let ZodNull=class ZodNull extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.null){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.null,received:a.parsedType}),eI}return OK(n.data)}};ZodNull.create=n=>new ZodNull({typeName:ev.ZodNull,...processCreateParams(n)});let ZodAny=class ZodAny extends ZodType{constructor(){super(...arguments),this._any=!0}_parse(n){return OK(n.data)}};ZodAny.create=n=>new ZodAny({typeName:ev.ZodAny,...processCreateParams(n)});let ZodUnknown=class ZodUnknown extends ZodType{constructor(){super(...arguments),this._unknown=!0}_parse(n){return OK(n.data)}};ZodUnknown.create=n=>new ZodUnknown({typeName:ev.ZodUnknown,...processCreateParams(n)});let ZodNever=class ZodNever extends ZodType{_parse(n){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.never,received:a.parsedType}),eI}};ZodNever.create=n=>new ZodNever({typeName:ev.ZodNever,...processCreateParams(n)});let ZodVoid=class ZodVoid extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.undefined){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.void,received:a.parsedType}),eI}return OK(n.data)}};ZodVoid.create=n=>new ZodVoid({typeName:ev.ZodVoid,...processCreateParams(n)});let ZodArray=class ZodArray extends ZodType{_parse(n){let{ctx:a,status:g}=this._processInputParams(n),v=this._def;if(a.parsedType!==eO.array)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.array,received:a.parsedType}),eI;if(null!==v.exactLength){let n=a.data.length>v.exactLength.value,j=a.data.lengthv.maxLength.value&&(addIssueToContext(a,{code:ej.too_big,maximum:v.maxLength.value,type:"array",inclusive:!0,exact:!1,message:v.maxLength.message}),g.dirty()),a.common.async)return Promise.all([...a.data].map((n,g)=>v.type._parseAsync(new ParseInputLazyPath(a,n,a.path,g)))).then(n=>ParseStatus.mergeArray(g,n));let j=[...a.data].map((n,g)=>v.type._parseSync(new ParseInputLazyPath(a,n,a.path,g)));return ParseStatus.mergeArray(g,j)}get element(){return this._def.type}min(n,a){return new ZodArray({...this._def,minLength:{value:n,message:em.toString(a)}})}max(n,a){return new ZodArray({...this._def,maxLength:{value:n,message:em.toString(a)}})}length(n,a){return new ZodArray({...this._def,exactLength:{value:n,message:em.toString(a)}})}nonempty(n){return this.min(1,n)}};ZodArray.create=(n,a)=>new ZodArray({type:n,minLength:null,maxLength:null,exactLength:null,typeName:ev.ZodArray,...processCreateParams(a)});let ZodObject=class ZodObject extends ZodType{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let n=this._def.shape(),a=ef.objectKeys(n);return this._cached={shape:n,keys:a}}_parse(n){let a=this._getType(n);if(a!==eO.object){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.object,received:a.parsedType}),eI}let{status:g,ctx:v}=this._processInputParams(n),{shape:j,keys:z}=this._getCached(),H=[];if(!(this._def.catchall instanceof ZodNever&&"strip"===this._def.unknownKeys))for(let n in v.data)z.includes(n)||H.push(n);let W=[];for(let n of z){let a=j[n],g=v.data[n];W.push({key:{status:"valid",value:n},value:a._parse(new ParseInputLazyPath(v,g,v.path,n)),alwaysSet:n in v.data})}if(this._def.catchall instanceof ZodNever){let n=this._def.unknownKeys;if("passthrough"===n)for(let n of H)W.push({key:{status:"valid",value:n},value:{status:"valid",value:v.data[n]}});else if("strict"===n)H.length>0&&(addIssueToContext(v,{code:ej.unrecognized_keys,keys:H}),g.dirty());else if("strip"===n);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let n=this._def.catchall;for(let a of H){let g=v.data[a];W.push({key:{status:"valid",value:a},value:n._parse(new ParseInputLazyPath(v,g,v.path,a)),alwaysSet:a in v.data})}}return v.common.async?Promise.resolve().then(async()=>{let n=[];for(let a of W){let g=await a.key,v=await a.value;n.push({key:g,value:v,alwaysSet:a.alwaysSet})}return n}).then(n=>ParseStatus.mergeObjectSync(g,n)):ParseStatus.mergeObjectSync(g,W)}get shape(){return this._def.shape()}strict(n){return em.errToObj,new ZodObject({...this._def,unknownKeys:"strict",...void 0!==n?{errorMap:(a,g)=>{var v,j,z,H;let W=null!==(z=null===(j=(v=this._def).errorMap)||void 0===j?void 0:j.call(v,a,g).message)&&void 0!==z?z:g.defaultError;return"unrecognized_keys"===a.code?{message:null!==(H=em.errToObj(n).message)&&void 0!==H?H:W}:{message:W}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:"strip"})}passthrough(){return new ZodObject({...this._def,unknownKeys:"passthrough"})}extend(n){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){let a=new ZodObject({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:ev.ZodObject});return a}setKey(n,a){return this.augment({[n]:a})}catchall(n){return new ZodObject({...this._def,catchall:n})}pick(n){let a={};return ef.objectKeys(n).forEach(g=>{n[g]&&this.shape[g]&&(a[g]=this.shape[g])}),new ZodObject({...this._def,shape:()=>a})}omit(n){let a={};return ef.objectKeys(this.shape).forEach(g=>{n[g]||(a[g]=this.shape[g])}),new ZodObject({...this._def,shape:()=>a})}deepPartial(){return function deepPartialify(n){if(n instanceof ZodObject){let a={};for(let g in n.shape){let v=n.shape[g];a[g]=ZodOptional.create(deepPartialify(v))}return new ZodObject({...n._def,shape:()=>a})}return n instanceof ZodArray?new ZodArray({...n._def,type:deepPartialify(n.element)}):n instanceof ZodOptional?ZodOptional.create(deepPartialify(n.unwrap())):n instanceof ZodNullable?ZodNullable.create(deepPartialify(n.unwrap())):n instanceof ZodTuple?ZodTuple.create(n.items.map(n=>deepPartialify(n))):n}(this)}partial(n){let a={};return ef.objectKeys(this.shape).forEach(g=>{let v=this.shape[g];n&&!n[g]?a[g]=v:a[g]=v.optional()}),new ZodObject({...this._def,shape:()=>a})}required(n){let a={};return ef.objectKeys(this.shape).forEach(g=>{if(n&&!n[g])a[g]=this.shape[g];else{let n=this.shape[g],v=n;for(;v instanceof ZodOptional;)v=v._def.innerType;a[g]=v}}),new ZodObject({...this._def,shape:()=>a})}keyof(){return createZodEnum(ef.objectKeys(this.shape))}};ZodObject.create=(n,a)=>new ZodObject({shape:()=>n,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ev.ZodObject,...processCreateParams(a)}),ZodObject.strictCreate=(n,a)=>new ZodObject({shape:()=>n,unknownKeys:"strict",catchall:ZodNever.create(),typeName:ev.ZodObject,...processCreateParams(a)}),ZodObject.lazycreate=(n,a)=>new ZodObject({shape:n,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ev.ZodObject,...processCreateParams(a)});let ZodUnion=class ZodUnion extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g=this._def.options;if(a.common.async)return Promise.all(g.map(async n=>{let g={...a,common:{...a.common,issues:[]},parent:null};return{result:await n._parseAsync({data:a.data,path:a.path,parent:g}),ctx:g}})).then(function(n){for(let a of n)if("valid"===a.result.status)return a.result;for(let g of n)if("dirty"===g.result.status)return a.common.issues.push(...g.ctx.common.issues),g.result;let g=n.map(n=>new ZodError(n.ctx.common.issues));return addIssueToContext(a,{code:ej.invalid_union,unionErrors:g}),eI});{let n;let v=[];for(let j of g){let g={...a,common:{...a.common,issues:[]},parent:null},z=j._parseSync({data:a.data,path:a.path,parent:g});if("valid"===z.status)return z;"dirty"!==z.status||n||(n={result:z,ctx:g}),g.common.issues.length&&v.push(g.common.issues)}if(n)return a.common.issues.push(...n.ctx.common.issues),n.result;let j=v.map(n=>new ZodError(n));return addIssueToContext(a,{code:ej.invalid_union,unionErrors:j}),eI}}get options(){return this._def.options}};ZodUnion.create=(n,a)=>new ZodUnion({options:n,typeName:ev.ZodUnion,...processCreateParams(a)});let getDiscriminator=n=>{if(n instanceof ZodLazy)return getDiscriminator(n.schema);if(n instanceof ZodEffects)return getDiscriminator(n.innerType());if(n instanceof ZodLiteral)return[n.value];if(n instanceof ZodEnum)return n.options;if(n instanceof ZodNativeEnum)return ef.objectValues(n.enum);if(n instanceof ZodDefault)return getDiscriminator(n._def.innerType);if(n instanceof ZodUndefined)return[void 0];else if(n instanceof ZodNull)return[null];else if(n instanceof ZodOptional)return[void 0,...getDiscriminator(n.unwrap())];else if(n instanceof ZodNullable)return[null,...getDiscriminator(n.unwrap())];else if(n instanceof ZodBranded)return getDiscriminator(n.unwrap());else if(n instanceof ZodReadonly)return getDiscriminator(n.unwrap());else if(n instanceof ZodCatch)return getDiscriminator(n._def.innerType);else return[]};let ZodDiscriminatedUnion=class ZodDiscriminatedUnion extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n);if(a.parsedType!==eO.object)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.object,received:a.parsedType}),eI;let g=this.discriminator,v=a.data[g],j=this.optionsMap.get(v);return j?a.common.async?j._parseAsync({data:a.data,path:a.path,parent:a}):j._parseSync({data:a.data,path:a.path,parent:a}):(addIssueToContext(a,{code:ej.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[g]}),eI)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(n,a,g){let v=new Map;for(let g of a){let a=getDiscriminator(g.shape[n]);if(!a.length)throw Error(`A discriminator value for key \`${n}\` could not be extracted from all schema options`);for(let j of a){if(v.has(j))throw Error(`Discriminator property ${String(n)} has duplicate value ${String(j)}`);v.set(j,g)}}return new ZodDiscriminatedUnion({typeName:ev.ZodDiscriminatedUnion,discriminator:n,options:a,optionsMap:v,...processCreateParams(g)})}};let ZodIntersection=class ZodIntersection extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n),handleParsed=(n,v)=>{if(isAborted(n)||isAborted(v))return eI;let j=function mergeValues(n,a){let g=getParsedType(n),v=getParsedType(a);if(n===a)return{valid:!0,data:n};if(g===eO.object&&v===eO.object){let g=ef.objectKeys(a),v=ef.objectKeys(n).filter(n=>-1!==g.indexOf(n)),j={...n,...a};for(let g of v){let v=mergeValues(n[g],a[g]);if(!v.valid)return{valid:!1};j[g]=v.data}return{valid:!0,data:j}}if(g===eO.array&&v===eO.array){if(n.length!==a.length)return{valid:!1};let g=[];for(let v=0;vhandleParsed(n,a)):handleParsed(this._def.left._parseSync({data:g.data,path:g.path,parent:g}),this._def.right._parseSync({data:g.data,path:g.path,parent:g}))}};ZodIntersection.create=(n,a,g)=>new ZodIntersection({left:n,right:a,typeName:ev.ZodIntersection,...processCreateParams(g)});let ZodTuple=class ZodTuple extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.array)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.array,received:g.parsedType}),eI;if(g.data.lengththis._def.items.length&&(addIssueToContext(g,{code:ej.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),a.dirty());let j=[...g.data].map((n,a)=>{let v=this._def.items[a]||this._def.rest;return v?v._parse(new ParseInputLazyPath(g,n,g.path,a)):null}).filter(n=>!!n);return g.common.async?Promise.all(j).then(n=>ParseStatus.mergeArray(a,n)):ParseStatus.mergeArray(a,j)}get items(){return this._def.items}rest(n){return new ZodTuple({...this._def,rest:n})}};ZodTuple.create=(n,a)=>{if(!Array.isArray(n))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ZodTuple({items:n,typeName:ev.ZodTuple,rest:null,...processCreateParams(a)})};let ZodRecord=class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.object)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.object,received:g.parsedType}),eI;let v=[],j=this._def.keyType,z=this._def.valueType;for(let n in g.data)v.push({key:j._parse(new ParseInputLazyPath(g,n,g.path,n)),value:z._parse(new ParseInputLazyPath(g,g.data[n],g.path,n)),alwaysSet:n in g.data});return g.common.async?ParseStatus.mergeObjectAsync(a,v):ParseStatus.mergeObjectSync(a,v)}get element(){return this._def.valueType}static create(n,a,g){return new ZodRecord(a instanceof ZodType?{keyType:n,valueType:a,typeName:ev.ZodRecord,...processCreateParams(g)}:{keyType:ZodString.create(),valueType:n,typeName:ev.ZodRecord,...processCreateParams(a)})}};let ZodMap=class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.map)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.map,received:g.parsedType}),eI;let v=this._def.keyType,j=this._def.valueType,z=[...g.data.entries()].map(([n,a],z)=>({key:v._parse(new ParseInputLazyPath(g,n,g.path,[z,"key"])),value:j._parse(new ParseInputLazyPath(g,a,g.path,[z,"value"]))}));if(g.common.async){let n=new Map;return Promise.resolve().then(async()=>{for(let g of z){let v=await g.key,j=await g.value;if("aborted"===v.status||"aborted"===j.status)return eI;("dirty"===v.status||"dirty"===j.status)&&a.dirty(),n.set(v.value,j.value)}return{status:a.value,value:n}})}{let n=new Map;for(let g of z){let v=g.key,j=g.value;if("aborted"===v.status||"aborted"===j.status)return eI;("dirty"===v.status||"dirty"===j.status)&&a.dirty(),n.set(v.value,j.value)}return{status:a.value,value:n}}}};ZodMap.create=(n,a,g)=>new ZodMap({valueType:a,keyType:n,typeName:ev.ZodMap,...processCreateParams(g)});let ZodSet=class ZodSet extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.set)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.set,received:g.parsedType}),eI;let v=this._def;null!==v.minSize&&g.data.sizev.maxSize.value&&(addIssueToContext(g,{code:ej.too_big,maximum:v.maxSize.value,type:"set",inclusive:!0,exact:!1,message:v.maxSize.message}),a.dirty());let j=this._def.valueType;function finalizeSet(n){let g=new Set;for(let v of n){if("aborted"===v.status)return eI;"dirty"===v.status&&a.dirty(),g.add(v.value)}return{status:a.value,value:g}}let z=[...g.data.values()].map((n,a)=>j._parse(new ParseInputLazyPath(g,n,g.path,a)));return g.common.async?Promise.all(z).then(n=>finalizeSet(n)):finalizeSet(z)}min(n,a){return new ZodSet({...this._def,minSize:{value:n,message:em.toString(a)}})}max(n,a){return new ZodSet({...this._def,maxSize:{value:n,message:em.toString(a)}})}size(n,a){return this.min(n,a).max(n,a)}nonempty(n){return this.min(1,n)}};ZodSet.create=(n,a)=>new ZodSet({valueType:n,minSize:null,maxSize:null,typeName:ev.ZodSet,...processCreateParams(a)});let ZodFunction=class ZodFunction extends ZodType{constructor(){super(...arguments),this.validate=this.implement}_parse(n){let{ctx:a}=this._processInputParams(n);if(a.parsedType!==eO.function)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.function,received:a.parsedType}),eI;function makeArgsIssue(n,g){return makeIssue({data:n,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,getErrorMap(),errorMap].filter(n=>!!n),issueData:{code:ej.invalid_arguments,argumentsError:g}})}function makeReturnsIssue(n,g){return makeIssue({data:n,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,getErrorMap(),errorMap].filter(n=>!!n),issueData:{code:ej.invalid_return_type,returnTypeError:g}})}let g={errorMap:a.common.contextualErrorMap},v=a.data;if(this._def.returns instanceof ZodPromise){let n=this;return OK(async function(...a){let j=new ZodError([]),z=await n._def.args.parseAsync(a,g).catch(n=>{throw j.addIssue(makeArgsIssue(a,n)),j}),H=await Reflect.apply(v,this,z),W=await n._def.returns._def.type.parseAsync(H,g).catch(n=>{throw j.addIssue(makeReturnsIssue(H,n)),j});return W})}{let n=this;return OK(function(...a){let j=n._def.args.safeParse(a,g);if(!j.success)throw new ZodError([makeArgsIssue(a,j.error)]);let z=Reflect.apply(v,this,j.data),H=n._def.returns.safeParse(z,g);if(!H.success)throw new ZodError([makeReturnsIssue(z,H.error)]);return H.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...n){return new ZodFunction({...this._def,args:ZodTuple.create(n).rest(ZodUnknown.create())})}returns(n){return new ZodFunction({...this._def,returns:n})}implement(n){let a=this.parse(n);return a}strictImplement(n){let a=this.parse(n);return a}static create(n,a,g){return new ZodFunction({args:n||ZodTuple.create([]).rest(ZodUnknown.create()),returns:a||ZodUnknown.create(),typeName:ev.ZodFunction,...processCreateParams(g)})}};let ZodLazy=class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(n){let{ctx:a}=this._processInputParams(n),g=this._def.getter();return g._parse({data:a.data,path:a.path,parent:a})}};ZodLazy.create=(n,a)=>new ZodLazy({getter:n,typeName:ev.ZodLazy,...processCreateParams(a)});let ZodLiteral=class ZodLiteral extends ZodType{_parse(n){if(n.data!==this._def.value){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{received:a.data,code:ej.invalid_literal,expected:this._def.value}),eI}return{status:"valid",value:n.data}}get value(){return this._def.value}};function createZodEnum(n,a){return new ZodEnum({values:n,typeName:ev.ZodEnum,...processCreateParams(a)})}ZodLiteral.create=(n,a)=>new ZodLiteral({value:n,typeName:ev.ZodLiteral,...processCreateParams(a)});let ZodEnum=class ZodEnum extends ZodType{constructor(){super(...arguments),ex.set(this,void 0)}_parse(n){if("string"!=typeof n.data){let a=this._getOrReturnCtx(n),g=this._def.values;return addIssueToContext(a,{expected:ef.joinValues(g),received:a.parsedType,code:ej.invalid_type}),eI}if(__classPrivateFieldGet(this,ex,"f")||__classPrivateFieldSet(this,ex,new Set(this._def.values),"f"),!__classPrivateFieldGet(this,ex,"f").has(n.data)){let a=this._getOrReturnCtx(n),g=this._def.values;return addIssueToContext(a,{received:a.data,code:ej.invalid_enum_value,options:g}),eI}return OK(n.data)}get options(){return this._def.values}get enum(){let n={};for(let a of this._def.values)n[a]=a;return n}get Values(){let n={};for(let a of this._def.values)n[a]=a;return n}get Enum(){let n={};for(let a of this._def.values)n[a]=a;return n}extract(n,a=this._def){return ZodEnum.create(n,{...this._def,...a})}exclude(n,a=this._def){return ZodEnum.create(this.options.filter(a=>!n.includes(a)),{...this._def,...a})}};ex=new WeakMap,ZodEnum.create=createZodEnum;let ZodNativeEnum=class ZodNativeEnum extends ZodType{constructor(){super(...arguments),eg.set(this,void 0)}_parse(n){let a=ef.getValidEnumValues(this._def.values),g=this._getOrReturnCtx(n);if(g.parsedType!==eO.string&&g.parsedType!==eO.number){let n=ef.objectValues(a);return addIssueToContext(g,{expected:ef.joinValues(n),received:g.parsedType,code:ej.invalid_type}),eI}if(__classPrivateFieldGet(this,eg,"f")||__classPrivateFieldSet(this,eg,new Set(ef.getValidEnumValues(this._def.values)),"f"),!__classPrivateFieldGet(this,eg,"f").has(n.data)){let n=ef.objectValues(a);return addIssueToContext(g,{received:g.data,code:ej.invalid_enum_value,options:n}),eI}return OK(n.data)}get enum(){return this._def.values}};eg=new WeakMap,ZodNativeEnum.create=(n,a)=>new ZodNativeEnum({values:n,typeName:ev.ZodNativeEnum,...processCreateParams(a)});let ZodPromise=class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(n){let{ctx:a}=this._processInputParams(n);if(a.parsedType!==eO.promise&&!1===a.common.async)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.promise,received:a.parsedType}),eI;let g=a.parsedType===eO.promise?a.data:Promise.resolve(a.data);return OK(g.then(n=>this._def.type.parseAsync(n,{path:a.path,errorMap:a.common.contextualErrorMap})))}};ZodPromise.create=(n,a)=>new ZodPromise({type:n,typeName:ev.ZodPromise,...processCreateParams(a)});let ZodEffects=class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ev.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){let{status:a,ctx:g}=this._processInputParams(n),v=this._def.effect||null,j={addIssue:n=>{addIssueToContext(g,n),n.fatal?a.abort():a.dirty()},get path(){return g.path}};if(j.addIssue=j.addIssue.bind(j),"preprocess"===v.type){let n=v.transform(g.data,j);if(g.common.async)return Promise.resolve(n).then(async n=>{if("aborted"===a.value)return eI;let v=await this._def.schema._parseAsync({data:n,path:g.path,parent:g});return"aborted"===v.status?eI:"dirty"===v.status||"dirty"===a.value?DIRTY(v.value):v});{if("aborted"===a.value)return eI;let v=this._def.schema._parseSync({data:n,path:g.path,parent:g});return"aborted"===v.status?eI:"dirty"===v.status||"dirty"===a.value?DIRTY(v.value):v}}if("refinement"===v.type){let executeRefinement=n=>{let a=v.refinement(n,j);if(g.common.async)return Promise.resolve(a);if(a instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return n};if(!1!==g.common.async)return this._def.schema._parseAsync({data:g.data,path:g.path,parent:g}).then(n=>"aborted"===n.status?eI:("dirty"===n.status&&a.dirty(),executeRefinement(n.value).then(()=>({status:a.value,value:n.value}))));{let n=this._def.schema._parseSync({data:g.data,path:g.path,parent:g});return"aborted"===n.status?eI:("dirty"===n.status&&a.dirty(),executeRefinement(n.value),{status:a.value,value:n.value})}}if("transform"===v.type){if(!1!==g.common.async)return this._def.schema._parseAsync({data:g.data,path:g.path,parent:g}).then(n=>isValid(n)?Promise.resolve(v.transform(n.value,j)).then(n=>({status:a.value,value:n})):n);{let n=this._def.schema._parseSync({data:g.data,path:g.path,parent:g});if(!isValid(n))return n;let z=v.transform(n.value,j);if(z instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:a.value,value:z}}}ef.assertNever(v)}};ZodEffects.create=(n,a,g)=>new ZodEffects({schema:n,typeName:ev.ZodEffects,effect:a,...processCreateParams(g)}),ZodEffects.createWithPreprocess=(n,a,g)=>new ZodEffects({schema:a,effect:{type:"preprocess",transform:n},typeName:ev.ZodEffects,...processCreateParams(g)});let ZodOptional=class ZodOptional extends ZodType{_parse(n){let a=this._getType(n);return a===eO.undefined?OK(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}};ZodOptional.create=(n,a)=>new ZodOptional({innerType:n,typeName:ev.ZodOptional,...processCreateParams(a)});let ZodNullable=class ZodNullable extends ZodType{_parse(n){let a=this._getType(n);return a===eO.null?OK(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}};ZodNullable.create=(n,a)=>new ZodNullable({innerType:n,typeName:ev.ZodNullable,...processCreateParams(a)});let ZodDefault=class ZodDefault extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g=a.data;return a.parsedType===eO.undefined&&(g=this._def.defaultValue()),this._def.innerType._parse({data:g,path:a.path,parent:a})}removeDefault(){return this._def.innerType}};ZodDefault.create=(n,a)=>new ZodDefault({innerType:n,typeName:ev.ZodDefault,defaultValue:"function"==typeof a.default?a.default:()=>a.default,...processCreateParams(a)});let ZodCatch=class ZodCatch extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g={...a,common:{...a.common,issues:[]}},v=this._def.innerType._parse({data:g.data,path:g.path,parent:{...g}});return isAsync(v)?v.then(n=>({status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new ZodError(g.common.issues)},input:g.data})})):{status:"valid",value:"valid"===v.status?v.value:this._def.catchValue({get error(){return new ZodError(g.common.issues)},input:g.data})}}removeCatch(){return this._def.innerType}};ZodCatch.create=(n,a)=>new ZodCatch({innerType:n,typeName:ev.ZodCatch,catchValue:"function"==typeof a.catch?a.catch:()=>a.catch,...processCreateParams(a)});let ZodNaN=class ZodNaN extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.nan){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.nan,received:a.parsedType}),eI}return{status:"valid",value:n.data}}};ZodNaN.create=n=>new ZodNaN({typeName:ev.ZodNaN,...processCreateParams(n)});let e$=Symbol("zod_brand");let ZodBranded=class ZodBranded extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g=a.data;return this._def.type._parse({data:g,path:a.path,parent:a})}unwrap(){return this._def.type}};let ZodPipeline=class ZodPipeline extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.common.async){let handleAsync=async()=>{let n=await this._def.in._parseAsync({data:g.data,path:g.path,parent:g});return"aborted"===n.status?eI:"dirty"===n.status?(a.dirty(),DIRTY(n.value)):this._def.out._parseAsync({data:n.value,path:g.path,parent:g})};return handleAsync()}{let n=this._def.in._parseSync({data:g.data,path:g.path,parent:g});return"aborted"===n.status?eI:"dirty"===n.status?(a.dirty(),{status:"dirty",value:n.value}):this._def.out._parseSync({data:n.value,path:g.path,parent:g})}}static create(n,a){return new ZodPipeline({in:n,out:a,typeName:ev.ZodPipeline})}};let ZodReadonly=class ZodReadonly extends ZodType{_parse(n){let a=this._def.innerType._parse(n),freeze=n=>(isValid(n)&&(n.value=Object.freeze(n.value)),n);return isAsync(a)?a.then(n=>freeze(n)):freeze(a)}unwrap(){return this._def.innerType}};function custom(n,a={},g){return n?ZodAny.create().superRefine((v,j)=>{var z,H;if(!n(v)){let n="function"==typeof a?a(v):"string"==typeof a?{message:a}:a,W=null===(H=null!==(z=n.fatal)&&void 0!==z?z:g)||void 0===H||H,B="string"==typeof n?{message:n}:n;j.addIssue({code:"custom",...B,fatal:W})}}):ZodAny.create()}ZodReadonly.create=(n,a)=>new ZodReadonly({innerType:n,typeName:ev.ZodReadonly,...processCreateParams(a)});let eH={object:ZodObject.lazycreate};(H=ev||(ev={})).ZodString="ZodString",H.ZodNumber="ZodNumber",H.ZodNaN="ZodNaN",H.ZodBigInt="ZodBigInt",H.ZodBoolean="ZodBoolean",H.ZodDate="ZodDate",H.ZodSymbol="ZodSymbol",H.ZodUndefined="ZodUndefined",H.ZodNull="ZodNull",H.ZodAny="ZodAny",H.ZodUnknown="ZodUnknown",H.ZodNever="ZodNever",H.ZodVoid="ZodVoid",H.ZodArray="ZodArray",H.ZodObject="ZodObject",H.ZodUnion="ZodUnion",H.ZodDiscriminatedUnion="ZodDiscriminatedUnion",H.ZodIntersection="ZodIntersection",H.ZodTuple="ZodTuple",H.ZodRecord="ZodRecord",H.ZodMap="ZodMap",H.ZodSet="ZodSet",H.ZodFunction="ZodFunction",H.ZodLazy="ZodLazy",H.ZodLiteral="ZodLiteral",H.ZodEnum="ZodEnum",H.ZodEffects="ZodEffects",H.ZodNativeEnum="ZodNativeEnum",H.ZodOptional="ZodOptional",H.ZodNullable="ZodNullable",H.ZodDefault="ZodDefault",H.ZodCatch="ZodCatch",H.ZodPromise="ZodPromise",H.ZodBranded="ZodBranded",H.ZodPipeline="ZodPipeline",H.ZodReadonly="ZodReadonly";let eW=ZodString.create,eB=ZodNumber.create,eG=ZodNaN.create,eq=ZodBigInt.create,eK=ZodBoolean.create,eJ=ZodDate.create,eY=ZodSymbol.create,eQ=ZodUndefined.create,eX=ZodNull.create,e0=ZodAny.create,e1=ZodUnknown.create,e2=ZodNever.create,e4=ZodVoid.create,e3=ZodArray.create,e5=ZodObject.create,e6=ZodObject.strictCreate,e7=ZodUnion.create,e9=ZodDiscriminatedUnion.create,e8=ZodIntersection.create,te=ZodTuple.create,tt=ZodRecord.create,tn=ZodMap.create,tr=ZodSet.create,to=ZodFunction.create,ta=ZodLazy.create,ti=ZodLiteral.create,ts=ZodEnum.create,tl=ZodNativeEnum.create,tu=ZodPromise.create,tc=ZodEffects.create,td=ZodOptional.create,tp=ZodNullable.create,tf=ZodEffects.createWithPreprocess,th=ZodPipeline.create;var tm=Object.freeze({__proto__:null,defaultErrorMap:errorMap,setErrorMap:function(n){eS=n},getErrorMap:getErrorMap,makeIssue:makeIssue,EMPTY_PATH:[],addIssueToContext:addIssueToContext,ParseStatus:ParseStatus,INVALID:eI,DIRTY:DIRTY,OK:OK,isAborted:isAborted,isDirty:isDirty,isValid:isValid,isAsync:isAsync,get util(){return ef},get objectUtil(){return eh},ZodParsedType:eO,getParsedType:getParsedType,ZodType:ZodType,datetimeRegex:datetimeRegex,ZodString:ZodString,ZodNumber:ZodNumber,ZodBigInt:ZodBigInt,ZodBoolean:ZodBoolean,ZodDate:ZodDate,ZodSymbol:ZodSymbol,ZodUndefined:ZodUndefined,ZodNull:ZodNull,ZodAny:ZodAny,ZodUnknown:ZodUnknown,ZodNever:ZodNever,ZodVoid:ZodVoid,ZodArray:ZodArray,ZodObject:ZodObject,ZodUnion:ZodUnion,ZodDiscriminatedUnion:ZodDiscriminatedUnion,ZodIntersection:ZodIntersection,ZodTuple:ZodTuple,ZodRecord:ZodRecord,ZodMap:ZodMap,ZodSet:ZodSet,ZodFunction:ZodFunction,ZodLazy:ZodLazy,ZodLiteral:ZodLiteral,ZodEnum:ZodEnum,ZodNativeEnum:ZodNativeEnum,ZodPromise:ZodPromise,ZodEffects:ZodEffects,ZodTransformer:ZodEffects,ZodOptional:ZodOptional,ZodNullable:ZodNullable,ZodDefault:ZodDefault,ZodCatch:ZodCatch,ZodNaN:ZodNaN,BRAND:e$,ZodBranded:ZodBranded,ZodPipeline:ZodPipeline,ZodReadonly:ZodReadonly,custom:custom,Schema:ZodType,ZodSchema:ZodType,late:eH,get ZodFirstPartyTypeKind(){return ev},coerce:{string:n=>ZodString.create({...n,coerce:!0}),number:n=>ZodNumber.create({...n,coerce:!0}),boolean:n=>ZodBoolean.create({...n,coerce:!0}),bigint:n=>ZodBigInt.create({...n,coerce:!0}),date:n=>ZodDate.create({...n,coerce:!0})},any:e0,array:e3,bigint:eq,boolean:eK,date:eJ,discriminatedUnion:e9,effect:tc,enum:ts,function:to,instanceof:(n,a={message:`Input not instance of ${n.name}`})=>custom(a=>a instanceof n,a),intersection:e8,lazy:ta,literal:ti,map:tn,nan:eG,nativeEnum:tl,never:e2,null:eX,nullable:tp,number:eB,object:e5,oboolean:()=>eK().optional(),onumber:()=>eB().optional(),optional:td,ostring:()=>eW().optional(),pipeline:th,preprocess:tf,promise:tu,record:tt,set:tr,strictObject:e6,string:eW,symbol:eY,transformer:tc,tuple:te,undefined:eQ,union:e7,unknown:e1,void:e4,NEVER:eI,ZodIssueCode:ej,quotelessJson:n=>{let a=JSON.stringify(n,null,2);return a.replace(/"([^"]+)":/g,"$1:")},ZodError:ZodError}),tx=g(1664),tg=g.n(tx);g(6337);var tv=g(5893);let ty=["light","dark"],tb="(prefers-color-scheme: dark)",t_="undefined"==typeof window,tw=(0,ew.createContext)(void 0),tk={setTheme:n=>{},themes:[]},y=()=>{var n;return null!==(n=(0,ew.useContext)(tw))&&void 0!==n?n:tk},$=n=>(0,ew.useContext)(tw)?ew.createElement(ew.Fragment,null,n.children):ew.createElement(f,n),tC=["light","dark"],f=({forcedTheme:n,disableTransitionOnChange:a=!1,enableSystem:g=!0,enableColorScheme:v=!0,storageKey:j="theme",themes:z=tC,defaultTheme:H=g?"system":"light",attribute:W="data-theme",value:B,children:K,nonce:ee})=>{let[et,en]=(0,ew.useState)(()=>S(j,H)),[er,eo]=(0,ew.useState)(()=>S(j)),ei=B?Object.values(B):z,es=(0,ew.useCallback)(n=>{let j=n;if(!j)return;"system"===n&&g&&(j=p());let z=B?B[j]:j,K=a?b():null,ee=document.documentElement;if("class"===W?(ee.classList.remove(...ei),z&&ee.classList.add(z)):z?ee.setAttribute(W,z):ee.removeAttribute(W),v){let n=ty.includes(H)?H:null,a=ty.includes(j)?j:n;ee.style.colorScheme=a}null==K||K()},[]),el=(0,ew.useCallback)(n=>{en(n);try{localStorage.setItem(j,n)}catch(n){}},[n]),eu=(0,ew.useCallback)(a=>{let v=p(a);eo(v),"system"===et&&g&&!n&&es("system")},[et,n]);(0,ew.useEffect)(()=>{let n=window.matchMedia(tb);return n.addListener(eu),eu(n),()=>n.removeListener(eu)},[eu]),(0,ew.useEffect)(()=>{let e=n=>{n.key===j&&el(n.newValue||H)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[el]),(0,ew.useEffect)(()=>{es(null!=n?n:et)},[n,et]);let ec=(0,ew.useMemo)(()=>({theme:et,setTheme:el,forcedTheme:n,resolvedTheme:"system"===et?er:et,themes:g?[...z,"system"]:z,systemTheme:g?er:void 0}),[et,el,n,er,g,z]);return ew.createElement(tw.Provider,{value:ec},ew.createElement(tE,{forcedTheme:n,disableTransitionOnChange:a,enableSystem:g,enableColorScheme:v,storageKey:j,themes:z,defaultTheme:H,attribute:W,value:B,children:K,attrs:ei,nonce:ee}),K)},tE=(0,ew.memo)(({forcedTheme:n,storageKey:a,attribute:g,enableSystem:v,enableColorScheme:j,defaultTheme:z,value:H,attrs:W,nonce:B})=>{let K="system"===z,ee="class"===g?`var d=document.documentElement,c=d.classList;c.remove(${W.map(n=>`'${n}'`).join(",")});`:`var d=document.documentElement,n='${g}',s='setAttribute';`,et=j?ty.includes(z)&&z?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${z}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",$=(n,a=!1,v=!0)=>{let z=H?H[n]:n,W=a?n+"|| ''":`'${z}'`,B="";return j&&v&&!a&&ty.includes(n)&&(B+=`d.style.colorScheme = '${n}';`),"class"===g?B+=a||z?`c.add(${W})`:"null":z&&(B+=`d[s](n,${W})`),B},en=n?`!function(){${ee}${$(n)}}()`:v?`!function(){try{${ee}var e=localStorage.getItem('${a}');if('system'===e||(!e&&${K})){var t='${tb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${$("dark")}}else{${$("light")}}}else if(e){${H?`var x=${JSON.stringify(H)};`:""}${$(H?"x[e]":"e",!0)}}${K?"":"else{"+$(z,!1,!1)+"}"}${et}}catch(e){}}()`:`!function(){try{${ee}var e=localStorage.getItem('${a}');if(e){${H?`var x=${JSON.stringify(H)};`:""}${$(H?"x[e]":"e",!0)}}else{${$(z,!1,!1)};}${et}}catch(t){}}();`;return ew.createElement("script",{nonce:B,dangerouslySetInnerHTML:{__html:en}})},()=>!0),S=(n,a)=>{let g;if(!t_){try{g=localStorage.getItem(n)||void 0}catch(n){}return g||a}},b=()=>{let n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(n)},1)}},p=n=>(n||(n=window.matchMedia(tb)),n.matches?"dark":"light");var tT={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tO=tm.strictObject({breadcrumb:tm.boolean(),collapsed:tm.boolean(),footer:tm.boolean(),layout:tm.enum(["default","full","raw"]),navbar:tm.boolean(),pagination:tm.boolean(),sidebar:tm.boolean(),timestamp:tm.boolean(),toc:tm.boolean(),typesetting:tm.enum(["default","article"])}),tj=tm.enum(["normal","hidden","children"]),tS=tm.string(),tI=tm.strictObject({href:tm.string(),newWindow:tm.boolean(),title:tS}),tP=tm.strictObject({display:tj.optional(),items:tm.record(tI.partial({href:!0,newWindow:!0})),title:tS,type:tm.literal("menu")}),tN=tm.strictObject({title:tS.optional(),type:tm.literal("separator")}),tZ=tI.extend({display:tj,theme:tO,title:tS,type:tm.enum(["page","doc"])}).deepPartial();tm.string().or(tP).or(tN).or(tZ);var tR=g(3458),tA=g.n(tR);function getWindow(n){if(null==n)return window;if("[object Window]"!==n.toString()){var a=n.ownerDocument;return a&&a.defaultView||window}return n}function isElement(n){var a=getWindow(n).Element;return n instanceof a||n instanceof Element}function isHTMLElement(n){var a=getWindow(n).HTMLElement;return n instanceof a||n instanceof HTMLElement}function isShadowRoot(n){if("undefined"==typeof ShadowRoot)return!1;var a=getWindow(n).ShadowRoot;return n instanceof a||n instanceof ShadowRoot}var tM=Math.max,tL=Math.min,tD=Math.round;function getUAString(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(n,a,g){void 0===a&&(a=!1),void 0===g&&(g=!1);var v=n.getBoundingClientRect(),j=1,z=1;a&&isHTMLElement(n)&&(j=n.offsetWidth>0&&tD(v.width)/n.offsetWidth||1,z=n.offsetHeight>0&&tD(v.height)/n.offsetHeight||1);var H=(isElement(n)?getWindow(n):window).visualViewport,W=!isLayoutViewport()&&g,B=(v.left+(W&&H?H.offsetLeft:0))/j,K=(v.top+(W&&H?H.offsetTop:0))/z,ee=v.width/j,et=v.height/z;return{width:ee,height:et,top:K,right:B+ee,bottom:K+et,left:B,x:B,y:K}}function getWindowScroll(n){var a=getWindow(n);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function getNodeName(n){return n?(n.nodeName||"").toLowerCase():null}function getDocumentElement(n){return((isElement(n)?n.ownerDocument:n.document)||window.document).documentElement}function getWindowScrollBarX(n){return getBoundingClientRect(getDocumentElement(n)).left+getWindowScroll(n).scrollLeft}function getComputedStyle_getComputedStyle(n){return getWindow(n).getComputedStyle(n)}function isScrollParent(n){var a=getComputedStyle_getComputedStyle(n),g=a.overflow,v=a.overflowX,j=a.overflowY;return/auto|scroll|overlay|hidden/.test(g+j+v)}function getLayoutRect(n){var a=getBoundingClientRect(n),g=n.offsetWidth,v=n.offsetHeight;return 1>=Math.abs(a.width-g)&&(g=a.width),1>=Math.abs(a.height-v)&&(v=a.height),{x:n.offsetLeft,y:n.offsetTop,width:g,height:v}}function getParentNode(n){return"html"===getNodeName(n)?n:n.assignedSlot||n.parentNode||(isShadowRoot(n)?n.host:null)||getDocumentElement(n)}function listScrollParents(n,a){void 0===a&&(a=[]);var g,v=function getScrollParent(n){return["html","body","#document"].indexOf(getNodeName(n))>=0?n.ownerDocument.body:isHTMLElement(n)&&isScrollParent(n)?n:getScrollParent(getParentNode(n))}(n),j=v===(null==(g=n.ownerDocument)?void 0:g.body),z=getWindow(v),H=j?[z].concat(z.visualViewport||[],isScrollParent(v)?v:[]):v,W=a.concat(H);return j?W:W.concat(listScrollParents(getParentNode(H)))}function getTrueOffsetParent(n){return isHTMLElement(n)&&"fixed"!==getComputedStyle_getComputedStyle(n).position?n.offsetParent:null}function getOffsetParent(n){for(var a=getWindow(n),g=getTrueOffsetParent(n);g&&["table","td","th"].indexOf(getNodeName(g))>=0&&"static"===getComputedStyle_getComputedStyle(g).position;)g=getTrueOffsetParent(g);return g&&("html"===getNodeName(g)||"body"===getNodeName(g)&&"static"===getComputedStyle_getComputedStyle(g).position)?a:g||function(n){var a=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(n)&&"fixed"===getComputedStyle_getComputedStyle(n).position)return null;var g=getParentNode(n);for(isShadowRoot(g)&&(g=g.host);isHTMLElement(g)&&0>["html","body"].indexOf(getNodeName(g));){var v=getComputedStyle_getComputedStyle(g);if("none"!==v.transform||"none"!==v.perspective||"paint"===v.contain||-1!==["transform","perspective"].indexOf(v.willChange)||a&&"filter"===v.willChange||a&&v.filter&&"none"!==v.filter)return g;g=g.parentNode}return null}(n)||a}var tF="bottom",tz="right",tU="left",tV="auto",t$=["top",tF,tz,tU],tH="start",tW="viewport",tB="popper",tG=t$.reduce(function(n,a){return n.concat([a+"-"+tH,a+"-end"])},[]),tq=[].concat(t$,[tV]).reduce(function(n,a){return n.concat([a,a+"-"+tH,a+"-end"])},[]),tK=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],tJ={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var n=arguments.length,a=Array(n),g=0;g=0?"x":"y"}function computeOffsets(n){var a,g=n.reference,v=n.element,j=n.placement,z=j?getBasePlacement(j):null,H=j?getVariation(j):null,W=g.x+g.width/2-v.width/2,B=g.y+g.height/2-v.height/2;switch(z){case"top":a={x:W,y:g.y-v.height};break;case tF:a={x:W,y:g.y+g.height};break;case tz:a={x:g.x+g.width,y:B};break;case tU:a={x:g.x-v.width,y:B};break;default:a={x:g.x,y:g.y}}var K=z?getMainAxisFromPlacement(z):null;if(null!=K){var ee="y"===K?"height":"width";switch(H){case tH:a[K]=a[K]-(g[ee]/2-v[ee]/2);break;case"end":a[K]=a[K]+(g[ee]/2-v[ee]/2)}}return a}var tQ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(n){var a,g,v,j,z,H,W,B=n.popper,K=n.popperRect,ee=n.placement,et=n.variation,en=n.offsets,er=n.position,eo=n.gpuAcceleration,ei=n.adaptive,es=n.roundOffsets,el=n.isFixed,eu=en.x,ec=void 0===eu?0:eu,ed=en.y,ep=void 0===ed?0:ed,ef="function"==typeof es?es({x:ec,y:ep}):{x:ec,y:ep};ec=ef.x,ep=ef.y;var eh=en.hasOwnProperty("x"),em=en.hasOwnProperty("y"),ex=tU,eg="top",ev=window;if(ei){var ey=getOffsetParent(B),eb="clientHeight",e_="clientWidth";ey===getWindow(B)&&"static"!==getComputedStyle_getComputedStyle(ey=getDocumentElement(B)).position&&"absolute"===er&&(eb="scrollHeight",e_="scrollWidth"),("top"===ee||(ee===tU||ee===tz)&&"end"===et)&&(eg=tF,ep-=(el&&ey===ev&&ev.visualViewport?ev.visualViewport.height:ey[eb])-K.height,ep*=eo?1:-1),(ee===tU||("top"===ee||ee===tF)&&"end"===et)&&(ex=tz,ec-=(el&&ey===ev&&ev.visualViewport?ev.visualViewport.width:ey[e_])-K.width,ec*=eo?1:-1)}var ew=Object.assign({position:er},ei&&tQ),ek=!0===es?(a={x:ec,y:ep},g=getWindow(B),v=a.x,j=a.y,{x:tD(v*(z=g.devicePixelRatio||1))/z||0,y:tD(j*z)/z||0}):{x:ec,y:ep};return(ec=ek.x,ep=ek.y,eo)?Object.assign({},ew,((W={})[eg]=em?"0":"",W[ex]=eh?"0":"",W.transform=1>=(ev.devicePixelRatio||1)?"translate("+ec+"px, "+ep+"px)":"translate3d("+ec+"px, "+ep+"px, 0)",W)):Object.assign({},ew,((H={})[eg]=em?ep+"px":"",H[ex]=eh?ec+"px":"",H.transform="",H))}var tX={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(n){return n.replace(/left|right|bottom|top/g,function(n){return tX[n]})}var t0={start:"end",end:"start"};function getOppositeVariationPlacement(n){return n.replace(/start|end/g,function(n){return t0[n]})}function contains(n,a){var g=a.getRootNode&&a.getRootNode();if(n.contains(a))return!0;if(g&&isShadowRoot(g)){var v=a;do{if(v&&n.isSameNode(v))return!0;v=v.parentNode||v.host}while(v)}return!1}function rectToClientRect(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function getClientRectFromMixedType(n,a,g){var v,j,z,H,W,B,K,ee,et,en;return a===tW?rectToClientRect(function(n,a){var g=getWindow(n),v=getDocumentElement(n),j=g.visualViewport,z=v.clientWidth,H=v.clientHeight,W=0,B=0;if(j){z=j.width,H=j.height;var K=isLayoutViewport();(K||!K&&"fixed"===a)&&(W=j.offsetLeft,B=j.offsetTop)}return{width:z,height:H,x:W+getWindowScrollBarX(n),y:B}}(n,g)):isElement(a)?((v=getBoundingClientRect(a,!1,"fixed"===g)).top=v.top+a.clientTop,v.left=v.left+a.clientLeft,v.bottom=v.top+a.clientHeight,v.right=v.left+a.clientWidth,v.width=a.clientWidth,v.height=a.clientHeight,v.x=v.left,v.y=v.top,v):rectToClientRect((j=getDocumentElement(n),H=getDocumentElement(j),W=getWindowScroll(j),B=null==(z=j.ownerDocument)?void 0:z.body,K=tM(H.scrollWidth,H.clientWidth,B?B.scrollWidth:0,B?B.clientWidth:0),ee=tM(H.scrollHeight,H.clientHeight,B?B.scrollHeight:0,B?B.clientHeight:0),et=-W.scrollLeft+getWindowScrollBarX(j),en=-W.scrollTop,"rtl"===getComputedStyle_getComputedStyle(B||H).direction&&(et+=tM(H.clientWidth,B?B.clientWidth:0)-K),{width:K,height:ee,x:et,y:en}))}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(n){return Object.assign({},getFreshSideObject(),n)}function expandToHashMap(n,a){return a.reduce(function(a,g){return a[g]=n,a},{})}function detectOverflow(n,a){void 0===a&&(a={});var g,v,j,z,H,W,B,K=a,ee=K.placement,et=void 0===ee?n.placement:ee,en=K.strategy,er=void 0===en?n.strategy:en,eo=K.boundary,ei=K.rootBoundary,es=K.elementContext,el=void 0===es?tB:es,eu=K.altBoundary,ec=K.padding,ed=void 0===ec?0:ec,ep=mergePaddingObject("number"!=typeof ed?ed:expandToHashMap(ed,t$)),ef=n.rects.popper,eh=n.elements[void 0!==eu&&eu?el===tB?"reference":tB:el],em=(g=isElement(eh)?eh:eh.contextElement||getDocumentElement(n.elements.popper),W=(H=[].concat("clippingParents"===(v=void 0===eo?"clippingParents":eo)?(j=listScrollParents(getParentNode(g)),isElement(z=["absolute","fixed"].indexOf(getComputedStyle_getComputedStyle(g).position)>=0&&isHTMLElement(g)?getOffsetParent(g):g)?j.filter(function(n){return isElement(n)&&contains(n,z)&&"body"!==getNodeName(n)}):[]):[].concat(v),[void 0===ei?tW:ei]))[0],(B=H.reduce(function(n,a){var v=getClientRectFromMixedType(g,a,er);return n.top=tM(v.top,n.top),n.right=tL(v.right,n.right),n.bottom=tL(v.bottom,n.bottom),n.left=tM(v.left,n.left),n},getClientRectFromMixedType(g,W,er))).width=B.right-B.left,B.height=B.bottom-B.top,B.x=B.left,B.y=B.top,B),ex=getBoundingClientRect(n.elements.reference),eg=computeOffsets({reference:ex,element:ef,strategy:"absolute",placement:et}),ev=rectToClientRect(Object.assign({},ef,eg)),ey=el===tB?ev:ex,eb={top:em.top-ey.top+ep.top,bottom:ey.bottom-em.bottom+ep.bottom,left:em.left-ey.left+ep.left,right:ey.right-em.right+ep.right},e_=n.modifiersData.offset;if(el===tB&&e_){var ew=e_[et];Object.keys(eb).forEach(function(n){var a=[tz,tF].indexOf(n)>=0?1:-1,g=["top",tF].indexOf(n)>=0?"y":"x";eb[n]+=ew[g]*a})}return eb}function within(n,a,g){return tM(n,tL(a,g))}function getSideOffsets(n,a,g){return void 0===g&&(g={x:0,y:0}),{top:n.top-a.height-g.y,right:n.right-a.width+g.x,bottom:n.bottom-a.height+g.y,left:n.left-a.width-g.x}}function isAnySideFullyClipped(n){return["top",tz,tF,tU].some(function(a){return n[a]>=0})}var t1=(K=void 0===(B=(W={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(n){var a=n.state,g=n.instance,v=n.options,j=v.scroll,z=void 0===j||j,H=v.resize,W=void 0===H||H,B=getWindow(a.elements.popper),K=[].concat(a.scrollParents.reference,a.scrollParents.popper);return z&&K.forEach(function(n){n.addEventListener("scroll",g.update,tY)}),W&&B.addEventListener("resize",g.update,tY),function(){z&&K.forEach(function(n){n.removeEventListener("scroll",g.update,tY)}),W&&B.removeEventListener("resize",g.update,tY)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(n){var a=n.state,g=n.name;a.modifiersData[g]=computeOffsets({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(n){var a=n.state,g=n.options,v=g.gpuAcceleration,j=g.adaptive,z=g.roundOffsets,H=void 0===z||z,W={placement:getBasePlacement(a.placement),variation:getVariation(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:void 0===v||v,isFixed:"fixed"===a.options.strategy};null!=a.modifiersData.popperOffsets&&(a.styles.popper=Object.assign({},a.styles.popper,mapToStyles(Object.assign({},W,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:void 0===j||j,roundOffsets:H})))),null!=a.modifiersData.arrow&&(a.styles.arrow=Object.assign({},a.styles.arrow,mapToStyles(Object.assign({},W,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:H})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(n){var a=n.state;Object.keys(a.elements).forEach(function(n){var g=a.styles[n]||{},v=a.attributes[n]||{},j=a.elements[n];isHTMLElement(j)&&getNodeName(j)&&(Object.assign(j.style,g),Object.keys(v).forEach(function(n){var a=v[n];!1===a?j.removeAttribute(n):j.setAttribute(n,!0===a?"":a)}))})},effect:function(n){var a=n.state,g={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,g.popper),a.styles=g,a.elements.arrow&&Object.assign(a.elements.arrow.style,g.arrow),function(){Object.keys(a.elements).forEach(function(n){var v=a.elements[n],j=a.attributes[n]||{},z=Object.keys(a.styles.hasOwnProperty(n)?a.styles[n]:g[n]).reduce(function(n,a){return n[a]="",n},{});isHTMLElement(v)&&getNodeName(v)&&(Object.assign(v.style,z),Object.keys(j).forEach(function(n){v.removeAttribute(n)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(n){var a=n.state,g=n.options,v=n.name,j=g.offset,z=void 0===j?[0,0]:j,H=tq.reduce(function(n,g){var v,j,H,W,B,K;return n[g]=(v=a.rects,H=[tU,"top"].indexOf(j=getBasePlacement(g))>=0?-1:1,B=(W="function"==typeof z?z(Object.assign({},v,{placement:g})):z)[0],K=W[1],B=B||0,K=(K||0)*H,[tU,tz].indexOf(j)>=0?{x:K,y:B}:{x:B,y:K}),n},{}),W=H[a.placement],B=W.x,K=W.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=B,a.modifiersData.popperOffsets.y+=K),a.modifiersData[v]=H}},{name:"flip",enabled:!0,phase:"main",fn:function(n){var a=n.state,g=n.options,v=n.name;if(!a.modifiersData[v]._skip){for(var j=g.mainAxis,z=void 0===j||j,H=g.altAxis,W=void 0===H||H,B=g.fallbackPlacements,K=g.padding,ee=g.boundary,et=g.rootBoundary,en=g.altBoundary,er=g.flipVariations,eo=void 0===er||er,ei=g.allowedAutoPlacements,es=a.options.placement,el=getBasePlacement(es)===es,eu=B||(el||!eo?[getOppositePlacement(es)]:function(n){if(getBasePlacement(n)===tV)return[];var a=getOppositePlacement(n);return[getOppositeVariationPlacement(n),a,getOppositeVariationPlacement(a)]}(es)),ec=[es].concat(eu).reduce(function(n,g){var v,j,z,H,W,B,en,er,es,el,eu,ec;return n.concat(getBasePlacement(g)===tV?(j=(v={placement:g,boundary:ee,rootBoundary:et,padding:K,flipVariations:eo,allowedAutoPlacements:ei}).placement,z=v.boundary,H=v.rootBoundary,W=v.padding,B=v.flipVariations,er=void 0===(en=v.allowedAutoPlacements)?tq:en,0===(eu=(el=(es=getVariation(j))?B?tG:tG.filter(function(n){return getVariation(n)===es}):t$).filter(function(n){return er.indexOf(n)>=0})).length&&(eu=el),Object.keys(ec=eu.reduce(function(n,g){return n[g]=detectOverflow(a,{placement:g,boundary:z,rootBoundary:H,padding:W})[getBasePlacement(g)],n},{})).sort(function(n,a){return ec[n]-ec[a]})):g)},[]),ed=a.rects.reference,ep=a.rects.popper,ef=new Map,eh=!0,em=ec[0],ex=0;ex=0,e_=eb?"width":"height",ew=detectOverflow(a,{placement:eg,boundary:ee,rootBoundary:et,altBoundary:en,padding:K}),ek=eb?ey?tz:tU:ey?tF:"top";ed[e_]>ep[e_]&&(ek=getOppositePlacement(ek));var eC=getOppositePlacement(ek),eE=[];if(z&&eE.push(ew[ev]<=0),W&&eE.push(ew[ek]<=0,ew[eC]<=0),eE.every(function(n){return n})){em=eg,eh=!1;break}ef.set(eg,eE)}if(eh)for(var eT=eo?3:1,_loop=function(n){var a=ec.find(function(a){var g=ef.get(a);if(g)return g.slice(0,n).every(function(n){return n})});if(a)return em=a,"break"},eO=eT;eO>0&&"break"!==_loop(eO);eO--);a.placement!==em&&(a.modifiersData[v]._skip=!0,a.placement=em,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(n){var a=n.state,g=n.options,v=n.name,j=g.mainAxis,z=g.altAxis,H=g.boundary,W=g.rootBoundary,B=g.altBoundary,K=g.padding,ee=g.tether,et=void 0===ee||ee,en=g.tetherOffset,er=void 0===en?0:en,eo=detectOverflow(a,{boundary:H,rootBoundary:W,padding:K,altBoundary:B}),ei=getBasePlacement(a.placement),es=getVariation(a.placement),el=!es,eu=getMainAxisFromPlacement(ei),ec="x"===eu?"y":"x",ed=a.modifiersData.popperOffsets,ep=a.rects.reference,ef=a.rects.popper,eh="function"==typeof er?er(Object.assign({},a.rects,{placement:a.placement})):er,em="number"==typeof eh?{mainAxis:eh,altAxis:eh}:Object.assign({mainAxis:0,altAxis:0},eh),ex=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,eg={x:0,y:0};if(ed){if(void 0===j||j){var ev,ey="y"===eu?"top":tU,eb="y"===eu?tF:tz,e_="y"===eu?"height":"width",ew=ed[eu],ek=ew+eo[ey],eC=ew-eo[eb],eE=et?-ef[e_]/2:0,eT=es===tH?ep[e_]:ef[e_],eO=es===tH?-ef[e_]:-ep[e_],ej=a.elements.arrow,eS=et&&ej?getLayoutRect(ej):{width:0,height:0},eI=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:getFreshSideObject(),eP=eI[ey],eN=eI[eb],eZ=within(0,ep[e_],eS[e_]),eR=el?ep[e_]/2-eE-eZ-eP-em.mainAxis:eT-eZ-eP-em.mainAxis,eA=el?-ep[e_]/2+eE+eZ+eN+em.mainAxis:eO+eZ+eN+em.mainAxis,eM=a.elements.arrow&&getOffsetParent(a.elements.arrow),eL=eM?"y"===eu?eM.clientTop||0:eM.clientLeft||0:0,eD=null!=(ev=null==ex?void 0:ex[eu])?ev:0,eF=ew+eR-eD-eL,ez=ew+eA-eD,eU=within(et?tL(ek,eF):ek,ew,et?tM(eC,ez):eC);ed[eu]=eU,eg[eu]=eU-ew}if(void 0!==z&&z){var eV,e$,eH="x"===eu?"top":tU,eW="x"===eu?tF:tz,eB=ed[ec],eG="y"===ec?"height":"width",eq=eB+eo[eH],eK=eB-eo[eW],eJ=-1!==["top",tU].indexOf(ei),eY=null!=(e$=null==ex?void 0:ex[ec])?e$:0,eQ=eJ?eq:eB-ep[eG]-ef[eG]-eY+em.altAxis,eX=eJ?eB+ep[eG]+ef[eG]-eY-em.altAxis:eK,e0=et&&eJ?(eV=within(eQ,eB,eX))>eX?eX:eV:within(et?eQ:eq,eB,et?eX:eK);ed[ec]=e0,eg[ec]=e0-eB}a.modifiersData[v]=eg}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(n){var a,g,v=n.state,j=n.name,z=n.options,H=v.elements.arrow,W=v.modifiersData.popperOffsets,B=getBasePlacement(v.placement),K=getMainAxisFromPlacement(B),ee=[tU,tz].indexOf(B)>=0?"height":"width";if(H&&W){var et=mergePaddingObject("number"!=typeof(a="function"==typeof(a=z.padding)?a(Object.assign({},v.rects,{placement:v.placement})):a)?a:expandToHashMap(a,t$)),en=getLayoutRect(H),er="y"===K?"top":tU,eo="y"===K?tF:tz,ei=v.rects.reference[ee]+v.rects.reference[K]-W[K]-v.rects.popper[ee],es=W[K]-v.rects.reference[K],el=getOffsetParent(H),eu=el?"y"===K?el.clientHeight||0:el.clientWidth||0:0,ec=et[er],ed=eu-en[ee]-et[eo],ep=eu/2-en[ee]/2+(ei/2-es/2),ef=within(ec,ep,ed);v.modifiersData[j]=((g={})[K]=ef,g.centerOffset=ef-ep,g)}},effect:function(n){var a=n.state,g=n.options.element,v=void 0===g?"[data-popper-arrow]":g;null!=v&&("string"!=typeof v||(v=a.elements.popper.querySelector(v)))&&contains(a.elements.popper,v)&&(a.elements.arrow=v)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(n){var a=n.state,g=n.name,v=a.rects.reference,j=a.rects.popper,z=a.modifiersData.preventOverflow,H=detectOverflow(a,{elementContext:"reference"}),W=detectOverflow(a,{altBoundary:!0}),B=getSideOffsets(H,v),K=getSideOffsets(W,j,z),ee=isAnySideFullyClipped(B),et=isAnySideFullyClipped(K);a.modifiersData[g]={referenceClippingOffsets:B,popperEscapeOffsets:K,isReferenceHidden:ee,hasPopperEscaped:et},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":ee,"data-popper-escaped":et})}}]}).defaultModifiers)?[]:B,et=void 0===(ee=W.defaultOptions)?tJ:ee,function(n,a,g){void 0===g&&(g=et);var v,j={placement:"bottom",orderedModifiers:[],options:Object.assign({},tJ,et),modifiersData:{},elements:{reference:n,popper:a},attributes:{},styles:{}},z=[],H=!1,W={state:j,setOptions:function(g){var v,H,B,ee,en,er="function"==typeof g?g(j.options):g;cleanupModifierEffects(),j.options=Object.assign({},et,j.options,er),j.scrollParents={reference:isElement(n)?listScrollParents(n):n.contextElement?listScrollParents(n.contextElement):[],popper:listScrollParents(a)};var eo=(H=Object.keys(v=[].concat(K,j.options.modifiers).reduce(function(n,a){var g=n[a.name];return n[a.name]=g?Object.assign({},g,a,{options:Object.assign({},g.options,a.options),data:Object.assign({},g.data,a.data)}):a,n},{})).map(function(n){return v[n]}),B=new Map,ee=new Set,en=[],H.forEach(function(n){B.set(n.name,n)}),H.forEach(function(n){ee.has(n.name)||function sort(n){ee.add(n.name),[].concat(n.requires||[],n.requiresIfExists||[]).forEach(function(n){if(!ee.has(n)){var a=B.get(n);a&&sort(a)}}),en.push(n)}(n)}),tK.reduce(function(n,a){return n.concat(en.filter(function(n){return n.phase===a}))},[]));return j.orderedModifiers=eo.filter(function(n){return n.enabled}),j.orderedModifiers.forEach(function(n){var a=n.name,g=n.options,v=n.effect;if("function"==typeof v){var H=v({state:j,name:a,instance:W,options:void 0===g?{}:g});z.push(H||function(){})}}),W.update()},forceUpdate:function(){if(!H){var n,a,g,v,z,B,K,ee,et,en,er,eo,ei=j.elements,es=ei.reference,el=ei.popper;if(areValidElements(es,el)){j.rects={reference:(a=getOffsetParent(el),g="fixed"===j.options.strategy,v=isHTMLElement(a),ee=isHTMLElement(a)&&(B=tD((z=a.getBoundingClientRect()).width)/a.offsetWidth||1,K=tD(z.height)/a.offsetHeight||1,1!==B||1!==K),et=getDocumentElement(a),en=getBoundingClientRect(es,ee,g),er={scrollLeft:0,scrollTop:0},eo={x:0,y:0},(v||!v&&!g)&&(("body"!==getNodeName(a)||isScrollParent(et))&&(er=(n=a)!==getWindow(n)&&isHTMLElement(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:getWindowScroll(n)),isHTMLElement(a)?(eo=getBoundingClientRect(a,!0),eo.x+=a.clientLeft,eo.y+=a.clientTop):et&&(eo.x=getWindowScrollBarX(et))),{x:en.left+er.scrollLeft-eo.x,y:en.top+er.scrollTop-eo.y,width:en.width,height:en.height}),popper:getLayoutRect(el)},j.reset=!1,j.placement=j.options.placement,j.orderedModifiers.forEach(function(n){return j.modifiersData[n.name]=Object.assign({},n.data)});for(var eu=0;eu=v))));a++);if(g)return z?qa(B,v,0):void(a[a.length]=B)}return!g&&B}function qa(n,a,g){return n=1===n.length?n[0]:[].concat.apply([],n),g||n.length>a?n.slice(g,g+a):n}function ra(n,a,g,v){return n=g?(n=n[(v=v&&a>g)?a:g])&&n[v?g:a]:n[a]}function Q(n,a,g,v,j){let z=0;if(n.constructor===Array){if(j)-1!==(a=n.indexOf(a))?1=this.B&&(et||!ee[eo])){var z=O(en,v,er),H="";switch(this.G){case"full":if(2z;W--)if(W-z>=this.B){var B=O(en,v,er,j,z);P(this,ee,H=eo.substring(z,W),B,n,g)}break}case"reverse":if(1=this.B&&P(this,ee,H,O(en,v,er,j,W),n,g);H=""}case"forward":if(1=this.B&&P(this,ee,H,z,n,g);break}default:if(this.C&&(z=Math.min(z/this.C(a,eo,er)|0,en-1)),P(this,ee,eo,z,n,g),et&&1=this.B&&!j[eo]){j[eo]=1;let a=this.l&&eo>z;P(this,K,a?z:eo,O(H+(v/2>H?0:1),v,er,W-1,B-1),n,g,a?eo:z)}}}}}this.m||(this.register[n]=1)}}return this},ey.search=function(n,a,g){let v,j,z;g||(!a&&D(n)?n=(g=n).query:D(a)&&(g=a));let H=[],W,B,K=0;if(g){n=g.query||n,a=g.limit,K=g.offset||0;var ee=g.context;B=g.suggest}if(n&&1<(W=(n=this.encode(""+n)).length)){g=x();var et=[];for(let a=0,v=0,j;a=this.B&&!g[j]){if(!this.s&&!B&&!this.map[j])return H;et[v++]=j,g[j]=1}W=(n=et).length}if(!W)return H;for(a||(a=100),ee=this.depth&&1{z=n})),j||(j=0)){case 0:if(H="reg",this.m)for(let n in W=x(),this.register)W[n]=1;else W=this.register;break;case 1:H="cfg",W={doc:0,opt:this.s?1:0};break;case 2:H="map",W=this.map;break;case 3:H="ctx",W=this.h;break;default:void 0===g&&z&&z();return}return oa(n,a||this,g,H,v,j,W,z),B},ey.import=function(n,a){if(a)switch(C(a)&&(a=JSON.parse(a)),n){case"cfg":this.s=!!a.opt;break;case"reg":this.m=!1,this.register=a;break;case"map":this.map=a;break;case"ctx":this.h=a}},ia(N.prototype);let t7=0;function flexsearch_bundle_module_min_S(n){var a;if(!(this instanceof flexsearch_bundle_module_min_S))return new flexsearch_bundle_module_min_S(n);n?E(a=n.encode)&&(n.encode=a.toString()):n={},(a=(self||window)._factory)&&(a=a.toString());let v="undefined"==typeof window&&self.exports,j=this;this.o=function(n,a,v){let j;try{j=a?new(g(5789)).Worker("//node/node.js"):n?new Worker(URL.createObjectURL(new Blob(["onmessage="+sa.toString()],{type:"text/javascript"}))):new Worker(C(v)?v:"worker/worker.js",{type:"module"})}catch(n){}return j}(a,v,n.worker),this.h=x(),this.o&&(v?this.o.on("message",function(n){j.h[n.id](n.msg),delete j.h[n.id]}):this.o.onmessage=function(n){n=n.data,j.h[n.id](n.msg),delete j.h[n.id]},this.o.postMessage({task:"init",factory:a,options:n}))}function T(n){flexsearch_bundle_module_min_S.prototype[n]=flexsearch_bundle_module_min_S.prototype[n+"Async"]=function(){let a;let g=this,v=[].slice.call(arguments);var j=v[v.length-1];return E(j)&&(a=j,v.splice(v.length-1,1)),j=new Promise(function(a){setTimeout(function(){g.h[++t7]=a,g.o.postMessage({task:n,id:t7,args:v})})}),a?(j.then(a),this):j}}function U(n){if(!(this instanceof U))return new U(n);var a,g=n.document||n.doc||n;this.K=[],this.h=[],this.A=[],this.register=x(),this.key=(a=g.key||g.id)&&V(a,this.A)||"id",this.m=flexsearch_bundle_module_min_u(n.fastupdate),this.C=(a=g.store)&&!0!==a&&[],this.store=a&&x(),this.I=(a=g.tag)&&V(a,this.A),this.l=a&&x(),this.cache=(a=n.cache)&&new M(a),n.cache=!1,this.o=n.worker,this.async=!1,a=x();let v=g.index||g.field||g;C(v)&&(v=[v]);for(let g=0,j,z;ga||g)&&(j=j.slice(g,g+a)),v&&(j=wa.call(this,j)),{tag:n,result:j}}function wa(n){let a=Array(n.length);for(let g=0,v;g{z=n})),j||(j=0),v||(v=0),v()=>n.dispose(),[n]),n}var na=g(3781),ni=g(4879),ns=g(6723),nl=g(3855),nu=g(2180),nc=g(3784),nd=g(2984);function transition_g(n,...a){n&&a.length>0&&n.classList.add(...a)}function transition_v(n,...a){n&&a.length>0&&n.classList.remove(...a)}let np=(0,ew.createContext)(null);np.displayName="OpenClosedContext";var nf=((en=nf||{})[en.Open=1]="Open",en[en.Closed=2]="Closed",en[en.Closing=4]="Closing",en[en.Opening=8]="Opening",en);function open_closed_u(){return(0,ew.useContext)(np)}function open_closed_s({value:n,children:a}){return ew.createElement(np.Provider,{value:n},a)}var nh=g(4067),nm=g(2351);function transition_S(n=""){return n.split(/\s+/).filter(n=>n.length>1)}let nx=(0,ew.createContext)(null);nx.displayName="TransitionContext";var ng=((er=ng||{}).Visible="visible",er.Hidden="hidden",er);let nv=(0,ew.createContext)(null);function transition_U(n){return"children"in n?transition_U(n.children):n.current.filter(({el:n})=>null!==n.current).filter(({state:n})=>"visible"===n).length>0}function se(n,a){let g=(0,nl.E)(n),v=(0,ew.useRef)([]),j=(0,ni.t)(),z=use_disposables_p(),H=(0,na.z)((n,a=nm.l4.Hidden)=>{let H=v.current.findIndex(({el:a})=>a===n);-1!==H&&((0,nd.E)(a,{[nm.l4.Unmount](){v.current.splice(H,1)},[nm.l4.Hidden](){v.current[H].state="hidden"}}),z.microTask(()=>{var n;!transition_U(v)&&j.current&&(null==(n=g.current)||n.call(g))}))}),W=(0,na.z)(n=>{let a=v.current.find(({el:a})=>a===n);return a?"visible"!==a.state&&(a.state="visible"):v.current.push({el:n,state:"visible"}),()=>H(n,nm.l4.Unmount)}),B=(0,ew.useRef)([]),K=(0,ew.useRef)(Promise.resolve()),ee=(0,ew.useRef)({enter:[],leave:[],idle:[]}),et=(0,na.z)((n,g,v)=>{B.current.splice(0),a&&(a.chains.current[g]=a.chains.current[g].filter(([a])=>a!==n)),null==a||a.chains.current[g].push([n,new Promise(n=>{B.current.push(n)})]),null==a||a.chains.current[g].push([n,new Promise(n=>{Promise.all(ee.current[g].map(([n,a])=>a)).then(()=>n())})]),"enter"===g?K.current=K.current.then(()=>null==a?void 0:a.wait.current).then(()=>v(g)):v(g)}),en=(0,na.z)((n,a,g)=>{Promise.all(ee.current[a].splice(0).map(([n,a])=>a)).then(()=>{var n;null==(n=B.current.shift())||n()}).then(()=>g(a))});return(0,ew.useMemo)(()=>({children:v,register:W,unregister:H,onStart:et,onStop:en,wait:K,chains:ee}),[W,H,v,et,en,ee,K])}function Ne(){}nv.displayName="NestingContext";let ny=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ae(n){var a;let g={};for(let v of ny)g[v]=null!=(a=n[v])?a:Ne;return g}let nb=nm.AN.RenderStrategy,n_=(0,nm.yV)(function(n,a){let{show:g,appear:v=!1,unmount:j=!0,...z}=n,H=(0,ew.useRef)(null),W=(0,nc.T)(H,a);(0,nu.H)();let B=open_closed_u();if(void 0===g&&null!==B&&(g=(B&nf.Open)===nf.Open),![!0,!1].includes(g))throw Error("A is used but it is missing a `show={true | false}` prop.");let[K,ee]=(0,ew.useState)(g?"visible":"hidden"),et=se(()=>{ee("hidden")}),[en,er]=(0,ew.useState)(!0),eo=(0,ew.useRef)([g]);(0,ns.e)(()=>{!1!==en&&eo.current[eo.current.length-1]!==g&&(eo.current.push(g),er(!1))},[eo,g]);let ei=(0,ew.useMemo)(()=>({show:g,appear:v,initial:en}),[g,v,en]);(0,ew.useEffect)(()=>{if(g)ee("visible");else if(transition_U(et)){let n=H.current;if(!n)return;let a=n.getBoundingClientRect();0===a.x&&0===a.y&&0===a.width&&0===a.height&&ee("hidden")}else ee("hidden")},[g,et]);let es={unmount:j},el=(0,na.z)(()=>{var a;en&&er(!1),null==(a=n.beforeEnter)||a.call(n)}),eu=(0,na.z)(()=>{var a;en&&er(!1),null==(a=n.beforeLeave)||a.call(n)});return ew.createElement(nv.Provider,{value:et},ew.createElement(nx.Provider,{value:ei},(0,nm.sY)({ourProps:{...es,as:ew.Fragment,children:ew.createElement(nw,{ref:W,...es,...z,beforeEnter:el,beforeLeave:eu})},theirProps:{},defaultTag:ew.Fragment,features:nb,visible:"visible"===K,name:"Transition"})))}),nw=(0,nm.yV)(function(n,a){var g,v,j;let z;let{beforeEnter:H,afterEnter:W,beforeLeave:B,afterLeave:K,enter:ee,enterFrom:et,enterTo:en,entered:er,leave:eo,leaveFrom:ei,leaveTo:es,...el}=n,eu=(0,ew.useRef)(null),ec=(0,nc.T)(eu,a),ed=null==(g=el.unmount)||g?nm.l4.Unmount:nm.l4.Hidden,{show:ep,appear:ef,initial:eh}=function(){let n=(0,ew.useContext)(nx);if(null===n)throw Error("A is used but it is missing a parent or .");return n}(),[em,ex]=(0,ew.useState)(ep?"visible":"hidden"),eg=function(){let n=(0,ew.useContext)(nv);if(null===n)throw Error("A is used but it is missing a parent or .");return n}(),{register:ev,unregister:ey}=eg;(0,ew.useEffect)(()=>ev(eu),[ev,eu]),(0,ew.useEffect)(()=>{if(ed===nm.l4.Hidden&&eu.current){if(ep&&"visible"!==em){ex("visible");return}return(0,nd.E)(em,{hidden:()=>ey(eu),visible:()=>ev(eu)})}},[em,eu,ev,ey,ep,ed]);let eb=(0,nl.E)({base:transition_S(el.className),enter:transition_S(ee),enterFrom:transition_S(et),enterTo:transition_S(en),entered:transition_S(er),leave:transition_S(eo),leaveFrom:transition_S(ei),leaveTo:transition_S(es)}),e_=(j={beforeEnter:H,afterEnter:W,beforeLeave:B,afterLeave:K},z=(0,ew.useRef)(ae(j)),(0,ew.useEffect)(()=>{z.current=ae(j)},[j]),z),ek=(0,nu.H)();(0,ew.useEffect)(()=>{if(ek&&"visible"===em&&null===eu.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[eu,em,ek]);let eC=ef&&ep&&eh,eE=ek&&(!eh||ef)?ep?"enter":"leave":"idle",eT=function(n=0){let[a,g]=(0,ew.useState)(n),v=(0,ni.t)(),j=(0,ew.useCallback)(n=>{v.current&&g(a=>a|n)},[a,v]),z=(0,ew.useCallback)(n=>!!(a&n),[a]);return{flags:a,addFlag:j,hasFlag:z,removeFlag:(0,ew.useCallback)(n=>{v.current&&g(a=>a&~n)},[g,v]),toggleFlag:(0,ew.useCallback)(n=>{v.current&&g(a=>a^n)},[g])}}(0),eO=(0,na.z)(n=>(0,nd.E)(n,{enter:()=>{eT.addFlag(nf.Opening),e_.current.beforeEnter()},leave:()=>{eT.addFlag(nf.Closing),e_.current.beforeLeave()},idle:()=>{}})),ej=(0,na.z)(n=>(0,nd.E)(n,{enter:()=>{eT.removeFlag(nf.Opening),e_.current.afterEnter()},leave:()=>{eT.removeFlag(nf.Closing),e_.current.afterLeave()},idle:()=>{}})),eS=se(()=>{ex("hidden"),ey(eu)},eg),eI=(0,ew.useRef)(!1);!function({immediate:n,container:a,direction:g,classes:v,onStart:j,onStop:z}){let H=(0,ni.t)(),W=use_disposables_p(),B=(0,nl.E)(g);(0,ns.e)(()=>{n&&(B.current="enter")},[n]),(0,ns.e)(()=>{let n=(0,no.k)();W.add(n.dispose);let g=a.current;if(g&&"idle"!==B.current&&H.current){var K,ee,et;let a,H,W,en,er,eo,ei;return n.dispose(),j.current(B.current),n.add((K=v.current,ee="enter"===B.current,et=()=>{n.dispose(),z.current(B.current)},H=ee?"enter":"leave",W=(0,no.k)(),en=void 0!==et?(a={called:!1},(...n)=>{if(!a.called)return a.called=!0,et(...n)}):()=>{},"enter"===H&&(g.removeAttribute("hidden"),g.style.display=""),er=(0,nd.E)(H,{enter:()=>K.enter,leave:()=>K.leave}),eo=(0,nd.E)(H,{enter:()=>K.enterTo,leave:()=>K.leaveTo}),ei=(0,nd.E)(H,{enter:()=>K.enterFrom,leave:()=>K.leaveFrom}),transition_v(g,...K.base,...K.enter,...K.enterTo,...K.enterFrom,...K.leave,...K.leaveFrom,...K.leaveTo,...K.entered),transition_g(g,...K.base,...er,...ei),W.nextFrame(()=>{transition_v(g,...K.base,...er,...ei),transition_g(g,...K.base,...er,...eo),function(n,a){let g=(0,no.k)();if(!n)return g.dispose;let{transitionDuration:v,transitionDelay:j}=getComputedStyle(n),[z,H]=[v,j].map(n=>{let[a=0]=n.split(",").filter(Boolean).map(n=>n.includes("ms")?parseFloat(n):1e3*parseFloat(n)).sort((n,a)=>a-n);return a}),W=z+H;if(0!==W){g.group(g=>{g.setTimeout(()=>{a(),g.dispose()},W),g.addEventListener(n,"transitionrun",n=>{n.target===n.currentTarget&&g.dispose()})});let v=g.addEventListener(n,"transitionend",n=>{n.target===n.currentTarget&&(a(),v())})}else a();g.add(()=>a()),g.dispose}(g,()=>(transition_v(g,...K.base,...er),transition_g(g,...K.base,...K.entered),en()))}),W.dispose)),n.dispose}},[g])}({immediate:eC,container:eu,classes:eb,direction:eE,onStart:(0,nl.E)(n=>{eI.current=!0,eS.onStart(eu,n,eO)}),onStop:(0,nl.E)(n=>{eI.current=!1,eS.onStop(eu,n,ej),"leave"!==n||transition_U(eS)||(ex("hidden"),ey(eu))})});let eP=el;return eC?eP={...eP,className:(0,nh.A)(el.className,...eb.current.enter,...eb.current.enterFrom)}:eI.current&&(eP.className=(0,nh.A)(el.className,null==(v=eu.current)?void 0:v.className),""===eP.className&&delete eP.className),ew.createElement(nv.Provider,{value:eS},ew.createElement(open_closed_s,{value:(0,nd.E)(em,{visible:nf.Open,hidden:nf.Closed})|eT.flags},(0,nm.sY)({ourProps:{ref:ec},theirProps:eP,defaultTag:"div",features:nb,visible:"visible"===em,name:"Transition.Child"})))}),nk=(0,nm.yV)(function(n,a){let g=null!==(0,ew.useContext)(nx),v=null!==open_closed_u();return ew.createElement(ew.Fragment,null,!g&&v?ew.createElement(n_,{ref:a,...n}):ew.createElement(nw,{ref:a,...n}))}),nC=Object.assign(n_,{Child:nk,Root:n_});var nE=g(7192);function use_computed_i(n,a){let[g,v]=(0,ew.useState)(n),j=(0,nl.E)(n);return(0,ns.e)(()=>v(j.current),[j,v,...a]),g}var nT=g(9946),nO=g(4575);function use_document_event_d(n,a,g){let v=(0,nl.E)(a);(0,ew.useEffect)(()=>{function t(n){v.current(n)}return document.addEventListener(n,t,g),()=>document.removeEventListener(n,t,g)},[n,g])}function use_outside_click_y(n,a,g=!0){var v;let j,z=(0,ew.useRef)(!1);function c(g,v){if(!z.current||g.defaultPrevented)return;let j=v(g);if(null!==j&&j.getRootNode().contains(j)&&j.isConnected){for(let a of function u(n){return"function"==typeof n?u(n()):Array.isArray(n)||n instanceof Set?n:[n]}(n)){if(null===a)continue;let n=a instanceof HTMLElement?a:a.current;if(null!=n&&n.contains(j)||g.composed&&g.composedPath().includes(n))return}return(0,nO.sP)(j,nO.tJ.Loose)||-1===j.tabIndex||g.preventDefault(),a(g,j)}}(0,ew.useEffect)(()=>{requestAnimationFrame(()=>{z.current=g})},[g]);let H=(0,ew.useRef)(null);use_document_event_d("pointerdown",n=>{var a,g;z.current&&(H.current=(null==(g=null==(a=n.composedPath)?void 0:a.call(n))?void 0:g[0])||n.target)},!0),use_document_event_d("mousedown",n=>{var a,g;z.current&&(H.current=(null==(g=null==(a=n.composedPath)?void 0:a.call(n))?void 0:g[0])||n.target)},!0),use_document_event_d("click",n=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||H.current&&(c(n,()=>H.current),H.current=null)},!0),use_document_event_d("touchend",n=>c(n,()=>n.target instanceof HTMLElement?n.target:null),!0),v="blur",j=(0,nl.E)(n=>c(n,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null)),(0,ew.useEffect)(()=>{function t(n){j.current(n)}return window.addEventListener(v,t,!0),()=>window.removeEventListener(v,t,!0)},[v,!0])}var nj=g(4157);let nS=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o(n){var a,g;let v=null!=(a=n.innerText)?a:"",j=n.cloneNode(!0);if(!(j instanceof HTMLElement))return v;let z=!1;for(let n of j.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))n.remove(),z=!0;let H=z?null!=(g=j.innerText)?g:"":v;return nS.test(H)&&(H=H.replace(nS,"")),H}function use_text_value_s(n){let a=(0,ew.useRef)(""),g=(0,ew.useRef)("");return(0,na.z)(()=>{let v=n.current;if(!v)return"";let j=v.innerText;if(a.current===j)return g.current;let z=(function(n){let a=n.getAttribute("aria-label");if("string"==typeof a)return a.trim();let g=n.getAttribute("aria-labelledby");if(g){let n=g.split(" ").map(n=>{let a=document.getElementById(n);if(a){let n=a.getAttribute("aria-label");return"string"==typeof n?n.trim():o(a).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return o(n).trim()})(v).trim().toLowerCase();return a.current=j,g.current=z,z})}function use_tracked_pointer_t(n){return[n.screenX,n.screenY]}function use_tracked_pointer_u(){let n=(0,ew.useRef)([-1,-1]);return{wasMoved(a){let g=use_tracked_pointer_t(a);return(n.current[0]!==g[0]||n.current[1]!==g[1])&&(n.current=g,!0)},update(a){n.current=use_tracked_pointer_t(a)}}}var nI=g(6045);function bugs_r(n){let a=n.parentElement,g=null;for(;a&&!(a instanceof HTMLFieldSetElement);)a instanceof HTMLLegendElement&&(g=a),a=a.parentElement;let v=(null==a?void 0:a.getAttribute("disabled"))==="";return!(v&&function(n){if(!n)return!1;let a=n.previousElementSibling;for(;null!==a;){if(a instanceof HTMLLegendElement)return!1;a=a.previousElementSibling}return!0}(g))&&v}var nP=((eo=nP||{})[eo.First=0]="First",eo[eo.Previous=1]="Previous",eo[eo.Next=2]="Next",eo[eo.Last=3]="Last",eo[eo.Specific=4]="Specific",eo[eo.Nothing=5]="Nothing",eo);function calculate_active_index_f(n,a){let g=a.resolveItems();if(g.length<=0)return null;let v=a.resolveActiveIndex(),j=null!=v?v:-1;switch(n.focus){case 0:for(let n=0;n=0;--n)if(!a.resolveDisabled(g[n],n,g))return n;return v;case 2:for(let n=j+1;n=0;--n)if(!a.resolveDisabled(g[n],n,g))return n;return v;case 4:for(let v=0;vn){let g=null!==n.activeOptionIndex?n.options[n.activeOptionIndex]:null,v=(0,nO.z2)(a(n.options.slice()),n=>n.dataRef.current.domRef.current),j=g?v.indexOf(g):null;return -1===j&&(j=null),{options:v,activeOptionIndex:j}}let nD={1:n=>n.dataRef.current.disabled||1===n.listboxState?n:{...n,activeOptionIndex:null,listboxState:1},0(n){if(n.dataRef.current.disabled||0===n.listboxState)return n;let a=n.activeOptionIndex,{isSelected:g}=n.dataRef.current,v=n.options.findIndex(n=>g(n.dataRef.current.value));return -1!==v&&(a=v),{...n,listboxState:0,activeOptionIndex:a}},2(n,a){var g;if(n.dataRef.current.disabled||1===n.listboxState)return n;let v=listbox_z(n),j=calculate_active_index_f(a,{resolveItems:()=>v.options,resolveActiveIndex:()=>v.activeOptionIndex,resolveId:n=>n.id,resolveDisabled:n=>n.dataRef.current.disabled});return{...n,...v,searchQuery:"",activeOptionIndex:j,activationTrigger:null!=(g=a.trigger)?g:1}},3:(n,a)=>{if(n.dataRef.current.disabled||1===n.listboxState)return n;let g=""!==n.searchQuery?0:1,v=n.searchQuery+a.value.toLowerCase(),j=(null!==n.activeOptionIndex?n.options.slice(n.activeOptionIndex+g).concat(n.options.slice(0,n.activeOptionIndex+g)):n.options).find(n=>{var a;return!n.dataRef.current.disabled&&(null==(a=n.dataRef.current.textValue)?void 0:a.startsWith(v))}),z=j?n.options.indexOf(j):-1;return -1===z||z===n.activeOptionIndex?{...n,searchQuery:v}:{...n,searchQuery:v,activeOptionIndex:z,activationTrigger:1}},4:n=>n.dataRef.current.disabled||1===n.listboxState||""===n.searchQuery?n:{...n,searchQuery:""},5:(n,a)=>{let g={id:a.id,dataRef:a.dataRef},v=listbox_z(n,n=>[...n,g]);return null===n.activeOptionIndex&&n.dataRef.current.isSelected(a.dataRef.current.value)&&(v.activeOptionIndex=v.options.indexOf(g)),{...n,...v}},6:(n,a)=>{let g=listbox_z(n,n=>{let g=n.findIndex(n=>n.id===a.id);return -1!==g&&n.splice(g,1),n});return{...n,...g,activationTrigger:1}},7:(n,a)=>({...n,labelId:a.id})},nF=(0,ew.createContext)(null);function k(n){let a=(0,ew.useContext)(nF);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,k),a}return a}nF.displayName="ListboxActionsContext";let nz=(0,ew.createContext)(null);function w(n){let a=(0,ew.useContext)(nz);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,w),a}return a}function Ve(n,a){return(0,nd.E)(a.type,nD,n,a)}nz.displayName="ListboxDataContext";let nU=ew.Fragment,nV=nm.AN.RenderStrategy|nm.AN.Static,n$=Object.assign((0,nm.yV)(function(n,a){let{value:g,defaultValue:v,form:j,name:z,onChange:H,by:W=(n,a)=>n===a,disabled:B=!1,horizontal:K=!1,multiple:ee=!1,...et}=n,en=K?"horizontal":"vertical",er=(0,nc.T)(a),[eo=ee?[]:void 0,ei]=function(n,a,g){let[v,j]=(0,ew.useState)(g),z=void 0!==n,H=(0,ew.useRef)(z),W=(0,ew.useRef)(!1),B=(0,ew.useRef)(!1);return!z||H.current||W.current?z||!H.current||B.current||(B.current=!0,H.current=z,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(W.current=!0,H.current=z,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[z?n:v,(0,na.z)(n=>(z||j(n),null==a?void 0:a(n)))]}(g,H,v),[es,el]=(0,ew.useReducer)(Ve,{dataRef:(0,ew.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),eu=(0,ew.useRef)({static:!1,hold:!1}),ec=(0,ew.useRef)(null),ed=(0,ew.useRef)(null),ep=(0,ew.useRef)(null),ef=(0,na.z)("string"==typeof W?(n,a)=>(null==n?void 0:n[W])===(null==a?void 0:a[W]):W),eh=(0,ew.useCallback)(n=>(0,nd.E)(em.mode,{1:()=>eo.some(a=>ef(a,n)),0:()=>ef(eo,n)}),[eo]),em=(0,ew.useMemo)(()=>({...es,value:eo,disabled:B,mode:ee?1:0,orientation:en,compare:ef,isSelected:eh,optionsPropsRef:eu,labelRef:ec,buttonRef:ed,optionsRef:ep}),[eo,B,ee,es]);(0,ns.e)(()=>{es.dataRef.current=em},[em]),use_outside_click_y([em.buttonRef,em.optionsRef],(n,a)=>{var g;el({type:1}),(0,nO.sP)(a,nO.tJ.Loose)||(n.preventDefault(),null==(g=em.buttonRef.current)||g.focus())},0===em.listboxState);let ex=(0,ew.useMemo)(()=>({open:0===em.listboxState,disabled:B,value:eo}),[em,B,eo]),eg=(0,na.z)(n=>{let a=em.options.find(a=>a.id===n);a&&eE(a.dataRef.current.value)}),ev=(0,na.z)(()=>{if(null!==em.activeOptionIndex){let{dataRef:n,id:a}=em.options[em.activeOptionIndex];eE(n.current.value),el({type:2,focus:nP.Specific,id:a})}}),ey=(0,na.z)(()=>el({type:0})),eb=(0,na.z)(()=>el({type:1})),e_=(0,na.z)((n,a,g)=>n===nP.Specific?el({type:2,focus:nP.Specific,id:a,trigger:g}):el({type:2,focus:n,trigger:g})),ek=(0,na.z)((n,a)=>(el({type:5,id:n,dataRef:a}),()=>el({type:6,id:n}))),eC=(0,na.z)(n=>(el({type:7,id:n}),()=>el({type:7,id:null}))),eE=(0,na.z)(n=>(0,nd.E)(em.mode,{0:()=>null==ei?void 0:ei(n),1(){let a=em.value.slice(),g=a.findIndex(a=>ef(a,n));return -1===g?a.push(n):a.splice(g,1),null==ei?void 0:ei(a)}})),eT=(0,na.z)(n=>el({type:3,value:n})),eO=(0,na.z)(()=>el({type:4})),ej=(0,ew.useMemo)(()=>({onChange:eE,registerOption:ek,registerLabel:eC,goToOption:e_,closeListbox:eb,openListbox:ey,selectActiveOption:ev,selectOption:eg,search:eT,clearSearch:eO}),[]),eS=(0,ew.useRef)(null),eI=use_disposables_p();return(0,ew.useEffect)(()=>{eS.current&&void 0!==v&&eI.addEventListener(eS.current,"reset",()=>{null==ei||ei(v)})},[eS,ei]),ew.createElement(nF.Provider,{value:ej},ew.createElement(nz.Provider,{value:em},ew.createElement(open_closed_s,{value:(0,nd.E)(em.listboxState,{0:nf.Open,1:nf.Closed})},null!=z&&null!=eo&&(function form_e(n={},a=null,g=[]){for(let[v,j]of Object.entries(n))!function form_o(n,a,g){if(Array.isArray(g))for(let[v,j]of g.entries())form_o(n,form_f(a,v.toString()),j);else g instanceof Date?n.push([a,g.toISOString()]):"boolean"==typeof g?n.push([a,g?"1":"0"]):"string"==typeof g?n.push([a,g]):"number"==typeof g?n.push([a,`${g}`]):null==g?n.push([a,""]):form_e(g,a,n)}(g,form_f(a,v),j);return g})({[z]:eo}).map(([n,a],g)=>ew.createElement(nI._,{features:nI.A.Hidden,ref:0===g?n=>{var a;eS.current=null!=(a=null==n?void 0:n.closest("form"))?a:null}:void 0,...(0,nm.oA)({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:j,disabled:B,name:n,value:a})})),(0,nm.sY)({ourProps:{ref:er},theirProps:et,slot:ex,defaultTag:nU,name:"Listbox"}))))}),{Button:(0,nm.yV)(function(n,a){var g;let v=(0,nT.M)(),{id:j=`headlessui-listbox-button-${v}`,...z}=n,H=w("Listbox.Button"),W=k("Listbox.Button"),B=(0,nc.T)(H.buttonRef,a),K=use_disposables_p(),ee=(0,na.z)(n=>{switch(n.key){case nZ.R.Space:case nZ.R.Enter:case nZ.R.ArrowDown:n.preventDefault(),W.openListbox(),K.nextFrame(()=>{H.value||W.goToOption(nP.First)});break;case nZ.R.ArrowUp:n.preventDefault(),W.openListbox(),K.nextFrame(()=>{H.value||W.goToOption(nP.Last)})}}),et=(0,na.z)(n=>{n.key===nZ.R.Space&&n.preventDefault()}),en=(0,na.z)(n=>{if(bugs_r(n.currentTarget))return n.preventDefault();0===H.listboxState?(W.closeListbox(),K.nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})})):(n.preventDefault(),W.openListbox())}),er=use_computed_i(()=>{if(H.labelId)return[H.labelId,j].join(" ")},[H.labelId,j]),eo=(0,ew.useMemo)(()=>({open:0===H.listboxState,disabled:H.disabled,value:H.value}),[H]),ei={ref:B,id:j,type:(0,nj.f)(n,H.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(g=H.optionsRef.current)?void 0:g.id,"aria-expanded":0===H.listboxState,"aria-labelledby":er,disabled:H.disabled,onKeyDown:ee,onKeyUp:et,onClick:en};return(0,nm.sY)({ourProps:ei,theirProps:z,slot:eo,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,nm.yV)(function(n,a){let g=(0,nT.M)(),{id:v=`headlessui-listbox-label-${g}`,...j}=n,z=w("Listbox.Label"),H=k("Listbox.Label"),W=(0,nc.T)(z.labelRef,a);(0,ns.e)(()=>H.registerLabel(v),[v]);let B=(0,na.z)(()=>{var n;return null==(n=z.buttonRef.current)?void 0:n.focus({preventScroll:!0})}),K=(0,ew.useMemo)(()=>({open:0===z.listboxState,disabled:z.disabled}),[z]);return(0,nm.sY)({ourProps:{ref:W,id:v,onClick:B},theirProps:j,slot:K,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,nm.yV)(function(n,a){var g;let v=(0,nT.M)(),{id:j=`headlessui-listbox-options-${v}`,...z}=n,H=w("Listbox.Options"),W=k("Listbox.Options"),B=(0,nc.T)(H.optionsRef,a),K=use_disposables_p(),ee=use_disposables_p(),et=open_closed_u(),en=null!==et?(et&nf.Open)===nf.Open:0===H.listboxState;(0,ew.useEffect)(()=>{var n;let a=H.optionsRef.current;a&&0===H.listboxState&&a!==(null==(n=(0,nN.r)(a))?void 0:n.activeElement)&&a.focus({preventScroll:!0})},[H.listboxState,H.optionsRef]);let er=(0,na.z)(n=>{switch(ee.dispose(),n.key){case nZ.R.Space:if(""!==H.searchQuery)return n.preventDefault(),n.stopPropagation(),W.search(n.key);case nZ.R.Enter:if(n.preventDefault(),n.stopPropagation(),null!==H.activeOptionIndex){let{dataRef:n}=H.options[H.activeOptionIndex];W.onChange(n.current.value)}0===H.mode&&(W.closeListbox(),(0,no.k)().nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})}));break;case(0,nd.E)(H.orientation,{vertical:nZ.R.ArrowDown,horizontal:nZ.R.ArrowRight}):return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.Next);case(0,nd.E)(H.orientation,{vertical:nZ.R.ArrowUp,horizontal:nZ.R.ArrowLeft}):return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.Previous);case nZ.R.Home:case nZ.R.PageUp:return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.First);case nZ.R.End:case nZ.R.PageDown:return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.Last);case nZ.R.Escape:return n.preventDefault(),n.stopPropagation(),W.closeListbox(),K.nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})});case nZ.R.Tab:n.preventDefault(),n.stopPropagation();break;default:1===n.key.length&&(W.search(n.key),ee.setTimeout(()=>W.clearSearch(),350))}}),eo=use_computed_i(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.id},[H.buttonRef.current]),ei=(0,ew.useMemo)(()=>({open:0===H.listboxState}),[H]),es={"aria-activedescendant":null===H.activeOptionIndex||null==(g=H.options[H.activeOptionIndex])?void 0:g.id,"aria-multiselectable":1===H.mode||void 0,"aria-labelledby":eo,"aria-orientation":H.orientation,id:j,onKeyDown:er,role:"listbox",tabIndex:0,ref:B};return(0,nm.sY)({ourProps:es,theirProps:z,slot:ei,defaultTag:"ul",features:nV,visible:en,name:"Listbox.Options"})}),Option:(0,nm.yV)(function(n,a){let g=(0,nT.M)(),{id:v=`headlessui-listbox-option-${g}`,disabled:j=!1,value:z,...H}=n,W=w("Listbox.Option"),B=k("Listbox.Option"),K=null!==W.activeOptionIndex&&W.options[W.activeOptionIndex].id===v,ee=W.isSelected(z),et=(0,ew.useRef)(null),en=use_text_value_s(et),er=(0,nl.E)({disabled:j,value:z,domRef:et,get textValue(){return en()}}),eo=(0,nc.T)(a,et);(0,ns.e)(()=>{if(0!==W.listboxState||!K||0===W.activationTrigger)return;let n=(0,no.k)();return n.requestAnimationFrame(()=>{var n,a;null==(a=null==(n=et.current)?void 0:n.scrollIntoView)||a.call(n,{block:"nearest"})}),n.dispose},[et,K,W.listboxState,W.activationTrigger,W.activeOptionIndex]),(0,ns.e)(()=>B.registerOption(v,er),[er,v]);let ei=(0,na.z)(n=>{if(j)return n.preventDefault();B.onChange(z),0===W.mode&&(B.closeListbox(),(0,no.k)().nextFrame(()=>{var n;return null==(n=W.buttonRef.current)?void 0:n.focus({preventScroll:!0})}))}),es=(0,na.z)(()=>{if(j)return B.goToOption(nP.Nothing);B.goToOption(nP.Specific,v)}),el=use_tracked_pointer_u(),eu=(0,na.z)(n=>el.update(n)),ec=(0,na.z)(n=>{el.wasMoved(n)&&(j||K||B.goToOption(nP.Specific,v,0))}),ed=(0,na.z)(n=>{el.wasMoved(n)&&(j||K&&B.goToOption(nP.Nothing))}),ep=(0,ew.useMemo)(()=>({active:K,selected:ee,disabled:j}),[K,ee,j]);return(0,nm.sY)({ourProps:{id:v,ref:eo,role:"option",tabIndex:!0===j?void 0:-1,"aria-disabled":!0===j||void 0,"aria-selected":ee,disabled:void 0,onClick:ei,onFocus:es,onPointerEnter:eu,onMouseEnter:eu,onPointerMove:ec,onMouseMove:ec,onPointerLeave:ed,onMouseLeave:ed},theirProps:H,slot:ep,defaultTag:"li",name:"Listbox.Option"})})});var nH=g(3935),nW=g(9008),nB=g.n(nW);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(n){for(var a=1;a=0||(j[g]=n[g]);return j}var nG=["keyOverride"],nq=["crossOrigin"],nK={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},buildOpenGraphMediaTags=function(n,a,g){void 0===a&&(a=[]);var v=void 0===g?{}:g,j=v.defaultWidth,z=v.defaultHeight;return a.reduce(function(a,g,v){return a.push(ew.createElement("meta",{key:"og:"+n+":0"+v,property:"og:"+n,content:g.url})),g.alt&&a.push(ew.createElement("meta",{key:"og:"+n+":alt0"+v,property:"og:"+n+":alt",content:g.alt})),g.secureUrl&&a.push(ew.createElement("meta",{key:"og:"+n+":secure_url0"+v,property:"og:"+n+":secure_url",content:g.secureUrl.toString()})),g.type&&a.push(ew.createElement("meta",{key:"og:"+n+":type0"+v,property:"og:"+n+":type",content:g.type.toString()})),g.width?a.push(ew.createElement("meta",{key:"og:"+n+":width0"+v,property:"og:"+n+":width",content:g.width.toString()})):j&&a.push(ew.createElement("meta",{key:"og:"+n+":width0"+v,property:"og:"+n+":width",content:j.toString()})),g.height?a.push(ew.createElement("meta",{key:"og:"+n+":height"+v,property:"og:"+n+":height",content:g.height.toString()})):z&&a.push(ew.createElement("meta",{key:"og:"+n+":height"+v,property:"og:"+n+":height",content:z.toString()})),a},[])},buildTags=function(n){var a,g,v,j,z,H=[];n.titleTemplate&&(nK.templateTitle=n.titleTemplate);var W="";n.title?(W=n.title,nK.templateTitle&&(W=nK.templateTitle.replace(/%s/g,function(){return W}))):n.defaultTitle&&(W=n.defaultTitle),W&&H.push(ew.createElement("title",{key:"title"},W));var B=void 0===n.noindex?nK.noindex||n.dangerouslySetAllPagesToNoIndex:n.noindex,K=void 0===n.nofollow?nK.nofollow||n.dangerouslySetAllPagesToNoFollow:n.nofollow,ee=n.norobots||nK.norobots,et="";if(n.robotsProps){var en=n.robotsProps,er=en.nosnippet,eo=en.maxSnippet,ei=en.maxImagePreview,es=en.maxVideoPreview,el=en.noarchive,eu=en.noimageindex,ec=en.notranslate,ed=en.unavailableAfter;et=(er?",nosnippet":"")+(eo?",max-snippet:"+eo:"")+(ei?",max-image-preview:"+ei:"")+(el?",noarchive":"")+(ed?",unavailable_after:"+ed:"")+(eu?",noimageindex":"")+(es?",max-video-preview:"+es:"")+(ec?",notranslate":"")}if(n.norobots&&(nK.norobots=!0),B||K?(n.dangerouslySetAllPagesToNoIndex&&(nK.noindex=!0),n.dangerouslySetAllPagesToNoFollow&&(nK.nofollow=!0),H.push(ew.createElement("meta",{key:"robots",name:"robots",content:(B?"noindex":"index")+","+(K?"nofollow":"follow")+et}))):(!ee||et)&&H.push(ew.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+et})),n.description&&H.push(ew.createElement("meta",{key:"description",name:"description",content:n.description})),n.themeColor&&H.push(ew.createElement("meta",{key:"theme-color",name:"theme-color",content:n.themeColor})),n.mobileAlternate&&H.push(ew.createElement("link",{rel:"alternate",key:"mobileAlternate",media:n.mobileAlternate.media,href:n.mobileAlternate.href})),n.languageAlternates&&n.languageAlternates.length>0&&n.languageAlternates.forEach(function(n){H.push(ew.createElement("link",{rel:"alternate",key:"languageAlternate-"+n.hrefLang,hrefLang:n.hrefLang,href:n.href}))}),n.twitter&&(n.twitter.cardType&&H.push(ew.createElement("meta",{key:"twitter:card",name:"twitter:card",content:n.twitter.cardType})),n.twitter.site&&H.push(ew.createElement("meta",{key:"twitter:site",name:"twitter:site",content:n.twitter.site})),n.twitter.handle&&H.push(ew.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:n.twitter.handle}))),n.facebook&&n.facebook.appId&&H.push(ew.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:n.facebook.appId})),(null!=(a=n.openGraph)&&a.title||W)&&H.push(ew.createElement("meta",{key:"og:title",property:"og:title",content:(null==(j=n.openGraph)?void 0:j.title)||W})),(null!=(g=n.openGraph)&&g.description||n.description)&&H.push(ew.createElement("meta",{key:"og:description",property:"og:description",content:(null==(z=n.openGraph)?void 0:z.description)||n.description})),n.openGraph){if((n.openGraph.url||n.canonical)&&H.push(ew.createElement("meta",{key:"og:url",property:"og:url",content:n.openGraph.url||n.canonical})),n.openGraph.type){var ep=n.openGraph.type.toLowerCase();H.push(ew.createElement("meta",{key:"og:type",property:"og:type",content:ep})),"profile"===ep&&n.openGraph.profile?(n.openGraph.profile.firstName&&H.push(ew.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:n.openGraph.profile.firstName})),n.openGraph.profile.lastName&&H.push(ew.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:n.openGraph.profile.lastName})),n.openGraph.profile.username&&H.push(ew.createElement("meta",{key:"profile:username",property:"profile:username",content:n.openGraph.profile.username})),n.openGraph.profile.gender&&H.push(ew.createElement("meta",{key:"profile:gender",property:"profile:gender",content:n.openGraph.profile.gender}))):"book"===ep&&n.openGraph.book?(n.openGraph.book.authors&&n.openGraph.book.authors.length&&n.openGraph.book.authors.forEach(function(n,a){H.push(ew.createElement("meta",{key:"book:author:0"+a,property:"book:author",content:n}))}),n.openGraph.book.isbn&&H.push(ew.createElement("meta",{key:"book:isbn",property:"book:isbn",content:n.openGraph.book.isbn})),n.openGraph.book.releaseDate&&H.push(ew.createElement("meta",{key:"book:release_date",property:"book:release_date",content:n.openGraph.book.releaseDate})),n.openGraph.book.tags&&n.openGraph.book.tags.length&&n.openGraph.book.tags.forEach(function(n,a){H.push(ew.createElement("meta",{key:"book:tag:0"+a,property:"book:tag",content:n}))})):"article"===ep&&n.openGraph.article?(n.openGraph.article.publishedTime&&H.push(ew.createElement("meta",{key:"article:published_time",property:"article:published_time",content:n.openGraph.article.publishedTime})),n.openGraph.article.modifiedTime&&H.push(ew.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:n.openGraph.article.modifiedTime})),n.openGraph.article.expirationTime&&H.push(ew.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:n.openGraph.article.expirationTime})),n.openGraph.article.authors&&n.openGraph.article.authors.length&&n.openGraph.article.authors.forEach(function(n,a){H.push(ew.createElement("meta",{key:"article:author:0"+a,property:"article:author",content:n}))}),n.openGraph.article.section&&H.push(ew.createElement("meta",{key:"article:section",property:"article:section",content:n.openGraph.article.section})),n.openGraph.article.tags&&n.openGraph.article.tags.length&&n.openGraph.article.tags.forEach(function(n,a){H.push(ew.createElement("meta",{key:"article:tag:0"+a,property:"article:tag",content:n}))})):("video.movie"===ep||"video.episode"===ep||"video.tv_show"===ep||"video.other"===ep)&&n.openGraph.video&&(n.openGraph.video.actors&&n.openGraph.video.actors.length&&n.openGraph.video.actors.forEach(function(n,a){n.profile&&H.push(ew.createElement("meta",{key:"video:actor:0"+a,property:"video:actor",content:n.profile})),n.role&&H.push(ew.createElement("meta",{key:"video:actor:role:0"+a,property:"video:actor:role",content:n.role}))}),n.openGraph.video.directors&&n.openGraph.video.directors.length&&n.openGraph.video.directors.forEach(function(n,a){H.push(ew.createElement("meta",{key:"video:director:0"+a,property:"video:director",content:n}))}),n.openGraph.video.writers&&n.openGraph.video.writers.length&&n.openGraph.video.writers.forEach(function(n,a){H.push(ew.createElement("meta",{key:"video:writer:0"+a,property:"video:writer",content:n}))}),n.openGraph.video.duration&&H.push(ew.createElement("meta",{key:"video:duration",property:"video:duration",content:n.openGraph.video.duration.toString()})),n.openGraph.video.releaseDate&&H.push(ew.createElement("meta",{key:"video:release_date",property:"video:release_date",content:n.openGraph.video.releaseDate})),n.openGraph.video.tags&&n.openGraph.video.tags.length&&n.openGraph.video.tags.forEach(function(n,a){H.push(ew.createElement("meta",{key:"video:tag:0"+a,property:"video:tag",content:n}))}),n.openGraph.video.series&&H.push(ew.createElement("meta",{key:"video:series",property:"video:series",content:n.openGraph.video.series})))}n.defaultOpenGraphImageWidth&&(nK.defaultOpenGraphImageWidth=n.defaultOpenGraphImageWidth),n.defaultOpenGraphImageHeight&&(nK.defaultOpenGraphImageHeight=n.defaultOpenGraphImageHeight),n.openGraph.images&&n.openGraph.images.length&&H.push.apply(H,buildOpenGraphMediaTags("image",n.openGraph.images,{defaultWidth:nK.defaultOpenGraphImageWidth,defaultHeight:nK.defaultOpenGraphImageHeight})),n.defaultOpenGraphVideoWidth&&(nK.defaultOpenGraphVideoWidth=n.defaultOpenGraphVideoWidth),n.defaultOpenGraphVideoHeight&&(nK.defaultOpenGraphVideoHeight=n.defaultOpenGraphVideoHeight),n.openGraph.videos&&n.openGraph.videos.length&&H.push.apply(H,buildOpenGraphMediaTags("video",n.openGraph.videos,{defaultWidth:nK.defaultOpenGraphVideoWidth,defaultHeight:nK.defaultOpenGraphVideoHeight})),n.openGraph.audio&&H.push.apply(H,buildOpenGraphMediaTags("audio",n.openGraph.audio)),n.openGraph.locale&&H.push(ew.createElement("meta",{key:"og:locale",property:"og:locale",content:n.openGraph.locale})),(n.openGraph.siteName||n.openGraph.site_name)&&H.push(ew.createElement("meta",{key:"og:site_name",property:"og:site_name",content:n.openGraph.siteName||n.openGraph.site_name}))}return n.canonical&&H.push(ew.createElement("link",{rel:"canonical",href:n.canonical,key:"canonical"})),n.additionalMetaTags&&n.additionalMetaTags.length>0&&n.additionalMetaTags.forEach(function(n){var a,g,v=n.keyOverride,j=_objectWithoutPropertiesLoose(n,nG);H.push(ew.createElement("meta",_extends({key:"meta:"+(null!=(a=null!=(g=null!=v?v:j.name)?g:j.property)?a:j.httpEquiv)},j)))}),null!=(v=n.additionalLinkTags)&&v.length&&n.additionalLinkTags.forEach(function(n){var a,g=n.crossOrigin,v=_objectWithoutPropertiesLoose(n,nq);H.push(ew.createElement("link",_extends({key:"link"+(null!=(a=v.keyOverride)?a:v.href)+v.rel},v,{crossOrigin:"anonymous"===g||"use-credentials"===g||""===g?g:void 0})))}),H},WithHead=function(n){return ew.createElement(nB(),null,buildTags(n))},NextSeo=function(n){var a=n.title,g=n.themeColor,v=n.noindex,j=n.nofollow,z=n.robotsProps,H=n.description,W=n.canonical,B=n.openGraph,K=n.facebook,ee=n.twitter,et=n.additionalMetaTags,en=n.titleTemplate,er=n.defaultTitle,eo=n.mobileAlternate,ei=n.languageAlternates,es=n.additionalLinkTags;return ew.createElement(ew.Fragment,null,ew.createElement(WithHead,{title:a,themeColor:g,noindex:v,nofollow:j,robotsProps:z,description:H,canonical:W,facebook:K,openGraph:B,additionalMetaTags:et,twitter:ee,titleTemplate:en,defaultTitle:er,mobileAlternate:eo,languageAlternates:ei,additionalLinkTags:es}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var nJ=((ec=nJ||{})[ec.Open=0]="Open",ec[ec.Closed=1]="Closed",ec),nY=((ed=nY||{})[ed.Pointer=0]="Pointer",ed[ed.Other=1]="Other",ed),nQ=((ep=nQ||{})[ep.OpenMenu=0]="OpenMenu",ep[ep.CloseMenu=1]="CloseMenu",ep[ep.GoToItem=2]="GoToItem",ep[ep.Search=3]="Search",ep[ep.ClearSearch=4]="ClearSearch",ep[ep.RegisterItem=5]="RegisterItem",ep[ep.UnregisterItem=6]="UnregisterItem",ep);function menu_w(n,a=n=>n){let g=null!==n.activeItemIndex?n.items[n.activeItemIndex]:null,v=(0,nO.z2)(a(n.items.slice()),n=>n.dataRef.current.domRef.current),j=g?v.indexOf(g):null;return -1===j&&(j=null),{items:v,activeItemIndex:j}}let nX={1:n=>1===n.menuState?n:{...n,activeItemIndex:null,menuState:1},0:n=>0===n.menuState?n:{...n,__demoMode:!1,menuState:0},2:(n,a)=>{var g;let v=menu_w(n),j=calculate_active_index_f(a,{resolveItems:()=>v.items,resolveActiveIndex:()=>v.activeItemIndex,resolveId:n=>n.id,resolveDisabled:n=>n.dataRef.current.disabled});return{...n,...v,searchQuery:"",activeItemIndex:j,activationTrigger:null!=(g=a.trigger)?g:1}},3:(n,a)=>{let g=""!==n.searchQuery?0:1,v=n.searchQuery+a.value.toLowerCase(),j=(null!==n.activeItemIndex?n.items.slice(n.activeItemIndex+g).concat(n.items.slice(0,n.activeItemIndex+g)):n.items).find(n=>{var a;return(null==(a=n.dataRef.current.textValue)?void 0:a.startsWith(v))&&!n.dataRef.current.disabled}),z=j?n.items.indexOf(j):-1;return -1===z||z===n.activeItemIndex?{...n,searchQuery:v}:{...n,searchQuery:v,activeItemIndex:z,activationTrigger:1}},4:n=>""===n.searchQuery?n:{...n,searchQuery:"",searchActiveItemIndex:null},5:(n,a)=>{let g=menu_w(n,n=>[...n,{id:a.id,dataRef:a.dataRef}]);return{...n,...g}},6:(n,a)=>{let g=menu_w(n,n=>{let g=n.findIndex(n=>n.id===a.id);return -1!==g&&n.splice(g,1),n});return{...n,...g,activationTrigger:1}}},n0=(0,ew.createContext)(null);function menu_C(n){let a=(0,ew.useContext)(n0);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,menu_C),a}return a}function menu_ye(n,a){return(0,nd.E)(a.type,nX,n,a)}n0.displayName="MenuContext";let n1=ew.Fragment,n2=nm.AN.RenderStrategy|nm.AN.Static,n4=ew.Fragment,n3=Object.assign((0,nm.yV)(function(n,a){let{__demoMode:g=!1,...v}=n,j=(0,ew.useReducer)(menu_ye,{__demoMode:g,menuState:g?0:1,buttonRef:(0,ew.createRef)(),itemsRef:(0,ew.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:z,itemsRef:H,buttonRef:W},B]=j,K=(0,nc.T)(a);use_outside_click_y([W,H],(n,a)=>{var g;B({type:1}),(0,nO.sP)(a,nO.tJ.Loose)||(n.preventDefault(),null==(g=W.current)||g.focus())},0===z);let ee=(0,na.z)(()=>{B({type:1})}),et=(0,ew.useMemo)(()=>({open:0===z,close:ee}),[z,ee]);return ew.createElement(n0.Provider,{value:j},ew.createElement(open_closed_s,{value:(0,nd.E)(z,{0:nf.Open,1:nf.Closed})},(0,nm.sY)({ourProps:{ref:K},theirProps:v,slot:et,defaultTag:n1,name:"Menu"})))}),{Button:(0,nm.yV)(function(n,a){var g;let v=(0,nT.M)(),{id:j=`headlessui-menu-button-${v}`,...z}=n,[H,W]=menu_C("Menu.Button"),B=(0,nc.T)(H.buttonRef,a),K=use_disposables_p(),ee=(0,na.z)(n=>{switch(n.key){case nZ.R.Space:case nZ.R.Enter:case nZ.R.ArrowDown:n.preventDefault(),n.stopPropagation(),W({type:0}),K.nextFrame(()=>W({type:2,focus:nP.First}));break;case nZ.R.ArrowUp:n.preventDefault(),n.stopPropagation(),W({type:0}),K.nextFrame(()=>W({type:2,focus:nP.Last}))}}),et=(0,na.z)(n=>{n.key===nZ.R.Space&&n.preventDefault()}),en=(0,na.z)(a=>{if(bugs_r(a.currentTarget))return a.preventDefault();n.disabled||(0===H.menuState?(W({type:1}),K.nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})})):(a.preventDefault(),W({type:0})))}),er=(0,ew.useMemo)(()=>({open:0===H.menuState}),[H]),eo={ref:B,id:j,type:(0,nj.f)(n,H.buttonRef),"aria-haspopup":"menu","aria-controls":null==(g=H.itemsRef.current)?void 0:g.id,"aria-expanded":0===H.menuState,onKeyDown:ee,onKeyUp:et,onClick:en};return(0,nm.sY)({ourProps:eo,theirProps:z,slot:er,defaultTag:"button",name:"Menu.Button"})}),Items:(0,nm.yV)(function(n,a){var g,v;let j=(0,nT.M)(),{id:z=`headlessui-menu-items-${j}`,...H}=n,[W,B]=menu_C("Menu.Items"),K=(0,nc.T)(W.itemsRef,a),ee=function(...n){return(0,ew.useMemo)(()=>(0,nN.r)(...n),[...n])}(W.itemsRef),et=use_disposables_p(),en=open_closed_u(),er=null!==en?(en&nf.Open)===nf.Open:0===W.menuState;(0,ew.useEffect)(()=>{let n=W.itemsRef.current;n&&0===W.menuState&&n!==(null==ee?void 0:ee.activeElement)&&n.focus({preventScroll:!0})},[W.menuState,W.itemsRef,ee]),function({container:n,accept:a,walk:g,enabled:v=!0}){let j=(0,ew.useRef)(a),z=(0,ew.useRef)(g);(0,ew.useEffect)(()=>{j.current=a,z.current=g},[a,g]),(0,ns.e)(()=>{if(!n||!v)return;let a=(0,nN.r)(n);if(!a)return;let g=j.current,H=z.current,W=Object.assign(n=>g(n),{acceptNode:g}),B=a.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,W,!1);for(;B.nextNode();)H(B.currentNode)},[n,v,j,z])}({container:W.itemsRef.current,enabled:0===W.menuState,accept:n=>"menuitem"===n.getAttribute("role")?NodeFilter.FILTER_REJECT:n.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(n){n.setAttribute("role","none")}});let eo=(0,na.z)(n=>{var a,g;switch(et.dispose(),n.key){case nZ.R.Space:if(""!==W.searchQuery)return n.preventDefault(),n.stopPropagation(),B({type:3,value:n.key});case nZ.R.Enter:if(n.preventDefault(),n.stopPropagation(),B({type:1}),null!==W.activeItemIndex){let{dataRef:n}=W.items[W.activeItemIndex];null==(g=null==(a=n.current)?void 0:a.domRef.current)||g.click()}(0,nO.wI)(W.buttonRef.current);break;case nZ.R.ArrowDown:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.Next});case nZ.R.ArrowUp:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.Previous});case nZ.R.Home:case nZ.R.PageUp:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.First});case nZ.R.End:case nZ.R.PageDown:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.Last});case nZ.R.Escape:n.preventDefault(),n.stopPropagation(),B({type:1}),(0,no.k)().nextFrame(()=>{var n;return null==(n=W.buttonRef.current)?void 0:n.focus({preventScroll:!0})});break;case nZ.R.Tab:n.preventDefault(),n.stopPropagation(),B({type:1}),(0,no.k)().nextFrame(()=>{(0,nO.EO)(W.buttonRef.current,n.shiftKey?nO.TO.Previous:nO.TO.Next)});break;default:1===n.key.length&&(B({type:3,value:n.key}),et.setTimeout(()=>B({type:4}),350))}}),ei=(0,na.z)(n=>{n.key===nZ.R.Space&&n.preventDefault()}),es=(0,ew.useMemo)(()=>({open:0===W.menuState}),[W]),el={"aria-activedescendant":null===W.activeItemIndex||null==(g=W.items[W.activeItemIndex])?void 0:g.id,"aria-labelledby":null==(v=W.buttonRef.current)?void 0:v.id,id:z,onKeyDown:eo,onKeyUp:ei,role:"menu",tabIndex:0,ref:K};return(0,nm.sY)({ourProps:el,theirProps:H,slot:es,defaultTag:"div",features:n2,visible:er,name:"Menu.Items"})}),Item:(0,nm.yV)(function(n,a){let g=(0,nT.M)(),{id:v=`headlessui-menu-item-${g}`,disabled:j=!1,...z}=n,[H,W]=menu_C("Menu.Item"),B=null!==H.activeItemIndex&&H.items[H.activeItemIndex].id===v,K=(0,ew.useRef)(null),ee=(0,nc.T)(a,K);(0,ns.e)(()=>{if(H.__demoMode||0!==H.menuState||!B||0===H.activationTrigger)return;let n=(0,no.k)();return n.requestAnimationFrame(()=>{var n,a;null==(a=null==(n=K.current)?void 0:n.scrollIntoView)||a.call(n,{block:"nearest"})}),n.dispose},[H.__demoMode,K,B,H.menuState,H.activationTrigger,H.activeItemIndex]);let et=use_text_value_s(K),en=(0,ew.useRef)({disabled:j,domRef:K,get textValue(){return et()}});(0,ns.e)(()=>{en.current.disabled=j},[en,j]),(0,ns.e)(()=>(W({type:5,id:v,dataRef:en}),()=>W({type:6,id:v})),[en,v]);let er=(0,na.z)(()=>{W({type:1})}),eo=(0,na.z)(n=>{if(j)return n.preventDefault();W({type:1}),(0,nO.wI)(H.buttonRef.current)}),ei=(0,na.z)(()=>{if(j)return W({type:2,focus:nP.Nothing});W({type:2,focus:nP.Specific,id:v})}),es=use_tracked_pointer_u(),el=(0,na.z)(n=>es.update(n)),eu=(0,na.z)(n=>{es.wasMoved(n)&&(j||B||W({type:2,focus:nP.Specific,id:v,trigger:0}))}),ec=(0,na.z)(n=>{es.wasMoved(n)&&(j||B&&W({type:2,focus:nP.Nothing}))}),ed=(0,ew.useMemo)(()=>({active:B,disabled:j,close:er}),[B,j,er]);return(0,nm.sY)({ourProps:{id:v,ref:ee,role:"menuitem",tabIndex:!0===j?void 0:-1,"aria-disabled":!0===j||void 0,disabled:void 0,onClick:eo,onFocus:ei,onPointerEnter:el,onMouseEnter:el,onPointerMove:eu,onMouseMove:eu,onPointerLeave:ec,onMouseLeave:ec},theirProps:z,slot:ed,defaultTag:n4,name:"Menu.Item"})})}),dist_t=n=>"object"==typeof n&&null!=n&&1===n.nodeType,e=(n,a)=>(!a||"hidden"!==n)&&"visible"!==n&&"clip"!==n,dist_n=(n,a)=>{if(n.clientHeight{let a=(n=>{if(!n.ownerDocument||!n.ownerDocument.defaultView)return null;try{return n.ownerDocument.defaultView.frameElement}catch(n){return null}})(n);return!!a&&(a.clientHeightza||z>n&&H=a&&W>=g?z-n-v:H>a&&Wg?H-a+j:0,l=n=>{let a=n.parentElement;return null==a?n.getRootNode().host||null:a},dist_r=(n,a)=>{var g,v,j,z;if("undefined"==typeof document)return[];let{scrollMode:H,block:W,inline:B,boundary:K,skipOverflowHiddenElements:ee}=a,et="function"==typeof K?K:n=>n!==K;if(!dist_t(n))throw TypeError("Invalid target");let en=document.scrollingElement||document.documentElement,er=[],eo=n;for(;dist_t(eo)&&et(eo);){if((eo=l(eo))===en){er.push(eo);break}null!=eo&&eo===document.body&&dist_n(eo)&&!dist_n(document.documentElement)||null!=eo&&dist_n(eo,ee)&&er.push(eo)}let ei=null!=(v=null==(g=window.visualViewport)?void 0:g.width)?v:innerWidth,es=null!=(z=null==(j=window.visualViewport)?void 0:j.height)?z:innerHeight,{scrollX:el,scrollY:eu}=window,{height:ec,width:ed,top:ep,right:ef,bottom:eh,left:em}=n.getBoundingClientRect(),{top:ex,right:eg,bottom:ev,left:ey}=(n=>{let a=window.getComputedStyle(n);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(n),eb="start"===W||"nearest"===W?ep-ex:"end"===W?eh+ev:ep+ec/2-ex+ev,e_="center"===B?em+ed/2-ey+eg:"end"===B?ef+eg:em-ey,ew=[];for(let n=0;n=0&&em>=0&&eh<=es&&ef<=ei&&ep>=j&&eh<=K&&em>=ee&&ef<=z)break;let et=getComputedStyle(a),eo=parseInt(et.borderLeftWidth,10),ex=parseInt(et.borderTopWidth,10),eg=parseInt(et.borderRightWidth,10),ev=parseInt(et.borderBottomWidth,10),ey=0,ek=0,eC="offsetWidth"in a?a.offsetWidth-a.clientWidth-eo-eg:0,eE="offsetHeight"in a?a.offsetHeight-a.clientHeight-ex-ev:0,eT="offsetWidth"in a?0===a.offsetWidth?0:v/a.offsetWidth:0,eO="offsetHeight"in a?0===a.offsetHeight?0:g/a.offsetHeight:0;if(en===a)ey="start"===W?eb:"end"===W?eb-es:"nearest"===W?dist_o(eu,eu+es,es,ex,ev,eu+eb,eu+eb+ec,ec):eb-es/2,ek="start"===B?e_:"center"===B?e_-ei/2:"end"===B?e_-ei:dist_o(el,el+ei,ei,eo,eg,el+e_,el+e_+ed,ed),ey=Math.max(0,ey+eu),ek=Math.max(0,ek+el);else{ey="start"===W?eb-j-ex:"end"===W?eb-K+ev+eE:"nearest"===W?dist_o(j,K,g,ex,ev+eE,eb,eb+ec,ec):eb-(j+g/2)+eE/2,ek="start"===B?e_-ee-eo:"center"===B?e_-(ee+v/2)+eC/2:"end"===B?e_-z+eg+eC:dist_o(ee,z,v,eo,eg+eC,e_,e_+ed,ed);let{scrollLeft:n,scrollTop:H}=a;ey=0===eO?0:Math.max(0,Math.min(H+ey/eO,a.scrollHeight-g/eO+eE)),ek=0===eT?0:Math.max(0,Math.min(n+ek/eT,a.scrollWidth-v/eT+eC)),eb+=H-ey,e_+=n-ek}ew.push({el:a,top:ey,left:ek})}return ew},scroll_into_view_if_needed_dist_o=n=>!1===n?{block:"end",inline:"nearest"}:n===Object(n)&&0!==Object.keys(n).length?n:{block:"start",inline:"nearest"};function dist_e(n,a){if(!n.isConnected||!(n=>{let a=n;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(n))return;let g=(n=>{let a=window.getComputedStyle(n);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(n);if("object"==typeof a&&"function"==typeof a.behavior)return a.behavior(dist_r(n,a));let v="boolean"==typeof a||null==a?void 0:a.behavior;for(let{el:j,top:z,left:H}of dist_r(n,scroll_into_view_if_needed_dist_o(a))){let n=z-g.top+g.bottom,a=H-g.left+g.right;j.scroll({top:n,left:a,behavior:v})}}var n5=g(6826),n6=g.n(n5);/** - * @name match-sorter - * @license MIT license. - * @copyright (c) 2020 Kent C. Dodds - * @author Kent C. Dodds (https://kentcdodds.com) - */let n7={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},defaultBaseSortFn=(n,a)=>String(n.rankedValue).localeCompare(String(a.rankedValue));function matchSorter(n,a,g){void 0===g&&(g={});let{keys:v,threshold:j=n7.MATCHES,baseSort:z=defaultBaseSortFn,sorter:H=n=>n.sort((n,a)=>(function(n,a,g){let{rank:v,keyIndex:j}=n,{rank:z,keyIndex:H}=a;return v!==z?v>z?-1:1:j===H?g(n,a):j{let{rank:z,rankedValue:H,keyIndex:W,keyThreshold:B}=n,{itemValue:K,attributes:ee}=a,et=getMatchRanking(K,g,v),en=H,{minRanking:er,maxRanking:eo,threshold:ei}=ee;return et=n7.MATCHES?et=er:et>eo&&(et=eo),et>z&&(z=et,W=j,B=ei,en=K),{rankedValue:en,rank:z,keyIndex:W,keyThreshold:B}},{rankedValue:n,rank:n7.NO_MATCH,keyIndex:-1,keyThreshold:v.threshold})}(z,v,a,g),{rank:B,keyThreshold:K=j}=W;return B>=K&&n.push({...W,item:z,index:H}),n},[]);return H(W).map(n=>{let{item:a}=n;return a})}function getMatchRanking(n,a,g){return(n=prepareValueForComparison(n,g),(a=prepareValueForComparison(a,g)).length>n.length)?n7.NO_MATCH:n===a?n7.CASE_SENSITIVE_EQUAL:(n=n.toLowerCase())===(a=a.toLowerCase())?n7.EQUAL:n.startsWith(a)?n7.STARTS_WITH:n.includes(` ${a}`)?n7.WORD_STARTS_WITH:n.includes(a)?n7.CONTAINS:1===a.length?n7.NO_MATCH:(function(n){let a="",g=n.split(" ");return g.forEach(n=>{let g=n.split("-");g.forEach(n=>{a+=n.substr(0,1)})}),a})(n).includes(a)?n7.ACRONYM:function(n,a){let g=0,v=0;function findMatchingCharacter(n,a,v){for(let j=v,z=a.length;j-1;if(!z)return n7.NO_MATCH}let z=v-j;return function(n){let v=g/a.length,j=n7.MATCHES+v*(1/n);return j}(z)}(n,a)}function prepareValueForComparison(n,a){let{keepDiacritics:g}=a;return n=`${n}`,g||(n=n6()(n)),n}matchSorter.rankings=n7;let n9={maxRanking:1/0,minRanking:-1/0};var n8=g(9013),re=Object.defineProperty,rt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,ri=Object.prototype.propertyIsEnumerable,__defNormalProp=(n,a,g)=>a in n?re(n,a,{enumerable:!0,configurable:!0,writable:!0,value:g}):n[a]=g,__spreadValues=(n,a)=>{for(var g in a||(a={}))ro.call(a,g)&&__defNormalProp(n,g,a[g]);if(rr)for(var g of rr(a))ri.call(a,g)&&__defNormalProp(n,g,a[g]);return n},__spreadProps=(n,a)=>rt(n,rn(a)),__objRest=(n,a)=>{var g={};for(var v in n)ro.call(n,v)&&0>a.indexOf(v)&&(g[v]=n[v]);if(null!=n&&rr)for(var v of rr(n))0>a.indexOf(v)&&ri.call(n,v)&&(g[v]=n[v]);return g},__async=(n,a,g)=>new Promise((v,j)=>{var fulfilled=n=>{try{step(g.next(n))}catch(n){j(n)}},rejected=n=>{try{step(g.throw(n))}catch(n){j(n)}},step=n=>n.done?v(n.value):Promise.resolve(n.value).then(fulfilled,rejected);step((g=g.apply(n,a)).next())}),rs=(0,ew.createContext)({}),rl=(0,ew.createContext)(n=>n),ru=(0,ew.createContext)(null),rc=new WeakMap,rd=(0,ew.createContext)(rc),useActiveAnchor=()=>(0,ew.useContext)(rs),useSetActiveAnchor=()=>(0,ew.useContext)(rl),useIntersectionObserver=()=>(0,ew.useContext)(ru),useSlugs=()=>(0,ew.useContext)(rd),ActiveAnchorProvider=({children:n})=>{let[a,g]=(0,ew.useState)({}),v=(0,ew.useRef)(null);return rL&&!v.current&&(v.current=new IntersectionObserver(n=>{g(a=>{let g=__spreadValues({},a);for(let a of n)if((null==a?void 0:a.rootBounds)&&rc.has(a.target)){let[n,v]=rc.get(a.target),j=a.boundingClientRect.y+a.boundingClientRect.height<=a.rootBounds.y+a.rootBounds.height,z=a.intersectionRatio>0;g[n]={index:v,aboveHalfViewport:j,insideHalfViewport:z}}let v="",j=1/0,z=-1;for(let n in g)g[n].isActive=!1,g[n].insideHalfViewport&&g[n].indexz&&(z=g[n].index,v=n);return g[v]&&(g[v].isActive=!0),g})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tv.jsx)(rs.Provider,{value:a,children:(0,tv.jsx)(rl.Provider,{value:g,children:(0,tv.jsx)(rd.Provider,{value:rc,children:(0,tv.jsx)(ru.Provider,{value:v.current,children:n})})})})},rp=(0,ew.createContext)({menu:!1,setMenu:()=>!1}),useMenu=()=>(0,ew.useContext)(rp),rf=rp.Provider,rh=(0,ew.createContext)(__spreadValues({title:"",frontMatter:{}},r$));function useConfig(){return(0,ew.useContext)(rh)}var ConfigProvider=({children:n,value:{themeConfig:a,pageOpts:g}})=>{let[v,j]=(0,ew.useState)(!1);eb||(eb=__spreadValues(__spreadValues({},r$),Object.fromEntries(Object.entries(a).map(([n,a])=>[n,a&&"object"==typeof a&&rH.includes(n)?__spreadValues(__spreadValues({},r$[n]),a):a]))));let z=__spreadProps(__spreadValues(__spreadProps(__spreadValues({},eb),{flexsearch:g.flexsearch}),"boolean"==typeof g.newNextLinkBehavior&&{newNextLinkBehavior:g.newNextLinkBehavior}),{title:g.title,frontMatter:g.frontMatter}),{nextThemes:H}=z;return(0,tv.jsx)($,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:H.defaultTheme,storageKey:H.storageKey,forcedTheme:H.forcedTheme,children:(0,tv.jsx)(rh.Provider,{value:z,children:(0,tv.jsx)(rf,{value:{menu:v,setMenu:j},children:n})})})},rm=(0,ew.createContext)(n=>n),useDetails=()=>(0,ew.useContext)(rm),rx=rm.Provider,rg=Number("13.5.6".split(".")[0]),rv=(0,ew.forwardRef)(function(n,a){var{href:g="",children:v,newWindow:j}=n,z=__objRest(n,["href","children","newWindow"]);let H=useConfig();return j?(0,tv.jsxs)("a",__spreadProps(__spreadValues({ref:a,href:g,target:"_blank",rel:"noreferrer"},z),{children:[v,(0,tv.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):g?rg>12||H.newNextLinkBehavior?(0,tv.jsx)(tg(),__spreadProps(__spreadValues({ref:a,href:g},z),{children:v})):(0,tv.jsx)(tg(),{href:g,passHref:!0,children:(0,tv.jsx)("a",__spreadProps(__spreadValues({ref:a},z),{children:v}))}):(0,tv.jsx)("a",__spreadProps(__spreadValues({ref:a},z),{children:v}))});rv.displayName="Anchor";var getGitIssueUrl=({repository:n="",title:a,labels:g})=>{let v=tA()(n);if(!v)throw Error("Invalid `docsRepositoryBase` URL!");return v.resource.includes("gitlab")?`${v.protocol}://${v.resource}/${v.owner}/${v.name}/-/issues/new?issue[title]=${encodeURIComponent(a)}${g?`&issue[description]=/label${encodeURIComponent(` ~${g} -`)}`:""}`:v.resource.includes("github")?`${v.protocol}://${v.resource}/${v.owner}/${v.name}/issues/new?title=${encodeURIComponent(a)}&labels=${g||""}`:"#"};function renderComponent(n,a){return n?"function"!=typeof n?n:(0,tv.jsx)(n,__spreadValues({},a)):null}function renderString(n,a={}){let g="function"==typeof n?n(a):n;return g||""}function Banner(){let{banner:n}=useConfig();if(!n.text)return null;let a=`try{if(localStorage.getItem(${JSON.stringify(n.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("script",{dangerouslySetInnerHTML:{__html:a}}),(0,tv.jsxs)("div",{className:(0,ek.Z)("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,tv.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:renderComponent(n.text)}),n.dismissible&&(0,tv.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(n.key,"0")}catch(n){}document.body.classList.add("nextra-banner-hidden")},children:(0,tv.jsx)(eT.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function Breadcrumb({activePath:n}){return(0,tv.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:n.map((a,g)=>{let v=!a.children||a.withIndexPage,j=g===n.length-1;return(0,tv.jsxs)(ew.Fragment,{children:[g>0&&(0,tv.jsx)(eT.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tv.jsx)("div",{className:(0,ek.Z)("nx-whitespace-nowrap nx-transition-colors",j?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",v&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:a.title,children:v&&!j?(0,tv.jsx)(rv,{href:a.route,children:a.title}):a.title})]},a.route+a.name)})})}function Collapse({children:n,className:a,isOpen:g,horizontal:v=!1}){let j=(0,ew.useRef)(null),z=(0,ew.useRef)(null),H=(0,ew.useRef)(0),W=(0,ew.useRef)(g),B=(0,ew.useRef)(!0);return(0,ew.useEffect)(()=>{let n=j.current,a=z.current,W=H.current;W&&clearTimeout(W),!B.current&&n&&a&&(n.classList.toggle("nx-duration-500",!g),n.classList.toggle("nx-duration-300",g),v?(a.style.width=`${a.clientWidth}px`,n.style.width=`${a.clientWidth}px`):n.style.height=`${a.clientHeight}px`,g?H.current=window.setTimeout(()=>{n.style.removeProperty("height")},300):setTimeout(()=>{v?n.style.width="0px":n.style.height="0px"},0))},[v,g]),(0,ew.useEffect)(()=>{B.current=!1},[]),(0,tv.jsx)("div",{ref:j,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:W.current||v?void 0:{height:0},children:(0,tv.jsx)("div",{ref:z,className:(0,ek.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",g?"nx-opacity-100":"nx-opacity-0",a),children:n})})}var ry=(0,ew.memo)(function({value:n,match:a}){let g;if(!n)return null;let v=n.split(""),j=function(n){if("string"!=typeof n)throw TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a.trim()),z=RegExp(j.replaceAll(/\s+/g,"|"),"ig"),H=0,W=[];for(;g=z.exec(n);)if(g.index===z.lastIndex)z.lastIndex++;else{let n=v.splice(0,g.index-H).join(""),a=v.splice(0,z.lastIndex-g.index).join("");W.push(n,(0,tv.jsx)("span",{className:"nx-text-primary-600",children:a},g.index)),H=z.lastIndex}return(0,tv.jsxs)(tv.Fragment,{children:[W,v.join("")]})}),rb=(0,ew.forwardRef)((n,a)=>{var{className:g,suffix:v}=n,j=__objRest(n,["className","suffix"]);return(0,tv.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,tv.jsx)("input",__spreadValues({ref:a,spellCheck:!1,className:(0,ek.Z)(g,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},j)),v]})});rb.displayName="Input";var r_=["input","select","button","textarea"];function Search({className:n,overlayClassName:a,value:g,onChange:v,onActive:j,loading:z,error:H,results:W}){let[B,K]=(0,ew.useState)(!1),ee=useConfig(),[et,en]=(0,ew.useState)(0),er=(0,e_.useRouter)(),{setMenu:eo}=useMenu(),ei=(0,ew.useRef)(null),es=(0,ew.useRef)(null),[el,eu]=(0,ew.useState)(!1),[ec,ed]=(0,ew.useState)(!0);(0,ew.useEffect)(()=>{en(0)},[g]),(0,ew.useEffect)(()=>{let down=n=>{let a=document.activeElement,g=null==a?void 0:a.tagName.toLowerCase();!ei.current||!g||r_.includes(g)||null!=a&&a.isContentEditable||("/"===n.key||"k"===n.key&&(n.metaKey||n.ctrlKey)?(n.preventDefault(),ei.current.focus({preventScroll:!0})):"Escape"===n.key&&(K(!1),ei.current.blur()))};return window.addEventListener("keydown",down),()=>{window.removeEventListener("keydown",down)}},[]);let ep=(0,ew.useCallback)(()=>{var n;null==(n=ei.current)||n.blur(),v(""),K(!1),eo(!1)},[v,eo]),ef=(0,ew.useCallback)(n=>{let{index:a}=n.currentTarget.dataset;en(Number(a))},[]),eh=(0,ew.useCallback)(function(n){var a,g,v;switch(n.key){case"ArrowDown":if(et+1 a`);g&&(n.preventDefault(),ef({currentTarget:g}),g.focus())}break;case"ArrowUp":if(et-1>=0){let a=null==(g=es.current)?void 0:g.querySelector(`li:nth-of-type(${et}) > a`);a&&(n.preventDefault(),ef({currentTarget:a}),a.focus())}break;case"Enter":{let n=W[et];n&&ec&&(er.push(n.route),ep());break}case"Escape":K(!1),null==(v=ei.current)||v.blur()}},[et,W,er,ep,ef,ec]),em=useMounted(),ex=B&&!!g,eg=(0,tv.jsx)(nC,{show:em&&(!B||!!g),as:ew.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tv.jsx)("kbd",{className:(0,ek.Z)("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",g?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:g?"Clear":void 0,onClick:()=>{v("")},children:g&&el?"ESC":em&&(navigator.userAgent.includes("Macintosh")?(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),ev=(0,ew.useCallback)(n=>{ed("compositionend"===n.type)},[]);return(0,tv.jsxs)("div",{className:(0,ek.Z)("nextra-search nx-relative md:nx-w-64",n),children:[ex&&(0,tv.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>K(!1)}),(0,tv.jsx)(rb,{ref:ei,value:g,onChange:n=>{let{value:a}=n.target;v(a),K(!!a)},onFocus:()=>{null==j||j(!0),eu(!0)},onBlur:()=>{eu(!1)},onCompositionStart:ev,onCompositionEnd:ev,type:"search",placeholder:renderString(ee.search.placeholder),onKeyDown:eh,suffix:eg}),(0,tv.jsx)(nC,{show:ex,as:nC.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tv.jsx)("ul",{className:(0,ek.Z)("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",a),ref:es,style:{transition:"max-height .2s ease"},children:H?(0,tv.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,tv.jsx)(eT.AV,{className:"nx-h-5 nx-w-5"}),renderString(ee.search.error)]}):z?(0,tv.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,tv.jsx)(eT.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),renderComponent(ee.search.loading)]}):W.length>0?W.map(({route:n,prefix:a,children:g,id:v},j)=>(0,tv.jsxs)(ew.Fragment,{children:[a,(0,tv.jsx)("li",{className:(0,ek.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",j===et?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,tv.jsx)(rv,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:n,"data-index":j,onFocus:ef,onMouseMove:ef,onClick:ep,onKeyDown:eh,children:g})})]},v)):renderComponent(ee.search.emptyResult)})})]})}var rw={},rk=new Map,loadIndexes=(n,a)=>{let g=n+"@"+a;if(rk.has(g))return rk.get(g);let v=loadIndexesImpl(n,a);return rk.set(g,v),v},loadIndexesImpl=(n,a)=>__async(void 0,null,function*(){let g=yield fetch(`${n}/_next/static/chunks/nextra-data-${a}.json`),v=yield g.json(),j=new nr.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),z=new nr.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),H=0;for(let[n,a]of Object.entries(v)){let g="";for(let[v,j]of(++H,Object.entries(a.data))){let[W,B]=v.split("#"),K=n+(W?"#"+W:""),ee=B||a.title,et=j.split("\n");z.add(__spreadValues({id:K,url:K,title:ee,pageId:`page_${H}`,content:ee},et[0]&&{display:et[0]}));for(let n=0;n{var g,v;if(!n)return;let[j,z]=rw[a],H=(null==(g=j.search(n,5,{enrich:!0,suggest:!0})[0])?void 0:g.result)||[],W=[],K={};for(let a=0;an._page_rk===a._page_rk?n._section_rk-a._section_rk:K[n._page_rk]!==K[a._page_rk]?K[a._page_rk]-K[n._page_rk]:n._page_rk-a._page_rk).map(n=>({id:`${n._page_rk}_${n._section_rk}`,route:n.route,prefix:n.prefix,children:n.children})))},et=(0,ew.useCallback)(n=>__async(this,null,function*(){if(n&&!rw[a]){j(!0);try{yield loadIndexes(g,a)}catch(n){H(!0)}j(!1)}}),[a,g]);return(0,tv.jsx)(Search,{loading:v,error:z,value:K,onChange:n=>__async(this,null,function*(){if(ee(n),!v){if(!rw[a]){j(!0);try{yield loadIndexes(g,a)}catch(n){H(!0)}j(!1)}doSearch(n)}}),onActive:et,className:n,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:W})}function Select({options:n,selected:a,onChange:g,title:v,className:j}){let[z,H]=function(n){let a=(0,ew.useRef)(null),g=(0,ew.useRef)(null),v=(0,ew.useRef)(),j=(0,ew.useCallback)(()=>{var j;a.current&&g.current&&(null==(j=v.current)||j.call(v),v.current=t1(a.current,g.current,n).destroy)},[a,g,v,n]);return(0,ew.useMemo)(()=>[n=>{a.current=n,j()},n=>{g.current=n,j()}],[a,g,j])}({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:n}){n.styles.popper.minWidth=`${n.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,tv.jsx)(n$,{value:a,onChange:g,children:({open:g})=>(0,tv.jsxs)(n$.Button,{ref:z,title:v,className:(0,ek.Z)("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",g?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",j),children:[a.name,(0,tv.jsx)(Portal,{children:(0,tv.jsx)(nC,{ref:H,show:g,as:n$.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:n.map(n=>(0,tv.jsxs)(n$.Option,{value:n,className:({active:n})=>(0,ek.Z)(n?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[n.name,n.key===a.key&&(0,tv.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tv.jsx)(eT.nQ,{})})]},n.key))})})]})})}function Portal(n){let a=useMounted();return a?(0,nH.createPortal)(n.children,document.body):null}function LocaleSwitch({lite:n,className:a}){let g=useConfig(),{locale:v,asPath:j}=(0,e_.useRouter)(),z=g.i18n;if(!z.length)return null;let H=z.find(n=>v===n.locale);return(0,tv.jsx)(Select,{title:"Change language",className:a,onChange:n=>{let a=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${n.key}; expires=${a.toUTCString()}; path=/`,location.href=(0,nE.addBasePath)(j)},selected:{key:(null==H?void 0:H.locale)||"",name:(0,tv.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tv.jsx)(eT.n9,{}),(0,tv.jsx)("span",{className:n?"nx-hidden":"",children:null==H?void 0:H.text})]})},options:z.map(n=>({key:n.locale,name:n.text}))})}function dist_Head(){var n;let a=useConfig(),{resolvedTheme:g}=y(),v=useMounted(),j="function"==typeof a.head?a.head({}):a.head,{primaryHue:z,primarySaturation:H}=a,{dark:W,light:B}="number"==typeof z?{dark:z,light:z}:z,{dark:K,light:ee}="number"==typeof H?{dark:H,light:H}:H,et=a.frontMatter;return(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)(NextSeo,__spreadValues({title:a.title,description:et.description,canonical:et.canonical,openGraph:et.openGraph},null==(n=a.useNextSeoProps)?void 0:n.call(a))),(0,tv.jsxs)(nB(),{children:[a.faviconGlyph?(0,tv.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${a.faviconGlyph}`}):null,v?(0,tv.jsx)("meta",{name:"theme-color",content:"dark"===g?"#111":"#fff"}):(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tv.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tv.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tv.jsx)("style",{children:` - :root { - --nextra-primary-hue: ${B}deg; - --nextra-primary-saturation: ${ee}%; - --nextra-navbar-height: 4rem; - --nextra-menu-height: 3.75rem; - --nextra-banner-height: 2.5rem; - } - - .dark { - --nextra-primary-hue: ${W}deg; - --nextra-primary-saturation: ${K}%; - } - `}),j]})]})}var rC={link:(0,ek.Z)("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:(0,ek.Z)("nx-inline nx-h-5 nx-shrink-0")},NavLinks=({flatDirectories:n,currentIndex:a})=>{let g=useConfig(),v=g.navigation,j="boolean"==typeof v?{prev:v,next:v}:v,z=j.prev&&n[a-1],H=j.next&&n[a+1];return(z&&!z.isUnderCurrentDocsTree&&(z=!1),H&&!H.isUnderCurrentDocsTree&&(H=!1),z||H)?(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[z&&(0,tv.jsxs)(rv,{href:z.route,title:z.title,className:(0,ek.Z)(rC.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tv.jsx)(eT.LZ,{className:(0,ek.Z)(rC.icon,"ltr:nx-rotate-180")}),z.title]}),H&&(0,tv.jsxs)(rv,{href:H.route,title:H.title,className:(0,ek.Z)(rC.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[H.title,(0,tv.jsx)(eT.LZ,{className:(0,ek.Z)(rC.icon,"rtl:nx-rotate-180")})]})]}):null},rE={link:(0,ek.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,ek.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,ek.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function NavbarMenu({className:n,menu:a,children:g}){let{items:v}=a,j=Object.fromEntries((a.children||[]).map(n=>[n.name,n]));return(0,tv.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tv.jsxs)(n3,{children:[(0,tv.jsx)(n3.Button,{className:(0,ek.Z)(n,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",rE.inactive),children:g}),(0,tv.jsx)(nC,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tv.jsx)(n3.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",children:Object.entries(v||{}).map(([n,g])=>{var v;return(0,tv.jsx)(n3.Item,{children:(0,tv.jsx)(rv,{href:g.href||(null==(v=j[n])?void 0:v.route)||a.route+"/"+n,className:(0,ek.Z)("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:g.newWindow,children:g.title||n})},n)})})})]})})}var rT=Object.create(null),rO=(0,ew.createContext)(null),rj=(0,ew.createContext)(null),rS=(0,ew.createContext)(0),rI=(0,ew.memo)(function(n){let a=(0,ew.useContext)(rS);return(0,tv.jsx)(rS.Provider,{value:a+1,children:(0,tv.jsx)(FolderImpl,__spreadValues({},n))})}),rP={link:(0,ek.Z)("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:(0,ek.Z)("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:(0,ek.Z)("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:(0,ek.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,ek.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function FolderImpl({item:n,anchors:a}){let g=useFSRoute(),[v]=g.split("#"),j=[v,v+"/"].includes(n.route+"/"),z=j||v.startsWith(n.route+"/"),H=(0,ew.useContext)(rO),W=!!(null==H?void 0:H.startsWith(n.route+"/")),B=(0,ew.useContext)(rS),{setMenu:K}=useMenu(),ee=useConfig(),{theme:et}=n,en=void 0===rT[n.route]?j||z||W||(et&&"collapsed"in et?!et.collapsed:B{ee.sidebar.autoCollapse?z&&W?rT[n.route]=!0:delete rT[n.route]:(z||W)&&(rT[n.route]=!0)},[z,W,n.route,ee.sidebar.autoCollapse]),"menu"===n.type){let a=Object.fromEntries((n.children||[]).map(n=>[n.name,n]));n.children=Object.entries(n.items||{}).map(([g,v])=>{let j=a[g]||__spreadProps(__spreadValues({name:g},"locale"in n&&{locale:n.locale}),{route:n.route+"/"+g});return __spreadValues(__spreadValues({},j),v)})}let eo="withIndexPage"in n&&n.withIndexPage,ei=eo?rv:"button";return(0,tv.jsxs)("li",{className:(0,ek.Z)({open:en,active:j}),children:[(0,tv.jsxs)(ei,{href:eo?n.route:void 0,className:(0,ek.Z)("nx-items-center nx-justify-between nx-gap-2",!eo&&"nx-text-left nx-w-full",rP.link,j?rP.active:rP.inactive),onClick:a=>{let g=["svg","path"].includes(a.target.tagName.toLowerCase());if(g&&a.preventDefault(),eo){j||g?rT[n.route]=!en:(rT[n.route]=!0,K(!1)),er({});return}j||(rT[n.route]=!en,er({}))},children:[renderComponent(ee.sidebar.titleComponent,{title:n.title,type:n.type,route:n.route}),(0,tv.jsx)(eT.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:(0,ek.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",en&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tv.jsx)(Collapse,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:en,children:Array.isArray(n.children)?(0,tv.jsx)(Menu2,{className:(0,ek.Z)(rP.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:n.children,base:n.route,anchors:a}):null})]})}function Separator({title:n}){let a=useConfig();return(0,tv.jsx)("li",{className:(0,ek.Z)("[word-break:break-word]",n?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:n?renderComponent(a.sidebar.titleComponent,{title:n,type:"separator",route:""}):(0,tv.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function File({item:n,anchors:a}){let g=useFSRoute(),v=(0,ew.useContext)(rj),j=n.route&&[g,g+"/"].includes(n.route+"/"),z=useActiveAnchor(),{setMenu:H}=useMenu(),W=useConfig();return"separator"===n.type?(0,tv.jsx)(Separator,{title:n.title}):(0,tv.jsxs)("li",{className:(0,ek.Z)(rP.list,{active:j}),children:[(0,tv.jsx)(rv,{href:n.href||n.route,newWindow:n.newWindow,className:(0,ek.Z)(rP.link,j?rP.active:rP.inactive),onClick:()=>{H(!1)},onFocus:()=>{null==v||v(n.route)},onBlur:()=>{null==v||v(null)},children:renderComponent(W.sidebar.titleComponent,{title:n.title,type:n.type,route:n.route})}),j&&a.length>0&&(0,tv.jsx)("ul",{className:(0,ek.Z)(rP.list,rP.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:a.map(({id:n,value:a})=>{var g;return(0,tv.jsx)("li",{children:(0,tv.jsx)("a",{href:`#${n}`,className:(0,ek.Z)(rP.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(g=z[n])?void 0:g.isActive)?rP.active:rP.inactive),onClick:()=>{H(!1)},children:a})},n)})})]})}function Menu2({directories:n,anchors:a,className:g,onlyCurrentDocs:v}){return(0,tv.jsx)("ul",{className:(0,ek.Z)(rP.list,g),children:n.map(n=>!v||n.isUnderCurrentDocsTree?"menu"===n.type||n.children&&(n.children.length||!n.withIndexPage)?(0,tv.jsx)(rI,{item:n,anchors:a},n.name):(0,tv.jsx)(File,{item:n,anchors:a},n.name):null)})}function Sidebar({docsDirectories:n,flatDirectories:a,fullDirectories:g,asPopover:v=!1,headings:j,includePlaceholder:z}){let H=useConfig(),{menu:W,setMenu:B}=useMenu(),K=(0,e_.useRouter)(),[ee,et]=(0,ew.useState)(null),[en,er]=(0,ew.useState)(!0),[eo,ei]=(0,ew.useState)(!1),es=(0,ew.useMemo)(()=>j.filter(n=>2===n.depth),[j]),el=(0,ew.useRef)(null),eu=(0,ew.useRef)(null),ec=useMounted();(0,ew.useEffect)(()=>{W?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[W]),(0,ew.useEffect)(()=>{var n;let a=null==(n=el.current)?void 0:n.querySelector("li.active");if(a&&(window.innerWidth>767||W)){let scroll=()=>{dist_e(a,{block:"center",inline:"center",scrollMode:"always",boundary:eu.current})};W?setTimeout(scroll,300):scroll()}},[W]),(0,ew.useEffect)(()=>{B(!1)},[K.asPath,B]);let ed=H.i18n.length>0,ep=H.darkMode||ed||H.sidebar.toggleButton;return(0,tv.jsxs)(tv.Fragment,{children:[z&&v?(0,tv.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tv.jsx)("div",{className:(0,ek.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",W?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>B(!1)}),(0,tv.jsxs)("aside",{className:(0,ek.Z)("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",en?"md:nx-w-64":"md:nx-w-20",v?"md:nx-hidden":"md:nx-sticky md:nx-self-start",W?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:eu,children:[(0,tv.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:renderComponent(H.search.component,{directories:a})}),(0,tv.jsx)(rO.Provider,{value:ee,children:(0,tv.jsx)(rj.Provider,{value:n=>{et(n)},children:(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",en?"nextra-scrollbar":"no-scrollbar"),ref:el,children:[(!v||!en)&&(0,tv.jsx)(Collapse,{isOpen:en,horizontal:!0,children:(0,tv.jsx)(Menu2,{className:"nextra-menu-desktop max-md:nx-hidden",directories:n,anchors:H.toc.float?[]:es,onlyCurrentDocs:!0})}),ec&&window.innerWidth<768&&(0,tv.jsx)(Menu2,{className:"nextra-menu-mobile md:nx-hidden",directories:g,anchors:es})]})})}),ep&&(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",en?(0,ek.Z)(ed&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":eo?en?"show":"hide":"off",children:[(0,tv.jsx)(LocaleSwitch,{lite:!en,className:(0,ek.Z)(en?"nx-grow":"max-md:nx-grow")}),H.darkMode&&(0,tv.jsx)("div",{className:en&&!ed?"nx-grow nx-flex nx-flex-col":"",children:renderComponent(H.themeSwitch.component,{lite:!en||ed})}),H.sidebar.toggleButton&&(0,tv.jsx)("button",{title:en?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{er(!en),ei(!0)},children:(0,tv.jsx)(eT.Qq,{isOpen:en})})]})]})]})}var rN="reach-skip-nav";(0,ew.forwardRef)(function(n,a){var{className:g,id:v,label:j="Skip to content",styled:z}=n,H=__objRest(n,["className","id","label","styled"]);let W=void 0===g?z?(0,ek.Z)("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":g;return(0,tv.jsx)("a",__spreadProps(__spreadValues({},H),{ref:a,href:`#${v||rN}`,className:W,"data-reach-skip-link":"",children:j}))}).displayName="SkipNavLink";var rZ=(0,ew.forwardRef)(function(n,a){var{id:g}=n,v=__objRest(n,["id"]);return(0,tv.jsx)("div",__spreadProps(__spreadValues({},v),{ref:a,id:g||rN}))});rZ.displayName="SkipNavContent";var rR=tm.strictObject({light:tm.string(),dark:tm.string(),system:tm.string()});function scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}function BackToTop({className:n}){let a=(0,ew.useRef)(null);return(0,ew.useEffect)(()=>{function toggleVisible(){var n;let{scrollTop:g}=document.documentElement;null==(n=a.current)||n.classList.toggle("nx-opacity-0",g<300)}return window.addEventListener("scroll",toggleVisible),()=>{window.removeEventListener("scroll",toggleVisible)}},[]),(0,tv.jsxs)("button",{ref:a,"aria-hidden":"true",onClick:scrollToTop,className:(0,ek.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",n),children:["Scroll to top",(0,tv.jsx)(eT.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var rA=(0,ek.Z)("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function MatchSorterSearch({className:n,directories:a}){let[g,v]=(0,ew.useState)(""),j=(0,ew.useMemo)(()=>g?matchSorter(a,g,{keys:["title"]}).map(({route:n,title:a})=>({id:n+a,route:n,children:(0,tv.jsx)(ry,{value:a,match:g})})):[],[g,a]);return(0,tv.jsx)(Search,{value:g,onChange:v,className:n,overlayClassName:"nx-w-full",results:j})}var rM="en-US",rL="undefined"!=typeof window;function isFunction(n){return"function"==typeof n}var rD=tm.array(tm.strictObject({direction:tm.enum(["ltr","rtl"]).optional(),locale:tm.string(),text:tm.string()})),rF=[function(n){return null==n||"string"==typeof n||isFunction(n)||(0,ew.isValidElement)(n)},{message:"Must be React.ReactNode or React.FC"}],rz=[isFunction,{message:"Must be React.FC"}];tm.strictObject({banner:tm.strictObject({dismissible:tm.boolean(),key:tm.string(),text:tm.custom(...rF).optional()}),chat:tm.strictObject({icon:tm.custom(...rF),link:tm.string().startsWith("https://").optional()}),components:tm.record(tm.custom(...rz)).optional(),darkMode:tm.boolean(),direction:tm.enum(["ltr","rtl"]),docsRepositoryBase:tm.string().startsWith("https://"),editLink:tm.strictObject({component:tm.custom(...rz).or(tm.null()),text:tm.custom(...rF)}),faviconGlyph:tm.string().optional(),feedback:tm.strictObject({content:tm.custom(...rF),labels:tm.string(),useLink:tm.function().returns(tm.string())}),footer:tm.strictObject({component:tm.custom(...rF),text:tm.custom(...rF)}),gitTimestamp:tm.custom(...rF),head:tm.custom(...rF),i18n:rD,logo:tm.custom(...rF),logoLink:tm.boolean().or(tm.string()),main:tm.custom(...rz).optional(),navbar:tm.strictObject({component:tm.custom(...rF),extraContent:tm.custom(...rF).optional()}),navigation:tm.boolean().or(tm.strictObject({next:tm.boolean(),prev:tm.boolean()})),nextThemes:tm.strictObject({defaultTheme:tm.string(),forcedTheme:tm.string().optional(),storageKey:tm.string()}),notFound:tm.strictObject({content:tm.custom(...rF),labels:tm.string()}),primaryHue:tm.number().or(tm.strictObject({dark:tm.number(),light:tm.number()})),primarySaturation:tm.number().or(tm.strictObject({dark:tm.number(),light:tm.number()})),project:tm.strictObject({icon:tm.custom(...rF),link:tm.string().startsWith("https://").optional()}),search:tm.strictObject({component:tm.custom(...rF),emptyResult:tm.custom(...rF),error:tm.string().or(tm.function().returns(tm.string())),loading:tm.custom(...rF),placeholder:tm.string().or(tm.function().returns(tm.string()))}),serverSideError:tm.strictObject({content:tm.custom(...rF),labels:tm.string()}),sidebar:tm.strictObject({autoCollapse:tm.boolean().optional(),defaultMenuCollapseLevel:tm.number().min(1).int(),titleComponent:tm.custom(...rF),toggleButton:tm.boolean()}),themeSwitch:tm.strictObject({component:tm.custom(...rF),useOptions:rR.or(tm.function().returns(rR))}),toc:tm.strictObject({backToTop:tm.boolean(),component:tm.custom(...rF),extraContent:tm.custom(...rF),float:tm.boolean(),headingComponent:tm.custom(...rz).optional(),title:tm.custom(...rF)}),useNextSeoProps:tm.custom(isFunction)}).deepPartial().extend({i18n:rD.optional()});var rU={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},rV={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},r$={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)(eT.D7,{}),(0,tv.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:n,filePath:a,children:g}){let v=function(n=""){let a=useConfig(),g=tA()(a.docsRepositoryBase||"");if(!g)throw Error("Invalid `docsRepositoryBase` URL!");return`${g.href}/${n}`}(a);return v?(0,tv.jsx)(rv,{className:n,href:v,children:g}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let n=useConfig();return getGitIssueUrl({labels:n.feedback.labels,repository:n.docsRepositoryBase,title:`Feedback for \u201C${n.title}\u201D`})}},footer:{component:function({menu:n}){let a=useConfig();return(0,tv.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",n&&(a.i18n.length>0||a.darkMode)?"nx-flex":"nx-hidden"),children:[(0,tv.jsx)(LocaleSwitch,{}),a.darkMode&&renderComponent(a.themeSwitch.component)]}),(0,tv.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tv.jsx)("div",{className:(0,ek.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:renderComponent(a.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:n}){let{locale:a=rM}=(0,e_.useRouter)();return(0,tv.jsxs)(tv.Fragment,{children:["Last updated on"," ",(0,tv.jsx)("time",{dateTime:n.toISOString(),children:n.toLocaleDateString(a,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tv.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tv.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tv.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tv.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tv.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tv.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tv.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tv.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:function({flatDirectories:n,items:a}){let g=useConfig(),v=useFSRoute(),{menu:j,setMenu:z}=useMenu();return(0,tv.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,tv.jsx)("div",{className:(0,ek.Z)("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,tv.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[g.logoLink?(0,tv.jsx)(rv,{href:"string"==typeof g.logoLink?g.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:renderComponent(g.logo)}):(0,tv.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:renderComponent(g.logo)}),a.map(n=>{if("hidden"===n.display)return null;if("menu"===n.type)return(0,tv.jsxs)(NavbarMenu,{className:(0,ek.Z)(rE.link,"nx-flex nx-gap-1",rE.inactive),menu:n,children:[n.title,(0,tv.jsx)(eT.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},n.title);let a=n.href||n.route||"#";n.children&&(a=(n.withIndexPage?n.route:n.firstChildRoute)||a);let g=n.route===v||v.startsWith(n.route+"/");return(0,tv.jsxs)(rv,{href:a,className:(0,ek.Z)(rE.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!g||n.newWindow?rE.inactive:rE.active),newWindow:n.newWindow,"aria-current":!n.newWindow&&g,children:[(0,tv.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:n.title}),(0,tv.jsx)("span",{className:"nx-invisible nx-font-medium",children:n.title})]},a)}),renderComponent(g.search.component,{directories:n,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),g.project.link?(0,tv.jsx)(rv,{className:"nx-p-2 nx-text-current",href:g.project.link,newWindow:!0,children:renderComponent(g.project.icon)}):null,g.chat.link?(0,tv.jsx)(rv,{className:"nx-p-2 nx-text-current",href:g.chat.link,newWindow:!0,children:renderComponent(g.chat.icon)}):null,renderComponent(g.navbar.extraContent),(0,tv.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>z(!j),children:(0,tv.jsx)(eT.Oq,{className:(0,ek.Z)({open:j})})})]})]})}},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)(eT.fy,{}),(0,tv.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:n,directories:a}){let g=useConfig();return g.flexsearch?(0,tv.jsx)(Flexsearch,{className:n}):(0,tv.jsx)(MatchSorterSearch,{className:n,directories:a})},emptyResult:(0,tv.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:n,defaultLocale:a=rM}=(0,e_.useRouter)(),g=n&&rU[n]||rU[a];return(0,tv.jsxs)(tv.Fragment,{children:[g,"…"]})},placeholder:function(){let{locale:n,defaultLocale:a=rM}=(0,e_.useRouter)(),g=n&&rV[n]||rV[a];return`${g}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:n})=>(0,tv.jsx)(tv.Fragment,{children:n}),toggleButton:!1},themeSwitch:{component:function({lite:n,className:a}){let{setTheme:g,resolvedTheme:v,theme:j=""}=y(),z=useMounted(),H=useConfig().themeSwitch,W=z&&"dark"===v?eT.kL:eT.NW,B="function"==typeof H.useOptions?H.useOptions():H.useOptions;return(0,tv.jsx)(Select,{className:a,title:"Change theme",options:[{key:"light",name:B.light},{key:"dark",name:B.dark},{key:"system",name:B.system}],onChange:n=>{g(n.key)},selected:{key:j,name:(0,tv.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tv.jsx)(W,{}),(0,tv.jsx)("span",{className:n?"md:nx-hidden":"",children:z?B[j]:B.light})]})}})},useOptions(){let{locale:n}=(0,e_.useRouter)();return"zh-CN"===n?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:function({headings:n,filePath:a}){var g;let v=useActiveAnchor(),j=useConfig(),z=(0,ew.useRef)(null),H=(0,ew.useMemo)(()=>n.filter(n=>n.depth>1),[n]),W=H.length>0,B=!!(j.feedback.content||j.editLink.component||j.toc.extraContent),K=null==(g=Object.entries(v).find(([,{isActive:n}])=>n))?void 0:g[0];return(0,ew.useEffect)(()=>{var n;if(!K)return;let a=null==(n=z.current)?void 0:n.querySelector(`li > a[href="#${K}"]`);a&&dist_e(a,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:z.current})},[K]),(0,tv.jsxs)("div",{ref:z,className:(0,ek.Z)("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[W&&(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:renderComponent(j.toc.title)}),(0,tv.jsx)("ul",{children:H.map(({id:n,value:a,depth:g})=>{var z,H,W,B;return(0,tv.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tv.jsx)("a",{href:`#${n}`,className:(0,ek.Z)({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[g],"nx-inline-block",(null==(z=v[n])?void 0:z.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(B=null==(W=(H=j.toc).headingComponent)?void 0:W.call(H,{id:n,children:a}))?B:a})},n)})})]}),B&&(0,tv.jsxs)("div",{className:(0,ek.Z)(W&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[j.feedback.content?(0,tv.jsx)(rv,{className:rA,href:j.feedback.useLink(),newWindow:!0,children:renderComponent(j.feedback.content)}):null,renderComponent(j.editLink.component,{filePath:a,className:rA,children:renderComponent(j.editLink.text)}),renderComponent(j.toc.extraContent),j.toc.backToTop&&(0,tv.jsx)(BackToTop,{className:rA})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},rH=Object.entries(r$).map(([n,a])=>{let g=a&&"object"==typeof a&&!Array.isArray(a)&&!(0,ew.isValidElement)(a);if(g)return n}).filter(Boolean);if(rL){let n;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(n),n=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function HeadingLink(n){var{tag:a,context:g,children:v,id:j,className:z}=n,H=__objRest(n,["tag","context","children","id","className"]);let W=useSetActiveAnchor(),B=useSlugs(),K=useIntersectionObserver(),ee=(0,ew.useRef)(null);return(0,ew.useEffect)(()=>{if(!j)return;let n=ee.current;if(n)return B.set(n,[j,g.index+=1]),null==K||K.observe(n),()=>{null==K||K.disconnect(),B.delete(n),W(n=>{let a=__spreadValues({},n);return delete a[j],a})}},[j,g,B,K,W]),(0,tv.jsxs)(a,__spreadProps(__spreadValues({className:"sr-only"===z?"nx-sr-only":(0,ek.Z)("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[a])},H),{children:[v,j&&(0,tv.jsx)("a",{href:`#${j}`,id:j,className:"subheading-anchor","aria-label":"Permalink for this section",ref:ee})]}))}var findSummary=n=>{let a=null,g=[];return ew.Children.forEach(n,(n,v)=>{var j;if(n&&n.type===Summary){a||(a=n);return}let z=n;if(!a&&n&&"object"==typeof n&&n.type!==Details&&"props"in n&&n.props){let g=findSummary(n.props.children);a=g[0],z=(0,ew.cloneElement)(n,__spreadProps(__spreadValues({},n.props),{children:(null==(j=g[1])?void 0:j.length)?g[1]:void 0,key:v}))}g.push(z)}),[a,g]},Details=n=>{var{children:a,open:g}=n,v=__objRest(n,["children","open"]);let[j,z]=(0,ew.useState)(!!g),[H,W]=findSummary(a),[B,K]=(0,ew.useState)(j);return(0,ew.useEffect)(()=>{if(j)K(!0);else{let n=setTimeout(()=>K(j),500);return()=>clearTimeout(n)}},[j]),(0,tv.jsxs)("details",__spreadProps(__spreadValues(__spreadProps(__spreadValues({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},v),{open:B}),j&&{"data-expanded":!0}),{children:[(0,tv.jsx)(rx,{value:z,children:H}),(0,tv.jsx)(Collapse,{isOpen:j,children:W})]}))},Summary=n=>{let a=useDetails();return(0,tv.jsx)("summary",__spreadProps(__spreadValues({className:(0,ek.Z)("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},n),{onClick:n=>{n.preventDefault(),a(n=>!n)}}))},rW=/https?:\/\//,Link=n=>{var{href:a="",className:g}=n,v=__objRest(n,["href","className"]);return(0,tv.jsx)(rv,__spreadValues({href:a,newWindow:rW.test(a),className:(0,ek.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",g)},v))},A=n=>{var{href:a=""}=n,g=__objRest(n,["href"]);return(0,tv.jsx)(rv,__spreadValues({href:a,newWindow:rW.test(a)},g))},getComponents=({isRawLayout:n,components:a})=>{if(n)return{a:A};let g={index:0};return __spreadValues({h1:n=>(0,tv.jsx)("h1",__spreadValues({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},n)),h2:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h2",context:g},n)),h3:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h3",context:g},n)),h4:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h4",context:g},n)),h5:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h5",context:g},n)),h6:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h6",context:g},n)),ul:n=>(0,tv.jsx)("ul",__spreadValues({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},n)),ol:n=>(0,tv.jsx)("ol",__spreadValues({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},n)),li:n=>(0,tv.jsx)("li",__spreadValues({className:"nx-my-2"},n)),blockquote:n=>(0,tv.jsx)("blockquote",__spreadValues({className:(0,ek.Z)("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},n)),hr:n=>(0,tv.jsx)("hr",__spreadValues({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},n)),a:Link,table:n=>(0,tv.jsx)(n8.iA,__spreadValues({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},n)),p:n=>(0,tv.jsx)("p",__spreadValues({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},n)),tr:n8.Tr,th:n8.Th,td:n8.Td,details:Details,summary:Summary,pre:n8.SU,code:n8.EK},a)},rB={toc:(0,ek.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,ek.Z)("nx-w-full nx-break-words")},Body=({themeContext:n,breadcrumb:a,timestamp:g,navigation:v,children:j})=>{var z;let H=useConfig(),W=useMounted();if("raw"===n.layout)return(0,tv.jsx)("div",{className:rB.main,children:j});let B=n.timestamp&&H.gitTimestamp&&g?new Date(g):null,K=W&&B?(0,tv.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:renderComponent(H.gitTimestamp,{timestamp:B})}):(0,tv.jsx)("div",{className:"nx-mt-16"}),ee=(0,tv.jsxs)(tv.Fragment,{children:[j,K,v]}),et=(null==(z=H.main)?void 0:z.call(H,{children:ee}))||ee;return"full"===n.layout?(0,tv.jsx)("article",{className:(0,ek.Z)(rB.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:et}):(0,tv.jsx)("article",{className:(0,ek.Z)(rB.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===n.typesetting&&"nextra-body-typesetting-article"),children:(0,tv.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[a,et]})})},InnerLayout=({filePath:n,pageMap:a,frontMatter:g,headings:v,timestamp:j,children:z})=>{let H=useConfig(),{locale:W=rM,defaultLocale:B}=(0,e_.useRouter)(),K=useFSRoute(),{activeType:ee,activeIndex:et,activeThemeContext:en,activePath:er,topLevelNavbarItems:eo,docsDirectories:ei,flatDirectories:es,flatDocsDirectories:el,directories:eu}=(0,ew.useMemo)(()=>(function normalizePages({list:n,locale:a,defaultLocale:g,route:v,docsRoot:j="",underCurrentDocsRoot:z=!1,pageThemeContext:H=tT}){let W,B;for(let g of n)if("Meta"===g.kind){if(g.locale===a){W=g.data;break}W||(W=g.data)}let K=W||{},ee=Object.keys(K);for(let n of ee)"string"==typeof K[n]&&(K[n]={title:K[n]});let et=[],en=[],er=[],eo=[],ei=[],es=0,el=H,eu=[],ec=-1,ed=K["*"]||{};delete ed.title,delete ed.href;let ep=n.filter(n=>"Meta"!==n.kind&&!n.name.startsWith("_")&&(!("locale"in n)||!n.locale||[a,g].includes(n.locale))).sort((n,a)=>{let g=ee.indexOf(n.name),v=ee.indexOf(a.name);return -1===g&&-1===v?n.name{let a;let g=[],v=ee.indexOf(n.name);if(-1!==v){for(let n=ec+1;n({...W,type:ef,...eg&&{title:eg},...ec&&{display:ec},...ex&&{children:[]}}),ev=getItem(),ey=getItem(),eb=getItem();if(ey.isUnderCurrentDocsTree=em,"separator"===ef&&(ev.isUnderCurrentDocsTree=em),W.route===v)switch(eu=[ev],B=ef,el={...el,...eh},ef){case"page":case"menu":es=ei.length;break;case"doc":es=eo.length}if(!("hidden"===ec&&"Folder"!==ev.kind||eC.hV.has(W.route))){if(ex){if(void 0!==ex.activeIndex&&void 0!==ex.activeType){switch(el=ex.activeThemeContext,B=ex.activeType,eu=[ev,...ex.activePath],B){case"page":case"menu":es=ei.length+ex.activeIndex;break;case"doc":es=eo.length+ex.activeIndex}W.withIndexPage&&"doc"===ef&&es++}switch(ef){case"page":case"menu":eb.children.push(...ex.directories),er.push(...ex.docsDirectories),ex.flatDirectories.length?(eb.firstChildRoute=function findFirstRoute(n){for(let a of n){if(a.route)return a.route;if(a.children){let n=findFirstRoute(a.children);if(n)return n}}}(ex.flatDirectories),ei.push(eb)):eb.withIndexPage&&ei.push(eb);break;case"doc":Array.isArray(ey.children)&&ey.children.push(...ex.docsDirectories),ev.withIndexPage&&"children"!==ec&&eo.push(ey)}en.push(...ex.flatDirectories),eo.push(...ex.flatDocsDirectories),Array.isArray(ev.children)&&ev.children.push(...ex.directories)}else switch(en.push(ev),ef){case"page":case"menu":ei.push(eb);break;case"doc":eo.push(ey)}switch("doc"===ef&&"children"===ec?ey.children&&(et.push(...ey.children),er.push(...ey.children)):et.push(ev),ef){case"page":case"menu":er.push(eb);break;case"doc":"children"!==ec&&er.push(ey);break;case"separator":er.push(ev)}}}return{activeType:B,activeIndex:es,activeThemeContext:el,activePath:eu,directories:et,flatDirectories:en,docsDirectories:er,flatDocsDirectories:eo,topLevelNavbarItems:ei}})({list:a,locale:W,defaultLocale:B,route:K}),[a,W,B,K]),ec=__spreadValues(__spreadValues({},en),g),ed=!ec.sidebar||"raw"===ec.layout||"page"===ee,ep="page"!==ee&&ec.toc&&"default"===ec.layout?(0,tv.jsx)("nav",{className:(0,ek.Z)(rB.toc,"nx-px-4"),"aria-label":"table of contents",children:renderComponent(H.toc.component,{headings:H.toc.float?v:[],filePath:n})}):"full"!==ec.layout&&"raw"!==ec.layout&&(0,tv.jsx)("nav",{className:rB.toc,"aria-label":"table of contents"}),ef=H.i18n.find(n=>n.locale===W),eh=ef?"rtl"===ef.direction:"rtl"===H.direction,em=eh?"rtl":"ltr";return(0,tv.jsxs)("div",{dir:em,children:[(0,tv.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${em}')`}}),(0,tv.jsx)(dist_Head,{}),(0,tv.jsx)(Banner,{}),ec.navbar&&renderComponent(H.navbar.component,{flatDirectories:es,items:eo}),(0,tv.jsx)("div",{className:(0,ek.Z)("nx-mx-auto nx-flex","raw"!==ec.layout&&"nx-max-w-[90rem]"),children:(0,tv.jsxs)(ActiveAnchorProvider,{children:[(0,tv.jsx)(Sidebar,{docsDirectories:ei,flatDirectories:es,fullDirectories:eu,headings:v,asPopover:ed,includePlaceholder:"default"===ec.layout}),ep,(0,tv.jsx)(rZ,{}),(0,tv.jsx)(Body,{themeContext:ec,breadcrumb:"page"!==ee&&ec.breadcrumb?(0,tv.jsx)(Breadcrumb,{activePath:er}):null,timestamp:j,navigation:"page"!==ee&&ec.pagination?(0,tv.jsx)(NavLinks,{flatDirectories:el,currentIndex:et}):null,children:(0,tv.jsx)(eE.Z,{components:getComponents({isRawLayout:"raw"===ec.layout,components:H.components}),children:z})})]})}),ec.footer&&renderComponent(H.footer.component,{menu:ed})]})};function Layout(n){var{children:a}=n,g=__objRest(n,["children"]);return(0,tv.jsx)(ConfigProvider,{value:g,children:(0,tv.jsx)(InnerLayout,__spreadProps(__spreadValues({},g.pageOpts),{children:a}))})}},9013:function(n,a,g){"use strict";g.d(a,{UW:function(){return Callout},EK:function(){return Code},SU:function(){return Pre},OK:function(){return Tab},iA:function(){return Table},mQ:function(){return eO},Td:function(){return Td},Th:function(){return Th},Tr:function(){return Tr}});var v,j,z,H=g(512),W=g(5893),Button=({children:n,className:a,...g})=>(0,W.jsx)("button",{className:(0,H.Z)("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",a),...g,children:n}),B=g(4861),K={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,W.jsx)(B.AV,{className:"nx-mt-1"}),warning:"⚠️"},ee={default:(0,H.Z)("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),error:(0,H.Z)("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),info:(0,H.Z)("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),warning:(0,H.Z)("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200")};function Callout({children:n,type:a="default",emoji:g=K[a]}){return(0,W.jsxs)("div",{className:(0,H.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",ee[a]),children:[(0,W.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:g}),(0,W.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:n})]})}var et=g(7294),CopyToClipboard=({getValue:n,...a})=>{let[g,v]=(0,et.useState)(!1);(0,et.useEffect)(()=>{if(!g)return;let n=setTimeout(()=>{v(!1)},2e3);return()=>{clearTimeout(n)}},[g]);let j=(0,et.useCallback)(async()=>{v(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(n())}catch{console.error("Failed to copy!")}},[n]),z=g?B.nQ:B.TI;return(0,W.jsx)(Button,{onClick:j,title:"Copy code",tabIndex:0,...a,children:(0,W.jsx)(z,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},Code=({children:n,className:a,...g})=>{let v="data-line-numbers"in g;return(0,W.jsx)("code",{className:(0,H.Z)("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",v&&"[counter-reset:line]",a),dir:"ltr",...g,children:n})},Pre=({children:n,className:a,hasCopyCode:g,filename:v,...j})=>{let z=(0,et.useRef)(null),K=(0,et.useCallback)(()=>{let n=document.documentElement.dataset,a="nextraWordWrap"in n;a?delete n.nextraWordWrap:n.nextraWordWrap=""},[]);return(0,W.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[v&&(0,W.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:v}),(0,W.jsx)("pre",{className:(0,H.Z)("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",v?"nx-pt-12 nx-pb-4":"nx-py-4",a),ref:z,...j,children:n}),(0,W.jsxs)("div",{className:(0,H.Z)("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",v?"nx-top-8":"nx-top-0"),children:[(0,W.jsx)(Button,{onClick:K,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,W.jsx)(B.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),g&&(0,W.jsx)(CopyToClipboard,{getValue:()=>z.current?.querySelector("code")?.textContent||""})]})]})},en=g(1363),er=g(3781),eo=g(9946),ei=g(6723),es=g(3855),el=g(4157),eu=g(3784),ec=g(4879),ed=g(6045);function focus_sentinel_b({onFocus:n}){let[a,g]=(0,et.useState)(!0),v=(0,ec.t)();return a?et.createElement(ed._,{as:"button",type:"button",features:ed.A.Focusable,onFocus:a=>{a.preventDefault();let j,z=50;j=requestAnimationFrame(function t(){if(z--<=0){j&&cancelAnimationFrame(j);return}if(n()){if(cancelAnimationFrame(j),!v.current)return;g(!1);return}j=requestAnimationFrame(t)})}}):null}var ep=g(4575),ef=g(2984),eh=g(1021),em=g(5466),ex=g(2351);let eg=et.createContext(null);function C({children:n}){let a=et.useRef({groups:new Map,get(n,a){var g;let v=this.groups.get(n);v||(v=new Map,this.groups.set(n,v));let j=null!=(g=v.get(a))?g:0;return v.set(a,j+1),[Array.from(v.keys()).indexOf(a),function(){let n=v.get(a);n>1?v.set(a,n-1):v.delete(a)}]}});return et.createElement(eg.Provider,{value:a},n)}function d(n){let a=et.useContext(eg);if(!a)throw Error("You must wrap your component in a ");let g=function(){var n,a,g;let v=null!=(g=null==(a=null==(n=et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:n.ReactCurrentOwner)?void 0:a.current)?g:null;if(!v)return Symbol();let j=[],z=v;for(;z;)j.push(z.index),z=z.return;return"$."+j.join(".")}(),[v,j]=a.current.get(n,g);return et.useEffect(()=>j,[]),v}var ev=((v=ev||{})[v.Forwards=0]="Forwards",v[v.Backwards=1]="Backwards",v),ey=((j=ey||{})[j.Less=-1]="Less",j[j.Equal=0]="Equal",j[j.Greater=1]="Greater",j),eb=((z=eb||{})[z.SetSelectedIndex=0]="SetSelectedIndex",z[z.RegisterTab=1]="RegisterTab",z[z.UnregisterTab=2]="UnregisterTab",z[z.RegisterPanel=3]="RegisterPanel",z[z.UnregisterPanel=4]="UnregisterPanel",z);let e_={0(n,a){var g;let v=(0,ep.z2)(n.tabs,n=>n.current),j=(0,ep.z2)(n.panels,n=>n.current),z=v.filter(n=>{var a;return!(null!=(a=n.current)&&a.hasAttribute("disabled"))}),H={...n,tabs:v,panels:j};if(a.index<0||a.index>v.length-1){let g=(0,ef.E)(Math.sign(a.index-n.selectedIndex),{[-1]:()=>1,0:()=>(0,ef.E)(Math.sign(a.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===z.length)return H;let j=(0,ef.E)(g,{0:()=>v.indexOf(z[0]),1:()=>v.indexOf(z[z.length-1])});return{...H,selectedIndex:-1===j?n.selectedIndex:j}}let W=v.slice(0,a.index),B=[...v.slice(a.index),...W].find(n=>z.includes(n));if(!B)return H;let K=null!=(g=v.indexOf(B))?g:n.selectedIndex;return -1===K&&(K=n.selectedIndex),{...H,selectedIndex:K}},1(n,a){if(n.tabs.includes(a.tab))return n;let g=n.tabs[n.selectedIndex],v=(0,ep.z2)([...n.tabs,a.tab],n=>n.current),j=n.selectedIndex;return n.info.current.isControlled||-1===(j=v.indexOf(g))&&(j=n.selectedIndex),{...n,tabs:v,selectedIndex:j}},2:(n,a)=>({...n,tabs:n.tabs.filter(n=>n!==a.tab)}),3:(n,a)=>n.panels.includes(a.panel)?n:{...n,panels:(0,ep.z2)([...n.panels,a.panel],n=>n.current)},4:(n,a)=>({...n,panels:n.panels.filter(n=>n!==a.panel)})},ew=(0,et.createContext)(null);function F(n){let a=(0,et.useContext)(ew);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,F),a}return a}ew.displayName="TabsDataContext";let ek=(0,et.createContext)(null);function q(n){let a=(0,et.useContext)(ek);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,q),a}return a}function fe(n,a){return(0,ef.E)(a.type,e_,n,a)}ek.displayName="TabsActionsContext";let eC=et.Fragment,eE=ex.AN.RenderStrategy|ex.AN.Static,eT=Object.assign((0,ex.yV)(function(n,a){var g,v;let j=(0,eo.M)(),{id:z=`headlessui-tabs-tab-${j}`,...H}=n,{orientation:W,activation:B,selectedIndex:K,tabs:ee,panels:es}=F("Tab"),ec=q("Tab"),ed=F("Tab"),eg=(0,et.useRef)(null),ev=(0,eu.T)(eg,a);(0,ei.e)(()=>ec.registerTab(eg),[ec,eg]);let ey=d("tabs"),eb=ee.indexOf(eg);-1===eb&&(eb=ey);let e_=eb===K,ew=(0,er.z)(n=>{var a;let g=n();if(g===ep.fE.Success&&"auto"===B){let n=null==(a=(0,em.r)(eg))?void 0:a.activeElement,g=ed.tabs.findIndex(a=>a.current===n);-1!==g&&ec.change(g)}return g}),ek=(0,er.z)(n=>{let a=ee.map(n=>n.current).filter(Boolean);if(n.key===en.R.Space||n.key===en.R.Enter){n.preventDefault(),n.stopPropagation(),ec.change(eb);return}switch(n.key){case en.R.Home:case en.R.PageUp:return n.preventDefault(),n.stopPropagation(),ew(()=>(0,ep.jA)(a,ep.TO.First));case en.R.End:case en.R.PageDown:return n.preventDefault(),n.stopPropagation(),ew(()=>(0,ep.jA)(a,ep.TO.Last))}if(ew(()=>(0,ef.E)(W,{vertical:()=>n.key===en.R.ArrowUp?(0,ep.jA)(a,ep.TO.Previous|ep.TO.WrapAround):n.key===en.R.ArrowDown?(0,ep.jA)(a,ep.TO.Next|ep.TO.WrapAround):ep.fE.Error,horizontal:()=>n.key===en.R.ArrowLeft?(0,ep.jA)(a,ep.TO.Previous|ep.TO.WrapAround):n.key===en.R.ArrowRight?(0,ep.jA)(a,ep.TO.Next|ep.TO.WrapAround):ep.fE.Error}))===ep.fE.Success)return n.preventDefault()}),eC=(0,et.useRef)(!1),eE=(0,er.z)(()=>{var n;eC.current||(eC.current=!0,null==(n=eg.current)||n.focus({preventScroll:!0}),ec.change(eb),(0,eh.Y)(()=>{eC.current=!1}))}),eT=(0,er.z)(n=>{n.preventDefault()}),eO=(0,et.useMemo)(()=>{var a;return{selected:e_,disabled:null!=(a=n.disabled)&&a}},[e_,n.disabled]),ej={ref:ev,onKeyDown:ek,onMouseDown:eT,onClick:eE,id:z,role:"tab",type:(0,el.f)(n,eg),"aria-controls":null==(v=null==(g=es[eb])?void 0:g.current)?void 0:v.id,"aria-selected":e_,tabIndex:e_?0:-1};return(0,ex.sY)({ourProps:ej,theirProps:H,slot:eO,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,ex.yV)(function(n,a){let{defaultIndex:g=0,vertical:v=!1,manual:j=!1,onChange:z,selectedIndex:H=null,...W}=n,B=v?"vertical":"horizontal",K=j?"manual":"auto",ee=null!==H,en=(0,es.E)({isControlled:ee}),eo=(0,eu.T)(a),[el,ec]=(0,et.useReducer)(fe,{info:en,selectedIndex:null!=H?H:g,tabs:[],panels:[]}),ed=(0,et.useMemo)(()=>({selectedIndex:el.selectedIndex}),[el.selectedIndex]),ef=(0,es.E)(z||(()=>{})),eh=(0,es.E)(el.tabs),em=(0,et.useMemo)(()=>({orientation:B,activation:K,...el}),[B,K,el]),eg=(0,er.z)(n=>(ec({type:1,tab:n}),()=>ec({type:2,tab:n}))),ev=(0,er.z)(n=>(ec({type:3,panel:n}),()=>ec({type:4,panel:n}))),ey=(0,er.z)(n=>{eb.current!==n&&ef.current(n),ee||ec({type:0,index:n})}),eb=(0,es.E)(ee?n.selectedIndex:el.selectedIndex),e_=(0,et.useMemo)(()=>({registerTab:eg,registerPanel:ev,change:ey}),[]);return(0,ei.e)(()=>{ec({type:0,index:null!=H?H:g})},[H]),(0,ei.e)(()=>{if(void 0===eb.current||el.tabs.length<=0)return;let n=(0,ep.z2)(el.tabs,n=>n.current);n.some((n,a)=>el.tabs[a]!==n)&&ey(n.indexOf(el.tabs[eb.current]))}),et.createElement(C,null,et.createElement(ek.Provider,{value:e_},et.createElement(ew.Provider,{value:em},em.tabs.length<=0&&et.createElement(focus_sentinel_b,{onFocus:()=>{var n,a;for(let g of eh.current)if((null==(n=g.current)?void 0:n.tabIndex)===0)return null==(a=g.current)||a.focus(),!0;return!1}}),(0,ex.sY)({ourProps:{ref:eo},theirProps:W,slot:ed,defaultTag:eC,name:"Tabs"}))))}),List:(0,ex.yV)(function(n,a){let{orientation:g,selectedIndex:v}=F("Tab.List"),j=(0,eu.T)(a);return(0,ex.sY)({ourProps:{ref:j,role:"tablist","aria-orientation":g},theirProps:n,slot:{selectedIndex:v},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,ex.yV)(function(n,a){let{selectedIndex:g}=F("Tab.Panels"),v=(0,eu.T)(a),j=(0,et.useMemo)(()=>({selectedIndex:g}),[g]);return(0,ex.sY)({ourProps:{ref:v},theirProps:n,slot:j,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,ex.yV)(function(n,a){var g,v,j,z;let H=(0,eo.M)(),{id:W=`headlessui-tabs-panel-${H}`,tabIndex:B=0,...K}=n,{selectedIndex:ee,tabs:en,panels:er}=F("Tab.Panel"),es=q("Tab.Panel"),el=(0,et.useRef)(null),ec=(0,eu.T)(el,a);(0,ei.e)(()=>es.registerPanel(el),[es,el,W]);let ep=d("panels"),ef=er.indexOf(el);-1===ef&&(ef=ep);let eh=ef===ee,em=(0,et.useMemo)(()=>({selected:eh}),[eh]),eg={ref:ec,id:W,role:"tabpanel","aria-labelledby":null==(v=null==(g=en[ef])?void 0:g.current)?void 0:v.id,tabIndex:eh?B:-1};return eh||null!=(j=K.unmount)&&!j||null!=(z=K.static)&&z?(0,ex.sY)({ourProps:eg,theirProps:K,slot:em,defaultTag:"div",features:eE,visible:eh,name:"Tabs.Panel"}):et.createElement(ed._,{as:"span","aria-hidden":"true",...eg})})});function isTabObjectItem(n){return!!n&&"object"==typeof n&&"label"in n}function Tab({children:n,...a}){return(0,W.jsx)(eT.Panel,{...a,className:"nx-rounded nx-pt-6",children:n})}var eO=Object.assign(function({items:n,selectedIndex:a,defaultIndex:g=0,onChange:v,children:j,storageKey:z}){let[B,K]=(0,et.useState)(g);(0,et.useEffect)(()=>{void 0!==a&&K(a)},[a]),(0,et.useEffect)(()=>{if(!z)return;function fn(n){n.key===z&&K(Number(n.newValue))}let n=Number(localStorage.getItem(z));return K(Number.isNaN(n)?0:n),window.addEventListener("storage",fn),()=>{window.removeEventListener("storage",fn)}},[]);let ee=(0,et.useCallback)(n=>{if(z){let a=String(n);localStorage.setItem(z,a),window.dispatchEvent(new StorageEvent("storage",{key:z,newValue:a}));return}K(n),v?.(n)},[]);return(0,W.jsxs)(eT.Group,{selectedIndex:B,defaultIndex:g,onChange:ee,children:[(0,W.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,W.jsx)(eT.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:n.map((n,a)=>{let g=isTabObjectItem(n)&&n.disabled;return(0,W.jsx)(eT,{disabled:g,className:({selected:n})=>(0,H.Z)("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",n?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",g&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:isTabObjectItem(n)?n.label:n},a)})})}),(0,W.jsx)(eT.Panels,{children:j})]})},{displayName:"Tabs",Tab}),Td=({className:n="",...a})=>(0,W.jsx)("td",{className:(0,H.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",n),...a}),Table=({className:n="",...a})=>(0,W.jsx)("table",{className:(0,H.Z)("nx-block nx-overflow-x-scroll",n),...a}),Th=({className:n="",...a})=>(0,W.jsx)("th",{className:(0,H.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",n),...a}),Tr=({className:n="",...a})=>(0,W.jsx)("tr",{className:(0,H.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",n),...a}),ej=g(1664),eS=g.n(ej),eI={cards:(0,H.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,H.Z)("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:(0,H.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},eP=(0,W.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:n,num:a=3,className:g,style:v,...j}){return(0,W.jsx)("div",{className:(0,H.Z)(eI.cards,g),...j,style:{...v,"--rows":a},children:n})},{displayName:"Cards",Card:function({children:n,title:a,icon:g,image:v,arrow:j,href:z,...B}){let K=j?eP:null;return v?(0,W.jsxs)(eS(),{href:z,className:(0,H.Z)(eI.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...B,children:[n,(0,W.jsxs)("span",{className:(0,H.Z)(eI.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[g,(0,W.jsxs)("span",{className:"nx-flex nx-gap-1",children:[a,K]})]})]}):(0,W.jsx)(eS(),{href:z,className:(0,H.Z)(eI.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...B,children:(0,W.jsxs)("span",{className:(0,H.Z)(eI.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[g,a,K]})})}});var eN=(0,et.createContext)(0);function useIndent(){return(0,et.useContext)(eN)}function Ident(){let n=useIndent();return(0,W.jsx)(W.Fragment,{children:Array.from({length:n},(n,a)=>(0,W.jsx)("span",{className:"nx-w-5"},a))})}var eZ=(0,et.memo)(({label:n,name:a,open:g,children:v,defaultOpen:j=!1,onToggle:z})=>{let H=useIndent(),[B,K]=(0,et.useState)(j),ee=(0,et.useCallback)(()=>{z?.(!B),K(!B)},[B,z]),en=void 0===g?B:g;return(0,W.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,W.jsxs)("button",{onClick:ee,title:a,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,W.jsx)(Ident,{}),(0,W.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,W.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:en?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,W.jsx)("span",{className:"nx-ml-1",children:n??a})]}),en&&(0,W.jsx)("ul",{children:(0,W.jsx)(eN.Provider,{value:H+1,children:v})})]})});eZ.displayName="Folder";var eR=(0,et.memo)(({label:n,name:a,active:g})=>(0,W.jsx)("li",{className:(0,H.Z)("nx-flex nx-list-none",g&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,W.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,W.jsx)(Ident,{}),(0,W.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,W.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,W.jsx)("span",{className:"nx-ml-1",children:n??a})]})}));eR.displayName="File",Object.assign(function({children:n}){return(0,W.jsx)("div",{className:(0,H.Z)("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,W.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:n})})},{Folder:eZ,File:eR})},4861:function(n,a,g){"use strict";g.d(a,{LZ:function(){return ArrowRightIcon},nQ:function(){return CheckIcon},TI:function(){return CopyIcon},D7:function(){return DiscordIcon},Qq:function(){return ExpandIcon},fy:function(){return GitHubIcon},n9:function(){return GlobeIcon},AV:function(){return InformationCircleIcon},Oq:function(){return MenuIcon},kL:function(){return MoonIcon},L4:function(){return SpinnerIcon},NW:function(){return SunIcon},NK:function(){return WordWrapIcon},b0:function(){return XIcon}});var v=g(5893);function ArrowRightIcon({pathClassName:n,...a}){return(0,v.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...a,children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:n})})}function CheckIcon(n){return(0,v.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function CopyIcon(n){return(0,v.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...n,children:[(0,v.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,v.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function DiscordIcon(n){return(0,v.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...n,children:[(0,v.jsx)("title",{children:"Discord"}),(0,v.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function ExpandIcon({isOpen:n,...a}){return(0,v.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...a,children:[(0,v.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:n?"":"nx-origin-[35%] nx-rotate-180"}),(0,v.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function GitHubIcon(n){return(0,v.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...n,children:[(0,v.jsx)("title",{children:"GitHub"}),(0,v.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function GlobeIcon(n){return(0,v.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function InformationCircleIcon(n){return(0,v.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function MenuIcon(n){return(0,v.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...n,children:[(0,v.jsx)("g",{children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,v.jsx)("g",{children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function MoonIcon(n){return(0,v.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...n,children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function SpinnerIcon(n){return(0,v.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...n,children:[(0,v.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,v.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function SunIcon(n){return(0,v.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...n,children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function WordWrapIcon(n){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...n,children:(0,v.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function XIcon(n){return(0,v.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}},2643:function(n,a,g){"use strict";g.d(a,{Z:function(){return MDXProvider},a:function(){return mdx_useMDXComponents}});var v=g(7294);let j=v.createContext({});function useMDXComponents(n){let a=v.useContext(j);return v.useMemo(()=>"function"==typeof n?n(a):{...a,...n},[a,n])}let z={};function MDXProvider({components:n,children:a,disableParentContext:g}){let H;return H=g?"function"==typeof n?n({}):n||z:useMDXComponents(n),v.createElement(j.Provider,{value:H},a)}var H=g(5675),W=g.n(H),B={img:n=>(0,v.createElement)("object"==typeof n.src?W():"img",n)},mdx_useMDXComponents=n=>useMDXComponents({...B,...n})},2673:function(n,a,g){"use strict";g.d(a,{j:function(){return setupNextraPage}});var v,j=g(9208),z=g.n(j),H=g(7222),W=g(7294);g(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(n){var a=Date.now();return setTimeout(function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-a))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(n){clearTimeout(n)}),g(2643);var B=g(5893),K=(0,W.createContext)(!1),ee=g(1163);function Nextra({__nextra_pageMap:n,__nextra_dynamic_opts:a,...g}){let{context:v,Layout:j}=function(){let n=globalThis[H.eZ],{route:a}=(0,ee.useRouter)();(0,W.useState)({})[1];let g=n.context[a];if(!g)throw Error("No content found for the current route. This is a Nextra bug.");return{context:g,Layout:n.Layout}}(),{Content:z,...et}=v;if(n&&(et.pageOpts={...et.pageOpts,pageMap:n}),a){let{headings:n,title:g,frontMatter:v}=JSON.parse(a);et.pageOpts={...et.pageOpts,headings:n,title:g,frontMatter:v}}return(0,B.jsx)(j,{...et,pageProps:g,children:(0,B.jsx)(K.Provider,{value:g,children:(0,B.jsx)(z,{...g})})})}var et=g(2520),en=g(3859),er=g(6107);function pageTitleFromFilename(n){return er(n.replaceAll(/[-_]/g," "))}function isFolder(n){return!!n&&"object"==typeof n&&"folder"===n.type}function normalizeMetaData(n){return Object.fromEntries(Object.entries(n).map(([n,a])=>{if(isFolder(a)){let g=n.replace("/","");return[g,a.title||pageTitleFromFilename(g)]}return[n,a||pageTitleFromFilename(n)]}))}function setupNextraPage({pageNextRoute:n,pageOpts:a,nextraLayout:g,themeConfig:j,MDXContent:W,hot:B,pageOptsChecksum:K,dynamicMetaModules:ee=[]}){var er;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(v)return v;let n=JSON.parse(JSON.stringify(eo.pageMap));return await Promise.all(ee.map(async([a,{metaObjectKeyPath:g,metaParentKeyPath:v}])=>{let j=await a,H=await j.default(),W=z()(n,g);W.data=H;let B=z()(n,v);!function collectCatchAllRoutes(n,a,g=!0){if(g){collectCatchAllRoutes(n,{kind:"Meta",data:a.data,locale:a.locale},!1),a.data=normalizeMetaData(a.data);return}for(let[g,j]of Object.entries(a.data)){if(!isFolder(j)){var v;if("*"===g)continue;n.children.push({kind:"MdxPage",...a.locale&&{locale:a.locale},name:g,route:(v=n.route,en(et.join(v,g.replace(/^index$/,""))))});continue}let z=g.replace("/",""),H={kind:"Folder",name:z,route:`${n.route}/${z}`,children:[{kind:"Meta",...a.locale&&{locale:a.locale},data:normalizeMetaData(j.items)}]};n.children.push(H),collectCatchAllRoutes(H,{kind:"Meta",data:j.items,locale:a.locale},!1)}}(B,W)})),v=n});let eo=globalThis[er=H.eZ]||(globalThis[er]=Object.create(null));return a.pageMap?(eo.pageMap=a.pageMap,eo.Layout=g):(a={...a,pageMap:eo.pageMap,flexsearch:eo.flexsearch},j=eo.themeConfig),a={frontMatter:{},...a},eo.route=a.route,eo.context||(eo.context=Object.create(null)),eo.context[n]={Content:W,pageOpts:a,themeConfig:j},Nextra}},6008:function(n,a,g){"use strict";var v=g(2337);n.exports=function(n){var a={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:n,query:{},parse_failed:!1};try{var g=new URL(n);a.protocols=v(g),a.protocol=a.protocols[0],a.port=g.port,a.resource=g.hostname,a.host=g.host,a.user=g.username||"",a.password=g.password||"",a.pathname=g.pathname,a.hash=g.hash.slice(1),a.search=g.search.slice(1),a.href=g.href,a.query=Object.fromEntries(g.searchParams)}catch(g){a.protocols=["file"],a.protocol=a.protocols[0],a.port="",a.resource="",a.user="",a.pathname="",a.hash="",a.search="",a.href=n,a.query={},a.parse_failed=!0}return a}},3905:function(n,a,g){"use strict";var v=g(6008),j=v&&"object"==typeof v&&"default"in v?v:{default:v};let testParameter=(n,a)=>a.some(a=>a instanceof RegExp?a.test(n):a===n),normalizeDataURL=(n,{stripHash:a})=>{let g=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(n);if(!g)throw Error(`Invalid URL: ${n}`);let{type:v,data:j,hash:z}=g.groups,H=v.split(";");z=a?"":z;let W=!1;"base64"===H[H.length-1]&&(H.pop(),W=!0);let B=(H.shift()||"").toLowerCase(),K=H.map(n=>{let[a,g=""]=n.split("=").map(n=>n.trim());return"charset"===a&&"us-ascii"===(g=g.toLowerCase())?"":`${a}${g?`=${g}`:""}`}).filter(Boolean),ee=[...K];return W&&ee.push("base64"),(ee.length>0||B&&"text/plain"!==B)&&ee.unshift(B),`data:${ee.join(";")},${W?j.trim():j}${z?`#${z}`:""}`},parseUrl=(n,a=!1)=>{let throwErr=a=>{let g=Error(a);throw g.subject_url=n,g};"string"==typeof n&&n.trim()||throwErr("Invalid url."),n.length>parseUrl.MAX_INPUT_LENGTH&&throwErr("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),a&&("object"!=typeof a&&(a={stripHash:!1}),n=function(n,a){if(a={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...a},n=n.trim(),/^data:/i.test(n))return normalizeDataURL(n,a);if(/^view-source:/i.test(n))throw Error("`view-source:` is not supported as it is a non-standard protocol");let g=n.startsWith("//"),v=!g&&/^\.*\//.test(n);v||(n=n.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,a.defaultProtocol));let j=new URL(n);if(a.forceHttp&&a.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(a.forceHttp&&"https:"===j.protocol&&(j.protocol="http:"),a.forceHttps&&"http:"===j.protocol&&(j.protocol="https:"),a.stripAuthentication&&(j.username="",j.password=""),a.stripHash?j.hash="":a.stripTextFragment&&(j.hash=j.hash.replace(/#?:~:text.*?$/i,"")),j.pathname){let n=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,a=0,g="";for(;;){let v=n.exec(j.pathname);if(!v)break;let z=v[0],H=v.index,W=j.pathname.slice(a,H);g+=W.replace(/\/{2,}/g,"/")+z,a=H+z.length}let v=j.pathname.slice(a,j.pathname.length);g+=v.replace(/\/{2,}/g,"/"),j.pathname=g}if(j.pathname)try{j.pathname=decodeURI(j.pathname)}catch{}if(!0===a.removeDirectoryIndex&&(a.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(a.removeDirectoryIndex)&&a.removeDirectoryIndex.length>0){let n=j.pathname.split("/"),g=n[n.length-1];testParameter(g,a.removeDirectoryIndex)&&(n=n.slice(0,-1),j.pathname=n.slice(1).join("/")+"/")}if(j.hostname&&(j.hostname=j.hostname.replace(/\.$/,""),a.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(j.hostname)&&(j.hostname=j.hostname.replace(/^www\./,""))),Array.isArray(a.removeQueryParameters))for(let n of[...j.searchParams.keys()])testParameter(n,a.removeQueryParameters)&&j.searchParams.delete(n);if(!0===a.removeQueryParameters&&(j.search=""),a.sortQueryParameters){j.searchParams.sort();try{j.search=decodeURIComponent(j.search)}catch{}}a.removeTrailingSlash&&(j.pathname=j.pathname.replace(/\/$/,""));let z=n;return n=j.toString(),a.removeSingleSlash||"/"!==j.pathname||z.endsWith("/")||""!==j.hash||(n=n.replace(/\/$/,"")),(a.removeTrailingSlash||"/"===j.pathname)&&""===j.hash&&a.removeSingleSlash&&(n=n.replace(/\/$/,"")),g&&!a.normalizeProtocol&&(n=n.replace(/^http:\/\//,"//")),a.stripProtocol&&(n=n.replace(/^(?:https?:)?\/\//,"")),n}(n,a));let g=j.default(n);if(g.parse_failed){let n=g.href.match(/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/);n?(g.protocols=["ssh"],g.protocol="ssh",g.resource=n[2],g.host=n[2],g.user=n[1],g.pathname=`/${n[3]}`,g.parse_failed=!1):throwErr("URL parsing failed.")}return g};parseUrl.MAX_INPUT_LENGTH=2048,n.exports=parseUrl},2520:function(n,a,g){"use strict";var v=g(4155),j="win32"===v.platform,z=g(9539);function normalizeArray(n,a){for(var g=[],v=0;v=0&&!n[v];v--);return 0===g&&v===a?n:g>v?[]:n.slice(g,v+1)}var H=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,W=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,B={};function win32SplitPath(n){var a=H.exec(n),g=(a[1]||"")+(a[2]||""),v=a[3]||"",j=W.exec(v);return[g,j[1],j[2],j[3]]}function win32StatPath(n){var a=H.exec(n),g=a[1]||"",v=!!g&&":"!==g[1];return{device:g,isUnc:v,isAbsolute:v||!!a[2],tail:a[3]}}function normalizeUNCRoot(n){return"\\\\"+n.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}B.resolve=function(){for(var n="",a="",g=!1,j=arguments.length-1;j>=-1;j--){if(j>=0?H=arguments[j]:n?(H=v.env["="+n])&&H.substr(0,3).toLowerCase()===n.toLowerCase()+"\\"||(H=n+"\\"):H=v.cwd(),z.isString(H)){if(!H)continue}else throw TypeError("Arguments to path.resolve must be strings");var H,W=win32StatPath(H),B=W.device,K=W.isUnc,ee=W.isAbsolute,et=W.tail;if((!B||!n||B.toLowerCase()===n.toLowerCase())&&(n||(n=B),g||(a=et+"\\"+a,g=ee),n&&g))break}return K&&(n=normalizeUNCRoot(n)),a=normalizeArray(a.split(/[\\\/]+/),!g).join("\\"),n+(g?"\\":"")+a||"."},B.normalize=function(n){var a=win32StatPath(n),g=a.device,v=a.isUnc,j=a.isAbsolute,z=a.tail,H=/[\\\/]$/.test(z);return(z=normalizeArray(z.split(/[\\\/]+/),!j).join("\\"))||j||(z="."),z&&H&&(z+="\\"),v&&(g=normalizeUNCRoot(g)),g+(j?"\\":"")+z},B.isAbsolute=function(n){return win32StatPath(n).isAbsolute},B.join=function(){for(var n=[],a=0;a=-1&&!a;g--){var j=g>=0?arguments[g]:v.cwd();if(z.isString(j)){if(!j)continue}else throw TypeError("Arguments to path.resolve must be strings");n=j+"/"+n,a="/"===j[0]}return n=normalizeArray(n.split("/"),!a).join("/"),(a?"/":"")+n||"."},ee.normalize=function(n){var a=ee.isAbsolute(n),g=n&&"/"===n[n.length-1];return(n=normalizeArray(n.split("/"),!a).join("/"))||a||(n="."),n&&g&&(n+="/"),(a?"/":"")+n},ee.isAbsolute=function(n){return"/"===n.charAt(0)},ee.join=function(){for(var n="",a=0;a1)for(var g=1;g{let a=/^\\\\\?\\/.test(n),g=/[^\u0000-\u0080]+/.test(n);return a||g?n:n.replace(/\\/g,"/")}},6107:function(n,a,g){let v=g(1439),j=g(7224),z="[^\\s'’\\(\\)!?;:\"-]",H=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${z}))|(${z}))(${z}*[’']*${z}*)`,"g"),convertToRegExp=n=>n.map(n=>[RegExp(`\\b${n}\\b`,"gi"),n]);n.exports=(n,a={})=>{n=n.toLowerCase().replace(H,(n,a="",g,j,z,H,W)=>{let B=n.length+H>=W.length,K=function(n){let a=n[0];return/\s/.test(a)?n.slice(1):/[\(\)]/.test(a)?null:n}(n);return K?!g&&v.has(j+z)&&!B?K:a+(j||g).toUpperCase()+z:n});let g=a.special||[],z=[...j,...g],W=convertToRegExp(z);return W.forEach(([a,g])=>{n=n.replace(a,g)}),n}},1439:function(n){n.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},7224:function(n){n.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},1496:function(n){"function"==typeof Object.create?n.exports=function(n,a){n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(n,a){n.super_=a;var TempCtor=function(){};TempCtor.prototype=a.prototype,n.prototype=new TempCtor,n.prototype.constructor=n}},384:function(n){n.exports=function(n){return n&&"object"==typeof n&&"function"==typeof n.copy&&"function"==typeof n.fill&&"function"==typeof n.readUInt8}},9539:function(n,a,g){var v,j=g(4155),z=/%[sdj%]/g;a.format=function(n){if(!isString(n)){for(var a=[],g=0;g=j)return n;switch(n){case"%s":return String(v[g++]);case"%d":return Number(v[g++]);case"%j":try{return JSON.stringify(v[g++])}catch(n){return"[Circular]"}default:return n}}),W=v[g];g=3&&(v.depth=arguments[2]),arguments.length>=4&&(v.colors=arguments[3]),isBoolean(g)?v.showHidden=g:g&&a._extend(v,g),isUndefined(v.showHidden)&&(v.showHidden=!1),isUndefined(v.depth)&&(v.depth=2),isUndefined(v.colors)&&(v.colors=!1),isUndefined(v.customInspect)&&(v.customInspect=!0),v.colors&&(v.stylize=stylizeWithColor),formatValue(v,n,v.depth)}function stylizeWithColor(n,a){var g=inspect.styles[a];return g?"\x1b["+inspect.colors[g][0]+"m"+n+"\x1b["+inspect.colors[g][1]+"m":n}function stylizeNoColor(n,a){return n}function formatValue(n,g,v){if(n.customInspect&&g&&isFunction(g.inspect)&&g.inspect!==a.inspect&&!(g.constructor&&g.constructor.prototype===g)){var j,z,H,W,B,K=g.inspect(v,n);return isString(K)||(K=formatValue(n,K,v)),K}var ee=function(n,a){if(isUndefined(a))return n.stylize("undefined","undefined");if(isString(a)){var g="'"+JSON.stringify(a).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(g,"string")}return isNumber(a)?n.stylize(""+a,"number"):isBoolean(a)?n.stylize(""+a,"boolean"):isNull(a)?n.stylize("null","null"):void 0}(n,g);if(ee)return ee;var et=Object.keys(g),en=(W={},et.forEach(function(n,a){W[n]=!0}),W);if(n.showHidden&&(et=Object.getOwnPropertyNames(g)),isError(g)&&(et.indexOf("message")>=0||et.indexOf("description")>=0))return formatError(g);if(0===et.length){if(isFunction(g)){var er=g.name?": "+g.name:"";return n.stylize("[Function"+er+"]","special")}if(isRegExp(g))return n.stylize(RegExp.prototype.toString.call(g),"regexp");if(isDate(g))return n.stylize(Date.prototype.toString.call(g),"date");if(isError(g))return formatError(g)}var eo="",ei=!1,es=["{","}"];return(isArray(g)&&(ei=!0,es=["[","]"]),isFunction(g)&&(eo=" [Function"+(g.name?": "+g.name:"")+"]"),isRegExp(g)&&(eo=" "+RegExp.prototype.toString.call(g)),isDate(g)&&(eo=" "+Date.prototype.toUTCString.call(g)),isError(g)&&(eo=" "+formatError(g)),0!==et.length||ei&&0!=g.length)?v<0?isRegExp(g)?n.stylize(RegExp.prototype.toString.call(g),"regexp"):n.stylize("[Object]","special"):(n.seen.push(g),B=ei?function(n,a,g,v,j){for(var z=[],H=0,W=a.length;H=0&&H++,n+a.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?z[0]+(""===j?"":j+"\n ")+" "+B.join(",\n ")+" "+z[1]:z[0]+j+" "+B.join(", ")+" "+z[1]):es[0]+eo+es[1]}function formatError(n){return"["+Error.prototype.toString.call(n)+"]"}function formatProperty(n,a,g,v,j,z){var H,W,B;if((B=Object.getOwnPropertyDescriptor(a,j)||{value:a[j]}).get?W=B.set?n.stylize("[Getter/Setter]","special"):n.stylize("[Getter]","special"):B.set&&(W=n.stylize("[Setter]","special")),hasOwnProperty(v,j)||(H="["+j+"]"),!W&&(0>n.seen.indexOf(B.value)?(W=isNull(g)?formatValue(n,B.value,null):formatValue(n,B.value,g-1)).indexOf("\n")>-1&&(W=z?W.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+W.split("\n").map(function(n){return" "+n}).join("\n")):W=n.stylize("[Circular]","special")),isUndefined(H)){if(z&&j.match(/^\d+$/))return W;(H=JSON.stringify(""+j)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(H=H.substr(1,H.length-2),H=n.stylize(H,"name")):(H=H.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),H=n.stylize(H,"string"))}return H+": "+W}function isArray(n){return Array.isArray(n)}function isBoolean(n){return"boolean"==typeof n}function isNull(n){return null===n}function isNumber(n){return"number"==typeof n}function isString(n){return"string"==typeof n}function isUndefined(n){return void 0===n}function isRegExp(n){return isObject(n)&&"[object RegExp]"===objectToString(n)}function isObject(n){return"object"==typeof n&&null!==n}function isDate(n){return isObject(n)&&"[object Date]"===objectToString(n)}function isError(n){return isObject(n)&&("[object Error]"===objectToString(n)||n instanceof Error)}function isFunction(n){return"function"==typeof n}function objectToString(n){return Object.prototype.toString.call(n)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}a.debuglog=function(n){if(isUndefined(v)&&(v=j.env.NODE_DEBUG||""),!H[n=n.toUpperCase()]){if(RegExp("\\b"+n+"\\b","i").test(v)){var g=j.pid;H[n]=function(){var v=a.format.apply(a,arguments);console.error("%s %d: %s",n,g,v)}}else H[n]=function(){}}return H[n]},a.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},a.isArray=isArray,a.isBoolean=isBoolean,a.isNull=isNull,a.isNullOrUndefined=function(n){return null==n},a.isNumber=isNumber,a.isString=isString,a.isSymbol=function(n){return"symbol"==typeof n},a.isUndefined=isUndefined,a.isRegExp=isRegExp,a.isObject=isObject,a.isDate=isDate,a.isError=isError,a.isFunction=isFunction,a.isPrimitive=function(n){return null===n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"symbol"==typeof n||void 0===n},a.isBuffer=g(384);var W=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(n,a){return Object.prototype.hasOwnProperty.call(n,a)}a.log=function(){var n,g;console.log("%s - %s",(g=[pad((n=new Date).getHours()),pad(n.getMinutes()),pad(n.getSeconds())].join(":"),[n.getDate(),W[n.getMonth()],g].join(" ")),a.format.apply(a,arguments))},a.inherits=g(1496),a._extend=function(n,a){if(!a||!isObject(a))return n;for(var g=Object.keys(a),v=g.length;v--;)n[g[v]]=a[g[v]];return n}},2746:function(n,a,g){g(5893)},1363:function(n,a,g){"use strict";g.d(a,{R:function(){return j}});var v,j=((v=j||{}).Space=" ",v.Enter="Enter",v.Escape="Escape",v.Backspace="Backspace",v.Delete="Delete",v.ArrowLeft="ArrowLeft",v.ArrowUp="ArrowUp",v.ArrowRight="ArrowRight",v.ArrowDown="ArrowDown",v.Home="Home",v.End="End",v.PageUp="PageUp",v.PageDown="PageDown",v.Tab="Tab",v)},3781:function(n,a,g){"use strict";g.d(a,{z:function(){return o}});var v=g(7294),j=g(3855);let o=function(n){let a=(0,j.E)(n);return v.useCallback((...n)=>a.current(...n),[a])}},9946:function(n,a,g){"use strict";g.d(a,{M:function(){return B}});var v,j=g(7294),z=g(7896),H=g(6723),W=g(2180);let B=null!=(v=j.useId)?v:function(){let n=(0,W.H)(),[a,g]=j.useState(n?()=>z.O.nextId():null);return(0,H.e)(()=>{null===a&&g(z.O.nextId())},[a]),null!=a?""+a:void 0}},4879:function(n,a,g){"use strict";g.d(a,{t:function(){return f}});var v=g(7294),j=g(6723);function f(){let n=(0,v.useRef)(!1);return(0,j.e)(()=>(n.current=!0,()=>{n.current=!1}),[]),n}},6723:function(n,a,g){"use strict";g.d(a,{e:function(){return l}});var v=g(7294),j=g(7896);let l=(n,a)=>{j.O.isServer?(0,v.useEffect)(n,a):(0,v.useLayoutEffect)(n,a)}},3855:function(n,a,g){"use strict";g.d(a,{E:function(){return s}});var v=g(7294),j=g(6723);function s(n){let a=(0,v.useRef)(n);return(0,j.e)(()=>{a.current=n},[n]),a}},4157:function(n,a,g){"use strict";g.d(a,{f:function(){return T}});var v=g(7294),j=g(6723);function i(n){var a;if(n.type)return n.type;let g=null!=(a=n.as)?a:"button";if("string"==typeof g&&"button"===g.toLowerCase())return"button"}function T(n,a){let[g,z]=(0,v.useState)(()=>i(n));return(0,j.e)(()=>{z(i(n))},[n.type,n.as]),(0,j.e)(()=>{g||a.current&&a.current instanceof HTMLButtonElement&&!a.current.hasAttribute("type")&&z("button")},[g,a]),g}},2180:function(n,a,g){"use strict";g.d(a,{H:function(){return l}});var v,j=g(7294),z=g(7896);function l(){let n;let a=(n="undefined"==typeof document,(0,(v||(v=g.t(j,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!n)),[H,W]=j.useState(z.O.isHandoffComplete);return H&&!1===z.O.isHandoffComplete&&W(!1),j.useEffect(()=>{!0!==H&&W(!0)},[H]),j.useEffect(()=>z.O.handoff(),[]),!a&&H}},3784:function(n,a,g){"use strict";g.d(a,{T:function(){return y}});var v=g(7294),j=g(3781);let z=Symbol();function y(...n){let a=(0,v.useRef)(n);(0,v.useEffect)(()=>{a.current=n},[n]);let g=(0,j.z)(n=>{for(let g of a.current)null!=g&&("function"==typeof g?g(n):g.current=n)});return n.every(n=>null==n||(null==n?void 0:n[z]))?void 0:g}},6045:function(n,a,g){"use strict";g.d(a,{A:function(){return z},_:function(){return H}});var v,j=g(2351),z=((v=z||{})[v.None=1]="None",v[v.Focusable=2]="Focusable",v[v.Hidden=4]="Hidden",v);let H=(0,j.yV)(function(n,a){var g;let{features:v=1,...z}=n,H={ref:a,"aria-hidden":(2&v)==2||(null!=(g=z["aria-hidden"])?g:void 0),hidden:(4&v)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&v)==4&&(2&v)!=2&&{display:"none"}}};return(0,j.sY)({ourProps:H,theirProps:z,slot:{},defaultTag:"div",name:"Hidden"})})},4067:function(n,a,g){"use strict";function t(...n){return Array.from(new Set(n.flatMap(n=>"string"==typeof n?n.split(" "):[]))).filter(Boolean).join(" ")}g.d(a,{A:function(){return t}})},9362:function(n,a,g){"use strict";g.d(a,{k:function(){return function o(){let n=[],a={addEventListener:(n,g,v,j)=>(n.addEventListener(g,v,j),a.add(()=>n.removeEventListener(g,v,j))),requestAnimationFrame(...n){let g=requestAnimationFrame(...n);return a.add(()=>cancelAnimationFrame(g))},nextFrame:(...n)=>a.requestAnimationFrame(()=>a.requestAnimationFrame(...n)),setTimeout(...n){let g=setTimeout(...n);return a.add(()=>clearTimeout(g))},microTask(...n){let g={current:!0};return(0,v.Y)(()=>{g.current&&n[0]()}),a.add(()=>{g.current=!1})},style(n,a,g){let v=n.style.getPropertyValue(a);return Object.assign(n.style,{[a]:g}),this.add(()=>{Object.assign(n.style,{[a]:v})})},group(n){let a=o();return n(a),this.add(()=>a.dispose())},add:a=>(n.push(a),()=>{let g=n.indexOf(a);if(g>=0)for(let a of n.splice(g,1))a()}),dispose(){for(let a of n.splice(0))a()}};return a}}});var v=g(1021)},7896:function(n,a,g){"use strict";g.d(a,{O:function(){return j}});var v=Object.defineProperty,d=(n,a,g)=>a in n?v(n,a,{enumerable:!0,configurable:!0,writable:!0,value:g}):n[a]=g,r=(n,a,g)=>(d(n,"symbol"!=typeof a?a+"":a,g),g);let j=new class{constructor(){r(this,"current",this.detect()),r(this,"handoffState","pending"),r(this,"currentId",0)}set(n){this.current!==n&&(this.handoffState="pending",this.currentId=0,this.current=n)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},4575:function(n,a,g){"use strict";g.d(a,{EO:function(){return _},TO:function(){return en},fE:function(){return er},jA:function(){return O},sP:function(){return h},tJ:function(){return ei},wI:function(){return D},z2:function(){return I}});var v,j,z,H,W,B=g(9362),K=g(2984),ee=g(5466);let et=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(n=>`${n}:not([tabindex='-1'])`).join(",");var en=((v=en||{})[v.First=1]="First",v[v.Previous=2]="Previous",v[v.Next=4]="Next",v[v.Last=8]="Last",v[v.WrapAround=16]="WrapAround",v[v.NoScroll=32]="NoScroll",v),er=((j=er||{})[j.Error=0]="Error",j[j.Overflow=1]="Overflow",j[j.Success=2]="Success",j[j.Underflow=3]="Underflow",j),eo=((z=eo||{})[z.Previous=-1]="Previous",z[z.Next=1]="Next",z);function f(n=document.body){return null==n?[]:Array.from(n.querySelectorAll(et)).sort((n,a)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(a.tabIndex||Number.MAX_SAFE_INTEGER)))}var ei=((H=ei||{})[H.Strict=0]="Strict",H[H.Loose=1]="Loose",H);function h(n,a=0){var g;return n!==(null==(g=(0,ee.r)(n))?void 0:g.body)&&(0,K.E)(a,{0:()=>n.matches(et),1(){let a=n;for(;null!==a;){if(a.matches(et))return!0;a=a.parentElement}return!1}})}function D(n){let a=(0,ee.r)(n);(0,B.k)().nextFrame(()=>{a&&!h(a.activeElement,0)&&(null==n||n.focus({preventScroll:!0}))})}var es=((W=es||{})[W.Keyboard=0]="Keyboard",W[W.Mouse=1]="Mouse",W);function I(n,a=n=>n){return n.slice().sort((n,g)=>{let v=a(n),j=a(g);if(null===v||null===j)return 0;let z=v.compareDocumentPosition(j);return z&Node.DOCUMENT_POSITION_FOLLOWING?-1:z&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _(n,a){return O(f(),a,{relativeTo:n})}function O(n,a,{sorted:g=!0,relativeTo:v=null,skipElements:j=[]}={}){var z,H,W;let B=Array.isArray(n)?n.length>0?n[0].ownerDocument:document:n.ownerDocument,K=Array.isArray(n)?g?I(n):n:f(n);j.length>0&&K.length>1&&(K=K.filter(n=>!j.includes(n))),v=null!=v?v:B.activeElement;let ee=(()=>{if(5&a)return 1;if(10&a)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),et=(()=>{if(1&a)return 0;if(2&a)return Math.max(0,K.indexOf(v))-1;if(4&a)return Math.max(0,K.indexOf(v))+1;if(8&a)return K.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),en=32&a?{preventScroll:!0}:{},er=0,eo=K.length,ei;do{if(er>=eo||er+eo<=0)return 0;let n=et+er;if(16&a)n=(n+eo)%eo;else{if(n<0)return 3;if(n>=eo)return 1}null==(ei=K[n])||ei.focus(en),er+=ee}while(ei!==B.activeElement);return 6&a&&null!=(W=null==(H=null==(z=ei)?void 0:z.matches)?void 0:H.call(z,"textarea,input"))&&W&&ei.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",n=>{n.metaKey||n.altKey||n.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",n=>{1===n.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===n.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},2984:function(n,a,g){"use strict";function u(n,a,...g){if(n in a){let v=a[n];return"function"==typeof v?v(...g):v}let v=Error(`Tried to handle "${n}" but there is no handler defined. Only defined handlers are: ${Object.keys(a).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(v,u),v}g.d(a,{E:function(){return u}})},1021:function(n,a,g){"use strict";function t(n){"function"==typeof queueMicrotask?queueMicrotask(n):Promise.resolve().then(n).catch(n=>setTimeout(()=>{throw n}))}g.d(a,{Y:function(){return t}})},5466:function(n,a,g){"use strict";g.d(a,{r:function(){return o}});var v=g(7896);function o(n){return v.O.isServer?null:n instanceof Node?n.ownerDocument:null!=n&&n.hasOwnProperty("current")&&n.current instanceof Node?n.current.ownerDocument:document}},2351:function(n,a,g){"use strict";g.d(a,{AN:function(){return B},l4:function(){return K},oA:function(){return x},sY:function(){return C},yV:function(){return U}});var v,j,z=g(7294),H=g(4067),W=g(2984),B=((v=B||{})[v.None=0]="None",v[v.RenderStrategy=1]="RenderStrategy",v[v.Static=2]="Static",v),K=((j=K||{})[j.Unmount=0]="Unmount",j[j.Hidden=1]="Hidden",j);function C({ourProps:n,theirProps:a,slot:g,defaultTag:v,features:j,visible:z=!0,name:H,mergeRefs:B}){B=null!=B?B:k;let K=R(a,n);if(z)return m(K,g,v,H,B);let ee=null!=j?j:0;if(2&ee){let{static:n=!1,...a}=K;if(n)return m(a,g,v,H,B)}if(1&ee){let{unmount:n=!0,...a}=K;return(0,W.E)(n?0:1,{0:()=>null,1:()=>m({...a,hidden:!0,style:{display:"none"}},g,v,H,B)})}return m(K,g,v,H,B)}function m(n,a={},g,v,j){let{as:W=g,children:B,refName:K="ref",...ee}=F(n,["unmount","static"]),et=void 0!==n.ref?{[K]:n.ref}:{},en="function"==typeof B?B(a):B;"className"in ee&&ee.className&&"function"==typeof ee.className&&(ee.className=ee.className(a));let er={};if(a){let n=!1,g=[];for(let[v,j]of Object.entries(a))"boolean"==typeof j&&(n=!0),!0===j&&g.push(v);n&&(er["data-headlessui-state"]=g.join(" "))}if(W===z.Fragment&&Object.keys(x(ee)).length>0){if(!(0,z.isValidElement)(en)||Array.isArray(en)&&en.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${v} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ee).map(n=>` - ${n}`).join(` -`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(n=>` - ${n}`).join(` -`)].join(` -`));let n=en.props,a="function"==typeof(null==n?void 0:n.className)?(...a)=>(0,H.A)(null==n?void 0:n.className(...a),ee.className):(0,H.A)(null==n?void 0:n.className,ee.className),g=a?{className:a}:{};return(0,z.cloneElement)(en,Object.assign({},R(en.props,x(F(ee,["ref"]))),er,et,{ref:j(en.ref,et.ref)},g))}return(0,z.createElement)(W,Object.assign({},F(ee,["ref"]),W!==z.Fragment&&et,W!==z.Fragment&&er),en)}function k(...n){return n.every(n=>null==n)?void 0:a=>{for(let g of n)null!=g&&("function"==typeof g?g(a):g.current=a)}}function R(...n){if(0===n.length)return{};if(1===n.length)return n[0];let a={},g={};for(let v of n)for(let n in v)n.startsWith("on")&&"function"==typeof v[n]?(null!=g[n]||(g[n]=[]),g[n].push(v[n])):a[n]=v[n];if(a.disabled||a["aria-disabled"])return Object.assign(a,Object.fromEntries(Object.keys(g).map(n=>[n,void 0])));for(let n in g)Object.assign(a,{[n](a,...v){for(let j of g[n]){if((a instanceof Event||(null==a?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;j(a,...v)}}});return a}function U(n){var a;return Object.assign((0,z.forwardRef)(n),{displayName:null!=(a=n.displayName)?a:n.name})}function x(n){let a=Object.assign({},n);for(let n in a)void 0===a[n]&&delete a[n];return a}function F(n,a=[]){let g=Object.assign({},n);for(let n of a)n in g&&delete g[n];return g}},512:function(n,a,g){"use strict";a.Z=function(){for(var n,a,g=0,v="",j=arguments.length;g2?n.slice(1-n.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent((t.pathname||t.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=n[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3],t.full_name=a[2]+"/"+a[3]);break}2===(a=t.name.split("/")).length?(t.owner=a[1],t.name=a[1],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3]);break}5===(a=t.name.split("/")).length?(t.organization=a[0],t.owner=a[1],t.name=a[4],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:var o=(a=t.name.split("/")).length-1;if(a.length>=2){var s=a.indexOf("-",2),l=a.indexOf("blob",2),u=a.indexOf("tree",2),c=a.indexOf("commit",2),d=a.indexOf("src",2),f=a.indexOf("raw",2),p=a.indexOf("edit",2);o=s>0?s-1:l>0?l-1:u>0?u-1:c>0?c-1:d>0?d-1:f>0?f-1:p>0?p-1:o,t.owner=a.slice(0,o).join("/"),t.name=a[o],c&&(t.commit=a[o+2])}t.ref="",t.filepathtype="",t.filepath="";var h=a.length>o&&"-"===a[o+1]?o+1:o;a.length>h+2&&["raw","src","blob","tree","edit"].indexOf(a[h+1])>=0&&(t.filepathtype=a[h+1],t.ref=a[h+2],a.length>h+3&&(t.filepath=a.slice(h+3).join("/"))),t.organization=t.owner}!t.full_name&&(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=t.owner+"/"+t.name);var m=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=m&&(t.source="bitbucket-server","users"===m[1]?t.owner="~"+m[2]:t.owner=m[2],t.organization=t.owner,t.name=m[3],(a=m[4].split("/")).length>1&&(["raw","browse"].indexOf(a[1])>=0?(t.filepathtype=a[1],a.length>2&&(t.filepath=a.slice(2).join("/"))):"commits"===a[1]&&a.length>2&&(t.commit=a[2])),t.full_name=t.owner+"/"+t.name,t.query.at?t.ref=t.query.at:t.ref=""),t}i.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var n=e.port?":"+e.port:"",r=e.user||"git",i=e.git_suffix?".git":"";switch(t){case"ssh":if(n)return"ssh://"+r+"@"+e.resource+n+"/"+e.full_name+i;return r+"@"+e.resource+":"+e.full_name+i;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+r+"@"+e.resource+n+"/"+e.full_name+i;case"http":case"https":return t+"://"+(e.token?"bitbucket.org"===e.source?"x-token-auth:"+e.token+"@":e.token+"@":e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"")+e.resource+n+"/"+("bitbucket-server"===e.source?"scm/"+e.full_name:""+e.full_name)+i;default:return e.href}},e.exports=i},6337:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var e=function(e){for(var t=e,n=i(t);n;)n=i(t=n.ownerDocument);return t}(window.document),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):c(),t.forEach(function(e){e._checkForIntersections()})}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",r,!0)),l(t,"scroll",r,!0),o&&o.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1})){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}||null}(c,o)),!o)break;s=s&&h(s)}return o}},o.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;it.indexOf(this)&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||c()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(e,t){var n,r,i,a=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(a.root&&1!=a.root.nodeType&&9!=a.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host)?n.host:n}function m(e){return e&&9===e.nodeType}}()},9073:function(e,t,n){"use strict";var r=n(2337);e.exports=function e(t){if(Array.isArray(t))return -1!==t.indexOf("ssh")||-1!==t.indexOf("rsync");if("string"!=typeof t)return!1;var n=r(t);if(t=t.substring(t.indexOf("://")+3),e(n))return!0;var i=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!t.match(i)&&t.indexOf("@")-1},R.prototype.set=function(e,t){var n=this.__data__,r=A(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new N,map:new(O||R),string:new N}},I.prototype.delete=function(e){return L(this,e).delete(e)},I.prototype.get=function(e){return L(this,e).get(e)},I.prototype.has=function(e){return L(this,e).has(e)},I.prototype.set=function(e,t){return L(this,e).set(e,t),this};var M=Z(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(F(e))return S?S.call(e):"";var t=e+"";return"0"==t&&1/e==-a?"-0":t}(t);var t,n=[];return l.test(e)&&n.push(""),e.replace(u,function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)}),n});function Z(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(Z.Cache||I),n}Z.Cache=I;var D=Array.isArray;function z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function F(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==k.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(D(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||F(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}(t,e)?D(n=t)?n:M(n):[t];for(var r=0,i=t.length;null!=e&&r{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function x(e){let[t,n]=o.version.split(".",2),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:g,fill:v,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:k,onLoad:_,onError:j,...E}=e;return(0,a.jsx)("img",{...E,...x(f),loading:h,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(j&&(e.src=e.src),e.complete&&m(e,p,y,b,w,g))},[n,p,y,b,w,j,g,t]),onLoad:e=>{m(e.currentTarget,p,y,b,w,g)},onError:e=>{k(!0),"empty"!==p&&w(!0),j&&j(e)}})});function v(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...x(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let y=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=h||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let x=(0,o.useRef)(l);(0,o.useEffect)(()=>{x.current=l},[l]);let[y,b]=(0,o.useState)(!1),[w,k]=(0,o.useState)(!1),{props:_,meta:j}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:y,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{..._,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:k,ref:t}),j.priority?(0,a.jsx)(v,{isAppRouter:!n,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let r=n(8754),i=n(5893),a=r._(n(7294)),o=n(7950),s=n(7229),l=n(6982),u=n(6921),c=n(7727),d=n(1973),f=n(6216),p=n(1722),h=n(6504),m=n(634),x=n(3412),g=new Set;function v(e,t,n,r,i,a){if(a||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}Promise.resolve(a?e.prefetch(t,i):e.prefetch(t,n,r)).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=a.default.forwardRef(function(e,t){let n,r;let{href:l,as:g,children:b,prefetch:w=null,passHref:k,replace:_,shallow:j,scroll:E,locale:O,onClick:T,onMouseEnter:C,onTouchStart:S,legacyBehavior:N=!1,...R}=e;n=b,N&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let I=a.default.useContext(d.RouterContext),A=a.default.useContext(f.AppRouterContext),L=null!=I?I:A,P=!I,M=!1!==w,Z=null===w?x.PrefetchKind.AUTO:x.PrefetchKind.FULL,{href:D,as:z}=a.default.useMemo(()=>{if(!I){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,o.resolveHref)(I,l,!0);return{href:e,as:g?(0,o.resolveHref)(I,g):t||e}},[I,l,g]),F=a.default.useRef(D),$=a.default.useRef(z);N&&(r=a.default.Children.only(n));let U=N?r&&"object"==typeof r&&r.ref:t,[W,H,G]=(0,p.useIntersection)({rootMargin:"200px"}),V=a.default.useCallback(e=>{($.current!==z||F.current!==D)&&(G(),$.current=z,F.current=D),W(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[z,U,D,G,W]);a.default.useEffect(()=>{L&&H&&M&&v(L,D,z,{locale:O},{kind:Z},P)},[z,D,H,O,M,null==I?void 0:I.locale,L,P,Z]);let B={ref:V,onClick(e){N||"function"!=typeof T||T(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,n,r,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(f):f()}(e,L,D,z,_,j,E,O,P)},onMouseEnter(e){N||"function"!=typeof C||C(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&(M||!P)&&v(L,D,z,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)},onTouchStart(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&(M||!P)&&v(L,D,z,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)}};if((0,u.isAbsoluteUrl)(z))B.href=z;else if(!N||k||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,h.getDomainLocale)(z,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);B.href=t||(0,m.addBasePath)((0,c.addLocale)(z,e,null==I?void 0:I.defaultLocale))}return N?a.default.cloneElement(r,B):(0,i.jsx)("a",{...R,...B,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(7294),i=n(9126),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!a,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:a}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),o.set(n,t),t}(n);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,f.current]),[p,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(1558);let r=n(7386),i=n(4706);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:p=!1,loading:h,className:m,quality:x,width:g,height:v,fill:y=!1,style:b,onLoad:w,onLoadingComplete:k,placeholder:_="empty",blurDataURL:j,fetchPriority:E,layout:O,objectFit:T,objectPosition:C,lazyBoundary:S,lazyRoot:N,...R}=e,{imgConf:I,showAltText:A,blurComplete:L,defaultLoader:P}=t,M=I||i.imageConfigDefault;if("allSizes"in M)s=M;else{let e=[...M.deviceSizes,...M.imageSizes].sort((e,t)=>e-t),t=M.deviceSizes.sort((e,t)=>e-t);s={...M,allSizes:e,deviceSizes:t}}let Z=R.loader||P;delete R.loader,delete R.srcSet;let D="__next_img_default"in Z;if(D){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=Z;Z=t=>{let{config:n,...r}=t;return e(r)}}if(O){"fill"===O&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];e&&(b={...b,...e});let t={responsive:"100vw",fill:"100vw"}[O];t&&!d&&(d=t)}let z="",F=o(g),$=o(v);if("object"==typeof(n=c)&&(a(n)||void 0!==n.src)){let e=a(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,j=j||e.blurDataURL,z=e.src,!y){if(F||$){if(F&&!$){let t=F/e.width;$=Math.round(e.height*t)}else if(!F&&$){let t=$/e.height;F=Math.round(e.width*t)}}else F=e.width,$=e.height}}let U=!p&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:z)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,U=!1),s.unoptimized&&(f=!0),D&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),p&&(E="high");let W=o(x),H=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:T,objectPosition:C}:{},A?{}:{color:"transparent"},b),G=L||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:F,heightInt:$,blurWidth:l,blurHeight:u,blurDataURL:j||"",objectFit:H.objectFit})+'")':'url("'+_+'")',V=G?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},B=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:a,sizes:o,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:a,width:l[c]})}}({config:s,src:c,unoptimized:f,width:F,quality:W,sizes:d,loader:Z});return{props:{...R,loading:U?"lazy":h,fetchPriority:E,width:F,height:$,decoding:"async",className:m,style:{...H,...V},sizes:B.sizes,srcSet:B.srcSet,src:B.src},meta:{unoptimized:f,priority:p,placeholder:_,fill:y}}}},7386:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},9267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getImageProps:function(){return s},default:function(){return l}});let r=n(8754),i=n(1908),a=n(3686),o=r._(n(3293)),s=e=>{let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}},l=a.Image},3293:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},7954:function(){},9008:function(e,t,n){e.exports=n(6665)},5675:function(e,t,n){e.exports=n(9267)},1664:function(e,t,n){e.exports=n(3480)},1163:function(e,t,n){e.exports=n(3035)},8164:function(e,t,n){"use strict";let r;n.d(t,{ZP:function(){return oG}});var i,a,o,s,l,u,c,d,f,p,h,m,x,g,v,y,b,w,k,_,j,E,O,T,C,S,N=n(1163),R=n(7294);n(5202);var I=n(512);function A(){let[e,t]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{t(!0)},[]),e}var L=n(7222),P=()=>{let{locale:e=L.ZW,asPath:t,route:n}=(0,N.useRouter)();return(0,R.useMemo)(()=>{let r=L.hV.has(n)?n:t,{pathname:i}=new URL(r,"https://nextra.vercel.app");return(e?i.replace(RegExp(`\\.${e}(\\/|$)`),"$1"):i).replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[t,e,n])},M=n(2643),Z=n(4861);(i=k||(k={})).assertEqual=e=>e,i.assertIs=function(e){},i.assertNever=function(e){throw Error()},i.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},i.getValidEnumValues=e=>{let t=i.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let r of t)n[r]=e[r];return i.objectValues(n)},i.objectValues=e=>i.objectKeys(e).map(function(t){return e[t]}),i.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},i.find=(e,t)=>{for(let n of e)if(t(n))return n},i.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,i.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},i.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(_||(_={})).mergeShapes=(e,t)=>({...e,...t});let D=k.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),z=e=>{switch(typeof e){case"undefined":return D.undefined;case"string":return D.string;case"number":return isNaN(e)?D.nan:D.number;case"boolean":return D.boolean;case"function":return D.function;case"bigint":return D.bigint;case"symbol":return D.symbol;case"object":if(Array.isArray(e))return D.array;if(null===e)return D.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return D.promise;if("undefined"!=typeof Map&&e instanceof Map)return D.map;if("undefined"!=typeof Set&&e instanceof Set)return D.set;if("undefined"!=typeof Date&&e instanceof Date)return D.date;return D.object;default:return D.unknown}},F=k.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class $ extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;re.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}$.create=e=>new $(e);let U=(e,t)=>{let n;switch(e.code){case F.invalid_type:n=e.received===D.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case F.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,k.jsonStringifyReplacer)}`;break;case F.unrecognized_keys:n=`Unrecognized key(s) in object: ${k.joinValues(e.keys,", ")}`;break;case F.invalid_union:n="Invalid input";break;case F.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${k.joinValues(e.options)}`;break;case F.invalid_enum_value:n=`Invalid enum value. Expected ${k.joinValues(e.options)}, received '${e.received}'`;break;case F.invalid_arguments:n="Invalid function arguments";break;case F.invalid_return_type:n="Invalid function return type";break;case F.invalid_date:n="Invalid date";break;case F.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:k.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case F.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case F.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case F.custom:n="Invalid input";break;case F.invalid_intersection_types:n="Intersection results could not be merged";break;case F.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case F.not_finite:n="Number must be finite";break;default:n=t.defaultError,k.assertNever(e)}return{message:n}},W=U;function H(){return W}let G=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function V(e,t){let n=H(),r=G({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===U?void 0:U].filter(e=>!!e)});e.common.issues.push(r)}class B{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return q;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,r=await e.value;n.push({key:t,value:r})}return B.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return q;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let q=Object.freeze({status:"aborted"}),K=e=>({status:"dirty",value:e}),Y=e=>({status:"valid",value:e}),Q=e=>"aborted"===e.status,J=e=>"dirty"===e.status,X=e=>"valid"===e.status,ee=e=>"undefined"!=typeof Promise&&e instanceof Promise;function et(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function en(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}"function"==typeof SuppressedError&&SuppressedError,(a=j||(j={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},a.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class er{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let ei=(e,t)=>{if(X(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new $(e.common.issues);return this._error=t,this._error}}};function ea(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{var a,o;let{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:i.defaultError}:void 0===i.data?{message:null!==(a=null!=s?s:r)&&void 0!==a?a:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!==(o=null!=s?s:n)&&void 0!==o?o:i.defaultError}},description:i}}class eo{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return z(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:z(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new B,ctx:{common:e.parent.common,data:e.data,parsedType:z(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(ee(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)},i=this._parseSync({data:e,path:r.path,parent:r});return ei(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)},r=this._parse({data:e,path:n.path,parent:n});return ei(n,await (ee(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:F.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new eY({schema:this,typeName:T.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return eQ.create(this,this._def)}nullable(){return eJ.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return eA.create(this,this._def)}promise(){return eK.create(this,this._def)}or(e){return eP.create([this,e],this._def)}and(e){return eD.create(this,e,this._def)}transform(e){return new eY({...ea(this._def),schema:this,typeName:T.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eX({...ea(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:T.ZodDefault})}brand(){return new e4({typeName:T.ZodBranded,type:this,...ea(this._def)})}catch(e){return new e0({...ea(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:T.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return e3.create(this,e)}readonly(){return e5.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let es=/^c[^\s-]{8,}$/i,el=/^[0-9a-z]+$/,eu=/^[0-9A-HJKMNP-TV-Z]{26}$/,ec=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,ed=/^[a-z0-9_-]{21}$/i,ef=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ep=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eh=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,em=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ex=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eg="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",ev=RegExp(`^${eg}$`);function ey(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function eb(e){let t=`${eg}T${ey(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class ew extends eo{_parse(e){var t,n;let i;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==D.string){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.string,received:t.parsedType}),q}let a=new B;for(let o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(V(i=this._getOrReturnCtx(e,i),{code:F.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),a.dirty());else if("length"===o.kind){let t=e.data.length>o.value,n=e.data.lengthe.test(t),{validation:t,code:F.invalid_string,...j.errToObj(n)})}_addCheck(e){return new ew({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...j.errToObj(e)})}url(e){return this._addCheck({kind:"url",...j.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...j.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...j.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...j.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...j.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...j.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...j.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...j.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...j.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,...j.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...j.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...j.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...j.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...j.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...j.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...j.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...j.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...j.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...j.errToObj(t)})}nonempty(e){return this.min(1,j.errToObj(e))}trim(){return new ew({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ew({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ew({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new ew({checks:[],typeName:T.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...ea(e)})};class ek extends eo{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==D.number){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.number,received:t.parsedType}),q}let n=new B;for(let r of this._def.checks)"int"===r.kind?k.isInteger(e.data)||(V(t=this._getOrReturnCtx(e,t),{code:F.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:F.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:F.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(V(t=this._getOrReturnCtx(e,t),{code:F.not_finite,message:r.message}),n.dirty()):k.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,j.toString(t))}gt(e,t){return this.setLimit("min",e,!1,j.toString(t))}lte(e,t){return this.setLimit("max",e,!0,j.toString(t))}lt(e,t){return this.setLimit("max",e,!1,j.toString(t))}setLimit(e,t,n,r){return new ek({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ek({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:j.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:j.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:j.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:j.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:j.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:j.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:j.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:j.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:j.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&k.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.valuenew ek({checks:[],typeName:T.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...ea(e)});class e_ extends eo{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==D.bigint){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.bigint,received:t.parsedType}),q}let n=new B;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:F.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(V(t=this._getOrReturnCtx(e,t),{code:F.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):k.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,j.toString(t))}gt(e,t){return this.setLimit("min",e,!1,j.toString(t))}lte(e,t){return this.setLimit("max",e,!0,j.toString(t))}lt(e,t){return this.setLimit("max",e,!1,j.toString(t))}setLimit(e,t,n,r){return new e_({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new e_({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:j.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:j.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:j.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:j.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:j.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new e_({checks:[],typeName:T.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...ea(e)})};class ej extends eo{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==D.boolean){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.boolean,received:t.parsedType}),q}return Y(e.data)}}ej.create=e=>new ej({typeName:T.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...ea(e)});class eE extends eo{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==D.date){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.date,received:t.parsedType}),q}if(isNaN(e.data.getTime()))return V(this._getOrReturnCtx(e),{code:F.invalid_date}),q;let n=new B;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(V(t=this._getOrReturnCtx(e,t),{code:F.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):k.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new eE({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:j.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:j.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew eE({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:T.ZodDate,...ea(e)});class eO extends eo{_parse(e){if(this._getType(e)!==D.symbol){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.symbol,received:t.parsedType}),q}return Y(e.data)}}eO.create=e=>new eO({typeName:T.ZodSymbol,...ea(e)});class eT extends eo{_parse(e){if(this._getType(e)!==D.undefined){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.undefined,received:t.parsedType}),q}return Y(e.data)}}eT.create=e=>new eT({typeName:T.ZodUndefined,...ea(e)});class eC extends eo{_parse(e){if(this._getType(e)!==D.null){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.null,received:t.parsedType}),q}return Y(e.data)}}eC.create=e=>new eC({typeName:T.ZodNull,...ea(e)});class eS extends eo{constructor(){super(...arguments),this._any=!0}_parse(e){return Y(e.data)}}eS.create=e=>new eS({typeName:T.ZodAny,...ea(e)});class eN extends eo{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Y(e.data)}}eN.create=e=>new eN({typeName:T.ZodUnknown,...ea(e)});class eR extends eo{_parse(e){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.never,received:t.parsedType}),q}}eR.create=e=>new eR({typeName:T.ZodNever,...ea(e)});class eI extends eo{_parse(e){if(this._getType(e)!==D.undefined){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.void,received:t.parsedType}),q}return Y(e.data)}}eI.create=e=>new eI({typeName:T.ZodVoid,...ea(e)});class eA extends eo{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==D.array)return V(t,{code:F.invalid_type,expected:D.array,received:t.parsedType}),q;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(V(t,{code:F.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new er(t,e,t.path,n)))).then(e=>B.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new er(t,e,t.path,n)));return B.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new eA({...this._def,minLength:{value:e,message:j.toString(t)}})}max(e,t){return new eA({...this._def,maxLength:{value:e,message:j.toString(t)}})}length(e,t){return new eA({...this._def,exactLength:{value:e,message:j.toString(t)}})}nonempty(e){return this.min(1,e)}}eA.create=(e,t)=>new eA({type:e,minLength:null,maxLength:null,exactLength:null,typeName:T.ZodArray,...ea(t)});class eL extends eo{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=k.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==D.object){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.object,received:t.parsedType}),q}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof eR&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new er(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof eR){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&(V(n,{code:F.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new er(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>B.mergeObjectSync(t,e)):B.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return j.errToObj,new eL({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,a,o;let s=null!==(a=null===(i=(r=this._def).errorMap)||void 0===i?void 0:i.call(r,t,n).message)&&void 0!==a?a:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=j.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new eL({...this._def,unknownKeys:"strip"})}passthrough(){return new eL({...this._def,unknownKeys:"passthrough"})}extend(e){return new eL({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new eL({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:T.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new eL({...this._def,catchall:e})}pick(e){let t={};return k.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new eL({...this._def,shape:()=>t})}omit(e){let t={};return k.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new eL({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof eL){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=eQ.create(e(i))}return new eL({...t._def,shape:()=>n})}return t instanceof eA?new eA({...t._def,type:e(t.element)}):t instanceof eQ?eQ.create(e(t.unwrap())):t instanceof eJ?eJ.create(e(t.unwrap())):t instanceof ez?ez.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return k.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new eL({...this._def,shape:()=>t})}required(e){let t={};return k.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof eQ;)e=e._def.innerType;t[n]=e}}),new eL({...this._def,shape:()=>t})}keyof(){return eV(k.objectKeys(this.shape))}}eL.create=(e,t)=>new eL({shape:()=>e,unknownKeys:"strip",catchall:eR.create(),typeName:T.ZodObject,...ea(t)}),eL.strictCreate=(e,t)=>new eL({shape:()=>e,unknownKeys:"strict",catchall:eR.create(),typeName:T.ZodObject,...ea(t)}),eL.lazycreate=(e,t)=>new eL({shape:e,unknownKeys:"strip",catchall:eR.create(),typeName:T.ZodObject,...ea(t)});class eP extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new $(e.ctx.common.issues));return V(t,{code:F.invalid_union,unionErrors:n}),q});{let e;let r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new $(e));return V(t,{code:F.invalid_union,unionErrors:i}),q}}get options(){return this._def.options}}eP.create=(e,t)=>new eP({options:e,typeName:T.ZodUnion,...ea(t)});let eM=e=>{if(e instanceof eH)return eM(e.schema);if(e instanceof eY)return eM(e.innerType());if(e instanceof eG)return[e.value];if(e instanceof eB)return e.options;if(e instanceof eq)return k.objectValues(e.enum);if(e instanceof eX)return eM(e._def.innerType);if(e instanceof eT)return[void 0];else if(e instanceof eC)return[null];else if(e instanceof eQ)return[void 0,...eM(e.unwrap())];else if(e instanceof eJ)return[null,...eM(e.unwrap())];else if(e instanceof e4)return eM(e.unwrap());else if(e instanceof e5)return eM(e.unwrap());else if(e instanceof e0)return eM(e._def.innerType);else return[]};class eZ extends eo{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.object)return V(t,{code:F.invalid_type,expected:D.object,received:t.parsedType}),q;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(V(t,{code:F.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),q)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=eM(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(r.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new eZ({typeName:T.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...ea(n)})}}class eD extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(Q(e)||Q(r))return q;let i=function e(t,n){let r=z(t),i=z(n);if(t===n)return{valid:!0,data:t};if(r===D.object&&i===D.object){let r=k.objectKeys(n),i=k.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of i){let i=e(t[r],n[r]);if(!i.valid)return{valid:!1};a[r]=i.data}return{valid:!0,data:a}}if(r===D.array&&i===D.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let i=0;ir(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}eD.create=(e,t,n)=>new eD({left:e,right:t,typeName:T.ZodIntersection,...ea(n)});class ez extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.array)return V(n,{code:F.invalid_type,expected:D.array,received:n.parsedType}),q;if(n.data.lengththis._def.items.length&&(V(n,{code:F.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new er(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>B.mergeArray(t,e)):B.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new ez({...this._def,rest:e})}}ez.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ez({items:e,typeName:T.ZodTuple,rest:null,...ea(t)})};class eF extends eo{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.object)return V(n,{code:F.invalid_type,expected:D.object,received:n.parsedType}),q;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new er(n,e,n.path,e)),value:a._parse(new er(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?B.mergeObjectAsync(t,r):B.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new eF(t instanceof eo?{keyType:e,valueType:t,typeName:T.ZodRecord,...ea(n)}:{keyType:ew.create(),valueType:e,typeName:T.ZodRecord,...ea(t)})}}class e$ extends eo{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.map)return V(n,{code:F.invalid_type,expected:D.map,received:n.parsedType}),q;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new er(n,e,n.path,[a,"key"])),value:i._parse(new er(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return q;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return q;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}e$.create=(e,t,n)=>new e$({valueType:t,keyType:e,typeName:T.ZodMap,...ea(n)});class eU extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.set)return V(n,{code:F.invalid_type,expected:D.set,received:n.parsedType}),q;let r=this._def;null!==r.minSize&&n.data.sizer.maxSize.value&&(V(n,{code:F.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return q;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new er(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eU({...this._def,minSize:{value:e,message:j.toString(t)}})}max(e,t){return new eU({...this._def,maxSize:{value:e,message:j.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eU.create=(e,t)=>new eU({valueType:e,minSize:null,maxSize:null,typeName:T.ZodSet,...ea(t)});class eW extends eo{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.function)return V(t,{code:F.invalid_type,expected:D.function,received:t.parsedType}),q;function n(e,n){return G({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,H(),U].filter(e=>!!e),issueData:{code:F.invalid_arguments,argumentsError:n}})}function r(e,n){return G({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,H(),U].filter(e=>!!e),issueData:{code:F.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eK){let e=this;return Y(async function(...t){let o=new $([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),l=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw o.addIssue(r(l,e)),o})})}{let e=this;return Y(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new $([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new $([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eW({...this._def,args:ez.create(e).rest(eN.create())})}returns(e){return new eW({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eW({args:e||ez.create([]).rest(eN.create()),returns:t||eN.create(),typeName:T.ZodFunction,...ea(n)})}}class eH extends eo{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eH.create=(e,t)=>new eH({getter:e,typeName:T.ZodLazy,...ea(t)});class eG extends eo{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return V(t,{received:t.data,code:F.invalid_literal,expected:this._def.value}),q}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eV(e,t){return new eB({values:e,typeName:T.ZodEnum,...ea(t)})}eG.create=(e,t)=>new eG({value:e,typeName:T.ZodLiteral,...ea(t)});class eB extends eo{constructor(){super(...arguments),E.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return V(t,{expected:k.joinValues(n),received:t.parsedType,code:F.invalid_type}),q}if(et(this,E,"f")||en(this,E,new Set(this._def.values),"f"),!et(this,E,"f").has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return V(t,{received:t.data,code:F.invalid_enum_value,options:n}),q}return Y(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return eB.create(e,{...this._def,...t})}exclude(e,t=this._def){return eB.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}E=new WeakMap,eB.create=eV;class eq extends eo{constructor(){super(...arguments),O.set(this,void 0)}_parse(e){let t=k.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==D.string&&n.parsedType!==D.number){let e=k.objectValues(t);return V(n,{expected:k.joinValues(e),received:n.parsedType,code:F.invalid_type}),q}if(et(this,O,"f")||en(this,O,new Set(k.getValidEnumValues(this._def.values)),"f"),!et(this,O,"f").has(e.data)){let e=k.objectValues(t);return V(n,{received:n.data,code:F.invalid_enum_value,options:e}),q}return Y(e.data)}get enum(){return this._def.values}}O=new WeakMap,eq.create=(e,t)=>new eq({values:e,typeName:T.ZodNativeEnum,...ea(t)});class eK extends eo{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==D.promise&&!1===t.common.async?(V(t,{code:F.invalid_type,expected:D.promise,received:t.parsedType}),q):Y((t.parsedType===D.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eK.create=(e,t)=>new eK({type:e,typeName:T.ZodPromise,...ea(t)});class eY extends eo{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===T.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{V(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return q;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?q:"dirty"===r.status||"dirty"===t.value?K(r.value):r});{if("aborted"===t.value)return q;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?q:"dirty"===r.status||"dirty"===t.value?K(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?q:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?q:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>X(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!X(e))return e;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}k.assertNever(r)}}eY.create=(e,t,n)=>new eY({schema:e,typeName:T.ZodEffects,effect:t,...ea(n)}),eY.createWithPreprocess=(e,t,n)=>new eY({schema:t,effect:{type:"preprocess",transform:e},typeName:T.ZodEffects,...ea(n)});class eQ extends eo{_parse(e){return this._getType(e)===D.undefined?Y(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eQ.create=(e,t)=>new eQ({innerType:e,typeName:T.ZodOptional,...ea(t)});class eJ extends eo{_parse(e){return this._getType(e)===D.null?Y(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eJ.create=(e,t)=>new eJ({innerType:e,typeName:T.ZodNullable,...ea(t)});class eX extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===D.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eX.create=(e,t)=>new eX({innerType:e,typeName:T.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...ea(t)});class e0 extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ee(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new $(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new $(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}e0.create=(e,t)=>new e0({innerType:e,typeName:T.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...ea(t)});class e1 extends eo{_parse(e){if(this._getType(e)!==D.nan){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.nan,received:t.parsedType}),q}return{status:"valid",value:e.data}}}e1.create=e=>new e1({typeName:T.ZodNaN,...ea(e)});let e2=Symbol("zod_brand");class e4 extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class e3 extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?q:"dirty"===e.status?(t.dirty(),K(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?q:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new e3({in:e,out:t,typeName:T.ZodPipeline})}}class e5 extends eo{_parse(e){let t=this._def.innerType._parse(e),n=e=>(X(e)&&(e.value=Object.freeze(e.value)),e);return ee(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function e6(e,t={},n){return e?eS.create().superRefine((r,i)=>{var a,o;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(o=null!==(a=e.fatal)&&void 0!==a?a:n)||void 0===o||o;i.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:s})}}):eS.create()}e5.create=(e,t)=>new e5({innerType:e,typeName:T.ZodReadonly,...ea(t)});let e7={object:eL.lazycreate};(o=T||(T={})).ZodString="ZodString",o.ZodNumber="ZodNumber",o.ZodNaN="ZodNaN",o.ZodBigInt="ZodBigInt",o.ZodBoolean="ZodBoolean",o.ZodDate="ZodDate",o.ZodSymbol="ZodSymbol",o.ZodUndefined="ZodUndefined",o.ZodNull="ZodNull",o.ZodAny="ZodAny",o.ZodUnknown="ZodUnknown",o.ZodNever="ZodNever",o.ZodVoid="ZodVoid",o.ZodArray="ZodArray",o.ZodObject="ZodObject",o.ZodUnion="ZodUnion",o.ZodDiscriminatedUnion="ZodDiscriminatedUnion",o.ZodIntersection="ZodIntersection",o.ZodTuple="ZodTuple",o.ZodRecord="ZodRecord",o.ZodMap="ZodMap",o.ZodSet="ZodSet",o.ZodFunction="ZodFunction",o.ZodLazy="ZodLazy",o.ZodLiteral="ZodLiteral",o.ZodEnum="ZodEnum",o.ZodEffects="ZodEffects",o.ZodNativeEnum="ZodNativeEnum",o.ZodOptional="ZodOptional",o.ZodNullable="ZodNullable",o.ZodDefault="ZodDefault",o.ZodCatch="ZodCatch",o.ZodPromise="ZodPromise",o.ZodBranded="ZodBranded",o.ZodPipeline="ZodPipeline",o.ZodReadonly="ZodReadonly";let e9=ew.create,e8=ek.create,te=e1.create,tt=e_.create,tn=ej.create,tr=eE.create,ti=eO.create,ta=eT.create,to=eC.create,ts=eS.create,tl=eN.create,tu=eR.create,tc=eI.create,td=eA.create,tf=eL.create,tp=eL.strictCreate,th=eP.create,tm=eZ.create,tx=eD.create,tg=ez.create,tv=eF.create,ty=e$.create,tb=eU.create,tw=eW.create,tk=eH.create,t_=eG.create,tj=eB.create,tE=eq.create,tO=eK.create,tT=eY.create,tC=eQ.create,tS=eJ.create,tN=eY.createWithPreprocess,tR=e3.create;var tI=Object.freeze({__proto__:null,defaultErrorMap:U,setErrorMap:function(e){W=e},getErrorMap:H,makeIssue:G,EMPTY_PATH:[],addIssueToContext:V,ParseStatus:B,INVALID:q,DIRTY:K,OK:Y,isAborted:Q,isDirty:J,isValid:X,isAsync:ee,get util(){return k},get objectUtil(){return _},ZodParsedType:D,getParsedType:z,ZodType:eo,datetimeRegex:eb,ZodString:ew,ZodNumber:ek,ZodBigInt:e_,ZodBoolean:ej,ZodDate:eE,ZodSymbol:eO,ZodUndefined:eT,ZodNull:eC,ZodAny:eS,ZodUnknown:eN,ZodNever:eR,ZodVoid:eI,ZodArray:eA,ZodObject:eL,ZodUnion:eP,ZodDiscriminatedUnion:eZ,ZodIntersection:eD,ZodTuple:ez,ZodRecord:eF,ZodMap:e$,ZodSet:eU,ZodFunction:eW,ZodLazy:eH,ZodLiteral:eG,ZodEnum:eB,ZodNativeEnum:eq,ZodPromise:eK,ZodEffects:eY,ZodTransformer:eY,ZodOptional:eQ,ZodNullable:eJ,ZodDefault:eX,ZodCatch:e0,ZodNaN:e1,BRAND:e2,ZodBranded:e4,ZodPipeline:e3,ZodReadonly:e5,custom:e6,Schema:eo,ZodSchema:eo,late:e7,get ZodFirstPartyTypeKind(){return T},coerce:{string:e=>ew.create({...e,coerce:!0}),number:e=>ek.create({...e,coerce:!0}),boolean:e=>ej.create({...e,coerce:!0}),bigint:e=>e_.create({...e,coerce:!0}),date:e=>eE.create({...e,coerce:!0})},any:ts,array:td,bigint:tt,boolean:tn,date:tr,discriminatedUnion:tm,effect:tT,enum:tj,function:tw,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>e6(t=>t instanceof e,t),intersection:tx,lazy:tk,literal:t_,map:ty,nan:te,nativeEnum:tE,never:tu,null:to,nullable:tS,number:e8,object:tf,oboolean:()=>tn().optional(),onumber:()=>e8().optional(),optional:tC,ostring:()=>e9().optional(),pipeline:tR,preprocess:tN,promise:tO,record:tv,set:tb,strictObject:tp,string:e9,symbol:ti,transformer:tT,tuple:tg,undefined:ta,union:th,unknown:tl,void:tc,NEVER:q,ZodIssueCode:F,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:$}),tA=n(1664),tL=n.n(tA);n(6337);var tP=n(5893);let tM=["light","dark"],tZ="(prefers-color-scheme: dark)",tD="undefined"==typeof window,tz=(0,R.createContext)(void 0),tF={setTheme:e=>{},themes:[]},t$=()=>{var e;return null!==(e=(0,R.useContext)(tz))&&void 0!==e?e:tF},tU=e=>(0,R.useContext)(tz)?R.createElement(R.Fragment,null,e.children):R.createElement(tH,e),tW=["light","dark"],tH=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:a=tW,defaultTheme:o=n?"system":"light",attribute:s="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=(0,R.useState)(()=>tV(i,o)),[p,h]=(0,R.useState)(()=>tV(i)),m=l?Object.values(l):a,x=(0,R.useCallback)(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=tq());let a=l?l[i]:i,u=t?tB():null,c=document.documentElement;if("class"===s?(c.classList.remove(...m),a&&c.classList.add(a)):a?c.setAttribute(s,a):c.removeAttribute(s),r){let e=tM.includes(o)?o:null,t=tM.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),g=(0,R.useCallback)(e=>{f(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),v=(0,R.useCallback)(t=>{h(tq(t)),"system"===d&&n&&!e&&x("system")},[d,e]);(0,R.useEffect)(()=>{let e=window.matchMedia(tZ);return e.addListener(v),v(e),()=>e.removeListener(v)},[v]),(0,R.useEffect)(()=>{let e=e=>{e.key===i&&g(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[g]),(0,R.useEffect)(()=>{x(null!=e?e:d)},[e,d]);let y=(0,R.useMemo)(()=>({theme:d,setTheme:g,forcedTheme:e,resolvedTheme:"system"===d?p:d,themes:n?[...a,"system"]:a,systemTheme:n?p:void 0}),[d,g,e,p,n,a]);return R.createElement(tz.Provider,{value:y},R.createElement(tG,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:i,themes:a,defaultTheme:o,attribute:s,value:l,children:u,attrs:m,nonce:c}),u)},tG=(0,R.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,attrs:s,nonce:l})=>{let u="system"===a,c="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?tM.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(e,t=!1,r=!0)=>{let a=o?o[e]:e,s=t?e+"|| ''":`'${a}'`,l="";return i&&r&&!t&&tM.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${s})`:"null":a&&(l+=`d[s](n,${s})`),l},p=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${tZ}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(a,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(a,!1,!1)};}${d}}catch(t){}}();`;return R.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})},()=>!0),tV=(e,t)=>{let n;if(!tD){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},tB=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},tq=e=>(e||(e=window.matchMedia(tZ)),e.matches?"dark":"light");var tK={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tY=tI.strictObject({breadcrumb:tI.boolean(),collapsed:tI.boolean(),footer:tI.boolean(),layout:tI.enum(["default","full","raw"]),navbar:tI.boolean(),pagination:tI.boolean(),sidebar:tI.boolean(),timestamp:tI.boolean(),toc:tI.boolean(),typesetting:tI.enum(["default","article"])}),tQ=tI.enum(["normal","hidden","children"]),tJ=tI.string(),tX=tI.strictObject({href:tI.string(),newWindow:tI.boolean(),title:tJ}),t0=tI.strictObject({display:tQ.optional(),items:tI.record(tX.partial({href:!0,newWindow:!0})),title:tJ,type:tI.literal("menu")}),t1=tI.strictObject({title:tJ.optional(),type:tI.literal("separator")}),t2=tX.extend({display:tQ,theme:tY,title:tJ,type:tI.enum(["page","doc"])}).deepPartial();tI.string().or(t0).or(t1).or(t2);var t4=n(3458),t3=n.n(t4);function t5(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function t6(e){var t=t5(e).Element;return e instanceof t||e instanceof Element}function t7(e){var t=t5(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function t9(e){if("undefined"==typeof ShadowRoot)return!1;var t=t5(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t8=Math.max,ne=Math.min,nt=Math.round;function nn(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function nr(){return!/^((?!chrome|android).)*safari/i.test(nn())}function ni(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&t7(e)&&(i=e.offsetWidth>0&&nt(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&nt(r.height)/e.offsetHeight||1);var o=(t6(e)?t5(e):window).visualViewport,s=!nr()&&n,l=(r.left+(s&&o?o.offsetLeft:0))/i,u=(r.top+(s&&o?o.offsetTop:0))/a,c=r.width/i,d=r.height/a;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function na(e){var t=t5(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function no(e){return e?(e.nodeName||"").toLowerCase():null}function ns(e){return((t6(e)?e.ownerDocument:e.document)||window.document).documentElement}function nl(e){return ni(ns(e)).left+na(e).scrollLeft}function nu(e){return t5(e).getComputedStyle(e)}function nc(e){var t=nu(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function nd(e){var t=ni(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nf(e){return"html"===no(e)?e:e.assignedSlot||e.parentNode||(t9(e)?e.host:null)||ns(e)}function np(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(no(t))>=0?t.ownerDocument.body:t7(t)&&nc(t)?t:e(nf(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=t5(r),o=i?[a].concat(a.visualViewport||[],nc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(np(nf(o)))}function nh(e){return t7(e)&&"fixed"!==nu(e).position?e.offsetParent:null}function nm(e){for(var t=t5(e),n=nh(e);n&&["table","td","th"].indexOf(no(n))>=0&&"static"===nu(n).position;)n=nh(n);return n&&("html"===no(n)||"body"===no(n)&&"static"===nu(n).position)?t:n||function(e){var t=/firefox/i.test(nn());if(/Trident/i.test(nn())&&t7(e)&&"fixed"===nu(e).position)return null;var n=nf(e);for(t9(n)&&(n=n.host);t7(n)&&0>["html","body"].indexOf(no(n));){var r=nu(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var nx="bottom",ng="right",nv="left",ny="auto",nb=["top",nx,ng,nv],nw="start",nk="viewport",n_="popper",nj=nb.reduce(function(e,t){return e.concat([t+"-"+nw,t+"-end"])},[]),nE=[].concat(nb,[ny]).reduce(function(e,t){return e.concat([t,t+"-"+nw,t+"-end"])},[]),nO=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],nT={placement:"bottom",modifiers:[],strategy:"absolute"};function nC(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function nA(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nN(i):null,o=i?nR(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case"top":t={x:s,y:n.y-r.height};break;case nx:t={x:s,y:n.y+n.height};break;case ng:t={x:n.x+n.width,y:l};break;case nv:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nI(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case nw:t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var nL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nP(e){var t,n,r,i,a,o,s,l=e.popper,u=e.popperRect,c=e.placement,d=e.variation,f=e.offsets,p=e.position,h=e.gpuAcceleration,m=e.adaptive,x=e.roundOffsets,g=e.isFixed,v=f.x,y=void 0===v?0:v,b=f.y,w=void 0===b?0:b,k="function"==typeof x?x({x:y,y:w}):{x:y,y:w};y=k.x,w=k.y;var _=f.hasOwnProperty("x"),j=f.hasOwnProperty("y"),E=nv,O="top",T=window;if(m){var C=nm(l),S="clientHeight",N="clientWidth";C===t5(l)&&"static"!==nu(C=ns(l)).position&&"absolute"===p&&(S="scrollHeight",N="scrollWidth"),("top"===c||(c===nv||c===ng)&&"end"===d)&&(O=nx,w-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-u.height,w*=h?1:-1),(c===nv||("top"===c||c===nx)&&"end"===d)&&(E=ng,y-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[N])-u.width,y*=h?1:-1)}var R=Object.assign({position:p},m&&nL),I=!0===x?(t={x:y,y:w},n=t5(l),r=t.x,i=t.y,{x:nt(r*(a=n.devicePixelRatio||1))/a||0,y:nt(i*a)/a||0}):{x:y,y:w};return(y=I.x,w=I.y,h)?Object.assign({},R,((s={})[O]=j?"0":"",s[E]=_?"0":"",s.transform=1>=(T.devicePixelRatio||1)?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",s)):Object.assign({},R,((o={})[O]=j?w+"px":"",o[E]=_?y+"px":"",o.transform="",o))}var nM={left:"right",right:"left",bottom:"top",top:"bottom"};function nZ(e){return e.replace(/left|right|bottom|top/g,function(e){return nM[e]})}var nD={start:"end",end:"start"};function nz(e){return e.replace(/start|end/g,function(e){return nD[e]})}function nF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&t9(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function n$(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nU(e,t,n){var r,i,a,o,s,l,u,c,d,f;return t===nk?n$(function(e,t){var n=t5(e),r=ns(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=nr();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+nl(e),y:l}}(e,n)):t6(t)?((r=ni(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):n$((i=ns(e),o=ns(i),s=na(i),l=null==(a=i.ownerDocument)?void 0:a.body,u=t8(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=t8(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-s.scrollLeft+nl(i),f=-s.scrollTop,"rtl"===nu(l||o).direction&&(d+=t8(o.clientWidth,l?l.clientWidth:0)-u),{width:u,height:c,x:d,y:f}))}function nW(){return{top:0,right:0,bottom:0,left:0}}function nH(e){return Object.assign({},nW(),e)}function nG(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function nV(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u=t,c=u.placement,d=void 0===c?e.placement:c,f=u.strategy,p=void 0===f?e.strategy:f,h=u.boundary,m=u.rootBoundary,x=u.elementContext,g=void 0===x?n_:x,v=u.altBoundary,y=u.padding,b=void 0===y?0:y,w=nH("number"!=typeof b?b:nG(b,nb)),k=e.rects.popper,_=e.elements[void 0!==v&&v?g===n_?"reference":n_:g],j=(n=t6(_)?_:_.contextElement||ns(e.elements.popper),s=(o=[].concat("clippingParents"===(r=void 0===h?"clippingParents":h)?(i=np(nf(n)),t6(a=["absolute","fixed"].indexOf(nu(n).position)>=0&&t7(n)?nm(n):n)?i.filter(function(e){return t6(e)&&nF(e,a)&&"body"!==no(e)}):[]):[].concat(r),[void 0===m?nk:m]))[0],(l=o.reduce(function(e,t){var r=nU(n,t,p);return e.top=t8(r.top,e.top),e.right=ne(r.right,e.right),e.bottom=ne(r.bottom,e.bottom),e.left=t8(r.left,e.left),e},nU(n,s,p))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),E=ni(e.elements.reference),O=nA({reference:E,element:k,strategy:"absolute",placement:d}),T=n$(Object.assign({},k,O)),C=g===n_?T:E,S={top:j.top-C.top+w.top,bottom:C.bottom-j.bottom+w.bottom,left:j.left-C.left+w.left,right:C.right-j.right+w.right},N=e.modifiersData.offset;if(g===n_&&N){var R=N[d];Object.keys(S).forEach(function(e){var t=[ng,nx].indexOf(e)>=0?1:-1,n=["top",nx].indexOf(e)>=0?"y":"x";S[e]+=R[n]*t})}return S}function nB(e,t,n){return t8(e,ne(t,n))}function nq(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function nK(e){return["top",ng,nx,nv].some(function(t){return e[t]>=0})}var nY=(u=void 0===(l=(s={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,o=r.resize,s=void 0===o||o,l=t5(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",n.update,nS)}),s&&l.addEventListener("resize",n.update,nS),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,nS)}),s&&l.removeEventListener("resize",n.update,nS)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=nA({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=n.adaptive,a=n.roundOffsets,o=void 0===a||a,s={placement:nN(t.placement),variation:nR(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nP(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:o})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nP(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];t7(i)&&no(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});t7(r)&&no(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,o=nE.reduce(function(e,n){var r,i,o,s,l,u;return e[n]=(r=t.rects,o=[nv,"top"].indexOf(i=nN(n))>=0?-1:1,l=(s="function"==typeof a?a(Object.assign({},r,{placement:n})):a)[0],u=s[1],l=l||0,u=(u||0)*o,[nv,ng].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=o[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,x=t.options.placement,g=nN(x)===x,v=l||(g||!h?[nZ(x)]:function(e){if(nN(e)===ny)return[];var t=nZ(e);return[nz(e),t,nz(t)]}(x)),y=[x].concat(v).reduce(function(e,n){var r,i,a,o,s,l,f,p,x,g,v,y;return e.concat(nN(n)===ny?(i=(r={placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,a=r.boundary,o=r.rootBoundary,s=r.padding,l=r.flipVariations,p=void 0===(f=r.allowedAutoPlacements)?nE:f,0===(v=(g=(x=nR(i))?l?nj:nj.filter(function(e){return nR(e)===x}):nb).filter(function(e){return p.indexOf(e)>=0})).length&&(v=g),Object.keys(y=v.reduce(function(e,n){return e[n]=nV(t,{placement:n,boundary:a,rootBoundary:o,padding:s})[nN(n)],e},{})).sort(function(e,t){return y[e]-y[t]})):n)},[]),b=t.rects.reference,w=t.rects.popper,k=new Map,_=!0,j=y[0],E=0;E=0,N=S?"width":"height",R=nV(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?ng:nv:C?nx:"top";b[N]>w[N]&&(I=nZ(I));var A=nZ(I),L=[];if(a&&L.push(R[T]<=0),s&&L.push(R[I]<=0,R[A]<=0),L.every(function(e){return e})){j=O,_=!1;break}k.set(O,L)}if(_)for(var P=h?3:1,M=function(e){var t=y.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return j=t,"break"},Z=P;Z>0&&"break"!==M(Z);Z--);t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=n.altAxis,o=n.boundary,s=n.rootBoundary,l=n.altBoundary,u=n.padding,c=n.tether,d=void 0===c||c,f=n.tetherOffset,p=void 0===f?0:f,h=nV(t,{boundary:o,rootBoundary:s,padding:u,altBoundary:l}),m=nN(t.placement),x=nR(t.placement),g=!x,v=nI(m),y="x"===v?"y":"x",b=t.modifiersData.popperOffsets,w=t.rects.reference,k=t.rects.popper,_="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,j="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(b){if(void 0===i||i){var T,C="y"===v?"top":nv,S="y"===v?nx:ng,N="y"===v?"height":"width",R=b[v],I=R+h[C],A=R-h[S],L=d?-k[N]/2:0,P=x===nw?w[N]:k[N],M=x===nw?-k[N]:-w[N],Z=t.elements.arrow,D=d&&Z?nd(Z):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nW(),F=z[C],$=z[S],U=nB(0,w[N],D[N]),W=g?w[N]/2-L-U-F-j.mainAxis:P-U-F-j.mainAxis,H=g?-w[N]/2+L+U+$+j.mainAxis:M+U+$+j.mainAxis,G=t.elements.arrow&&nm(t.elements.arrow),V=G?"y"===v?G.clientTop||0:G.clientLeft||0:0,B=null!=(T=null==E?void 0:E[v])?T:0,q=nB(d?ne(I,R+W-B-V):I,R,d?t8(A,R+H-B):A);b[v]=q,O[v]=q-R}if(void 0!==a&&a){var K,Y,Q="x"===v?"top":nv,J="x"===v?nx:ng,X=b[y],ee="y"===y?"height":"width",et=X+h[Q],en=X-h[J],er=-1!==["top",nv].indexOf(m),ei=null!=(Y=null==E?void 0:E[y])?Y:0,ea=er?et:X-w[ee]-k[ee]-ei+j.altAxis,eo=er?X+w[ee]+k[ee]-ei-j.altAxis:en,es=d&&er?(K=nB(ea,X,eo))>eo?eo:K:nB(d?ea:et,X,d?eo:en);b[y]=es,O[y]=es-X}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,i=e.name,a=e.options,o=r.elements.arrow,s=r.modifiersData.popperOffsets,l=nN(r.placement),u=nI(l),c=[nv,ng].indexOf(l)>=0?"height":"width";if(o&&s){var d=nH("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:nG(t,nb)),f=nd(o),p="y"===u?"top":nv,h="y"===u?nx:ng,m=r.rects.reference[c]+r.rects.reference[u]-s[u]-r.rects.popper[c],x=s[u]-r.rects.reference[u],g=nm(o),v=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,y=d[p],b=v-f[c]-d[h],w=v/2-f[c]/2+(m/2-x/2),k=nB(y,w,b);r.modifiersData[i]=((n={})[u]=k,n.centerOffset=k-w,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&nF(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=nV(t,{elementContext:"reference"}),s=nV(t,{altBoundary:!0}),l=nq(o,r),u=nq(s,i,a),c=nK(l),d=nK(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:l,d=void 0===(c=s.defaultOptions)?nT:c,function(e,t,n){void 0===n&&(n=d);var r,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},nT,d),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],o=!1,s={state:i,setOptions:function(n){var r,o,c,f,p,h="function"==typeof n?n(i.options):n;l(),i.options=Object.assign({},d,i.options,h),i.scrollParents={reference:t6(e)?np(e):e.contextElement?np(e.contextElement):[],popper:np(t)};var m=(o=Object.keys(r=[].concat(u,i.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),c=new Map,f=new Set,p=[],o.forEach(function(e){c.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=c.get(t);n&&e(n)}}),p.push(t)}(e)}),nO.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return i.orderedModifiers=m.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:i,name:t,instance:s,options:void 0===n?{}:n});a.push(o||function(){})}}),s.update()},forceUpdate:function(){if(!o){var e,t,n,r,a,l,u,c,d,f,p,h,m=i.elements,x=m.reference,g=m.popper;if(nC(x,g)){i.rects={reference:(t=nm(g),n="fixed"===i.options.strategy,r=t7(t),c=t7(t)&&(l=nt((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=nt(a.height)/t.offsetHeight||1,1!==l||1!==u),d=ns(t),f=ni(x,c,n),p={scrollLeft:0,scrollTop:0},h={x:0,y:0},(r||!r&&!n)&&(("body"!==no(t)||nc(d))&&(p=(e=t)!==t5(e)&&t7(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:na(e)),t7(t)?(h=ni(t,!0),h.x+=t.clientLeft,h.y+=t.clientTop):d&&(h.x=nl(d))),{x:f.left+p.scrollLeft-h.x,y:f.top+p.scrollTop-h.y,width:f.width,height:f.height}),popper:nd(g)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v=r))));t++);if(n)return a?rm(l,r,0):void(t[t.length]=l)}return!n&&l}function rm(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function rx(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function rg(e,t,n,r,i){let a=0;if(e.constructor===Array){if(i)-1!==(t=e.indexOf(t))?1=this.B&&(d||!c[h])){var a=rf(f,r,p),o="";switch(this.G){case"full":if(2a;s--)if(s-a>=this.B){var l=rf(f,r,p,i,a);rp(this,c,o=h.substring(a,s),l,e,n)}break}case"reverse":if(1=this.B&&rp(this,c,o,rf(f,r,p,i,s),e,n);o=""}case"forward":if(1=this.B&&rp(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,h,p)|0,f-1)),rp(this,c,h,a,e,n),d&&1=this.B&&!i[h]){i[h]=1;let t=this.l&&h>a;rp(this,u,t?a:h,rf(o+(r/2>o?0:1),r,p,s-1,l-1),e,n,t?h:a)}}}}}this.m||(this.register[e]=1)}}return this},C.search=function(e,t,n){let r,i,a;n||(!t&&n2(e)?e=(n=e).query:n2(t)&&(n=t));let o=[],s,l,u=0;if(n){e=n.query||e,t=n.limit,u=n.offset||0;var c=n.context;l=n.suggest}if(e&&1<(s=(e=this.encode(""+e)).length)){n=nX();var d=[];for(let t=0,r=0,i;t=this.B&&!n[i]){if(!this.s&&!l&&!this.map[i])return o;d[r++]=i,n[i]=1}s=(e=d).length}if(!s)return o;for(t||(t=100),c=this.depth&&1{a=e})),i||(i=0)){case 0:if(o="reg",this.m)for(let e in s=nX(),this.register)s[e]=1;else s=this.register;break;case 1:o="cfg",s={doc:0,opt:this.s?1:0};break;case 2:o="map",s=this.map;break;case 3:o="ctx",s=this.h;break;default:void 0===n&&a&&a();return}return rc(e,t||this,n,o,r,i,s,a),l},C.import=function(e,t){if(t)switch(n1(t)&&(t=JSON.parse(t)),e){case"cfg":this.s=!!t.opt;break;case"reg":this.m=!1,this.register=t;break;case"map":this.map=t;break;case"ctx":this.h=t}},ri(rd.prototype);let ry=0;function rb(e){var t;if(!(this instanceof rb))return new rb(e);e?n4(t=e.encode)&&(e.encode=t.toString()):e={},(t=(self||window)._factory)&&(t=t.toString());let r="undefined"==typeof window&&self.exports,i=this;this.o=function(e,t,r){let i;try{i=t?new(n(5789)).Worker("//node/node.js"):e?new Worker(URL.createObjectURL(new Blob(["onmessage="+rv.toString()],{type:"text/javascript"}))):new Worker(n1(r)?r:"worker/worker.js",{type:"module"})}catch(e){}return i}(t,r,e.worker),this.h=nX(),this.o&&(r?this.o.on("message",function(e){i.h[e.id](e.msg),delete i.h[e.id]}):this.o.onmessage=function(e){e=e.data,i.h[e.id](e.msg),delete i.h[e.id]},this.o.postMessage({task:"init",factory:t,options:e}))}function rw(e){rb.prototype[e]=rb.prototype[e+"Async"]=function(){let t;let n=this,r=[].slice.call(arguments);var i=r[r.length-1];return n4(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++ry]=t,n.o.postMessage({task:e,id:ry,args:r})})}),t?(i.then(t),this):i}}function rk(e){if(!(this instanceof rk))return new rk(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=nX(),this.key=(t=n.key||n.id)&&r_(t,this.A)||"id",this.m=nQ(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&nX(),this.I=(t=n.tag)&&r_(t,this.A),this.l=t&&nX(),this.cache=(t=e.cache)&&new rs(t),e.cache=!1,this.o=e.worker,this.async=!1,t=nX();let r=n.index||n.field||n;n1(r)&&(r=[r]);for(let n=0,i,a;nt||n)&&(i=i.slice(n,n+t)),r&&(i=rO.call(this,i)),{tag:e,result:i}}function rO(e){let t=Array(e.length);for(let n=0,r;n{a=e})),i||(i=0),r||(r=0),r()=>e.dispose(),[e]),e}var rD=n(3781),rz=n(4879),rF=n(6723),r$=n(3855),rU=n(2180),rW=n(3784),rH=n(2984);function rG(e,...t){e&&t.length>0&&e.classList.add(...t)}function rV(e,...t){e&&t.length>0&&e.classList.remove(...t)}let rB=(0,R.createContext)(null);rB.displayName="OpenClosedContext";var rq=((f=rq||{})[f.Open=1]="Open",f[f.Closed=2]="Closed",f[f.Closing=4]="Closing",f[f.Opening=8]="Opening",f);function rK(){return(0,R.useContext)(rB)}function rY({value:e,children:t}){return R.createElement(rB.Provider,{value:e},t)}var rQ=n(4067),rJ=n(2351);function rX(e=""){return e.split(/\s+/).filter(e=>e.length>1)}let r0=(0,R.createContext)(null);r0.displayName="TransitionContext";var r1=((p=r1||{}).Visible="visible",p.Hidden="hidden",p);let r2=(0,R.createContext)(null);function r4(e){return"children"in e?r4(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function r3(e,t){let n=(0,r$.E)(e),r=(0,R.useRef)([]),i=(0,rz.t)(),a=rZ(),o=(0,rD.z)((e,t=rJ.l4.Hidden)=>{let o=r.current.findIndex(({el:t})=>t===e);-1!==o&&((0,rH.E)(t,{[rJ.l4.Unmount](){r.current.splice(o,1)},[rJ.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!r4(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rD.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>o(e,rJ.l4.Unmount)}),l=(0,R.useRef)([]),u=(0,R.useRef)(Promise.resolve()),c=(0,R.useRef)({enter:[],leave:[],idle:[]}),d=(0,rD.z)((e,n,r)=>{l.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{l.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,rD.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>n(t))});return(0,R.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function r5(){}r2.displayName="NestingContext";let r6=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function r7(e){var t;let n={};for(let r of r6)n[r]=null!=(t=e[r])?t:r5;return n}let r9=rJ.AN.RenderStrategy,r8=(0,rJ.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,R.useRef)(null),s=(0,rW.T)(o,t);(0,rU.H)();let l=rK();if(void 0===n&&null!==l&&(n=(l&rq.Open)===rq.Open),![!0,!1].includes(n))throw Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,R.useState)(n?"visible":"hidden"),d=r3(()=>{c("hidden")}),[f,p]=(0,R.useState)(!0),h=(0,R.useRef)([n]);(0,rF.e)(()=>{!1!==f&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))},[h,n]);let m=(0,R.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,R.useEffect)(()=>{if(n)c("visible");else if(r4(d)){let e=o.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")},[n,d]);let x={unmount:i},g=(0,rD.z)(()=>{var t;f&&p(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rD.z)(()=>{var t;f&&p(!1),null==(t=e.beforeLeave)||t.call(e)});return R.createElement(r2.Provider,{value:d},R.createElement(r0.Provider,{value:m},(0,rJ.sY)({ourProps:{...x,as:R.Fragment,children:R.createElement(ie,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:R.Fragment,features:r9,visible:"visible"===u,name:"Transition"})))}),ie=(0,rJ.yV)(function(e,t){var n,r,i;let a;let{beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u,enter:c,enterFrom:d,enterTo:f,entered:p,leave:h,leaveFrom:m,leaveTo:x,...g}=e,v=(0,R.useRef)(null),y=(0,rW.T)(v,t),b=null==(n=g.unmount)||n?rJ.l4.Unmount:rJ.l4.Hidden,{show:w,appear:k,initial:_}=function(){let e=(0,R.useContext)(r0);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[j,E]=(0,R.useState)(w?"visible":"hidden"),O=function(){let e=(0,R.useContext)(r2);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:T,unregister:C}=O;(0,R.useEffect)(()=>T(v),[T,v]),(0,R.useEffect)(()=>{if(b===rJ.l4.Hidden&&v.current){if(w&&"visible"!==j){E("visible");return}return(0,rH.E)(j,{hidden:()=>C(v),visible:()=>T(v)})}},[j,v,T,C,w,b]);let S=(0,r$.E)({base:rX(g.className),enter:rX(c),enterFrom:rX(d),enterTo:rX(f),entered:rX(p),leave:rX(h),leaveFrom:rX(m),leaveTo:rX(x)}),N=(i={beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u},a=(0,R.useRef)(r7(i)),(0,R.useEffect)(()=>{a.current=r7(i)},[i]),a),I=(0,rU.H)();(0,R.useEffect)(()=>{if(I&&"visible"===j&&null===v.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[v,j,I]);let A=k&&w&&_,L=I&&(!_||k)?w?"enter":"leave":"idle",P=function(e=0){let[t,n]=(0,R.useState)(e),r=(0,rz.t)(),i=(0,R.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,R.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,R.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,R.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),M=(0,rD.z)(e=>(0,rH.E)(e,{enter:()=>{P.addFlag(rq.Opening),N.current.beforeEnter()},leave:()=>{P.addFlag(rq.Closing),N.current.beforeLeave()},idle:()=>{}})),Z=(0,rD.z)(e=>(0,rH.E)(e,{enter:()=>{P.removeFlag(rq.Opening),N.current.afterEnter()},leave:()=>{P.removeFlag(rq.Closing),N.current.afterLeave()},idle:()=>{}})),D=r3(()=>{E("hidden"),C(v)},O),z=(0,R.useRef)(!1);!function({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=(0,rz.t)(),s=rZ(),l=(0,r$.E)(n);(0,rF.e)(()=>{e&&(l.current="enter")},[e]),(0,rF.e)(()=>{let e=(0,rM.k)();s.add(e.dispose);let n=t.current;if(n&&"idle"!==l.current&&o.current){var u,c,d;let t,o,s,f,p,h,m;return e.dispose(),i.current(l.current),e.add((u=r.current,c="enter"===l.current,d=()=>{e.dispose(),a.current(l.current)},o=c?"enter":"leave",s=(0,rM.k)(),f=void 0!==d?(t={called:!1},(...e)=>{if(!t.called)return t.called=!0,d(...e)}):()=>{},"enter"===o&&(n.removeAttribute("hidden"),n.style.display=""),p=(0,rH.E)(o,{enter:()=>u.enter,leave:()=>u.leave}),h=(0,rH.E)(o,{enter:()=>u.enterTo,leave:()=>u.leaveTo}),m=(0,rH.E)(o,{enter:()=>u.enterFrom,leave:()=>u.leaveFrom}),rV(n,...u.base,...u.enter,...u.enterTo,...u.enterFrom,...u.leave,...u.leaveFrom,...u.leaveTo,...u.entered),rG(n,...u.base,...p,...m),s.nextFrame(()=>{rV(n,...u.base,...p,...m),rG(n,...u.base,...p,...h),function(e,t){let n=(0,rM.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=a+o;if(0!==s){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},s),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(n,()=>(rV(n,...u.base,...p),rG(n,...u.base,...u.entered),f()))}),s.dispose)),e.dispose}},[n])}({immediate:A,container:v,classes:S,direction:L,onStart:(0,r$.E)(e=>{z.current=!0,D.onStart(v,e,M)}),onStop:(0,r$.E)(e=>{z.current=!1,D.onStop(v,e,Z),"leave"!==e||r4(D)||(E("hidden"),C(v))})});let F=g;return A?F={...F,className:(0,rQ.A)(g.className,...S.current.enter,...S.current.enterFrom)}:z.current&&(F.className=(0,rQ.A)(g.className,null==(r=v.current)?void 0:r.className),""===F.className&&delete F.className),R.createElement(r2.Provider,{value:D},R.createElement(rY,{value:(0,rH.E)(j,{visible:rq.Open,hidden:rq.Closed})|P.flags},(0,rJ.sY)({ourProps:{ref:y},theirProps:F,defaultTag:"div",features:r9,visible:"visible"===j,name:"Transition.Child"})))}),it=(0,rJ.yV)(function(e,t){let n=null!==(0,R.useContext)(r0),r=null!==rK();return R.createElement(R.Fragment,null,!n&&r?R.createElement(r8,{ref:t,...e}):R.createElement(ie,{ref:t,...e}))}),ir=Object.assign(r8,{Child:it,Root:r8});var ii=n(634);function ia(e,t){let[n,r]=(0,R.useState)(e),i=(0,r$.E)(e);return(0,rF.e)(()=>r(i.current),[i,r,...t]),n}var io=n(9946),is=n(4575);function il(e,t,n){let r=(0,r$.E)(t);(0,R.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function iu(e,t,n=!0){var r;let i,a=(0,R.useRef)(!1);function o(n,r){if(!a.current||n.defaultPrevented)return;let i=r(n);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(i)||n.composed&&n.composedPath().includes(e))return}return(0,is.sP)(i,is.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,R.useEffect)(()=>{requestAnimationFrame(()=>{a.current=n})},[n]);let s=(0,R.useRef)(null);il("pointerdown",e=>{var t,n;a.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),il("mousedown",e=>{var t,n;a.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),il("click",e=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||s.current&&(o(e,()=>s.current),s.current=null)},!0),il("touchend",e=>o(e,()=>e.target instanceof HTMLElement?e.target:null),!0),r="blur",i=(0,r$.E)(e=>o(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null)),(0,R.useEffect)(()=>{function e(e){i.current(e)}return window.addEventListener(r,e,!0),()=>window.removeEventListener(r,e,!0)},[r,!0])}var ic=n(4157);let id=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function ip(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let o=a?null!=(n=i.innerText)?n:"":r;return id.test(o)&&(o=o.replace(id,"")),o}function ih(e){let t=(0,R.useRef)(""),n=(0,R.useRef)("");return(0,rD.z)(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():ip(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return ip(e).trim()})(r).trim().toLowerCase();return t.current=i,n.current=a,a})}function im(e){return[e.screenX,e.screenY]}function ix(){let e=(0,R.useRef)([-1,-1]);return{wasMoved(t){let n=im(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=im(t)}}}var ig=n(6045);function iv(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}var iy=((h=iy||{})[h.First=0]="First",h[h.Previous=1]="Previous",h[h.Next=2]="Next",h[h.Last=3]="Last",h[h.Specific=4]="Specific",h[h.Nothing=5]="Nothing",h);function ib(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;re){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,is.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let iS={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=iC(e),i=ib(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),a=i?e.options.indexOf(i):-1;return -1===a||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=iC(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=iC(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},iN=(0,R.createContext)(null);function iR(e){let t=(0,R.useContext)(iN);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iR),t}return t}iN.displayName="ListboxActionsContext";let iI=(0,R.createContext)(null);function iA(e){let t=(0,R.useContext)(iI);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iA),t}return t}function iL(e,t){return(0,rH.E)(t.type,iS,e,t)}iI.displayName="ListboxDataContext";let iP=R.Fragment,iM=rJ.AN.RenderStrategy|rJ.AN.Static,iZ=Object.assign((0,rJ.yV)(function(e,t){let{value:n,defaultValue:r,form:i,name:a,onChange:o,by:s=(e,t)=>e===t,disabled:l=!1,horizontal:u=!1,multiple:c=!1,...d}=e,f=u?"horizontal":"vertical",p=(0,rW.T)(t),[h=c?[]:void 0,m]=function(e,t,n){let[r,i]=(0,R.useState)(n),a=void 0!==e,o=(0,R.useRef)(a),s=(0,R.useRef)(!1),l=(0,R.useRef)(!1);return!a||o.current||s.current?a||!o.current||l.current||(l.current=!0,o.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,o.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:r,(0,rD.z)(e=>(a||i(e),null==t?void 0:t(e)))]}(n,o,r),[x,g]=(0,R.useReducer)(iL,{dataRef:(0,R.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,R.useRef)({static:!1,hold:!1}),y=(0,R.useRef)(null),b=(0,R.useRef)(null),w=(0,R.useRef)(null),k=(0,rD.z)("string"==typeof s?(e,t)=>(null==e?void 0:e[s])===(null==t?void 0:t[s]):s),_=(0,R.useCallback)(e=>(0,rH.E)(j.mode,{1:()=>h.some(t=>k(t,e)),0:()=>k(h,e)}),[h]),j=(0,R.useMemo)(()=>({...x,value:h,disabled:l,mode:c?1:0,orientation:f,compare:k,isSelected:_,optionsPropsRef:v,labelRef:y,buttonRef:b,optionsRef:w}),[h,l,c,x]);(0,rF.e)(()=>{x.dataRef.current=j},[j]),iu([j.buttonRef,j.optionsRef],(e,t)=>{var n;g({type:1}),(0,is.sP)(t,is.tJ.Loose)||(e.preventDefault(),null==(n=j.buttonRef.current)||n.focus())},0===j.listboxState);let E=(0,R.useMemo)(()=>({open:0===j.listboxState,disabled:l,value:h}),[j,l,h]),O=(0,rD.z)(e=>{let t=j.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),T=(0,rD.z)(()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];L(e.current.value),g({type:2,focus:iy.Specific,id:t})}}),C=(0,rD.z)(()=>g({type:0})),S=(0,rD.z)(()=>g({type:1})),N=(0,rD.z)((e,t,n)=>e===iy.Specific?g({type:2,focus:iy.Specific,id:t,trigger:n}):g({type:2,focus:e,trigger:n})),I=(0,rD.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rD.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rD.z)(e=>(0,rH.E)(j.mode,{0:()=>null==m?void 0:m(e),1(){let t=j.value.slice(),n=t.findIndex(t=>k(t,e));return -1===n?t.push(e):t.splice(n,1),null==m?void 0:m(t)}})),P=(0,rD.z)(e=>g({type:3,value:e})),M=(0,rD.z)(()=>g({type:4})),Z=(0,R.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:N,closeListbox:S,openListbox:C,selectActiveOption:T,selectOption:O,search:P,clearSearch:M}),[]),D=(0,R.useRef)(null),z=rZ();return(0,R.useEffect)(()=>{D.current&&void 0!==r&&z.addEventListener(D.current,"reset",()=>{null==m||m(r)})},[D,m]),R.createElement(iN.Provider,{value:Z},R.createElement(iI.Provider,{value:j},R.createElement(rY,{value:(0,rH.E)(j.listboxState,{0:rq.Open,1:rq.Closed})},null!=a&&null!=h&&(function e(t={},n=null,r=[]){for(let[i,a]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,a]of i.entries())t(n,iw(r,e.toString()),a);else i instanceof Date?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,`${i}`]):null==i?n.push([r,""]):e(i,r,n)}(r,iw(n,i),a);return r})({[a]:h}).map(([e,t],n)=>R.createElement(ig._,{features:ig.A.Hidden,ref:0===n?e=>{var t;D.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rJ.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,disabled:l,name:e,value:t})})),(0,rJ.sY)({ourProps:{ref:p},theirProps:d,slot:E,defaultTag:iP,name:"Listbox"}))))}),{Button:(0,rJ.yV)(function(e,t){var n;let r=(0,io.M)(),{id:i=`headlessui-listbox-button-${r}`,...a}=e,o=iA("Listbox.Button"),s=iR("Listbox.Button"),l=(0,rW.T)(o.buttonRef,t),u=rZ(),c=(0,rD.z)(e=>{switch(e.key){case i_.R.Space:case i_.R.Enter:case i_.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iy.First)});break;case i_.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iy.Last)})}}),d=(0,rD.z)(e=>{e.key===i_.R.Space&&e.preventDefault()}),f=(0,rD.z)(e=>{if(iv(e.currentTarget))return e.preventDefault();0===o.listboxState?(s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(e.preventDefault(),s.openListbox())}),p=ia(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),h=(0,R.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,ic.f)(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":0===o.listboxState,"aria-labelledby":p,disabled:o.disabled,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rJ.sY)({ourProps:m,theirProps:a,slot:h,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,rJ.yV)(function(e,t){let n=(0,io.M)(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,a=iA("Listbox.Label"),o=iR("Listbox.Label"),s=(0,rW.T)(a.labelRef,t);(0,rF.e)(()=>o.registerLabel(r),[r]);let l=(0,rD.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,R.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rJ.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,rJ.yV)(function(e,t){var n;let r=(0,io.M)(),{id:i=`headlessui-listbox-options-${r}`,...a}=e,o=iA("Listbox.Options"),s=iR("Listbox.Options"),l=(0,rW.T)(o.optionsRef,t),u=rZ(),c=rZ(),d=rK(),f=null!==d?(d&rq.Open)===rq.Open:0===o.listboxState;(0,R.useEffect)(()=>{var e;let t=o.optionsRef.current;t&&0===o.listboxState&&t!==(null==(e=(0,ik.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let p=(0,rD.z)(e=>{switch(c.dispose(),e.key){case i_.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case i_.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];s.onChange(e.current.value)}0===o.mode&&(s.closeListbox(),(0,rM.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case(0,rH.E)(o.orientation,{vertical:i_.R.ArrowDown,horizontal:i_.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.Next);case(0,rH.E)(o.orientation,{vertical:i_.R.ArrowUp,horizontal:i_.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.Previous);case i_.R.Home:case i_.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.First);case i_.R.End:case i_.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.Last);case i_.R.Escape:return e.preventDefault(),e.stopPropagation(),s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case i_.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),h=ia(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.id},[o.buttonRef.current]),m=(0,R.useMemo)(()=>({open:0===o.listboxState}),[o]),x={"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===o.mode||void 0,"aria-labelledby":h,"aria-orientation":o.orientation,id:i,onKeyDown:p,role:"listbox",tabIndex:0,ref:l};return(0,rJ.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:"ul",features:iM,visible:f,name:"Listbox.Options"})}),Option:(0,rJ.yV)(function(e,t){let n=(0,io.M)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...o}=e,s=iA("Listbox.Option"),l=iR("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,R.useRef)(null),f=ih(d),p=(0,r$.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),h=(0,rW.T)(t,d);(0,rF.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rM.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[d,u,s.listboxState,s.activationTrigger,s.activeOptionIndex]),(0,rF.e)(()=>l.registerOption(r,p),[p,r]);let m=(0,rD.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rM.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),x=(0,rD.z)(()=>{if(i)return l.goToOption(iy.Nothing);l.goToOption(iy.Specific,r)}),g=ix(),v=(0,rD.z)(e=>g.update(e)),y=(0,rD.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(iy.Specific,r,0))}),b=(0,rD.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(iy.Nothing))}),w=(0,R.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rJ.sY)({ourProps:{id:r,ref:h,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":c,disabled:void 0,onClick:m,onFocus:x,onPointerEnter:v,onMouseEnter:v,onPointerMove:y,onMouseMove:y,onPointerLeave:b,onMouseLeave:b},theirProps:o,slot:w,defaultTag:"li",name:"Listbox.Option"})})});var iD=n(3935),iz=n(9008),iF=n.n(iz);function i$(){return(i$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var iW=["keyOverride"],iH=["crossOrigin"],iG={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},iV=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,i=r.defaultWidth,a=r.defaultHeight;return t.reduce(function(t,n,r){return t.push(R.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(R.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(R.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(R.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(R.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(R.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(R.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(R.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},iB=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(iG.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,iG.templateTitle&&(s=iG.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(R.createElement("title",{key:"title"},s));var l=void 0===e.noindex?iG.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?iG.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c=e.norobots||iG.norobots,d="";if(e.robotsProps){var f=e.robotsProps,p=f.nosnippet,h=f.maxSnippet,m=f.maxImagePreview,x=f.maxVideoPreview,g=f.noarchive,v=f.noimageindex,y=f.notranslate,b=f.unavailableAfter;d=(p?",nosnippet":"")+(h?",max-snippet:"+h:"")+(m?",max-image-preview:"+m:"")+(g?",noarchive":"")+(b?",unavailable_after:"+b:"")+(v?",noimageindex":"")+(x?",max-video-preview:"+x:"")+(y?",notranslate":"")}if(e.norobots&&(iG.norobots=!0),l||u?(e.dangerouslySetAllPagesToNoIndex&&(iG.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(iG.nofollow=!0),o.push(R.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+d}))):(!c||d)&&o.push(R.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+d})),e.description&&o.push(R.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(R.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(R.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){o.push(R.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(R.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(R.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(R.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(R.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(R.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||s})),(null!=(n=e.openGraph)&&n.description||e.description)&&o.push(R.createElement("meta",{key:"og:description",property:"og:description",content:(null==(a=e.openGraph)?void 0:a.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&o.push(R.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var w=e.openGraph.type.toLowerCase();o.push(R.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(R.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(R.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(R.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(R.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===w&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){o.push(R.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(R.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(R.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(R.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(R.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(R.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){o.push(R.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(R.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===w||"video.episode"===w||"video.tv_show"===w||"video.other"===w)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&o.push(R.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(R.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(R.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(R.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(R.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(iG.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(iG.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,iV("image",e.openGraph.images,{defaultWidth:iG.defaultOpenGraphImageWidth,defaultHeight:iG.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(iG.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(iG.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,iV("video",e.openGraph.videos,{defaultWidth:iG.defaultOpenGraphVideoWidth,defaultHeight:iG.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,iV("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(R.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(R.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(R.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,r=e.keyOverride,i=iU(e,iW);o.push(R.createElement("meta",i$({key:"meta:"+(null!=(t=null!=(n=null!=r?r:i.name)?n:i.property)?t:i.httpEquiv)},i)))}),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,r=iU(e,iH);o.push(R.createElement("link",i$({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),o},iq=function(e){return R.createElement(iF(),null,iB(e))},iK=function(e){var t=e.title,n=e.themeColor,r=e.noindex,i=e.nofollow,a=e.robotsProps,o=e.description,s=e.canonical,l=e.openGraph,u=e.facebook,c=e.twitter,d=e.additionalMetaTags,f=e.titleTemplate,p=e.defaultTitle,h=e.mobileAlternate,m=e.languageAlternates,x=e.additionalLinkTags;return R.createElement(R.Fragment,null,R.createElement(iq,{title:t,themeColor:n,noindex:r,nofollow:i,robotsProps:a,description:o,canonical:s,facebook:u,openGraph:l,additionalMetaTags:d,twitter:c,titleTemplate:f,defaultTitle:p,mobileAlternate:h,languageAlternates:m,additionalLinkTags:x}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var iY=((y=iY||{})[y.Open=0]="Open",y[y.Closed=1]="Closed",y),iQ=((b=iQ||{})[b.Pointer=0]="Pointer",b[b.Other=1]="Other",b),iJ=((w=iJ||{})[w.OpenMenu=0]="OpenMenu",w[w.CloseMenu=1]="CloseMenu",w[w.GoToItem=2]="GoToItem",w[w.Search=3]="Search",w[w.ClearSearch=4]="ClearSearch",w[w.RegisterItem=5]="RegisterItem",w[w.UnregisterItem=6]="UnregisterItem",w);function iX(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,is.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{items:r,activeItemIndex:i}}let i0={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=iX(e),i=ib(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return -1===a||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=iX(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=iX(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},i1=(0,R.createContext)(null);function i2(e){let t=(0,R.useContext)(i1);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,i2),t}return t}function i4(e,t){return(0,rH.E)(t.type,i0,e,t)}i1.displayName="MenuContext";let i3=R.Fragment,i5=rJ.AN.RenderStrategy|rJ.AN.Static,i6=R.Fragment,i7=Object.assign((0,rJ.yV)(function(e,t){let{__demoMode:n=!1,...r}=e,i=(0,R.useReducer)(i4,{__demoMode:n,menuState:n?0:1,buttonRef:(0,R.createRef)(),itemsRef:(0,R.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rW.T)(t);iu([s,o],(e,t)=>{var n;l({type:1}),(0,is.sP)(t,is.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rD.z)(()=>{l({type:1})}),d=(0,R.useMemo)(()=>({open:0===a,close:c}),[a,c]);return R.createElement(i1.Provider,{value:i},R.createElement(rY,{value:(0,rH.E)(a,{0:rq.Open,1:rq.Closed})},(0,rJ.sY)({ourProps:{ref:u},theirProps:r,slot:d,defaultTag:i3,name:"Menu"})))}),{Button:(0,rJ.yV)(function(e,t){var n;let r=(0,io.M)(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,s]=i2("Menu.Button"),l=(0,rW.T)(o.buttonRef,t),u=rZ(),c=(0,rD.z)(e=>{switch(e.key){case i_.R.Space:case i_.R.Enter:case i_.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iy.First}));break;case i_.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iy.Last}))}}),d=(0,rD.z)(e=>{e.key===i_.R.Space&&e.preventDefault()}),f=(0,rD.z)(t=>{if(iv(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(s({type:1}),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),s({type:0})))}),p=(0,R.useMemo)(()=>({open:0===o.menuState}),[o]),h={ref:l,id:i,type:(0,ic.f)(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":0===o.menuState,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rJ.sY)({ourProps:h,theirProps:a,slot:p,defaultTag:"button",name:"Menu.Button"})}),Items:(0,rJ.yV)(function(e,t){var n,r;let i=(0,io.M)(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[s,l]=i2("Menu.Items"),u=(0,rW.T)(s.itemsRef,t),c=function(...e){return(0,R.useMemo)(()=>(0,ik.r)(...e),[...e])}(s.itemsRef),d=rZ(),f=rK(),p=null!==f?(f&rq.Open)===rq.Open:0===s.menuState;(0,R.useEffect)(()=>{let e=s.itemsRef.current;e&&0===s.menuState&&e!==(null==c?void 0:c.activeElement)&&e.focus({preventScroll:!0})},[s.menuState,s.itemsRef,c]),function({container:e,accept:t,walk:n,enabled:r=!0}){let i=(0,R.useRef)(t),a=(0,R.useRef)(n);(0,R.useEffect)(()=>{i.current=t,a.current=n},[t,n]),(0,rF.e)(()=>{if(!e||!r)return;let t=(0,ik.r)(e);if(!t)return;let n=i.current,o=a.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)o(l.currentNode)},[e,r,i,a])}({container:s.itemsRef.current,enabled:0===s.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let h=(0,rD.z)(e=>{var t,n;switch(d.dispose(),e.key){case i_.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case i_.R.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==s.activeItemIndex){let{dataRef:e}=s.items[s.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,is.wI)(s.buttonRef.current);break;case i_.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.Next});case i_.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.Previous});case i_.R.Home:case i_.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.First});case i_.R.End:case i_.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.Last});case i_.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rM.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case i_.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rM.k)().nextFrame(()=>{(0,is.EO)(s.buttonRef.current,e.shiftKey?is.TO.Previous:is.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rD.z)(e=>{e.key===i_.R.Space&&e.preventDefault()}),x=(0,R.useMemo)(()=>({open:0===s.menuState}),[s]),g={"aria-activedescendant":null===s.activeItemIndex||null==(n=s.items[s.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=s.buttonRef.current)?void 0:r.id,id:a,onKeyDown:h,onKeyUp:m,role:"menu",tabIndex:0,ref:u};return(0,rJ.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:"div",features:i5,visible:p,name:"Menu.Items"})}),Item:(0,rJ.yV)(function(e,t){let n=(0,io.M)(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,s]=i2("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,R.useRef)(null),c=(0,rW.T)(t,u);(0,rF.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rM.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[o.__demoMode,u,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=ih(u),f=(0,R.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rF.e)(()=>{f.current.disabled=i},[f,i]),(0,rF.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let p=(0,rD.z)(()=>{s({type:1})}),h=(0,rD.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,is.wI)(o.buttonRef.current)}),m=(0,rD.z)(()=>{if(i)return s({type:2,focus:iy.Nothing});s({type:2,focus:iy.Specific,id:r})}),x=ix(),g=(0,rD.z)(e=>x.update(e)),v=(0,rD.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:iy.Specific,id:r,trigger:0}))}),y=(0,rD.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:iy.Nothing}))}),b=(0,R.useMemo)(()=>({active:l,disabled:i,close:p}),[l,i,p]);return(0,rJ.sY)({ourProps:{id:r,ref:c,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,disabled:void 0,onClick:h,onFocus:m,onPointerEnter:g,onMouseEnter:g,onPointerMove:v,onMouseMove:v,onPointerLeave:y,onMouseLeave:y},theirProps:a,slot:b,defaultTag:i6,name:"Menu.Item"})})}),i9=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i8=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,ae=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,an=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},ar=(e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];let{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!i9(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],h=e;for(;i9(h)&&d(h);){if((h=an(h))===f){p.push(h);break}null!=h&&h===document.body&&ae(h)&&!ae(document.documentElement)||null!=h&&ae(h,c)&&p.push(h)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,x=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:g,scrollY:v}=window,{height:y,width:b,top:w,right:k,bottom:_,left:j}=e.getBoundingClientRect(),{top:E,right:O,bottom:T,left:C}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),S="start"===s||"nearest"===s?w-E:"end"===s?_+T:w+y/2-E+T,N="center"===l?j+b/2-C+O:"end"===l?k+O:j-C,R=[];for(let e=0;e=0&&j>=0&&_<=x&&k<=m&&w>=i&&_<=u&&j>=c&&k<=a)break;let d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),E=parseInt(d.borderTopWidth,10),O=parseInt(d.borderRightWidth,10),T=parseInt(d.borderBottomWidth,10),C=0,I=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-O:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-E-T:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)C="start"===s?S:"end"===s?S-x:"nearest"===s?at(v,v+x,x,E,T,v+S,v+S+y,y):S-x/2,I="start"===l?N:"center"===l?N-m/2:"end"===l?N-m:at(g,g+m,m,h,O,g+N,g+N+b,b),C=Math.max(0,C+v),I=Math.max(0,I+g);else{C="start"===s?S-i-E:"end"===s?S-u+T+L:"nearest"===s?at(i,u,n,E,T+L,S,S+y,y):S-(i+n/2)+L/2,I="start"===l?N-c-h:"center"===l?N-(c+r/2)+A/2:"end"===l?N-a+O+A:at(c,a,r,h,O+A,N,N+b,b);let{scrollLeft:e,scrollTop:o}=t;C=0===M?0:Math.max(0,Math.min(o+C/M,t.scrollHeight-n/M+L)),I=0===P?0:Math.max(0,Math.min(e+I/P,t.scrollWidth-r/P+A)),S+=o-C,N+=e-I}R.push({el:t,top:C,left:I})}return R},ai=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function aa(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(ar(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:a,left:o}of ar(e,ai(t))){let e=a-n.top+n.bottom,t=o-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}var ao=n(6826),as=n.n(ao);/** + * @name match-sorter + * @license MIT license. + * @copyright (c) 2020 Kent C. Dodds + * @author Kent C. Dodds (https://kentcdodds.com) + */let al={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},au=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function ac(e,t,n){void 0===n&&(n={});let{keys:r,threshold:i=al.MATCHES,baseSort:a=au,sorter:o=e=>e.sort((e,t)=>(function(e,t,n){let{rank:r,keyIndex:i}=e,{rank:a,keyIndex:o}=t;return r!==a?r>a?-1:1:i===o?n(e,t):i{let{rank:i,rankedValue:a,keyIndex:o,keyThreshold:l}=e,{itemValue:u,attributes:c}=n,d=ad(u,t,s),f=a,{minRanking:p,maxRanking:h,threshold:m}=c;return d=al.MATCHES?d=p:d>h&&(d=h),d>i&&(i=d,o=r,l=m,f=u),{rankedValue:f,rank:i,keyIndex:o,keyThreshold:l}},{rankedValue:a,rank:al.NO_MATCH,keyIndex:-1,keyThreshold:s.threshold}):{rankedValue:a,rank:ad(a,t,s),keyIndex:-1,keyThreshold:s.threshold}),{rank:u,keyThreshold:c=i}=l;return u>=c&&e.push({...l,item:a,index:o}),e},[])).map(e=>{let{item:t}=e;return t})}function ad(e,t,n){let r;return(e=af(e,n),(t=af(t,n)).length>e.length)?al.NO_MATCH:e===t?al.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?al.EQUAL:e.startsWith(t)?al.STARTS_WITH:e.includes(` ${t}`)?al.WORD_STARTS_WITH:e.includes(t)?al.CONTAINS:1===t.length?al.NO_MATCH:(r="",e.split(" ").forEach(e=>{e.split("-").forEach(e=>{r+=e.substr(0,1)})}),r).includes(t)?al.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let i=r,a=t.length;i-1))return al.NO_MATCH;return function(e){let r=n/t.length;return al.MATCHES+1/e*r}(r-a)}(e,t)}function af(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=as()(e)),e}ac.rankings=al;let ap={maxRanking:1/0,minRanking:-1/0};var ah=n(9013),am=Object.defineProperty,ax=Object.defineProperties,ag=Object.getOwnPropertyDescriptors,av=Object.getOwnPropertySymbols,ay=Object.prototype.hasOwnProperty,ab=Object.prototype.propertyIsEnumerable,aw=(e,t,n)=>t in e?am(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ak=(e,t)=>{for(var n in t||(t={}))ay.call(t,n)&&aw(e,n,t[n]);if(av)for(var n of av(t))ab.call(t,n)&&aw(e,n,t[n]);return e},a_=(e,t)=>ax(e,ag(t)),aj=(e,t)=>{var n={};for(var r in e)ay.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&av)for(var r of av(e))0>t.indexOf(r)&&ab.call(e,r)&&(n[r]=e[r]);return n},aE=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),aO=(0,R.createContext)({}),aT=(0,R.createContext)(e=>e),aC=(0,R.createContext)(null),aS=new WeakMap,aN=(0,R.createContext)(aS),aR=()=>(0,R.useContext)(aO),aI=()=>(0,R.useContext)(aT),aA=()=>(0,R.useContext)(aC),aL=()=>(0,R.useContext)(aN),aP=({children:e})=>{let[t,n]=(0,R.useState)({}),r=(0,R.useRef)(null);return oE&&!r.current&&(r.current=new IntersectionObserver(e=>{n(t=>{let n=ak({},t);for(let t of e)if((null==t?void 0:t.rootBounds)&&aS.has(t.target)){let[e,r]=aS.get(t.target),i=t.boundingClientRect.y+t.boundingClientRect.height<=t.rootBounds.y+t.rootBounds.height,a=t.intersectionRatio>0;n[e]={index:r,aboveHalfViewport:i,insideHalfViewport:a}}let r="",i=1/0,a=-1;for(let e in n)n[e].isActive=!1,n[e].insideHalfViewport&&n[e].indexa&&(a=n[e].index,r=e);return n[r]&&(n[r].isActive=!0),n})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tP.jsx)(aO.Provider,{value:t,children:(0,tP.jsx)(aT.Provider,{value:n,children:(0,tP.jsx)(aN.Provider,{value:aS,children:(0,tP.jsx)(aC.Provider,{value:r.current,children:e})})})})},aM=(0,R.createContext)({menu:!1,setMenu:()=>!1}),aZ=()=>(0,R.useContext)(aM),aD=aM.Provider,az=(0,R.createContext)(ak({title:"",frontMatter:{}},oI));function aF(){return(0,R.useContext)(az)}var a$=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,R.useState)(!1);S||(S=ak(ak({},oI),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&oA.includes(e)?ak(ak({},oI[e]),t):t]))));let a=a_(ak(a_(ak({},S),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tP.jsx)(tU,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tP.jsx)(az.Provider,{value:a,children:(0,tP.jsx)(aD,{value:{menu:r,setMenu:i},children:e})})})},aU=(0,R.createContext)(e=>e),aW=()=>(0,R.useContext)(aU),aH=aU.Provider,aG=Number("14.1.1".split(".")[0]),aV=(0,R.forwardRef)(function(e,t){var{href:n="",children:r,newWindow:i}=e,a=aj(e,["href","children","newWindow"]);let o=aF();return i?(0,tP.jsxs)("a",a_(ak({ref:t,href:n,target:"_blank",rel:"noreferrer"},a),{children:[r,(0,tP.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):n?aG>12||o.newNextLinkBehavior?(0,tP.jsx)(tL(),a_(ak({ref:t,href:n},a),{children:r})):(0,tP.jsx)(tL(),{href:n,passHref:!0,children:(0,tP.jsx)("a",a_(ak({ref:t},a),{children:r}))}):(0,tP.jsx)("a",a_(ak({ref:t},a),{children:r}))});aV.displayName="Anchor";var aB=({repository:e="",title:t,labels:n})=>{let r=t3()(e);if(!r)throw Error("Invalid `docsRepositoryBase` URL!");return r.resource.includes("gitlab")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/-/issues/new?issue[title]=${encodeURIComponent(t)}${n?`&issue[description]=/label${encodeURIComponent(` ~${n} +`)}`:""}`:r.resource.includes("github")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/issues/new?title=${encodeURIComponent(t)}&labels=${n||""}`:"#"};function aq(e,t){return e?"function"!=typeof e?e:(0,tP.jsx)(e,ak({},t)):null}function aK(e,t={}){return("function"==typeof e?e(t):e)||""}function aY(){let{banner:e}=aF();if(!e.text)return null;let t=`try{if(localStorage.getItem(${JSON.stringify(e.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tP.jsxs)("div",{className:(0,I.Z)("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,tP.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:aq(e.text)}),e.dismissible&&(0,tP.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(e.key,"0")}catch(e){}document.body.classList.add("nextra-banner-hidden")},children:(0,tP.jsx)(Z.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function aQ({activePath:e}){return(0,tP.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:e.map((t,n)=>{let r=!t.children||t.withIndexPage,i=n===e.length-1;return(0,tP.jsxs)(R.Fragment,{children:[n>0&&(0,tP.jsx)(Z.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-whitespace-nowrap nx-transition-colors",i?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",r&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:t.title,children:r&&!i?(0,tP.jsx)(aV,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function aJ({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,R.useRef)(null),a=(0,R.useRef)(null),o=(0,R.useRef)(0),s=(0,R.useRef)(n),l=(0,R.useRef)(!0);return(0,R.useEffect)(()=>{let e=i.current,t=a.current,s=o.current;s&&clearTimeout(s),!l.current&&e&&t&&(e.classList.toggle("nx-duration-500",!n),e.classList.toggle("nx-duration-300",n),r?(t.style.width=`${t.clientWidth}px`,e.style.width=`${t.clientWidth}px`):e.style.height=`${t.clientHeight}px`,n?o.current=window.setTimeout(()=>{e.style.removeProperty("height")},300):setTimeout(()=>{r?e.style.width="0px":e.style.height="0px"},0))},[r,n]),(0,R.useEffect)(()=>{l.current=!1},[]),(0,tP.jsx)("div",{ref:i,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:s.current||r?void 0:{height:0},children:(0,tP.jsx)("div",{ref:a,className:(0,I.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",n?"nx-opacity-100":"nx-opacity-0",t),children:e})})}var aX=(0,R.memo)(function({value:e,match:t}){let n;if(!e)return null;let r=e.split(""),i=RegExp((function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})(t.trim()).replaceAll(/\s+/g,"|"),"ig"),a=0,o=[];for(;n=i.exec(e);)if(n.index===i.lastIndex)i.lastIndex++;else{let e=r.splice(0,n.index-a).join(""),t=r.splice(0,i.lastIndex-n.index).join("");o.push(e,(0,tP.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tP.jsxs)(tP.Fragment,{children:[o,r.join("")]})}),a0=(0,R.forwardRef)((e,t)=>{var{className:n,suffix:r}=e,i=aj(e,["className","suffix"]);return(0,tP.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,tP.jsx)("input",ak({ref:t,spellCheck:!1,className:(0,I.Z)(n,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},i)),r]})});a0.displayName="Input";var a1=["input","select","button","textarea"];function a2({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,R.useState)(!1),c=aF(),[d,f]=(0,R.useState)(0),p=(0,N.useRouter)(),{setMenu:h}=aZ(),m=(0,R.useRef)(null),x=(0,R.useRef)(null),[g,v]=(0,R.useState)(!1),[y,b]=(0,R.useState)(!0);(0,R.useEffect)(()=>{f(0)},[n]),(0,R.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||a1.includes(n)||null!=t&&t.isContentEditable||("/"===e.key||"k"===e.key&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),m.current.focus({preventScroll:!0})):"Escape"===e.key&&(u(!1),m.current.blur()))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let w=(0,R.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),h(!1)},[r,h]),k=(0,R.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),_=(0,R.useCallback)(function(e){var t,n,r;switch(e.key){case"ArrowDown":if(d+1 a`);n&&(e.preventDefault(),k({currentTarget:n}),n.focus())}break;case"ArrowUp":if(d-1>=0){let t=null==(n=x.current)?void 0:n.querySelector(`li:nth-of-type(${d}) > a`);t&&(e.preventDefault(),k({currentTarget:t}),t.focus())}break;case"Enter":{let e=s[d];e&&y&&(p.push(e.route),w());break}case"Escape":u(!1),null==(r=m.current)||r.blur()}},[d,s,p,w,k,y]),j=A(),E=l&&!!n,O=(0,tP.jsx)(ir,{show:j&&(!l||!!n),as:R.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)("kbd",{className:(0,I.Z)("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",n?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:n?"Clear":void 0,onClick:()=>{r("")},children:n&&g?"ESC":j&&(navigator.userAgent.includes("Macintosh")?(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),T=(0,R.useCallback)(e=>{b("compositionend"===e.type)},[]);return(0,tP.jsxs)("div",{className:(0,I.Z)("nextra-search nx-relative md:nx-w-64",e),children:[E&&(0,tP.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tP.jsx)(a0,{ref:m,value:n,onChange:e=>{let{value:t}=e.target;r(t),u(!!t)},onFocus:()=>{null==i||i(!0),v(!0)},onBlur:()=>{v(!1)},onCompositionStart:T,onCompositionEnd:T,type:"search",placeholder:aK(c.search.placeholder),onKeyDown:_,suffix:O}),(0,tP.jsx)(ir,{show:E,as:ir.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)("ul",{className:(0,I.Z)("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",t),ref:x,style:{transition:"max-height .2s ease"},children:o?(0,tP.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,tP.jsx)(Z.AV,{className:"nx-h-5 nx-w-5"}),aK(c.search.error)]}):a?(0,tP.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,tP.jsx)(Z.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),aq(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tP.jsxs)(R.Fragment,{children:[t,(0,tP.jsx)("li",{className:(0,I.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",i===d?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,tP.jsx)(aV,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:e,"data-index":i,onFocus:k,onMouseMove:k,onClick:w,onKeyDown:_,children:n})})]},r)):aq(c.search.emptyResult)})})]})}var a4={},a3=new Map,a5=(e,t)=>{let n=e+"@"+t;if(a3.has(n))return a3.get(n);let r=a6(e,t);return a3.set(n,r),r},a6=(e,t)=>aE(void 0,null,function*(){let n=yield fetch(`${e}/_next/static/chunks/nextra-data-${t}.json`),r=yield n.json(),i=new rP.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),a=new rP.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),o=0;for(let[e,t]of Object.entries(r)){let n="";for(let[r,i]of(++o,Object.entries(t.data))){let[s,l]=r.split("#"),u=e+(s?"#"+s:""),c=l||t.title,d=i.split("\n");a.add(ak({id:u,url:u,title:c,pageId:`page_${o}`,content:c},d[0]&&{display:d[0]}));for(let e=0;e{var n,r;if(!e)return;let[i,a]=a4[t],o=(null==(n=i.search(e,5,{enrich:!0,suggest:!0})[0])?void 0:n.result)||[],s=[],u={};for(let t=0;te._page_rk===t._page_rk?e._section_rk-t._section_rk:u[e._page_rk]!==u[t._page_rk]?u[t._page_rk]-u[e._page_rk]:e._page_rk-t._page_rk).map(e=>({id:`${e._page_rk}_${e._section_rk}`,route:e.route,prefix:e.prefix,children:e.children})))},f=(0,R.useCallback)(e=>aE(this,null,function*(){if(e&&!a4[t]){i(!0);try{yield a5(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]);return(0,tP.jsx)(a2,{loading:r,error:a,value:u,onChange:e=>aE(this,null,function*(){if(c(e),!r){if(!a4[t]){i(!0);try{yield a5(n,t)}catch(e){o(!0)}i(!1)}d(e)}}),onActive:f,className:e,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:s})}function a9({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=function(e){let t=(0,R.useRef)(null),n=(0,R.useRef)(null),r=(0,R.useRef)(),i=(0,R.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=nY(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,R.useMemo)(()=>[e=>{t.current=e,i()},e=>{n.current=e,i()}],[t,n,i])}({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:e}){e.styles.popper.minWidth=`${e.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,tP.jsx)(iZ,{value:t,onChange:n,children:({open:n})=>(0,tP.jsxs)(iZ.Button,{ref:a,title:r,className:(0,I.Z)("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",n?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",i),children:[t.name,(0,tP.jsx)(a8,{children:(0,tP.jsx)(ir,{ref:o,show:n,as:iZ.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:e.map(e=>(0,tP.jsxs)(iZ.Option,{value:e,className:({active:e})=>(0,I.Z)(e?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[e.name,e.key===t.key&&(0,tP.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tP.jsx)(Z.nQ,{})})]},e.key))})})]})})}function a8(e){return A()?(0,iD.createPortal)(e.children,document.body):null}function oe({lite:e,className:t}){let n=aF(),{locale:r,asPath:i}=(0,N.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tP.jsx)(a9,{title:"Change language",className:t,onChange:e=>{let t=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${e.key}; expires=${t.toUTCString()}; path=/`,location.href=(0,ii.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tP.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tP.jsx)(Z.n9,{}),(0,tP.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function ot(){var e;let t=aF(),{resolvedTheme:n}=t$(),r=A(),i="function"==typeof t.head?t.head({}):t.head,{primaryHue:a,primarySaturation:o}=t,{dark:s,light:l}="number"==typeof a?{dark:a,light:a}:a,{dark:u,light:c}="number"==typeof o?{dark:o,light:o}:o,d=t.frontMatter;return(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(iK,ak({title:t.title,description:d.description,canonical:d.canonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tP.jsxs)(iF(),{children:[t.faviconGlyph?(0,tP.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${t.faviconGlyph}`}):null,r?(0,tP.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tP.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tP.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tP.jsx)("style",{children:` + :root { + --nextra-primary-hue: ${l}deg; + --nextra-primary-saturation: ${c}%; + --nextra-navbar-height: 4rem; + --nextra-menu-height: 3.75rem; + --nextra-banner-height: 2.5rem; + } + + .dark { + --nextra-primary-hue: ${s}deg; + --nextra-primary-saturation: ${u}%; + } + `}),i]})]})}var on={link:(0,I.Z)("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:(0,I.Z)("nx-inline nx-h-5 nx-shrink-0")},or=({flatDirectories:e,currentIndex:t})=>{let n=aF().navigation,r="boolean"==typeof n?{prev:n,next:n}:n,i=r.prev&&e[t-1],a=r.next&&e[t+1];return(i&&!i.isUnderCurrentDocsTree&&(i=!1),a&&!a.isUnderCurrentDocsTree&&(a=!1),i||a)?(0,tP.jsxs)("div",{className:(0,I.Z)("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[i&&(0,tP.jsxs)(aV,{href:i.route,title:i.title,className:(0,I.Z)(on.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tP.jsx)(Z.LZ,{className:(0,I.Z)(on.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tP.jsxs)(aV,{href:a.route,title:a.title,className:(0,I.Z)(on.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[a.title,(0,tP.jsx)(Z.LZ,{className:(0,I.Z)(on.icon,"rtl:nx-rotate-180")})]})]}):null},oi={link:(0,I.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,I.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,I.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function oa({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tP.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tP.jsxs)(i7,{children:[(0,tP.jsx)(i7.Button,{className:(0,I.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",oi.inactive),children:n}),(0,tP.jsx)(ir,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)(i7.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",children:Object.entries(r||{}).map(([e,n])=>{var r;return(0,tP.jsx)(i7.Item,{children:(0,tP.jsx)(aV,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,I.Z)("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:n.newWindow,children:n.title||e})},e)})})})]})})}var oo=Object.create(null),os=(0,R.createContext)(null),ol=(0,R.createContext)(null),ou=(0,R.createContext)(0),oc=(0,R.memo)(function(e){let t=(0,R.useContext)(ou);return(0,tP.jsx)(ou.Provider,{value:t+1,children:(0,tP.jsx)(of,ak({},e))})}),od={link:(0,I.Z)("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:(0,I.Z)("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:(0,I.Z)("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:(0,I.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,I.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function of({item:e,anchors:t}){let[n]=P().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,R.useContext)(os),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,R.useContext)(ou),{setMenu:l}=aZ(),u=aF(),{theme:c}=e,d=void 0===oo[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s{u.sidebar.autoCollapse?i&&o?oo[e.route]=!0:delete oo[e.route]:(i||o)&&(oo[e.route]=!0)},[i,o,e.route,u.sidebar.autoCollapse]),"menu"===e.type){let t=Object.fromEntries((e.children||[]).map(e=>[e.name,e]));e.children=Object.entries(e.items||{}).map(([n,r])=>{let i=t[n]||a_(ak({name:n},"locale"in e&&{locale:e.locale}),{route:e.route+"/"+n});return ak(ak({},i),r)})}let p="withIndexPage"in e&&e.withIndexPage,h=p?aV:"button";return(0,tP.jsxs)("li",{className:(0,I.Z)({open:d,active:r}),children:[(0,tP.jsxs)(h,{href:p?e.route:void 0,className:(0,I.Z)("nx-items-center nx-justify-between nx-gap-2",!p&&"nx-text-left nx-w-full",od.link,r?od.active:od.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),p){r||n?oo[e.route]=!d:(oo[e.route]=!0,l(!1)),f({});return}r||(oo[e.route]=!d,f({}))},children:[aq(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tP.jsx)(Z.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:(0,I.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tP.jsx)(aJ,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tP.jsx)(om,{className:(0,I.Z)(od.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function op({title:e}){let t=aF();return(0,tP.jsx)("li",{className:(0,I.Z)("[word-break:break-word]",e?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:e?aq(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tP.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function oh({item:e,anchors:t}){let n=P(),r=(0,R.useContext)(ol),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=aR(),{setMenu:o}=aZ(),s=aF();return"separator"===e.type?(0,tP.jsx)(op,{title:e.title}):(0,tP.jsxs)("li",{className:(0,I.Z)(od.list,{active:i}),children:[(0,tP.jsx)(aV,{href:e.href||e.route,newWindow:e.newWindow,className:(0,I.Z)(od.link,i?od.active:od.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:aq(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tP.jsx)("ul",{className:(0,I.Z)(od.list,od.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tP.jsx)("li",{children:(0,tP.jsx)("a",{href:`#${e}`,className:(0,I.Z)(od.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?od.active:od.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function om({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tP.jsx)("ul",{className:(0,I.Z)(od.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tP.jsx)(oc,{item:e,anchors:t},e.name):(0,tP.jsx)(oh,{item:e,anchors:t},e.name):null)})}function ox({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPopover:r=!1,headings:i,includePlaceholder:a}){let o=aF(),{menu:s,setMenu:l}=aZ(),u=(0,N.useRouter)(),[c,d]=(0,R.useState)(null),[f,p]=(0,R.useState)(!0),[h,m]=(0,R.useState)(!1),x=(0,R.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,R.useRef)(null),v=(0,R.useRef)(null),y=A();(0,R.useEffect)(()=>{s?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[s]),(0,R.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{aa(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,R.useEffect)(()=>{l(!1)},[u.asPath,l]);let b=o.i18n.length>0,w=o.darkMode||b||o.sidebar.toggleButton;return(0,tP.jsxs)(tP.Fragment,{children:[a&&r?(0,tP.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tP.jsx)("div",{className:(0,I.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",s?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>l(!1)}),(0,tP.jsxs)("aside",{className:(0,I.Z)("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",f?"md:nx-w-64":"md:nx-w-20",r?"md:nx-hidden":"md:nx-sticky md:nx-self-start",s?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:v,children:[(0,tP.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:aq(o.search.component,{directories:t})}),(0,tP.jsx)(os.Provider,{value:c,children:(0,tP.jsx)(ol.Provider,{value:e=>{d(e)},children:(0,tP.jsxs)("div",{className:(0,I.Z)("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",f?"nextra-scrollbar":"no-scrollbar"),ref:g,children:[(!r||!f)&&(0,tP.jsx)(aJ,{isOpen:f,horizontal:!0,children:(0,tP.jsx)(om,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),y&&window.innerWidth<768&&(0,tP.jsx)(om,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),w&&(0,tP.jsxs)("div",{className:(0,I.Z)("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",f?(0,I.Z)(b&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":h?f?"show":"hide":"off",children:[(0,tP.jsx)(oe,{lite:!f,className:(0,I.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tP.jsx)("div",{className:f&&!b?"nx-grow nx-flex nx-flex-col":"",children:aq(o.themeSwitch.component,{lite:!f||b})}),o.sidebar.toggleButton&&(0,tP.jsx)("button",{title:f?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{p(!f),m(!0)},children:(0,tP.jsx)(Z.Qq,{isOpen:f})})]})]})]})}var og="reach-skip-nav";(0,R.forwardRef)(function(e,t){var{className:n,id:r,label:i="Skip to content",styled:a}=e,o=aj(e,["className","id","label","styled"]);let s=void 0===n?a?(0,I.Z)("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":n;return(0,tP.jsx)("a",a_(ak({},o),{ref:t,href:`#${r||og}`,className:s,"data-reach-skip-link":"",children:i}))}).displayName="SkipNavLink";var ov=(0,R.forwardRef)(function(e,t){var{id:n}=e,r=aj(e,["id"]);return(0,tP.jsx)("div",a_(ak({},r),{ref:t,id:n||og}))});ov.displayName="SkipNavContent";var oy=tI.strictObject({light:tI.string(),dark:tI.string(),system:tI.string()});function ob(){window.scrollTo({top:0,behavior:"smooth"})}function ow({className:e}){let t=(0,R.useRef)(null);return(0,R.useEffect)(()=>{function e(){var e;let{scrollTop:n}=document.documentElement;null==(e=t.current)||e.classList.toggle("nx-opacity-0",n<300)}return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,tP.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:ob,className:(0,I.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tP.jsx)(Z.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var ok=(0,I.Z)("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function o_({className:e,directories:t}){let[n,r]=(0,R.useState)(""),i=(0,R.useMemo)(()=>n?ac(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tP.jsx)(aX,{value:t,match:n})})):[],[n,t]);return(0,tP.jsx)(a2,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var oj="en-US",oE="undefined"!=typeof window;function oO(e){return"function"==typeof e}var oT=tI.array(tI.strictObject({direction:tI.enum(["ltr","rtl"]).optional(),locale:tI.string(),text:tI.string()})),oC=[function(e){return null==e||"string"==typeof e||oO(e)||(0,R.isValidElement)(e)},{message:"Must be React.ReactNode or React.FC"}],oS=[oO,{message:"Must be React.FC"}];tI.strictObject({banner:tI.strictObject({dismissible:tI.boolean(),key:tI.string(),text:tI.custom(...oC).optional()}),chat:tI.strictObject({icon:tI.custom(...oC),link:tI.string().startsWith("https://").optional()}),components:tI.record(tI.custom(...oS)).optional(),darkMode:tI.boolean(),direction:tI.enum(["ltr","rtl"]),docsRepositoryBase:tI.string().startsWith("https://"),editLink:tI.strictObject({component:tI.custom(...oS).or(tI.null()),text:tI.custom(...oC)}),faviconGlyph:tI.string().optional(),feedback:tI.strictObject({content:tI.custom(...oC),labels:tI.string(),useLink:tI.function().returns(tI.string())}),footer:tI.strictObject({component:tI.custom(...oC),text:tI.custom(...oC)}),gitTimestamp:tI.custom(...oC),head:tI.custom(...oC),i18n:oT,logo:tI.custom(...oC),logoLink:tI.boolean().or(tI.string()),main:tI.custom(...oS).optional(),navbar:tI.strictObject({component:tI.custom(...oC),extraContent:tI.custom(...oC).optional()}),navigation:tI.boolean().or(tI.strictObject({next:tI.boolean(),prev:tI.boolean()})),nextThemes:tI.strictObject({defaultTheme:tI.string(),forcedTheme:tI.string().optional(),storageKey:tI.string()}),notFound:tI.strictObject({content:tI.custom(...oC),labels:tI.string()}),primaryHue:tI.number().or(tI.strictObject({dark:tI.number(),light:tI.number()})),primarySaturation:tI.number().or(tI.strictObject({dark:tI.number(),light:tI.number()})),project:tI.strictObject({icon:tI.custom(...oC),link:tI.string().startsWith("https://").optional()}),search:tI.strictObject({component:tI.custom(...oC),emptyResult:tI.custom(...oC),error:tI.string().or(tI.function().returns(tI.string())),loading:tI.custom(...oC),placeholder:tI.string().or(tI.function().returns(tI.string()))}),serverSideError:tI.strictObject({content:tI.custom(...oC),labels:tI.string()}),sidebar:tI.strictObject({autoCollapse:tI.boolean().optional(),defaultMenuCollapseLevel:tI.number().min(1).int(),titleComponent:tI.custom(...oC),toggleButton:tI.boolean()}),themeSwitch:tI.strictObject({component:tI.custom(...oC),useOptions:oy.or(tI.function().returns(oy))}),toc:tI.strictObject({backToTop:tI.boolean(),component:tI.custom(...oC),extraContent:tI.custom(...oC),float:tI.boolean(),headingComponent:tI.custom(...oS).optional(),title:tI.custom(...oC)}),useNextSeoProps:tI.custom(oO)}).deepPartial().extend({i18n:oT.optional()});var oN={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},oR={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},oI={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(Z.D7,{}),(0,tP.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:e,filePath:t,children:n}){let r=function(e=""){let t=aF(),n=t3()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}(t);return r?(0,tP.jsx)(aV,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=aF();return aB({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:function({menu:e}){let t=aF();return(0,tP.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,tP.jsxs)("div",{className:(0,I.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",e&&(t.i18n.length>0||t.darkMode)?"nx-flex":"nx-hidden"),children:[(0,tP.jsx)(oe,{}),t.darkMode&&aq(t.themeSwitch.component)]}),(0,tP.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:aq(t.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=oj}=(0,N.useRouter)();return(0,tP.jsxs)(tP.Fragment,{children:["Last updated on"," ",(0,tP.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tP.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tP.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tP.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tP.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tP.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:function({flatDirectories:e,items:t}){let n=aF(),r=P(),{menu:i,setMenu:a}=aZ();return(0,tP.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,tP.jsx)("div",{className:(0,I.Z)("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,tP.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[n.logoLink?(0,tP.jsx)(aV,{href:"string"==typeof n.logoLink?n.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:aq(n.logo)}):(0,tP.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:aq(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type)return(0,tP.jsxs)(oa,{className:(0,I.Z)(oi.link,"nx-flex nx-gap-1",oi.inactive),menu:e,children:[e.title,(0,tP.jsx)(Z.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},e.title);let t=e.href||e.route||"#";e.children&&(t=(e.withIndexPage?e.route:e.firstChildRoute)||t);let n=e.route===r||r.startsWith(e.route+"/");return(0,tP.jsxs)(aV,{href:t,className:(0,I.Z)(oi.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!n||e.newWindow?oi.inactive:oi.active),newWindow:e.newWindow,"aria-current":!e.newWindow&&n,children:[(0,tP.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:e.title}),(0,tP.jsx)("span",{className:"nx-invisible nx-font-medium",children:e.title})]},t)}),aq(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tP.jsx)(aV,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:aq(n.project.icon)}):null,n.chat.link?(0,tP.jsx)(aV,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:aq(n.chat.icon)}):null,aq(n.navbar.extraContent),(0,tP.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>a(!i),children:(0,tP.jsx)(Z.Oq,{className:(0,I.Z)({open:i})})})]})]})}},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(Z.fy,{}),(0,tP.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return aF().flexsearch?(0,tP.jsx)(a7,{className:e}):(0,tP.jsx)(o_,{className:e,directories:t})},emptyResult:(0,tP.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:e,defaultLocale:t=oj}=(0,N.useRouter)(),n=e&&oN[e]||oN[t];return(0,tP.jsxs)(tP.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=oj}=(0,N.useRouter)(),n=e&&oR[e]||oR[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tP.jsx)(tP.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:function({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=t$(),a=A(),o=aF().themeSwitch,s=a&&"dark"===r?Z.kL:Z.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tP.jsx)(a9,{className:t,title:"Change theme",options:[{key:"light",name:l.light},{key:"dark",name:l.dark},{key:"system",name:l.system}],onChange:e=>{n(e.key)},selected:{key:i,name:(0,tP.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tP.jsx)(s,{}),(0,tP.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})},useOptions(){let{locale:e}=(0,N.useRouter)();return"zh-CN"===e?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:function({headings:e,filePath:t}){var n;let r=aR(),i=aF(),a=(0,R.useRef)(null),o=(0,R.useMemo)(()=>e.filter(e=>e.depth>1),[e]),s=o.length>0,l=!!(i.feedback.content||i.editLink.component||i.toc.extraContent),u=null==(n=Object.entries(r).find(([,{isActive:e}])=>e))?void 0:n[0];return(0,R.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&aa(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tP.jsxs)("div",{ref:a,className:(0,I.Z)("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[s&&(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:aq(i.toc.title)}),(0,tP.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tP.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tP.jsx)("a",{href:`#${e}`,className:(0,I.Z)({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[n],"nx-inline-block",(null==(a=r[e])?void 0:a.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(l=null==(s=(o=i.toc).headingComponent)?void 0:s.call(o,{id:e,children:t}))?l:t})},e)})})]}),l&&(0,tP.jsxs)("div",{className:(0,I.Z)(s&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[i.feedback.content?(0,tP.jsx)(aV,{className:ok,href:i.feedback.useLink(),newWindow:!0,children:aq(i.feedback.content)}):null,aq(i.editLink.component,{filePath:t,className:ok,children:aq(i.editLink.text)}),aq(i.toc.extraContent),i.toc.backToTop&&(0,tP.jsx)(ow,{className:ok})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},oA=Object.entries(oI).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,R.isValidElement)(t))return e}).filter(Boolean);if(oE){let e;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function oL(e){var{tag:t,context:n,children:r,id:i,className:a}=e,o=aj(e,["tag","context","children","id","className"]);let s=aI(),l=aL(),u=aA(),c=(0,R.useRef)(null);return(0,R.useEffect)(()=>{if(!i)return;let e=c.current;if(e)return l.set(e,[i,n.index+=1]),null==u||u.observe(e),()=>{null==u||u.disconnect(),l.delete(e),s(e=>{let t=ak({},e);return delete t[i],t})}},[i,n,l,u,s]),(0,tP.jsxs)(t,a_(ak({className:"sr-only"===a?"nx-sr-only":(0,I.Z)("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[t])},o),{children:[r,i&&(0,tP.jsx)("a",{href:`#${i}`,id:i,className:"subheading-anchor","aria-label":"Permalink for this section",ref:c})]}))}var oP=e=>{let t=null,n=[];return R.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===oZ){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==oM&&"props"in e&&e.props){let n=oP(e.props.children);t=n[0],a=(0,R.cloneElement)(e,a_(ak({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},oM=e=>{var{children:t,open:n}=e,r=aj(e,["children","open"]);let[i,a]=(0,R.useState)(!!n),[o,s]=oP(t),[l,u]=(0,R.useState)(i);return(0,R.useEffect)(()=>{if(i)u(!0);else{let e=setTimeout(()=>u(i),500);return()=>clearTimeout(e)}},[i]),(0,tP.jsxs)("details",a_(ak(a_(ak({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},r),{open:l}),i&&{"data-expanded":!0}),{children:[(0,tP.jsx)(aH,{value:a,children:o}),(0,tP.jsx)(aJ,{isOpen:i,children:s})]}))},oZ=e=>{let t=aW();return(0,tP.jsx)("summary",a_(ak({className:(0,I.Z)("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},e),{onClick:e=>{e.preventDefault(),t(e=>!e)}}))},oD=/https?:\/\//,oz=e=>{var{href:t="",className:n}=e,r=aj(e,["href","className"]);return(0,tP.jsx)(aV,ak({href:t,newWindow:oD.test(t),className:(0,I.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",n)},r))},oF=e=>{var{href:t=""}=e,n=aj(e,["href"]);return(0,tP.jsx)(aV,ak({href:t,newWindow:oD.test(t)},n))},o$=({isRawLayout:e,components:t})=>{if(e)return{a:oF};let n={index:0};return ak({h1:e=>(0,tP.jsx)("h1",ak({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},e)),h2:e=>(0,tP.jsx)(oL,ak({tag:"h2",context:n},e)),h3:e=>(0,tP.jsx)(oL,ak({tag:"h3",context:n},e)),h4:e=>(0,tP.jsx)(oL,ak({tag:"h4",context:n},e)),h5:e=>(0,tP.jsx)(oL,ak({tag:"h5",context:n},e)),h6:e=>(0,tP.jsx)(oL,ak({tag:"h6",context:n},e)),ul:e=>(0,tP.jsx)("ul",ak({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),ol:e=>(0,tP.jsx)("ol",ak({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),li:e=>(0,tP.jsx)("li",ak({className:"nx-my-2"},e)),blockquote:e=>(0,tP.jsx)("blockquote",ak({className:(0,I.Z)("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},e)),hr:e=>(0,tP.jsx)("hr",ak({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},e)),a:oz,table:e=>(0,tP.jsx)(ah.iA,ak({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tP.jsx)("p",ak({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:ah.Tr,th:ah.Th,td:ah.Td,details:oM,summary:oZ,pre:ah.SU,code:ah.EK},t)},oU={toc:(0,I.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,I.Z)("nx-w-full nx-break-words")},oW=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=aF(),s=A();if("raw"===e.layout)return(0,tP.jsx)("div",{className:oU.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tP.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:aq(o.gitTimestamp,{timestamp:l})}):(0,tP.jsx)("div",{className:"nx-mt-16"}),c=(0,tP.jsxs)(tP.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tP.jsx)("article",{className:(0,I.Z)(oU.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:d}):(0,tP.jsx)("article",{className:(0,I.Z)(oU.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===e.typesetting&&"nextra-body-typesetting-article"),children:(0,tP.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[t,d]})})},oH=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=aF(),{locale:s=oj,defaultLocale:l}=(0,N.useRouter)(),u=P(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:p,topLevelNavbarItems:h,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,R.useMemo)(()=>(function e({list:t,locale:n,defaultLocale:r,route:i,docsRoot:a="",underCurrentDocsRoot:o=!1,pageThemeContext:s=tK}){let l,u;for(let e of t)if("Meta"===e.kind){if(e.locale===n){l=e.data;break}l||(l=e.data)}let c=l||{},d=Object.keys(c);for(let e of d)"string"==typeof c[e]&&(c[e]={title:c[e]});let f=[],p=[],h=[],m=[],x=[],g=0,v=s,y=[],b=-1,w=c["*"]||{};delete w.title,delete w.href;let k=t.filter(e=>"Meta"!==e.kind&&!e.name.startsWith("_")&&(!("locale"in e)||!e.locale||[n,r].includes(e.locale))).sort((e,t)=>{let n=d.indexOf(e.name),r=d.indexOf(t.name);return -1===n&&-1===r?e.name{let t;let n=[],r=d.indexOf(e.name);if(-1!==r){for(let e=b+1;e({...l,type:_,...T&&{title:T},...b&&{display:b},...O&&{children:[]}}),S=C(),N=C(),R=C();if(N.isUnderCurrentDocsTree=E,"separator"===_&&(S.isUnderCurrentDocsTree=E),l.route===i)switch(y=[S],u=_,v={...v,...j},_){case"page":case"menu":g=x.length;break;case"doc":g=m.length}if(!("hidden"===b&&"Folder"!==S.kind||L.hV.has(l.route))){if(O){if(void 0!==O.activeIndex&&void 0!==O.activeType){switch(v=O.activeThemeContext,u=O.activeType,y=[S,...O.activePath],u){case"page":case"menu":g=x.length+O.activeIndex;break;case"doc":g=m.length+O.activeIndex}l.withIndexPage&&"doc"===_&&g++}switch(_){case"page":case"menu":R.children.push(...O.directories),h.push(...O.docsDirectories),O.flatDirectories.length?(R.firstChildRoute=function e(t){for(let n of t){if(n.route)return n.route;if(n.children){let t=e(n.children);if(t)return t}}}(O.flatDirectories),x.push(R)):R.withIndexPage&&x.push(R);break;case"doc":Array.isArray(N.children)&&N.children.push(...O.docsDirectories),S.withIndexPage&&"children"!==b&&m.push(N)}p.push(...O.flatDirectories),m.push(...O.flatDocsDirectories),Array.isArray(S.children)&&S.children.push(...O.directories)}else switch(p.push(S),_){case"page":case"menu":x.push(R);break;case"doc":m.push(N)}switch("doc"===_&&"children"===b?N.children&&(f.push(...N.children),h.push(...N.children)):f.push(S),_){case"page":case"menu":h.push(R);break;case"doc":"children"!==b&&h.push(N);break;case"separator":h.push(S)}}}return{activeType:u,activeIndex:g,activeThemeContext:v,activePath:y,directories:f,flatDirectories:p,docsDirectories:h,flatDocsDirectories:m,topLevelNavbarItems:x}})({list:t,locale:s,defaultLocale:l,route:u}),[t,s,l,u]),y=ak(ak({},f),n),b=!y.sidebar||"raw"===y.layout||"page"===c,w="page"!==c&&y.toc&&"default"===y.layout?(0,tP.jsx)("nav",{className:(0,I.Z)(oU.toc,"nx-px-4"),"aria-label":"table of contents",children:aq(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==y.layout&&"raw"!==y.layout&&(0,tP.jsx)("nav",{className:oU.toc,"aria-label":"table of contents"}),k=o.i18n.find(e=>e.locale===s),_=(k?"rtl"===k.direction:"rtl"===o.direction)?"rtl":"ltr";return(0,tP.jsxs)("div",{dir:_,children:[(0,tP.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${_}')`}}),(0,tP.jsx)(ot,{}),(0,tP.jsx)(aY,{}),y.navbar&&aq(o.navbar.component,{flatDirectories:x,items:h}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-mx-auto nx-flex","raw"!==y.layout&&"nx-max-w-[90rem]"),children:(0,tP.jsxs)(aP,{children:[(0,tP.jsx)(ox,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:b,includePlaceholder:"default"===y.layout}),w,(0,tP.jsx)(ov,{}),(0,tP.jsx)(oW,{themeContext:y,breadcrumb:"page"!==c&&y.breadcrumb?(0,tP.jsx)(aQ,{activePath:p}):null,timestamp:i,navigation:"page"!==c&&y.pagination?(0,tP.jsx)(or,{flatDirectories:g,currentIndex:d}):null,children:(0,tP.jsx)(M.Z,{components:o$({isRawLayout:"raw"===y.layout,components:o.components}),children:a})})]})}),y.footer&&aq(o.footer.component,{menu:b})]})};function oG(e){var{children:t}=e,n=aj(e,["children"]);return(0,tP.jsx)(a$,{value:n,children:(0,tP.jsx)(oH,a_(ak({},n.pageOpts),{children:t}))})}},9013:function(e,t,n){"use strict";n.d(t,{UW:function(){return f},EK:function(){return m},SU:function(){return x},OK:function(){return q},iA:function(){return Q},mQ:function(){return K},Td:function(){return Y},Th:function(){return J},Tr:function(){return X}});var r,i,a,o=n(512),s=n(5893),l=({children:e,className:t,...n})=>(0,s.jsx)("button",{className:(0,o.Z)("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",t),...n,children:e}),u=n(4861),c={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,s.jsx)(u.AV,{className:"nx-mt-1"}),warning:"⚠️"},d={default:(0,o.Z)("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),error:(0,o.Z)("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),info:(0,o.Z)("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),warning:(0,o.Z)("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200")};function f({children:e,type:t="default",emoji:n=c[t]}){return(0,s.jsxs)("div",{className:(0,o.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",d[t]),children:[(0,s.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:n}),(0,s.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:e})]})}var p=n(7294),h=({getValue:e,...t})=>{let[n,r]=(0,p.useState)(!1);(0,p.useEffect)(()=>{if(!n)return;let e=setTimeout(()=>{r(!1)},2e3);return()=>{clearTimeout(e)}},[n]);let i=(0,p.useCallback)(async()=>{r(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(e())}catch{console.error("Failed to copy!")}},[e]),a=n?u.nQ:u.TI;return(0,s.jsx)(l,{onClick:i,title:"Copy code",tabIndex:0,...t,children:(0,s.jsx)(a,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},m=({children:e,className:t,...n})=>(0,s.jsx)("code",{className:(0,o.Z)("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10","data-line-numbers"in n&&"[counter-reset:line]",t),dir:"ltr",...n,children:e}),x=({children:e,className:t,hasCopyCode:n,filename:r,...i})=>{let a=(0,p.useRef)(null),c=(0,p.useCallback)(()=>{let e=document.documentElement.dataset;"nextraWordWrap"in e?delete e.nextraWordWrap:e.nextraWordWrap=""},[]);return(0,s.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[r&&(0,s.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:r}),(0,s.jsx)("pre",{className:(0,o.Z)("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",r?"nx-pt-12 nx-pb-4":"nx-py-4",t),ref:a,...i,children:e}),(0,s.jsxs)("div",{className:(0,o.Z)("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",r?"nx-top-8":"nx-top-0"),children:[(0,s.jsx)(l,{onClick:c,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,s.jsx)(u.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),n&&(0,s.jsx)(h,{getValue:()=>a.current?.querySelector("code")?.textContent||""})]})]})},g=n(1363),v=n(3781),y=n(9946),b=n(6723),w=n(3855),k=n(4157),_=n(3784),j=n(4879),E=n(6045);function O({onFocus:e}){let[t,n]=(0,p.useState)(!0),r=(0,j.t)();return t?p.createElement(E._,{as:"button",type:"button",features:E.A.Focusable,onFocus:t=>{t.preventDefault();let i,a=50;i=requestAnimationFrame(function t(){if(a--<=0){i&&cancelAnimationFrame(i);return}if(e()){if(cancelAnimationFrame(i),!r.current)return;n(!1);return}i=requestAnimationFrame(t)})}}):null}var T=n(4575),C=n(2984),S=n(1021),N=n(5466),R=n(2351);let I=p.createContext(null);function A({children:e}){let t=p.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let i=null!=(n=r.get(t))?n:0;return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return p.createElement(I.Provider,{value:t},e)}function L(e){let t=p.useContext(I);if(!t)throw Error("You must wrap your component in a ");let n=function(){var e,t,n;let r=null!=(n=null==(t=null==(e=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!r)return Symbol();let i=[],a=r;for(;a;)i.push(a.index),a=a.return;return"$."+i.join(".")}(),[r,i]=t.current.get(e,n);return p.useEffect(()=>i,[]),r}var P=((r=P||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),M=((i=M||{})[i.Less=-1]="Less",i[i.Equal=0]="Equal",i[i.Greater=1]="Greater",i),Z=((a=Z||{})[a.SetSelectedIndex=0]="SetSelectedIndex",a[a.RegisterTab=1]="RegisterTab",a[a.UnregisterTab=2]="UnregisterTab",a[a.RegisterPanel=3]="RegisterPanel",a[a.UnregisterPanel=4]="UnregisterPanel",a);let D={0(e,t){var n;let r=(0,T.z2)(e.tabs,e=>e.current),i=(0,T.z2)(e.panels,e=>e.current),a=r.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),o={...e,tabs:r,panels:i};if(t.index<0||t.index>r.length-1){let n=(0,C.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,C.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===a.length)return o;let i=(0,C.E)(n,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});return{...o,selectedIndex:-1===i?e.selectedIndex:i}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find(e=>a.includes(e));if(!l)return o;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return -1===u&&(u=e.selectedIndex),{...o,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,T.z2)([...e.tabs,t.tab],e=>e.current),i=e.selectedIndex;return e.info.current.isControlled||-1===(i=r.indexOf(n))&&(i=e.selectedIndex),{...e,tabs:r,selectedIndex:i}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,T.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},z=(0,p.createContext)(null);function F(e){let t=(0,p.useContext)(z);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,F),t}return t}z.displayName="TabsDataContext";let $=(0,p.createContext)(null);function U(e){let t=(0,p.useContext)($);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,U),t}return t}function W(e,t){return(0,C.E)(t.type,D,e,t)}$.displayName="TabsActionsContext";let H=p.Fragment,G=R.AN.RenderStrategy|R.AN.Static,V=Object.assign((0,R.yV)(function(e,t){var n,r;let i=(0,y.M)(),{id:a=`headlessui-tabs-tab-${i}`,...o}=e,{orientation:s,activation:l,selectedIndex:u,tabs:c,panels:d}=F("Tab"),f=U("Tab"),h=F("Tab"),m=(0,p.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>f.registerTab(m),[f,m]);let w=L("tabs"),j=c.indexOf(m);-1===j&&(j=w);let E=j===u,O=(0,v.z)(e=>{var t;let n=e();if(n===T.fE.Success&&"auto"===l){let e=null==(t=(0,N.r)(m))?void 0:t.activeElement,n=h.tabs.findIndex(t=>t.current===e);-1!==n&&f.change(n)}return n}),I=(0,v.z)(e=>{let t=c.map(e=>e.current).filter(Boolean);if(e.key===g.R.Space||e.key===g.R.Enter){e.preventDefault(),e.stopPropagation(),f.change(j);return}switch(e.key){case g.R.Home:case g.R.PageUp:return e.preventDefault(),e.stopPropagation(),O(()=>(0,T.jA)(t,T.TO.First));case g.R.End:case g.R.PageDown:return e.preventDefault(),e.stopPropagation(),O(()=>(0,T.jA)(t,T.TO.Last))}if(O(()=>(0,C.E)(s,{vertical:()=>e.key===g.R.ArrowUp?(0,T.jA)(t,T.TO.Previous|T.TO.WrapAround):e.key===g.R.ArrowDown?(0,T.jA)(t,T.TO.Next|T.TO.WrapAround):T.fE.Error,horizontal:()=>e.key===g.R.ArrowLeft?(0,T.jA)(t,T.TO.Previous|T.TO.WrapAround):e.key===g.R.ArrowRight?(0,T.jA)(t,T.TO.Next|T.TO.WrapAround):T.fE.Error}))===T.fE.Success)return e.preventDefault()}),A=(0,p.useRef)(!1),P=(0,v.z)(()=>{var e;A.current||(A.current=!0,null==(e=m.current)||e.focus({preventScroll:!0}),f.change(j),(0,S.Y)(()=>{A.current=!1}))}),M=(0,v.z)(e=>{e.preventDefault()}),Z=(0,p.useMemo)(()=>{var t;return{selected:E,disabled:null!=(t=e.disabled)&&t}},[E,e.disabled]),D={ref:x,onKeyDown:I,onMouseDown:M,onClick:P,id:a,role:"tab",type:(0,k.f)(e,m),"aria-controls":null==(r=null==(n=d[j])?void 0:n.current)?void 0:r.id,"aria-selected":E,tabIndex:E?0:-1};return(0,R.sY)({ourProps:D,theirProps:o,slot:Z,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,R.yV)(function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:i=!1,onChange:a,selectedIndex:o=null,...s}=e,l=r?"vertical":"horizontal",u=i?"manual":"auto",c=null!==o,d=(0,w.E)({isControlled:c}),f=(0,_.T)(t),[h,m]=(0,p.useReducer)(W,{info:d,selectedIndex:null!=o?o:n,tabs:[],panels:[]}),x=(0,p.useMemo)(()=>({selectedIndex:h.selectedIndex}),[h.selectedIndex]),g=(0,w.E)(a||(()=>{})),y=(0,w.E)(h.tabs),k=(0,p.useMemo)(()=>({orientation:l,activation:u,...h}),[l,u,h]),j=(0,v.z)(e=>(m({type:1,tab:e}),()=>m({type:2,tab:e}))),E=(0,v.z)(e=>(m({type:3,panel:e}),()=>m({type:4,panel:e}))),C=(0,v.z)(e=>{S.current!==e&&g.current(e),c||m({type:0,index:e})}),S=(0,w.E)(c?e.selectedIndex:h.selectedIndex),N=(0,p.useMemo)(()=>({registerTab:j,registerPanel:E,change:C}),[]);return(0,b.e)(()=>{m({type:0,index:null!=o?o:n})},[o]),(0,b.e)(()=>{if(void 0===S.current||h.tabs.length<=0)return;let e=(0,T.z2)(h.tabs,e=>e.current);e.some((e,t)=>h.tabs[t]!==e)&&C(e.indexOf(h.tabs[S.current]))}),p.createElement(A,null,p.createElement($.Provider,{value:N},p.createElement(z.Provider,{value:k},k.tabs.length<=0&&p.createElement(O,{onFocus:()=>{var e,t;for(let n of y.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),(0,R.sY)({ourProps:{ref:f},theirProps:s,slot:x,defaultTag:H,name:"Tabs"}))))}),List:(0,R.yV)(function(e,t){let{orientation:n,selectedIndex:r}=F("Tab.List"),i=(0,_.T)(t);return(0,R.sY)({ourProps:{ref:i,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,R.yV)(function(e,t){let{selectedIndex:n}=F("Tab.Panels"),r=(0,_.T)(t),i=(0,p.useMemo)(()=>({selectedIndex:n}),[n]);return(0,R.sY)({ourProps:{ref:r},theirProps:e,slot:i,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,R.yV)(function(e,t){var n,r,i,a;let o=(0,y.M)(),{id:s=`headlessui-tabs-panel-${o}`,tabIndex:l=0,...u}=e,{selectedIndex:c,tabs:d,panels:f}=F("Tab.Panel"),h=U("Tab.Panel"),m=(0,p.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>h.registerPanel(m),[h,m,s]);let g=L("panels"),v=f.indexOf(m);-1===v&&(v=g);let w=v===c,k=(0,p.useMemo)(()=>({selected:w}),[w]),j={ref:x,id:s,role:"tabpanel","aria-labelledby":null==(r=null==(n=d[v])?void 0:n.current)?void 0:r.id,tabIndex:w?l:-1};return w||null!=(i=u.unmount)&&!i||null!=(a=u.static)&&a?(0,R.sY)({ourProps:j,theirProps:u,slot:k,defaultTag:"div",features:G,visible:w,name:"Tabs.Panel"}):p.createElement(E._,{as:"span","aria-hidden":"true",...j})})});function B(e){return!!e&&"object"==typeof e&&"label"in e}function q({children:e,...t}){return(0,s.jsx)(V.Panel,{...t,className:"nx-rounded nx-pt-6",children:e})}var K=Object.assign(function({items:e,selectedIndex:t,defaultIndex:n=0,onChange:r,children:i,storageKey:a}){let[l,u]=(0,p.useState)(n);(0,p.useEffect)(()=>{void 0!==t&&u(t)},[t]),(0,p.useEffect)(()=>{if(!a)return;function e(e){e.key===a&&u(Number(e.newValue))}let t=Number(localStorage.getItem(a));return u(Number.isNaN(t)?0:t),window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[]);let c=(0,p.useCallback)(e=>{if(a){let t=String(e);localStorage.setItem(a,t),window.dispatchEvent(new StorageEvent("storage",{key:a,newValue:t}));return}u(e),r?.(e)},[]);return(0,s.jsxs)(V.Group,{selectedIndex:l,defaultIndex:n,onChange:c,children:[(0,s.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,s.jsx)(V.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:e.map((e,t)=>{let n=B(e)&&e.disabled;return(0,s.jsx)(V,{disabled:n,className:({selected:e})=>(0,o.Z)("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",e?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",n&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:B(e)?e.label:e},t)})})}),(0,s.jsx)(V.Panels,{children:i})]})},{displayName:"Tabs",Tab:q}),Y=({className:e="",...t})=>(0,s.jsx)("td",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",e),...t}),Q=({className:e="",...t})=>(0,s.jsx)("table",{className:(0,o.Z)("nx-block nx-overflow-x-scroll",e),...t}),J=({className:e="",...t})=>(0,s.jsx)("th",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",e),...t}),X=({className:e="",...t})=>(0,s.jsx)("tr",{className:(0,o.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",e),...t}),ee=n(1664),et=n.n(ee),en={cards:(0,o.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,o.Z)("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:(0,o.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},er=(0,s.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:e,num:t=3,className:n,style:r,...i}){return(0,s.jsx)("div",{className:(0,o.Z)(en.cards,n),...i,style:{...r,"--rows":t},children:e})},{displayName:"Cards",Card:function({children:e,title:t,icon:n,image:r,arrow:i,href:a,...l}){let u=i?er:null;return r?(0,s.jsxs)(et(),{href:a,className:(0,o.Z)(en.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...l,children:[e,(0,s.jsxs)("span",{className:(0,o.Z)(en.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[n,(0,s.jsxs)("span",{className:"nx-flex nx-gap-1",children:[t,u]})]})]}):(0,s.jsx)(et(),{href:a,className:(0,o.Z)(en.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...l,children:(0,s.jsxs)("span",{className:(0,o.Z)(en.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[n,t,u]})})}});var ei=(0,p.createContext)(0);function ea(){return(0,p.useContext)(ei)}function eo(){let e=ea();return(0,s.jsx)(s.Fragment,{children:Array.from({length:e},(e,t)=>(0,s.jsx)("span",{className:"nx-w-5"},t))})}var es=(0,p.memo)(({label:e,name:t,open:n,children:r,defaultOpen:i=!1,onToggle:a})=>{let o=ea(),[l,u]=(0,p.useState)(i),c=(0,p.useCallback)(()=>{a?.(!l),u(!l)},[l,a]),d=void 0===n?l:n;return(0,s.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,s.jsxs)("button",{onClick:c,title:t,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,s.jsx)(eo,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:d?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,s.jsx)("span",{className:"nx-ml-1",children:e??t})]}),d&&(0,s.jsx)("ul",{children:(0,s.jsx)(ei.Provider,{value:o+1,children:r})})]})});es.displayName="Folder";var el=(0,p.memo)(({label:e,name:t,active:n})=>(0,s.jsx)("li",{className:(0,o.Z)("nx-flex nx-list-none",n&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,s.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,s.jsx)(eo,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,s.jsx)("span",{className:"nx-ml-1",children:e??t})]})}));el.displayName="File",Object.assign(function({children:e}){return(0,s.jsx)("div",{className:(0,o.Z)("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,s.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:e})})},{Folder:es,File:el})},4861:function(e,t,n){"use strict";n.d(t,{LZ:function(){return i},nQ:function(){return a},TI:function(){return o},D7:function(){return s},Qq:function(){return l},fy:function(){return u},n9:function(){return c},AV:function(){return d},Oq:function(){return f},kL:function(){return p},L4:function(){return h},NW:function(){return m},NK:function(){return x},b0:function(){return g}});var r=n(5893);function i({pathClassName:e,...t}){return(0,r.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...t,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:e})})}function a(e){return(0,r.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function o(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function s(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...e,children:[(0,r.jsx)("title",{children:"Discord"}),(0,r.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function l({isOpen:e,...t}){return(0,r.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...t,children:[(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:e?"":"nx-origin-[35%] nx-rotate-180"}),(0,r.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function u(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...e,children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function c(e){return(0,r.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function d(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function f(e){return(0,r.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:[(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function p(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function h(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...e,children:[(0,r.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function m(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function x(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function g(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}},2643:function(e,t,n){"use strict";n.d(t,{Z:function(){return s},a:function(){return d}});var r=n(7294);let i=r.createContext({});function a(e){let t=r.useContext(i);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let o={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||o:a(e),r.createElement(i.Provider,{value:s},t)}var l=n(5675),u=n.n(l),c={img:e=>(0,r.createElement)("object"==typeof e.src?u():"img",e)},d=e=>a({...c,...e})},2673:function(e,t,n){"use strict";n.d(t,{j:function(){return v}});var r,i=n(9208),a=n.n(i),o=n(7222),s=n(7294);n(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),n(2643);var l=n(5893),u=(0,s.createContext)(!1),c=n(1163);function d({__nextra_pageMap:e,__nextra_dynamic_opts:t,...n}){let{context:r,Layout:i}=function(){let e=globalThis[o.eZ],{route:t}=(0,c.useRouter)();(0,s.useState)({})[1];let n=e.context[t];if(!n)throw Error("No content found for the current route. This is a Nextra bug.");return{context:n,Layout:e.Layout}}(),{Content:a,...d}=r;if(e&&(d.pageOpts={...d.pageOpts,pageMap:e}),t){let{headings:e,title:n,frontMatter:r}=JSON.parse(t);d.pageOpts={...d.pageOpts,headings:e,title:n,frontMatter:r}}return(0,l.jsx)(i,{...d,pageProps:n,children:(0,l.jsx)(u.Provider,{value:n,children:(0,l.jsx)(a,{...n})})})}var f=n(2520),p=n(3859),h=n(2891);function m(e){return h(e.replaceAll(/[-_]/g," "))}function x(e){return!!e&&"object"==typeof e&&"folder"===e.type}function g(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>{if(x(t)){let n=e.replace("/","");return[n,t.title||m(n)]}return[e,t||m(e)]}))}function v({pageNextRoute:e,pageOpts:t,nextraLayout:n,themeConfig:i,MDXContent:s,hot:l,pageOptsChecksum:u,dynamicMetaModules:c=[]}){var h;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let e=JSON.parse(JSON.stringify(m.pageMap));return await Promise.all(c.map(async([t,{metaObjectKeyPath:n,metaParentKeyPath:r}])=>{let i=await t,o=await i.default(),s=a()(e,n);s.data=o,function e(t,n,r=!0){if(r){e(t,{kind:"Meta",data:n.data,locale:n.locale},!1),n.data=g(n.data);return}for(let[r,a]of Object.entries(n.data)){if(!x(a)){var i;if("*"===r)continue;t.children.push({kind:"MdxPage",...n.locale&&{locale:n.locale},name:r,route:(i=t.route,p(f.join(i,r.replace(/^index$/,""))))});continue}let o=r.replace("/",""),s={kind:"Folder",name:o,route:`${t.route}/${o}`,children:[{kind:"Meta",...n.locale&&{locale:n.locale},data:g(a.items)}]};t.children.push(s),e(s,{kind:"Meta",data:a.items,locale:n.locale},!1)}}(a()(e,r),s)})),r=e});let m=globalThis[h=o.eZ]||(globalThis[h]=Object.create(null));return t.pageMap?(m.pageMap=t.pageMap,m.Layout=n):(t={...t,pageMap:m.pageMap,flexsearch:m.flexsearch},i=m.themeConfig),t={frontMatter:{},...t},m.route=t.route,m.context||(m.context=Object.create(null)),m.context[e]={Content:s,pageOpts:t,themeConfig:i},d}},6008:function(e,t,n){"use strict";var r=n(2337);e.exports=function(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var n=new URL(e);t.protocols=r(n),t.protocol=t.protocols[0],t.port=n.port,t.resource=n.hostname,t.host=n.host,t.user=n.username||"",t.password=n.password||"",t.pathname=n.pathname,t.hash=n.hash.slice(1),t.search=n.search.slice(1),t.href=n.href,t.query=Object.fromEntries(n.searchParams)}catch(n){t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}},3905:function(e,t,n){"use strict";var r=n(6008),i=r&&"object"==typeof r&&"default"in r?r:{default:r};let a=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),o=(e,{stripHash:t})=>{let n=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!n)throw Error(`Invalid URL: ${e}`);let{type:r,data:i,hash:a}=n.groups,o=r.split(";");a=t?"":a;let s=!1;"base64"===o[o.length-1]&&(o.pop(),s=!0);let l=(o.shift()||"").toLowerCase(),u=[...o.map(e=>{let[t,n=""]=e.split("=").map(e=>e.trim());return"charset"===t&&"us-ascii"===(n=n.toLowerCase())?"":`${t}${n?`=${n}`:""}`}).filter(Boolean)];return s&&u.push("base64"),(u.length>0||l&&"text/plain"!==l)&&u.unshift(l),`data:${u.join(";")},${s?i.trim():i}${a?`#${a}`:""}`},s=(e,t=!1)=>{let n=t=>{let n=Error(t);throw n.subject_url=e,n};"string"==typeof e&&e.trim()||n("Invalid url."),e.length>s.MAX_INPUT_LENGTH&&n("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&("object"!=typeof t&&(t={stripHash:!1}),e=function(e,t){if(t={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...t},e=e.trim(),/^data:/i.test(e))return o(e,t);if(/^view-source:/i.test(e))throw Error("`view-source:` is not supported as it is a non-standard protocol");let n=e.startsWith("//");!n&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let r=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===r.protocol&&(r.protocol="http:"),t.forceHttps&&"http:"===r.protocol&&(r.protocol="https:"),t.stripAuthentication&&(r.username="",r.password=""),t.stripHash?r.hash="":t.stripTextFragment&&(r.hash=r.hash.replace(/#?:~:text.*?$/i,"")),r.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,n="";for(;;){let i=e.exec(r.pathname);if(!i)break;let a=i[0],o=i.index;n+=r.pathname.slice(t,o).replace(/\/{2,}/g,"/")+a,t=o+a.length}n+=r.pathname.slice(t,r.pathname.length).replace(/\/{2,}/g,"/"),r.pathname=n}if(r.pathname)try{r.pathname=decodeURI(r.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=r.pathname.split("/");a(e[e.length-1],t.removeDirectoryIndex)&&(e=e.slice(0,-1),r.pathname=e.slice(1).join("/")+"/")}if(r.hostname&&(r.hostname=r.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(r.hostname)&&(r.hostname=r.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...r.searchParams.keys()])a(e,t.removeQueryParameters)&&r.searchParams.delete(e);if(!0===t.removeQueryParameters&&(r.search=""),t.sortQueryParameters){r.searchParams.sort();try{r.search=decodeURIComponent(r.search)}catch{}}t.removeTrailingSlash&&(r.pathname=r.pathname.replace(/\/$/,""));let i=e;return e=r.toString(),t.removeSingleSlash||"/"!==r.pathname||i.endsWith("/")||""!==r.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===r.pathname)&&""===r.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),n&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}(e,t));let r=i.default(e);if(r.parse_failed){let e=r.href.match(/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/);e?(r.protocols=["ssh"],r.protocol="ssh",r.resource=e[2],r.host=e[2],r.user=e[1],r.pathname=`/${e[3]}`,r.parse_failed=!1):n("URL parsing failed.")}return r};s.MAX_INPUT_LENGTH=2048,e.exports=s},2520:function(e,t,n){"use strict";var r=n(4155),i="win32"===r.platform,a=n(9539);function o(e,t){for(var n=[],r=0;r=0&&!e[r];r--);return 0===n&&r===t?e:n>r?[]:e.slice(n,r+1)}var l=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,u=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,c={};function d(e){var t=l.exec(e),n=(t[1]||"")+(t[2]||""),r=t[3]||"",i=u.exec(r);return[n,i[1],i[2],i[3]]}function f(e){var t=l.exec(e),n=t[1]||"",r=!!n&&":"!==n[1];return{device:n,isUnc:r,isAbsolute:r||!!t[2],tail:t[3]}}function p(e){return"\\\\"+e.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}c.resolve=function(){for(var e="",t="",n=!1,i=arguments.length-1;i>=-1;i--){if(i>=0?s=arguments[i]:e?(s=r.env["="+e])&&s.substr(0,3).toLowerCase()===e.toLowerCase()+"\\"||(s=e+"\\"):s=r.cwd(),a.isString(s)){if(!s)continue}else throw TypeError("Arguments to path.resolve must be strings");var s,l=f(s),u=l.device,c=l.isUnc,d=l.isAbsolute,h=l.tail;if((!u||!e||u.toLowerCase()===e.toLowerCase())&&(e||(e=u),n||(t=h+"\\"+t,n=d),e&&n))break}return c&&(e=p(e)),t=o(t.split(/[\\\/]+/),!n).join("\\"),e+(n?"\\":"")+t||"."},c.normalize=function(e){var t=f(e),n=t.device,r=t.isUnc,i=t.isAbsolute,a=t.tail,s=/[\\\/]$/.test(a);return(a=o(a.split(/[\\\/]+/),!i).join("\\"))||i||(a="."),a&&s&&(a+="\\"),r&&(n=p(n)),n+(i?"\\":"")+a},c.isAbsolute=function(e){return f(e).isAbsolute},c.join=function(){for(var e=[],t=0;t=-1&&!t;n--){var i=n>=0?arguments[n]:r.cwd();if(a.isString(i)){if(!i)continue}else throw TypeError("Arguments to path.resolve must be strings");e=i+"/"+e,t="/"===i[0]}return e=o(e.split("/"),!t).join("/"),(t?"/":"")+e||"."},m.normalize=function(e){var t=m.isAbsolute(e),n=e&&"/"===e[e.length-1];return(e=o(e.split("/"),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},m.isAbsolute=function(e){return"/"===e.charAt(0)},m.join=function(){for(var e="",t=0;t1)for(var n=1;n{let t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},2891:function(e,t,n){let r=n(1439),i=n(7224),a="[^\\s'’\\(\\)!?;:\"-]",o=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),s=e=>e.map(e=>[RegExp(`\\b${e}\\b`,"gi"),e]);e.exports=(e,t={})=>(e=e.toLowerCase().replace(o,(e,t="",n,i,a,o,s)=>{let l=e.length+o>=s.length,u=function(e){let t=e[0];return/\s/.test(t)?e.slice(1):/[\(\)]/.test(t)?null:e}(e);return u?!n&&r.has(i+a)&&!l?u:t+(i||n).toUpperCase()+a:e}),s([...i,...t.special||[]]).forEach(([t,n])=>{e=e.replace(t,n)}),e)},1439:function(e){e.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},7224:function(e){e.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},1496:function(e){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},384:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9539:function(e,t,n){var r,i=n(4155),a=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),l=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),c(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function u(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&_(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i,a,o,s,l,u=n.inspect(r,e);return g(u)||(u=c(e,u,r)),u}var b=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return x(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,n);if(b)return b;var j=Object.keys(n),E=(s={},j.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(j=Object.getOwnPropertyNames(n)),k(n)&&(j.indexOf("message")>=0||j.indexOf("description")>=0))return d(n);if(0===j.length){if(_(n)){var O=n.name?": "+n.name:"";return e.stylize("[Function"+O+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return d(n)}var C="",S=!1,N=["{","}"];return(p(n)&&(S=!0,N=["[","]"]),_(n)&&(C=" [Function"+(n.name?": "+n.name:"")+"]"),y(n)&&(C=" "+RegExp.prototype.toString.call(n)),w(n)&&(C=" "+Date.prototype.toUTCString.call(n)),k(n)&&(C=" "+d(n)),0!==j.length||S&&0!=n.length)?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=S?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;o=0&&o++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===i?"":i+"\n ")+" "+l.join(",\n ")+" "+a[1]:a[0]+i+" "+l.join(", ")+" "+a[1]):N[0]+C+N[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),T(r,i)||(o="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=m(n)?c(e,l.value,null):c(e,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),v(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function x(e){return"number"==typeof e}function g(e){return"string"==typeof e}function v(e){return void 0===e}function y(e){return b(e)&&"[object RegExp]"===j(e)}function b(e){return"object"==typeof e&&null!==e}function w(e){return b(e)&&"[object Date]"===j(e)}function k(e){return b(e)&&("[object Error]"===j(e)||e instanceof Error)}function _(e){return"function"==typeof e}function j(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(v(r)&&(r=i.env.NODE_DEBUG||""),!o[e=e.toUpperCase()]){if(RegExp("\\b"+e+"\\b","i").test(r)){var n=i.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else o[e]=function(){}}return o[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=x,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=y,t.isObject=b,t.isDate=w,t.isError=k,t.isFunction=_,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(384);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(n=[E((e=new Date).getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(1496),t._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}},2746:function(e,t,n){n(5893)},1363:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},3781:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(7294),i=n(3855);let a=function(e){let t=(0,i.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},9946:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(7294),a=n(7896),o=n(6723),s=n(2180);let l=null!=(r=i.useId)?r:function(){let e=(0,s.H)(),[t,n]=i.useState(e?()=>a.O.nextId():null);return(0,o.e)(()=>{null===t&&n(a.O.nextId())},[t]),null!=t?""+t:void 0}},4879:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(7294),i=n(6723);function a(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},6723:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(7294),i=n(7896);let a=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7294),i=n(6723);function a(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},4157:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7294),i=n(6723);function a(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function o(e,t){let[n,o]=(0,r.useState)(()=>a(e));return(0,i.e)(()=>{o(a(e))},[e.type,e.as]),(0,i.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}},2180:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r,i=n(7294),a=n(7896);function o(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[o,s]=i.useState(a.O.isHandoffComplete);return o&&!1===a.O.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==o&&s(!0)},[o]),i.useEffect(()=>a.O.handoff(),[]),!t&&o}},3784:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7294),i=n(3781);let a=Symbol();function o(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[a]))?void 0:n}},6045:function(e,t,n){"use strict";n.d(t,{A:function(){return a},_:function(){return o}});var r,i=n(2351),a=((r=a||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let o=(0,i.yV)(function(e,t){var n;let{features:r=1,...a}=e,o={ref:t,"aria-hidden":(2&r)==2||(null!=(n=a["aria-hidden"])?n:void 0),hidden:(4&r)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&r)==4&&(2&r)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:o,theirProps:a,slot:{},defaultTag:"div",name:"Hidden"})})},4067:function(e,t,n){"use strict";function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},9362:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r.Y)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(1021)},7896:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class o{constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let s=new o},4575:function(e,t,n){"use strict";n.d(t,{EO:function(){return w},TO:function(){return f},fE:function(){return p},jA:function(){return k},sP:function(){return g},tJ:function(){return x},wI:function(){return v},z2:function(){return b}});var r,i,a,o,s,l=n(9362),u=n(2984),c=n(5466);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),p=((i=p||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),h=((a=h||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);function m(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var x=((o=x||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function g(e,t=0){var n;return e!==(null==(n=(0,c.r)(e))?void 0:n.body)&&(0,u.E)(t,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function v(e){let t=(0,c.r)(e);(0,l.k)().nextFrame(()=>{t&&!g(t.activeElement,0)&&(null==e||e.focus({preventScroll:!0}))})}var y=((s=y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function b(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){return k(m(),t,{relativeTo:e})}function k(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var a,o,s;let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?b(e):e:m(e);i.length>0&&u.length>1&&(u=u.filter(e=>!i.includes(e))),r=null!=r?r:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,h=u.length,x;do{if(p>=h||p+h<=0)return 0;let e=d+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}null==(x=u[e])||x.focus(f),p+=c}while(x!==l.activeElement);return 6&t&&null!=(s=null==(o=null==(a=x)?void 0:a.matches)?void 0:o.call(a,"textarea,input"))&&s&&x.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},2984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},1021:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},5466:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(7896);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},2351:function(e,t,n){"use strict";n.d(t,{AN:function(){return l},l4:function(){return u},oA:function(){return m},sY:function(){return c},yV:function(){return h}});var r,i,a=n(7294),o=n(4067),s=n(2984),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o,mergeRefs:l}){l=null!=l?l:f;let u=p(t,e);if(a)return d(u,n,r,o,l);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=u;if(e)return d(t,n,r,o,l)}if(1&c){let{unmount:e=!0,...t}=u;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,o,l)})}return d(u,n,r,o,l)}function d(e,t={},n,r,i){let{as:s=n,children:l,refName:u="ref",...c}=x(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let h={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(h["data-headlessui-state"]=n.join(" "))}if(s===a.Fragment&&Object.keys(m(c)).length>0){if(!(0,a.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(e=>` - ${e}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` +`)].join(` +`));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,o.A)(null==e?void 0:e.className(...t),c.className):(0,o.A)(null==e?void 0:e.className,c.className);return(0,a.cloneElement)(f,Object.assign({},p(f.props,m(x(c,["ref"]))),h,d,{ref:i(f.ref,d.ref)},t?{className:t}:{}))}return(0,a.createElement)(s,Object.assign({},x(c,["ref"]),s!==a.Fragment&&d,s!==a.Fragment&&h),f)}function f(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function h(e){var t;return Object.assign((0,a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function x(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},512:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",i=arguments.length;n