From 42c008f5c884a411a0d66abc8a26001d2a2e5abb Mon Sep 17 00:00:00 2001 From: github-actions-bot Date: Thu, 26 Sep 2024 04:57:03 +0000 Subject: [PATCH] Updates --- 404.html | 2 +- .../1Xa-Stng7ls29pFVyzeKI/_buildManifest.js | 1 - .../Ra7LDKY3zXnTjpaBezLqS/_buildManifest.js | 1 + .../_ssgManifest.js | 0 _next/static/chunks/160-c7da600f9c4bab09.js | 81 ------------------- _next/static/chunks/217-ef5d408dee41c113.js | 1 + _next/static/chunks/484-ecb78068700f2b30.js | 23 ------ _next/static/chunks/563-48a8b5b4b395e07e.js | 1 + _next/static/chunks/563-c53cf8675039718c.js | 6 -- _next/static/chunks/901-fe0120660a07afc6.js | 15 ++++ .../chunks/framework-49c6cecf1f6d5795.js | 1 + .../chunks/framework-5429a50ba5373c56.js | 33 -------- _next/static/chunks/main-9ea5e8969a75bc93.js | 1 - _next/static/chunks/main-da4e5207e9b13ce1.js | 1 + .../chunks/pages/_app-3b098c3f5edaee6d.js | 1 - .../chunks/pages/_app-4b8613283cde88d3.js | 1 + ...d5f4b49e.js => _error-77823ddac6993d35.js} | 2 +- .../pages/getting-started-8ddba8636456d218.js | 1 + .../pages/getting-started-a532ff7e65df7c05.js | 1 - .../browser-integration-0f291bf0aea362e7.js | 1 - .../browser-integration-ca49cc74b68a9c5f.js | 1 + .../endpoints-73606d33045c7cca.js | 1 - .../endpoints-b51cabd055c20a38.js | 1 + .../how-to-build-5228c1aadfd7ba76.js | 1 + .../how-to-build-e682cb2f81e6ef6e.js | 1 - .../integration-tests-576e3c9eda41bf44.js | 1 + .../integration-tests-b73e383cbf9d6515.js | 1 - .../operations-be1e3dd1dc534e8d.js | 1 - .../operations-e0fa1da5c07f505a.js | 1 + .../smart-contract-intro-20b87309843f7c71.js | 1 + .../smart-contract-intro-56fcd3a3c142eb82.js | 1 - .../unit-tests-52d0ddc283db42c6.js | 1 - .../unit-tests-6a5c401a50c50814.js | 1 + .../chunks/pages/index-95947339074f2c98.js | 1 + .../chunks/pages/index-fc03f91e3ba60505.js | 1 - .../pages/introduction-c377f84ba8ee5bcd.js | 1 - .../pages/introduction-f69df19210c9a33e.js | 1 + .../pages/more-tutorials-10131cccfacdcc4c.js | 1 + .../pages/more-tutorials-13586859e7f8208c.js | 1 - .../chunks/polyfills-78c92fac7aa8fdd8.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 - getting-started.html | 4 +- getting-started/browser-integration.html | 4 +- getting-started/endpoints.html | 4 +- getting-started/how-to-build.html | 4 +- getting-started/integration-tests.html | 4 +- getting-started/operations.html | 4 +- getting-started/smart-contract-intro.html | 4 +- getting-started/unit-tests.html | 4 +- index.html | 2 +- introduction.html | 4 +- more-tutorials.html | 4 +- 52 files changed, 56 insertions(+), 181 deletions(-) delete mode 100644 _next/static/1Xa-Stng7ls29pFVyzeKI/_buildManifest.js create mode 100644 _next/static/Ra7LDKY3zXnTjpaBezLqS/_buildManifest.js rename _next/static/{1Xa-Stng7ls29pFVyzeKI => Ra7LDKY3zXnTjpaBezLqS}/_ssgManifest.js (100%) delete mode 100644 _next/static/chunks/160-c7da600f9c4bab09.js create mode 100644 _next/static/chunks/217-ef5d408dee41c113.js delete mode 100644 _next/static/chunks/484-ecb78068700f2b30.js create mode 100644 _next/static/chunks/563-48a8b5b4b395e07e.js delete mode 100644 _next/static/chunks/563-c53cf8675039718c.js create mode 100644 _next/static/chunks/901-fe0120660a07afc6.js create mode 100644 _next/static/chunks/framework-49c6cecf1f6d5795.js delete mode 100644 _next/static/chunks/framework-5429a50ba5373c56.js delete mode 100644 _next/static/chunks/main-9ea5e8969a75bc93.js create mode 100644 _next/static/chunks/main-da4e5207e9b13ce1.js delete mode 100644 _next/static/chunks/pages/_app-3b098c3f5edaee6d.js create mode 100644 _next/static/chunks/pages/_app-4b8613283cde88d3.js rename _next/static/chunks/pages/{_error-5a00309fd5f4b49e.js => _error-77823ddac6993d35.js} (74%) create mode 100644 _next/static/chunks/pages/getting-started-8ddba8636456d218.js delete mode 100644 _next/static/chunks/pages/getting-started-a532ff7e65df7c05.js delete mode 100644 _next/static/chunks/pages/getting-started/browser-integration-0f291bf0aea362e7.js create mode 100644 _next/static/chunks/pages/getting-started/browser-integration-ca49cc74b68a9c5f.js delete mode 100644 _next/static/chunks/pages/getting-started/endpoints-73606d33045c7cca.js create mode 100644 _next/static/chunks/pages/getting-started/endpoints-b51cabd055c20a38.js create mode 100644 _next/static/chunks/pages/getting-started/how-to-build-5228c1aadfd7ba76.js delete mode 100644 _next/static/chunks/pages/getting-started/how-to-build-e682cb2f81e6ef6e.js create mode 100644 _next/static/chunks/pages/getting-started/integration-tests-576e3c9eda41bf44.js delete mode 100644 _next/static/chunks/pages/getting-started/integration-tests-b73e383cbf9d6515.js delete mode 100644 _next/static/chunks/pages/getting-started/operations-be1e3dd1dc534e8d.js create mode 100644 _next/static/chunks/pages/getting-started/operations-e0fa1da5c07f505a.js create mode 100644 _next/static/chunks/pages/getting-started/smart-contract-intro-20b87309843f7c71.js delete mode 100644 _next/static/chunks/pages/getting-started/smart-contract-intro-56fcd3a3c142eb82.js delete mode 100644 _next/static/chunks/pages/getting-started/unit-tests-52d0ddc283db42c6.js create mode 100644 _next/static/chunks/pages/getting-started/unit-tests-6a5c401a50c50814.js create mode 100644 _next/static/chunks/pages/index-95947339074f2c98.js delete mode 100644 _next/static/chunks/pages/index-fc03f91e3ba60505.js delete mode 100644 _next/static/chunks/pages/introduction-c377f84ba8ee5bcd.js create mode 100644 _next/static/chunks/pages/introduction-f69df19210c9a33e.js create mode 100644 _next/static/chunks/pages/more-tutorials-10131cccfacdcc4c.js delete mode 100644 _next/static/chunks/pages/more-tutorials-13586859e7f8208c.js create mode 100644 _next/static/chunks/polyfills-78c92fac7aa8fdd8.js delete mode 100644 _next/static/chunks/polyfills-c67a75d1b6f99dc8.js diff --git a/404.html b/404.html index fdbfc33..035db4f 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/_next/static/1Xa-Stng7ls29pFVyzeKI/_buildManifest.js b/_next/static/1Xa-Stng7ls29pFVyzeKI/_buildManifest.js deleted file mode 100644 index 7a0f442..0000000 --- a/_next/static/1Xa-Stng7ls29pFVyzeKI/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(t,s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[t,s,"static/chunks/160-c7da600f9c4bab09.js","static/chunks/pages/index-fc03f91e3ba60505.js"],"/_error":["static/chunks/pages/_error-5a00309fd5f4b49e.js"],"/getting-started":[t,s,"static/chunks/pages/getting-started-a532ff7e65df7c05.js"],"/getting-started/browser-integration":[t,s,"static/chunks/563-c53cf8675039718c.js","static/chunks/pages/getting-started/browser-integration-0f291bf0aea362e7.js"],"/getting-started/endpoints":[t,s,"static/chunks/pages/getting-started/endpoints-73606d33045c7cca.js"],"/getting-started/how-to-build":[t,s,"static/chunks/pages/getting-started/how-to-build-e682cb2f81e6ef6e.js"],"/getting-started/integration-tests":[t,s,"static/chunks/pages/getting-started/integration-tests-b73e383cbf9d6515.js"],"/getting-started/operations":[t,s,"static/chunks/pages/getting-started/operations-be1e3dd1dc534e8d.js"],"/getting-started/smart-contract-intro":[t,s,"static/chunks/pages/getting-started/smart-contract-intro-56fcd3a3c142eb82.js"],"/getting-started/unit-tests":[t,s,"static/chunks/pages/getting-started/unit-tests-52d0ddc283db42c6.js"],"/introduction":[t,s,"static/chunks/pages/introduction-c377f84ba8ee5bcd.js"],"/more-tutorials":[t,s,"static/chunks/pages/more-tutorials-13586859e7f8208c.js"],sortedPages:["/","/_app","/_error","/getting-started","/getting-started/browser-integration","/getting-started/endpoints","/getting-started/how-to-build","/getting-started/integration-tests","/getting-started/operations","/getting-started/smart-contract-intro","/getting-started/unit-tests","/introduction","/more-tutorials"]}}("static/css/445c4173ffc2bf04.css","static/chunks/484-ecb78068700f2b30.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/Ra7LDKY3zXnTjpaBezLqS/_buildManifest.js b/_next/static/Ra7LDKY3zXnTjpaBezLqS/_buildManifest.js new file mode 100644 index 0000000..995b567 --- /dev/null +++ b/_next/static/Ra7LDKY3zXnTjpaBezLqS/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(t,s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[t,s,"static/chunks/217-ef5d408dee41c113.js","static/chunks/pages/index-95947339074f2c98.js"],"/_error":["static/chunks/pages/_error-77823ddac6993d35.js"],"/getting-started":[t,s,"static/chunks/pages/getting-started-8ddba8636456d218.js"],"/getting-started/browser-integration":[t,s,"static/chunks/563-48a8b5b4b395e07e.js","static/chunks/pages/getting-started/browser-integration-ca49cc74b68a9c5f.js"],"/getting-started/endpoints":[t,s,"static/chunks/pages/getting-started/endpoints-b51cabd055c20a38.js"],"/getting-started/how-to-build":[t,s,"static/chunks/pages/getting-started/how-to-build-5228c1aadfd7ba76.js"],"/getting-started/integration-tests":[t,s,"static/chunks/pages/getting-started/integration-tests-576e3c9eda41bf44.js"],"/getting-started/operations":[t,s,"static/chunks/pages/getting-started/operations-e0fa1da5c07f505a.js"],"/getting-started/smart-contract-intro":[t,s,"static/chunks/pages/getting-started/smart-contract-intro-20b87309843f7c71.js"],"/getting-started/unit-tests":[t,s,"static/chunks/pages/getting-started/unit-tests-6a5c401a50c50814.js"],"/introduction":[t,s,"static/chunks/pages/introduction-f69df19210c9a33e.js"],"/more-tutorials":[t,s,"static/chunks/pages/more-tutorials-10131cccfacdcc4c.js"],sortedPages:["/","/_app","/_error","/getting-started","/getting-started/browser-integration","/getting-started/endpoints","/getting-started/how-to-build","/getting-started/integration-tests","/getting-started/operations","/getting-started/smart-contract-intro","/getting-started/unit-tests","/introduction","/more-tutorials"]}}("static/css/445c4173ffc2bf04.css","static/chunks/901-fe0120660a07afc6.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/1Xa-Stng7ls29pFVyzeKI/_ssgManifest.js b/_next/static/Ra7LDKY3zXnTjpaBezLqS/_ssgManifest.js similarity index 100% rename from _next/static/1Xa-Stng7ls29pFVyzeKI/_ssgManifest.js rename to _next/static/Ra7LDKY3zXnTjpaBezLqS/_ssgManifest.js diff --git a/_next/static/chunks/160-c7da600f9c4bab09.js b/_next/static/chunks/160-c7da600f9c4bab09.js deleted file mode 100644 index c6ea070..0000000 --- a/_next/static/chunks/160-c7da600f9c4bab09.js +++ /dev/null @@ -1,81 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[160],{917:function(e,t,r){r.d(t,{F4:function(){return u},iv:function(){return c},xB:function(){return s}});var o=r(5260),n=r(7294),a=r(444),i=r(7278),l=r(8137);r(8417),r(8679);var s=(0,o.w)(function(e,t){var r=e.styles,s=(0,l.O)([r],void 0,n.useContext(o.T));if(!o.i){for(var c,u=s.name,d=s.styles,p=s.next;void 0!==p;)u+=" "+p.name,d+=p.styles,p=p.next;var f=!0===t.compat,m=t.insert("",{name:u,styles:d},t.sheet,f);return f?null:n.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:m},c.nonce=t.sheet.nonce,c))}var h=n.useRef();return(0,i.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}),o=!1,n=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==n&&(o=!0,n.setAttribute("data-emotion",e),r.hydrate([n])),h.current=[r,o],function(){r.flush()}},[t]),(0,i.j)(function(){var e=h.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==s.next&&(0,a.My)(t,s.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",s,r,!1)},[t,s.name]),null});function c(){for(var e=arguments.length,t=Array(e),r=0;r{let{color:t,disableElevation:r,fullWidth:o,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",r&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},u=(0,s.Z)(c,v,l);return(0,n.Z)({},l,u)},$=e=>(0,n.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,u.ZP)(p.Z,{shouldForwardProp:e=>(0,u.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,f.Z)(r.color)}`],t[`size${(0,f.Z)(r.size)}`],t[`${r.variant}Size${(0,f.Z)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,o;let a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.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,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.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,c.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,c.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:i,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,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${g.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${g.disabled}`]:(0,n.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,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(o=e.palette).getContrastText)?void 0:r.call(o,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,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"},[`&.${g.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${g.disabled}`]:{boxShadow:"none"}}),C=(0,u.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(r.size)}`]]}})(({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},$(e))),w=(0,u.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(r.size)}`]]}})(({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},$(e)));var R=a.forwardRef(function(e,t){let r=a.useContext(y),s=a.useContext(b),c=(0,l.Z)(r,e),u=(0,d.Z)({props:c,name:"MuiButton"}),{children:p,color:f="primary",component:m="button",className:h,disabled:v=!1,disableElevation:g=!1,disableFocusRipple:$=!1,endIcon:R,focusVisibleClassName:P,fullWidth:z=!1,size:M="medium",startIcon:E,type:I,variant:O="text"}=u,T=(0,o.Z)(u,Z),_=(0,n.Z)({},u,{color:f,component:m,disabled:v,disableElevation:g,disableFocusRipple:$,fullWidth:z,size:M,type:I,variant:O}),j=S(_),L=E&&(0,x.jsx)(C,{className:j.startIcon,ownerState:_,children:E}),N=R&&(0,x.jsx)(w,{className:j.endIcon,ownerState:_,children:R});return(0,x.jsxs)(k,(0,n.Z)({ownerState:_,className:(0,i.Z)(r.className,j.root,h,s||""),component:m,disabled:v,focusRipple:!$,focusVisibleClassName:(0,i.Z)(j.focusVisible,P),ref:t,type:I},T,{classes:j,children:[L,p,N]}))})},5294:function(e,t,r){r.d(t,{Z:function(){return J}});var o=r(7462),n=r(3366),a=r(7294),i=r(512),l=r(8510),s=r(3026),c=r(7623),u=r(1705);let d="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;var p=function(e){let t=a.useRef(e);return d(()=>{t.current=e}),a.useRef((...e)=>(0,t.current)(...e)).current};let f={},m=[];class h{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new h}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}}let v=!0,g=!1,y=new h,b={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 x(e){e.metaKey||e.altKey||e.ctrlKey||(v=!0)}function Z(){v=!1}function S(){"hidden"===this.visibilityState&&g&&(v=!0)}var $=function(){let e=a.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",x,!0),t.addEventListener("mousedown",Z,!0),t.addEventListener("pointerdown",Z,!0),t.addEventListener("touchstart",Z,!0),t.addEventListener("visibilitychange",S,!0)}},[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return v||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!b[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(g=!0,y.start(100,()=>{g=!1}),t.current=!1,!0)},ref:e}};function k(e,t){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var C=a.createContext(null);function w(e,t){var r=Object.create(null);return e&&a.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,a.isValidElement)(e)?t(e):e}),r}function R(e,t,r){return null!=r[t]?r[t]:e.props[t]}var P=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},z=function(e){function t(t,r){var o,n=(o=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}(o));return o.state={contextValue:{isMounting:!0},handleExited:n,firstRender:!0},o}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,k(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,o,n=t.children,i=t.handleExited;return{children:t.firstRender?w(e.children,function(t){return(0,a.cloneElement)(t,{onExited:i.bind(null,t),in:!0,appear:R(t,"appear",e),enter:R(t,"enter",e),exit:R(t,"exit",e)})}):(Object.keys(o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var o,n=Object.create(null),a=[];for(var i in e)i in t?a.length&&(n[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(n[s])for(o=0;oe,j,L,N,F,A=(0,M.F4)(j||(j=_` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),B=(0,M.F4)(L||(L=_` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),V=(0,M.F4)(N||(N=_` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),W=(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"}),D=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:o=!1,rippleX:n,rippleY:l,rippleSize:s,in:c,onExited:u,timeout:d}=e,[p,f]=a.useState(!1),m=(0,i.Z)(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),h=(0,i.Z)(r.child,p&&r.childLeaving,o&&r.childPulsate);return c||p||f(!0),a.useEffect(()=>{if(!c&&null!=u){let e=setTimeout(u,d);return()=>{clearTimeout(e)}}},[u,c,d]),(0,E.jsx)("span",{className:m,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+n},children:(0,E.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})(F||(F=_` - 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; - } -`),O.rippleVisible,A,550,({theme:e})=>e.transitions.easing.easeInOut,O.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,O.child,O.childLeaving,B,550,({theme:e})=>e.transitions.easing.easeInOut,O.childPulsate,V,({theme:e})=>e.transitions.easing.easeInOut),q=a.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:u}=r,d=(0,n.Z)(r,T),[p,v]=a.useState([]),g=a.useRef(0),y=a.useRef(null);a.useEffect(()=>{y.current&&(y.current(),y.current=null)},[p]);let b=a.useRef(!1),x=function(){var e;let t=function(e,t){let r=a.useRef(f);return r.current===f&&(r.current=e(void 0)),r}(h.create).current;return e=t.disposeEffect,a.useEffect(e,m),t}(),Z=a.useRef(null),S=a.useRef(null),$=a.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:o,rippleSize:n,cb:a}=e;v(e=>[...e,(0,E.jsx)(D,{classes:{ripple:(0,i.Z)(s.ripple,O.ripple),rippleVisible:(0,i.Z)(s.rippleVisible,O.rippleVisible),ripplePulsate:(0,i.Z)(s.ripplePulsate,O.ripplePulsate),child:(0,i.Z)(s.child,O.child),childLeaving:(0,i.Z)(s.childLeaving,O.childLeaving),childPulsate:(0,i.Z)(s.childPulsate,O.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:o,rippleSize:n},g.current)]),g.current+=1,y.current=a},[s]),k=a.useCallback((e={},t={},r=()=>{})=>{let o,n,a;let{pulsate:i=!1,center:s=l||t.pulsate,fakeElement:c=!1}=t;if((null==e?void 0:e.type)==="mousedown"&&b.current){b.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(b.current=!0);let u=c?null:S.current,d=u?u.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;o=Math.round(t-d.left),n=Math.round(r-d.top)}else o=Math.round(d.width/2),n=Math.round(d.height/2);s?(a=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(a+=1):a=Math.sqrt((2*Math.max(Math.abs((u?u.clientWidth:0)-o),o)+2)**2+(2*Math.max(Math.abs((u?u.clientHeight:0)-n),n)+2)**2),null!=e&&e.touches?null===Z.current&&(Z.current=()=>{$({pulsate:i,rippleX:o,rippleY:n,rippleSize:a,cb:r})},x.start(80,()=>{Z.current&&(Z.current(),Z.current=null)})):$({pulsate:i,rippleX:o,rippleY:n,rippleSize:a,cb:r})},[l,$,x]),C=a.useCallback(()=>{k({},{pulsate:!0})},[k]),w=a.useCallback((e,t)=>{if(x.clear(),(null==e?void 0:e.type)==="touchend"&&Z.current){Z.current(),Z.current=null,x.start(0,()=>{w(e,t)});return}Z.current=null,v(e=>e.length>0?e.slice(1):e),y.current=t},[x]);return a.useImperativeHandle(t,()=>({pulsate:C,start:k,stop:w}),[C,k,w]),(0,E.jsx)(W,(0,o.Z)({className:(0,i.Z)(O.root,s.root,u),ref:S},d,{children:(0,E.jsx)(z,{component:null,exit:!0,children:p})}))});var H=r(5122);function U(e){return(0,H.ZP)("MuiButtonBase",e)}let K=(0,I.Z)("MuiButtonBase",["root","disabled","focusVisible"]),G=["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"],X=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:o,classes:n}=e,a=(0,l.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},U,n);return r&&o&&(a.root+=` ${o}`),a},Y=(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"},[`&.${K.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var J=a.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:s=!1,children:d,className:f,component:m="button",disabled:h=!1,disableRipple:v=!1,disableTouchRipple:g=!1,focusRipple:y=!1,LinkComponent:b="a",onBlur:x,onClick:Z,onContextMenu:S,onDragLeave:k,onFocus:C,onFocusVisible:w,onKeyDown:R,onKeyUp:P,onMouseDown:z,onMouseLeave:M,onMouseUp:I,onTouchEnd:O,onTouchMove:T,onTouchStart:_,tabIndex:j=0,TouchRippleProps:L,touchRippleRef:N,type:F}=r,A=(0,n.Z)(r,G),B=a.useRef(null),V=a.useRef(null),W=(0,u.Z)(V,N),{isFocusVisibleRef:D,onFocus:H,onBlur:U,ref:K}=$(),[J,Q]=a.useState(!1);h&&J&&Q(!1),a.useImperativeHandle(l,()=>({focusVisible:()=>{Q(!0),B.current.focus()}}),[]);let[ee,et]=a.useState(!1);a.useEffect(()=>{et(!0)},[]);let er=ee&&!v&&!h;function eo(e,t,r=g){return p(o=>(t&&t(o),!r&&V.current&&V.current[e](o),!0))}a.useEffect(()=>{J&&y&&!v&&ee&&V.current.pulsate()},[v,y,J,ee]);let en=eo("start",z),ea=eo("stop",S),ei=eo("stop",k),el=eo("stop",I),es=eo("stop",e=>{J&&e.preventDefault(),M&&M(e)}),ec=eo("start",_),eu=eo("stop",O),ed=eo("stop",T),ep=eo("stop",e=>{U(e),!1===D.current&&Q(!1),x&&x(e)},!1),ef=p(e=>{B.current||(B.current=e.currentTarget),H(e),!0===D.current&&(Q(!0),w&&w(e)),C&&C(e)}),em=()=>{let e=B.current;return m&&"button"!==m&&!("A"===e.tagName&&e.href)},eh=a.useRef(!1),ev=p(e=>{y&&!eh.current&&J&&V.current&&" "===e.key&&(eh.current=!0,V.current.stop(e,()=>{V.current.start(e)})),e.target===e.currentTarget&&em()&&" "===e.key&&e.preventDefault(),R&&R(e),e.target===e.currentTarget&&em()&&"Enter"===e.key&&!h&&(e.preventDefault(),Z&&Z(e))}),eg=p(e=>{y&&" "===e.key&&V.current&&J&&!e.defaultPrevented&&(eh.current=!1,V.current.stop(e,()=>{V.current.pulsate(e)})),P&&P(e),Z&&e.target===e.currentTarget&&em()&&" "===e.key&&!e.defaultPrevented&&Z(e)}),ey=m;"button"===ey&&(A.href||A.to)&&(ey=b);let eb={};"button"===ey?(eb.type=void 0===F?"button":F,eb.disabled=h):(A.href||A.to||(eb.role="button"),h&&(eb["aria-disabled"]=h));let ex=(0,u.Z)(t,K,B),eZ=(0,o.Z)({},r,{centerRipple:s,component:m,disabled:h,disableRipple:v,disableTouchRipple:g,focusRipple:y,tabIndex:j,focusVisible:J}),eS=X(eZ);return(0,E.jsxs)(Y,(0,o.Z)({as:ey,className:(0,i.Z)(eS.root,f),ownerState:eZ,onBlur:ep,onClick:Z,onContextMenu:ea,onFocus:ef,onKeyDown:ev,onKeyUp:eg,onMouseDown:en,onMouseLeave:es,onMouseUp:el,onDragLeave:ei,onTouchEnd:eu,onTouchMove:ed,onTouchStart:ec,ref:ex,tabIndex:h?-1:j,type:F},eb,A,{children:[d,er?(0,E.jsx)(q,(0,o.Z)({ref:W,center:s},L)):null]}))})},4274:function(e,t,r){r.d(t,{Z:function(){return M}});var o=r(3366),n=r(7462),a=r(7294),i=r(512),l=r(8510),s=r(8111),c=r(8216),u=r(7623),d=r(3026),p=r(1977),f=r(5122);function m(e){return(0,f.ZP)("MuiSvgIcon",e)}(0,p.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=r(5893);let v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=e=>{let{color:t,fontSize:r,classes:o}=e,n={root:["root","inherit"!==t&&`color${(0,c.Z)(t)}`,`fontSize${(0,c.Z)(r)}`]};return(0,l.Z)(n,m,o)},y=(0,d.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,c.Z)(r.color)}`],t[`fontSize${(0,c.Z)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,o,n,a,i,l,s,c,u,d,p,f,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==(o=r.create)?void 0:o.call(r,"fill",{duration:null==(n=e.transitions)||null==(n=n.duration)?void 0:n.shorter}),fontSize:({inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,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==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0})[t.color]}}),b=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiSvgIcon"}),{children:l,className:s,color:c="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:b,viewBox:x="0 0 24 24"}=r,Z=(0,o.Z)(r,v),S=a.isValidElement(l)&&"svg"===l.type,$=(0,n.Z)({},r,{color:c,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:x,hasSvgAsChild:S}),k={};m||(k.viewBox=x);let C=g($);return(0,h.jsxs)(y,(0,n.Z)({as:d,className:(0,i.Z)(C.root,s),focusable:"false",color:f,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:t},k,Z,S&&l.props,{ownerState:$,children:[S?l.props.children:l,b?(0,h.jsx)("title",{children:b}):null]}))});b.muiName="SvgIcon";var x=function(e,t){function r(r,o){return(0,h.jsx)(b,(0,n.Z)({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return r.muiName=b.muiName,a.memo(a.forwardRef(r))}((0,h.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),Z=r(1705),S=r(5294);function $(e){return(0,f.ZP)("MuiChip",e)}let k=(0,p.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),C=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],w=e=>{let{classes:t,disabled:r,size:o,color:n,iconColor:a,onDelete:i,clickable:s,variant:u}=e,d={root:["root",u,r&&"disabled",`size${(0,c.Z)(o)}`,`color${(0,c.Z)(n)}`,s&&"clickable",s&&`clickableColor${(0,c.Z)(n)}`,i&&"deletable",i&&`deletableColor${(0,c.Z)(n)}`,`${u}${(0,c.Z)(n)}`],label:["label",`label${(0,c.Z)(o)}`],avatar:["avatar",`avatar${(0,c.Z)(o)}`,`avatarColor${(0,c.Z)(n)}`],icon:["icon",`icon${(0,c.Z)(o)}`,`iconColor${(0,c.Z)(a)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,c.Z)(o)}`,`deleteIconColor${(0,c.Z)(n)}`,`deleteIcon${(0,c.Z)(u)}Color${(0,c.Z)(n)}`]};return(0,l.Z)(d,$,t)},R=(0,d.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{color:o,iconColor:n,clickable:a,onDelete:i,size:l,variant:s}=r;return[{[`& .${k.avatar}`]:t.avatar},{[`& .${k.avatar}`]:t[`avatar${(0,c.Z)(l)}`]},{[`& .${k.avatar}`]:t[`avatarColor${(0,c.Z)(o)}`]},{[`& .${k.icon}`]:t.icon},{[`& .${k.icon}`]:t[`icon${(0,c.Z)(l)}`]},{[`& .${k.icon}`]:t[`iconColor${(0,c.Z)(n)}`]},{[`& .${k.deleteIcon}`]:t.deleteIcon},{[`& .${k.deleteIcon}`]:t[`deleteIcon${(0,c.Z)(l)}`]},{[`& .${k.deleteIcon}`]:t[`deleteIconColor${(0,c.Z)(o)}`]},{[`& .${k.deleteIcon}`]:t[`deleteIcon${(0,c.Z)(s)}Color${(0,c.Z)(o)}`]},t.root,t[`size${(0,c.Z)(l)}`],t[`color${(0,c.Z)(o)}`],a&&t.clickable,a&&"default"!==o&&t[`clickableColor${(0,c.Z)(o)})`],i&&t.deletable,i&&"default"!==o&&t[`deletableColor${(0,c.Z)(o)}`],t[s],t[`${s}${(0,c.Z)(o)}`]]}})(({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,n.Z)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${k.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${k.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${k.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${k.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${k.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${k.icon}`]:(0,n.Z)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,n.Z)({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},"default"!==t.color&&{color:"inherit"})),[`& .${k.deleteIcon}`]:(0,n.Z)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,s.Fq)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,s.Fq)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,s.Fq)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${k.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,s.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${k.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>(0,n.Z)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,s.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${k.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,s.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${k.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>(0,n.Z)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${k.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${k.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${k.avatar}`]:{marginLeft:4},[`& .${k.avatarSmall}`]:{marginLeft:2},[`& .${k.icon}`]:{marginLeft:4},[`& .${k.iconSmall}`]:{marginLeft:2},[`& .${k.deleteIcon}`]:{marginRight:5},[`& .${k.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,s.Fq)(e.palette[t.color].main,.7)}`,[`&.${k.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${k.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,s.Fq)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${k.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,s.Fq)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),P=(0,d.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${(0,c.Z)(o)}`]]}})(({ownerState:e})=>(0,n.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7}));function z(e){return"Backspace"===e.key||"Delete"===e.key}var M=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiChip"}),{avatar:l,className:s,clickable:c,color:d="default",component:p,deleteIcon:f,disabled:m=!1,icon:v,label:g,onClick:y,onDelete:b,onKeyDown:$,onKeyUp:k,size:M="medium",variant:E="filled",tabIndex:I,skipFocusWhenDisabled:O=!1}=r,T=(0,o.Z)(r,C),_=a.useRef(null),j=(0,Z.Z)(_,t),L=e=>{e.stopPropagation(),b&&b(e)},N=!1!==c&&!!y||c,F=N||b?S.Z:p||"div",A=(0,n.Z)({},r,{component:F,disabled:m,size:M,color:d,iconColor:a.isValidElement(v)&&v.props.color||d,onDelete:!!b,clickable:N,variant:E}),B=w(A),V=F===S.Z?(0,n.Z)({component:p||"div",focusVisibleClassName:B.focusVisible},b&&{disableRipple:!0}):{},W=null;b&&(W=f&&a.isValidElement(f)?a.cloneElement(f,{className:(0,i.Z)(f.props.className,B.deleteIcon),onClick:L}):(0,h.jsx)(x,{className:(0,i.Z)(B.deleteIcon),onClick:L}));let D=null;l&&a.isValidElement(l)&&(D=a.cloneElement(l,{className:(0,i.Z)(B.avatar,l.props.className)}));let q=null;return v&&a.isValidElement(v)&&(q=a.cloneElement(v,{className:(0,i.Z)(B.icon,v.props.className)})),(0,h.jsxs)(R,(0,n.Z)({as:F,className:(0,i.Z)(B.root,s),disabled:!!N&&!!m||void 0,onClick:y,onKeyDown:e=>{e.currentTarget===e.target&&z(e)&&e.preventDefault(),$&&$(e)},onKeyUp:e=>{e.currentTarget===e.target&&(b&&z(e)?b(e):"Escape"===e.key&&_.current&&_.current.blur()),k&&k(e)},ref:j,tabIndex:O&&m?-1:I,ownerState:A},V,T,{children:[D||q,(0,h.jsx)(P,{className:(0,i.Z)(B.label),ownerState:A,children:g}),W]}))})},1181:function(e,t,r){r.d(t,{ZP:function(){return R}});var o=r(3366),n=r(7462),a=r(7294),i=r(512),l=r(5408),s=r(9707),c=r(8510),u=r(3026),d=r(7623),p=r(6682),f=r(247),m=r(606);let h=a.createContext();var v=r(1977),g=r(5122);function y(e){return(0,g.ZP)("MuiGrid",e)}let b=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=(0,v.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 S=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function $(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function k({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(e=>{""===r&&0!==t[e]&&(r=e)});let o=Object.keys(e).sort((t,r)=>e[t]-e[r]);return o.slice(0,o.indexOf(r))}let C=(0,u.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:o,direction:n,item:a,spacing:i,wrap:l,zeroMinWidth:s,breakpoints:c}=r,u=[];o&&(u=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 o=[];return t.forEach(t=>{let n=e[t];Number(n)>0&&o.push(r[`spacing-${t}-${String(n)}`])}),o}(i,c,t));let d=[];return c.forEach(e=>{let o=r[e];o&&d.push(t[`grid-${e}-${String(o)}`])}),[t.root,o&&t.container,a&&t.item,s&&t.zeroMinWidth,...u,"row"!==n&&t[`direction-xs-${String(n)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})(({ownerState:e})=>(0,n.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:o}=t,n={};if(r&&0!==o){let t;let r=(0,l.P$)({values:o,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=k({breakpoints:e.breakpoints.values,values:r})),n=(0,l.k9)({theme:e},r,(r,o)=>{var n;let a=e.spacing(r);return"0px"!==a?{marginTop:`-${$(a)}`,[`& > .${x.item}`]:{paddingTop:$(a)}}:null!=(n=t)&&n.includes(o)?{}:{marginTop:0,[`& > .${x.item}`]:{paddingTop:0}}})}return n},function({theme:e,ownerState:t}){let{container:r,columnSpacing:o}=t,n={};if(r&&0!==o){let t;let r=(0,l.P$)({values:o,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=k({breakpoints:e.breakpoints.values,values:r})),n=(0,l.k9)({theme:e},r,(r,o)=>{var n;let a=e.spacing(r);return"0px"!==a?{width:`calc(100% + ${$(a)})`,marginLeft:`-${$(a)}`,[`& > .${x.item}`]:{paddingLeft:$(a)}}:null!=(n=t)&&n.includes(o)?{}:{width:"100%",marginLeft:0,[`& > .${x.item}`]:{paddingLeft:0}}})}return n},function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((o,a)=>{let i={};if(t[a]&&(r=t[a]),!r)return o;if(!0===r)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let s=(0,l.P$)({values:t.columns,breakpoints:e.breakpoints.values}),c="object"==typeof s?s[a]:s;if(null==c)return o;let u=`${Math.round(r/c*1e8)/1e6}%`,d={};if(t.container&&t.item&&0!==t.columnSpacing){let r=e.spacing(t.columnSpacing);if("0px"!==r){let e=`calc(${u} + ${$(r)})`;d={flexBasis:e,maxWidth:e}}}i=(0,n.Z)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===e.breakpoints.values[a]?Object.assign(o,i):o[e.breakpoints.up(a)]=i,o},{})}),w=e=>{let{classes:t,container:r,direction:o,item:n,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:s}=e,u=[];r&&(u=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 o=e[t];if(Number(o)>0){let e=`spacing-${t}-${String(o)}`;r.push(e)}}),r}(a,s));let d=[];s.forEach(t=>{let r=e[t];r&&d.push(`grid-${t}-${String(r)}`)});let p={root:["root",r&&"container",n&&"item",l&&"zeroMinWidth",...u,"row"!==o&&`direction-xs-${String(o)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...d]};return(0,c.Z)(p,y,t)};var R=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,p.Z)(f.Z);return e[m.Z]||e}(),c=(0,s.Z)(r),{className:u,columns:v,columnSpacing:g,component:y="div",container:b=!1,direction:x="row",item:$=!1,rowSpacing:k,spacing:R=0,wrap:P="wrap",zeroMinWidth:z=!1}=c,M=(0,o.Z)(c,S),E=k||R,I=g||R,O=a.useContext(h),T=b?v||12:O,_={},j=(0,n.Z)({},M);l.keys.forEach(e=>{null!=M[e]&&(_[e]=M[e],delete j[e])});let L=(0,n.Z)({},c,{columns:T,container:b,direction:x,item:$,rowSpacing:E,columnSpacing:I,wrap:P,zeroMinWidth:z,spacing:R},_,{breakpoints:l.keys}),N=w(L);return(0,Z.jsx)(h.Provider,{value:T,children:(0,Z.jsx)(C,(0,n.Z)({ownerState:L,className:(0,i.Z)(N.root,u),as:y,ref:t},j))})})},3946:function(e,t,r){r.d(t,{Z:function(){return Z}});var o=r(3366),n=r(7462),a=r(7294),i=r(512),l=r(8510),s=r(8111),c=r(3026),u=r(7623),d=r(5294),p=r(8216),f=r(1977),m=r(5122);function h(e){return(0,m.ZP)("MuiIconButton",e)}let v=(0,f.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var g=r(5893);let y=["edge","children","className","color","disabled","disableFocusRipple","size"],b=e=>{let{classes:t,disabled:r,color:o,edge:n,size:a}=e,i={root:["root",r&&"disabled","default"!==o&&`color${(0,p.Z)(o)}`,n&&`edge${(0,p.Z)(n)}`,`size${(0,p.Z)(a)}`]};return(0,l.Z)(i,h,t)},x=(0,c.ZP)(d.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,p.Z)(r.color)}`],r.edge&&t[`edge${(0,p.Z)(r.edge)}`],t[`size${(0,p.Z)(r.size)}`]]}})(({theme:e,ownerState:t})=>(0,n.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>{var r;let o=null==(r=(e.vars||e).palette)?void 0:r[t.color];return(0,n.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,n.Z)({color:null==o?void 0:o.main},!t.disableRipple&&{"&:hover":(0,n.Z)({},o&&{backgroundColor:e.vars?`rgba(${o.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(o.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${v.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})});var Z=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiIconButton"}),{edge:a=!1,children:l,className:s,color:c="default",disabled:d=!1,disableFocusRipple:p=!1,size:f="medium"}=r,m=(0,o.Z)(r,y),h=(0,n.Z)({},r,{edge:a,color:c,disabled:d,disableFocusRipple:p,size:f}),v=b(h);return(0,g.jsx)(x,(0,n.Z)({className:(0,i.Z)(v.root,s),centerRipple:!0,focusRipple:!p,disabled:d,ref:t,ownerState:h},m,{children:l}))})},5861:function(e,t,r){r.d(t,{Z:function(){return S}});var o=r(3366),n=r(7462),a=r(7294),i=r(512),l=r(9707),s=r(8510),c=r(3026),u=r(7623),d=r(8216),p=r(1977),f=r(5122);function m(e){return(0,f.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 v=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],g=e=>{let{align:t,gutterBottom:r,noWrap:o,paragraph:n,variant:a,classes:i}=e,l={root:["root",a,"inherit"!==e.align&&`align${(0,d.Z)(t)}`,r&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return(0,s.Z)(l,m,i)},y=(0,c.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,n.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 S=a.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTypography"}),a=Z(r.color),s=(0,l.Z)((0,n.Z)({},r,{color:a})),{align:c="inherit",className:d,component:p,gutterBottom:f=!1,noWrap:m=!1,paragraph:x=!1,variant:S="body1",variantMapping:$=b}=s,k=(0,o.Z)(s,v),C=(0,n.Z)({},s,{align:c,color:a,className:d,component:p,gutterBottom:f,noWrap:m,paragraph:x,variant:S,variantMapping:$}),w=p||(x?"p":$[S]||b[S])||"span",R=g(C);return(0,h.jsx)(y,(0,n.Z)({as:w,ref:t,ownerState:C,className:(0,i.Z)(R.root,d)},k))})},247:function(e,t,r){let o=(0,r(1265).Z)();t.Z=o},3026:function(e,t,r){r.d(t,{ZP:function(){return O},FO:function(){return I}});var o=r(7462),n=r(3366),a=r(7294),i=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|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,i.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),c=r(5260),u=r(444),d=r(8137),p=r(7278),f=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:f},h=function(e,t,r){var o;if(t){var n=t.shouldForwardProp;o=e.__emotion_forwardProp&&n?function(t){return e.__emotion_forwardProp(t)&&n(t)}:n}return"function"!=typeof o&&r&&(o=e.__emotion_forwardProp),o},v=function(e){var t=e.cache,r=e.serialized,o=e.isStringTag;return(0,u.hC)(t,r,o),(0,p.L)(function(){return(0,u.My)(t,r,o)}),null},g=(function e(t,r){var n,i,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==r&&(n=r.label,i=r.target);var p=h(t,r,l),f=p||m(s),g=!f("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var x=y.length,Z=1;Z{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var b=r(8027),x=r(7506),Z=r(6523);let S=["ownerState"],$=["variants"],k=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function C(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let w=(0,x.Z)(),R=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function P({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function z(e,t){let{ownerState:r}=t,a=(0,n.Z)(t,S),i="function"==typeof e?e((0,o.Z)({ownerState:r},a)):e;if(Array.isArray(i))return i.flatMap(e=>z(e,(0,o.Z)({ownerState:r},a)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){let{variants:e=[]}=i,t=(0,n.Z)(i,$);return e.forEach(e=>{let n=!0;"function"==typeof e.props?n=e.props((0,o.Z)({ownerState:r},a)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&a[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},a)):e.style))}),t}return i}var M=r(247),E=r(606);let I=e=>C(e)&&"classes"!==e;var O=function(e={}){let{themeId:t,defaultTheme:r=w,rootShouldForwardProp:a=C,slotShouldForwardProp:i=C}=e,l=e=>(0,Z.Z)((0,o.Z)({},e,{theme:P((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return l.__mui_systemSx=!0,(e,s={})=>{var c;let u;y(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:d,slot:p,skipVariantsResolver:f,skipSx:m,overridesResolver:h=(c=R(p))?(e,t)=>t[c]:null}=s,v=(0,n.Z)(s,k),x=void 0!==f?f:p&&"Root"!==p&&"root"!==p||!1,Z=m||!1,S=C;"Root"===p||"root"===p?S=a:p?S=i:"string"==typeof e&&e.charCodeAt(0)>96&&(S=void 0);let $=g(e,(0,o.Z)({shouldForwardProp:S,label:u},v)),w=e=>"function"==typeof e&&e.__emotion_real!==e||(0,b.P)(e)?n=>z(e,(0,o.Z)({},n,{theme:P({theme:n.theme,defaultTheme:r,themeId:t})})):e,M=(n,...a)=>{let i=w(n),s=a?a.map(w):[];d&&h&&s.push(e=>{let n=P((0,o.Z)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;let a=n.components[d].styleOverrides,i={};return Object.entries(a).forEach(([t,r])=>{i[t]=z(r,(0,o.Z)({},e,{theme:n}))}),h(e,i)}),d&&!x&&s.push(e=>{var n;let a=P((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return z({variants:null==a||null==(n=a.components)||null==(n=n[d])?void 0:n.variants},(0,o.Z)({},e,{theme:a}))}),Z||s.push(l);let c=s.length-a.length;if(Array.isArray(n)&&c>0){let e=Array(c).fill("");(i=[...n,...e]).raw=[...n.raw,...e]}let u=$(i,...s);return e.muiName&&(u.muiName=e.muiName),u};return $.withConfig&&(M.withConfig=$.withConfig),M}}({themeId:E.Z,defaultTheme:M.Z,rootShouldForwardProp:I})},7623:function(e,t,r){r.d(t,{Z:function(){return l}});var o=r(2236),n=r(6682),a=r(247),i=r(606);function l({props:e,name:t}){return function({props:e,name:t,defaultTheme:r,themeId:a}){let i=(0,n.Z)(r);return a&&(i=i[a]||i),function(e){let{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,o.Z)(t.components[r].defaultProps,n):n}({theme:i,name:t,props:e})}({props:e,name:t,defaultTheme:a.Z,themeId:i.Z})}},8216:function(e,t,r){var o=r(2908);t.Z=o.Z},1705:function(e,t,r){r.d(t,{Z:function(){return n}});var o=r(7294),n=function(...e){return o.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})},e)}},9707:function(e,t,r){r.d(t,{Z:function(){return c}});var o=r(7462),n=r(3366),a=r(8027),i=r(4920);let l=["sx"],s=e=>{var t,r;let o={systemProps:{},otherProps:{}},n=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:i.Z;return Object.keys(e).forEach(t=>{n[t]?o.systemProps[t]=e[t]:o.otherProps[t]=e[t]}),o};function c(e){let t;let{sx:r}=e,{systemProps:i,otherProps:c}=s((0,n.Z)(e,l));return t=Array.isArray(r)?[i,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,a.P)(t)?(0,o.Z)({},i,t):i}:(0,o.Z)({},i,r),(0,o.Z)({},c,{sx:t})}},6682:function(e,t,r){var o=r(7506),n=r(4168);let a=(0,o.Z)();t.Z=function(e=a){return(0,n.Z)(e)}},8510:function(e,t,r){r.d(t,{Z:function(){return o}});function o(e,t,r){let o={};return Object.keys(e).forEach(n=>{o[n]=e[n].reduce((e,o)=>{if(o){let n=t(o);""!==n&&e.push(n),r&&r[o]&&e.push(r[o])}return e},[]).join(" ")}),o}},5122:function(e,t,r){let o;r.d(t,{ZP:function(){return l}});let n=e=>e,a=(o=n,{configure(e){o=e},generate:e=>o(e),reset(){o=n}}),i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function l(e,t,r="Mui"){let o=i[t];return o?`${r}-${o}`:`${a.generate(e)}-${t}`}},1977:function(e,t,r){r.d(t,{Z:function(){return n}});var o=r(5122);function n(e,t,r="Mui"){let n={};return t.forEach(t=>{n[t]=(0,o.ZP)(e,t,r)}),n}},2236:function(e,t,r){r.d(t,{Z:function(){return function e(t,r){let n=(0,o.Z)({},r);return Object.keys(t).forEach(a=>{if(a.toString().match(/^(components|slots)$/))n[a]=(0,o.Z)({},t[a],n[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){let i=t[a]||{},l=r[a];n[a]={},l&&Object.keys(l)?i&&Object.keys(i)?(n[a]=(0,o.Z)({},l),Object.keys(i).forEach(t=>{n[a][t]=e(i[t],l[t])})):n[a]=l:n[a]=i}else void 0===n[a]&&(n[a]=t[a])}),n}}});var o=r(7462)},8679:function(e,t,r){var o=r(9864),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return o.isMemo(e)?i:l[e.$$typeof]||n}l[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[o.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,o){if("string"!=typeof r){if(m){var n=f(r);n&&n!==m&&e(t,n,o)}var i=u(r);d&&(i=i.concat(d(r)));for(var l=s(t),h=s(r),v=0;v{var t,n;let r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:i.Z;return Object.keys(e).forEach(t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r};function s(e){let t;let{sx:n}=e,{systemProps:i,otherProps:s}=c((0,o.Z)(e,l));return t=Array.isArray(n)?[i,...n]:"function"==typeof n?(...e)=>{let t=n(...e);return(0,a.P)(t)?(0,r.Z)({},i,t):i}:(0,r.Z)({},i,n),(0,r.Z)({},s,{sx:t})}},6682:function(e,t,n){var r=n(7506),o=n(4168);let a=(0,r.Z)();t.Z=function(e=a){return(0,o.Z)(e)}},8510:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t,n){let r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((e,r)=>{if(r){let o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}},5122:function(e,t,n){let r;n.d(t,{ZP:function(){return l}});let o=e=>e,a=(r=o,{configure(e){r=e},generate:e=>r(e),reset(){r=o}}),i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function l(e,t,n="Mui"){let r=i[t];return r?`${n}-${r}`:`${a.generate(e)}-${t}`}},1977:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(5122);function o(e,t,n="Mui"){let o={};return t.forEach(t=>{o[t]=(0,r.ZP)(e,t,n)}),o}},2236:function(e,t,n){n.d(t,{Z:function(){return function e(t,n){let o=(0,r.Z)({},n);return Object.keys(t).forEach(a=>{if(a.toString().match(/^(components|slots)$/))o[a]=(0,r.Z)({},t[a],o[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){let i=t[a]||{},l=n[a];o[a]={},l&&Object.keys(l)?i&&Object.keys(i)?(o[a]=(0,r.Z)({},l),Object.keys(i).forEach(t=>{o[a][t]=e(i[t],l[t])})):o[a]=l:o[a]=i}else void 0===o[a]&&(o[a]=t[a])}),o}}});var r=n(7462)},8679:function(e,t,n){var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var l=c(t),h=c(n),v=0;v{let{color:t,disableElevation:n,fullWidth:r,size:a,variant:i,classes:l}=e,s={root:["root",i,"".concat(i).concat((0,f.Z)(t)),"size".concat((0,f.Z)(a)),"".concat(i,"Size").concat((0,f.Z)(a)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,f.Z)(a))],endIcon:["endIcon","iconSize".concat((0,f.Z)(a))]},u=(0,c.Z)(s,v,l);return(0,o.Z)({},l,u)},k=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}}),C=(0,u.ZP)(p.Z,{shouldForwardProp:e=>(0,u.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,f.Z)(n.color))],t["size".concat((0,f.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,f.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(e=>{var t,n;let{theme:r,ownerState:a}=e,i="light"===r.palette.mode?r.palette.grey[300]:r.palette.grey[800],l="light"===r.palette.mode?r.palette.grey.A100:r.palette.grey[700];return(0,o.Z)({},r.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(r.vars||r).shape.borderRadius,transition:r.transitions.create(["background-color","box-shadow","border-color","color"],{duration:r.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:r.vars?"rgba(".concat(r.vars.palette.text.primaryChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===a.variant&&"inherit"!==a.color&&{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[a.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(r.palette[a.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===a.variant&&"inherit"!==a.color&&{border:"1px solid ".concat((r.vars||r).palette[a.color].main),backgroundColor:r.vars?"rgba(".concat(r.vars.palette[a.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(r.palette[a.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===a.variant&&{backgroundColor:r.vars?r.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(r.vars||r).shadows[4],"@media (hover: none)":{boxShadow:(r.vars||r).shadows[2],backgroundColor:(r.vars||r).palette.grey[300]}},"contained"===a.variant&&"inherit"!==a.color&&{backgroundColor:(r.vars||r).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(r.vars||r).palette[a.color].main}}),"&:active":(0,o.Z)({},"contained"===a.variant&&{boxShadow:(r.vars||r).shadows[8]}),["&.".concat(g.focusVisible)]:(0,o.Z)({},"contained"===a.variant&&{boxShadow:(r.vars||r).shadows[6]}),["&.".concat(g.disabled)]:(0,o.Z)({color:(r.vars||r).palette.action.disabled},"outlined"===a.variant&&{border:"1px solid ".concat((r.vars||r).palette.action.disabledBackground)},"contained"===a.variant&&{color:(r.vars||r).palette.action.disabled,boxShadow:(r.vars||r).shadows[0],backgroundColor:(r.vars||r).palette.action.disabledBackground})},"text"===a.variant&&{padding:"6px 8px"},"text"===a.variant&&"inherit"!==a.color&&{color:(r.vars||r).palette[a.color].main},"outlined"===a.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===a.variant&&"inherit"!==a.color&&{color:(r.vars||r).palette[a.color].main,border:r.vars?"1px solid rgba(".concat(r.vars.palette[a.color].mainChannel," / 0.5)"):"1px solid ".concat((0,s.Fq)(r.palette[a.color].main,.5))},"contained"===a.variant&&{color:r.vars?r.vars.palette.text.primary:null==(t=(n=r.palette).getContrastText)?void 0:t.call(n,r.palette.grey[300]),backgroundColor:r.vars?r.vars.palette.Button.inheritContainedBg:i,boxShadow:(r.vars||r).shadows[2]},"contained"===a.variant&&"inherit"!==a.color&&{color:(r.vars||r).palette[a.color].contrastText,backgroundColor:(r.vars||r).palette[a.color].main},"inherit"===a.color&&{color:"inherit",borderColor:"currentColor"},"small"===a.size&&"text"===a.variant&&{padding:"4px 5px",fontSize:r.typography.pxToRem(13)},"large"===a.size&&"text"===a.variant&&{padding:"8px 11px",fontSize:r.typography.pxToRem(15)},"small"===a.size&&"outlined"===a.variant&&{padding:"3px 9px",fontSize:r.typography.pxToRem(13)},"large"===a.size&&"outlined"===a.variant&&{padding:"7px 21px",fontSize:r.typography.pxToRem(15)},"small"===a.size&&"contained"===a.variant&&{padding:"4px 10px",fontSize:r.typography.pxToRem(13)},"large"===a.size&&"contained"===a.variant&&{padding:"8px 22px",fontSize:r.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})},e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(g.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(g.disabled)]:{boxShadow:"none"}}}),w=(0,u.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,t["iconSize".concat((0,f.Z)(n.size))]]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},k(t))}),R=(0,u.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,t["iconSize".concat((0,f.Z)(n.size))]]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},k(t))});var P=a.forwardRef(function(e,t){let n=a.useContext(y),c=a.useContext(b),s=(0,l.Z)(n,e),u=(0,d.Z)({props:s,name:"MuiButton"}),{children:p,color:f="primary",component:m="button",className:h,disabled:v=!1,disableElevation:g=!1,disableFocusRipple:k=!1,endIcon:P,focusVisibleClassName:z,fullWidth:M=!1,size:E="medium",startIcon:I,type:O,variant:T="text"}=u,_=(0,r.Z)(u,Z),j=(0,o.Z)({},u,{color:f,component:m,disabled:v,disableElevation:g,disableFocusRipple:k,fullWidth:M,size:E,type:O,variant:T}),L=S(j),N=I&&(0,x.jsx)(w,{className:L.startIcon,ownerState:j,children:I}),F=P&&(0,x.jsx)(R,{className:L.endIcon,ownerState:j,children:P});return(0,x.jsxs)(C,(0,o.Z)({ownerState:j,className:(0,i.Z)(n.className,L.root,h,c||""),component:m,disabled:v,focusRipple:!k,focusVisibleClassName:(0,i.Z)(L.focusVisible,z),ref:t,type:O},_,{classes:L,children:[N,p,F]}))})},5294:function(e,t,n){let r,o,a,i;n.d(t,{Z:function(){return en}});var l=n(7462),c=n(3366),s=n(7294),u=n(512),d=n(8510),p=n(3819),f=n(7575),m=n(8350);let h="undefined"!=typeof window?s.useLayoutEffect:s.useEffect;var v=function(e){let t=s.useRef(e);return h(()=>{t.current=e}),s.useRef((...e)=>(0,t.current)(...e)).current};let g={},y=[];class b{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new b}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}}let x=!0,Z=!1,S=new b,k={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 C(e){e.metaKey||e.altKey||e.ctrlKey||(x=!0)}function w(){x=!1}function R(){"hidden"===this.visibilityState&&Z&&(x=!0)}var P=function(){let e=s.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",C,!0),t.addEventListener("mousedown",w,!0),t.addEventListener("pointerdown",w,!0),t.addEventListener("touchstart",w,!0),t.addEventListener("visibilitychange",R,!0)}},[]),t=s.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return x||function(e){let{type:t,tagName:n}=e;return"INPUT"===n&&!!k[t]&&!e.readOnly||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Z=!0,S.start(100,()=>{Z=!1}),t.current=!1,!0)},ref:e}},z=n(2729);function M(e,t){return(M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var E=s.createContext(null);function I(e,t){var n=Object.create(null);return e&&s.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=t&&(0,s.isValidElement)(e)?t(e):e}),n}function O(e,t,n){return null!=n[t]?n[t]:e.props[t]}var T=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},_=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,M(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?I(e.children,function(t){return(0,s.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:O(t,"appear",e),enter:O(t,"enter",e),exit:O(t,"exit",e)})}):(Object.keys(r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var c in t){if(o[c])for(r=0;r{if(!l&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,l,d]),(0,L.jsx)("span",{className:m,style:{width:i,height:i,top:-(i/2)+a,left:-(i/2)+o},children:(0,L.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})(i||(i=W()),F.rippleVisible,D,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},F.ripplePulsate,e=>{let{theme:t}=e;return t.transitions.duration.shorter},F.child,F.childLeaving,q,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},F.childPulsate,H,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),G=s.forwardRef(function(e,t){let n=(0,f.Z)({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=(0,c.Z)(n,$),[d,p]=s.useState([]),m=s.useRef(0),h=s.useRef(null);s.useEffect(()=>{h.current&&(h.current(),h.current=null)},[d]);let v=s.useRef(!1),x=function(){var e;let t=function(e,t){let n=s.useRef(g);return n.current===g&&(n.current=e(void 0)),n}(b.create).current;return e=t.disposeEffect,s.useEffect(e,y),t}(),Z=s.useRef(null),S=s.useRef(null),k=s.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;p(e=>[...e,(0,L.jsx)(K,{classes:{ripple:(0,u.Z)(o.ripple,F.ripple),rippleVisible:(0,u.Z)(o.rippleVisible,F.rippleVisible),ripplePulsate:(0,u.Z)(o.ripplePulsate,F.ripplePulsate),child:(0,u.Z)(o.child,F.child),childLeaving:(0,u.Z)(o.childLeaving,F.childLeaving),childPulsate:(0,u.Z)(o.childPulsate,F.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},m.current)]),m.current+=1,h.current=i},[o]),C=s.useCallback(function(){let e,t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},{pulsate:l=!1,center:c=r||a.pulsate,fakeElement:s=!1}=a;if((null==o?void 0:o.type)==="mousedown"&&v.current){v.current=!1;return}(null==o?void 0:o.type)==="touchstart"&&(v.current=!0);let u=s?null:S.current,d=u?u.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!c&&void 0!==o&&(0!==o.clientX||0!==o.clientY)&&(o.clientX||o.touches)){let{clientX:n,clientY:r}=o.touches&&o.touches.length>0?o.touches[0]:o;e=Math.round(n-d.left),t=Math.round(r-d.top)}else e=Math.round(d.width/2),t=Math.round(d.height/2);c?(n=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(n+=1):n=Math.sqrt((2*Math.max(Math.abs((u?u.clientWidth:0)-e),e)+2)**2+(2*Math.max(Math.abs((u?u.clientHeight:0)-t),t)+2)**2),null!=o&&o.touches?null===Z.current&&(Z.current=()=>{k({pulsate:l,rippleX:e,rippleY:t,rippleSize:n,cb:i})},x.start(80,()=>{Z.current&&(Z.current(),Z.current=null)})):k({pulsate:l,rippleX:e,rippleY:t,rippleSize:n,cb:i})},[r,k,x]),w=s.useCallback(()=>{C({},{pulsate:!0})},[C]),R=s.useCallback((e,t)=>{if(x.clear(),(null==e?void 0:e.type)==="touchend"&&Z.current){Z.current(),Z.current=null,x.start(0,()=>{R(e,t)});return}Z.current=null,p(e=>e.length>0?e.slice(1):e),h.current=t},[x]);return s.useImperativeHandle(t,()=>({pulsate:w,start:C,stop:R}),[w,C,R]),(0,L.jsx)(U,(0,l.Z)({className:(0,u.Z)(F.root,o.root,a),ref:S},i,{children:(0,L.jsx)(_,{component:null,exit:!0,children:d})}))});var X=n(5122);function Y(e){return(0,X.ZP)("MuiButtonBase",e)}let J=(0,N.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Q=["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"],ee=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=(0,d.Z)({root:["root",t&&"disabled",n&&"focusVisible"]},Y,o);return n&&r&&(a.root+=" ".concat(r)),a},et=(0,p.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"},["&.".concat(J.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var en=s.forwardRef(function(e,t){let n=(0,f.Z)({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:d="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:y=!1,LinkComponent:b="a",onBlur:x,onClick:Z,onContextMenu:S,onDragLeave:k,onFocus:C,onFocusVisible:w,onKeyDown:R,onKeyUp:z,onMouseDown:M,onMouseLeave:E,onMouseUp:I,onTouchEnd:O,onTouchMove:T,onTouchStart:_,tabIndex:j=0,TouchRippleProps:N,touchRippleRef:F,type:A}=n,B=(0,c.Z)(n,Q),V=s.useRef(null),W=s.useRef(null),$=(0,m.Z)(W,F),{isFocusVisibleRef:D,onFocus:q,onBlur:H,ref:U}=P(),[K,X]=s.useState(!1);p&&K&&X(!1),s.useImperativeHandle(r,()=>({focusVisible:()=>{X(!0),V.current.focus()}}),[]);let[Y,J]=s.useState(!1);s.useEffect(()=>{J(!0)},[]);let en=Y&&!h&&!p;function er(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return v(r=>(t&&t(r),!n&&W.current&&W.current[e](r),!0))}s.useEffect(()=>{K&&y&&!h&&Y&&W.current.pulsate()},[h,y,K,Y]);let eo=er("start",M),ea=er("stop",S),ei=er("stop",k),el=er("stop",I),ec=er("stop",e=>{K&&e.preventDefault(),E&&E(e)}),es=er("start",_),eu=er("stop",O),ed=er("stop",T),ep=er("stop",e=>{H(e),!1===D.current&&X(!1),x&&x(e)},!1),ef=v(e=>{V.current||(V.current=e.currentTarget),q(e),!0===D.current&&(X(!0),w&&w(e)),C&&C(e)}),em=()=>{let e=V.current;return d&&"button"!==d&&!("A"===e.tagName&&e.href)},eh=s.useRef(!1),ev=v(e=>{y&&!eh.current&&K&&W.current&&" "===e.key&&(eh.current=!0,W.current.stop(e,()=>{W.current.start(e)})),e.target===e.currentTarget&&em()&&" "===e.key&&e.preventDefault(),R&&R(e),e.target===e.currentTarget&&em()&&"Enter"===e.key&&!p&&(e.preventDefault(),Z&&Z(e))}),eg=v(e=>{y&&" "===e.key&&W.current&&K&&!e.defaultPrevented&&(eh.current=!1,W.current.stop(e,()=>{W.current.pulsate(e)})),z&&z(e),Z&&e.target===e.currentTarget&&em()&&" "===e.key&&!e.defaultPrevented&&Z(e)}),ey=d;"button"===ey&&(B.href||B.to)&&(ey=b);let eb={};"button"===ey?(eb.type=void 0===A?"button":A,eb.disabled=p):(B.href||B.to||(eb.role="button"),p&&(eb["aria-disabled"]=p));let ex=(0,m.Z)(t,U,V),eZ=(0,l.Z)({},n,{centerRipple:o,component:d,disabled:p,disableRipple:h,disableTouchRipple:g,focusRipple:y,tabIndex:j,focusVisible:K}),eS=ee(eZ);return(0,L.jsxs)(et,(0,l.Z)({as:ey,className:(0,u.Z)(eS.root,i),ownerState:eZ,onBlur:ep,onClick:Z,onContextMenu:ea,onFocus:ef,onKeyDown:ev,onKeyUp:eg,onMouseDown:eo,onMouseLeave:ec,onMouseUp:el,onDragLeave:ei,onTouchEnd:eu,onTouchMove:ed,onTouchStart:es,ref:ex,tabIndex:p?-1:j,type:A},eb,B,{children:[a,en?(0,L.jsx)(G,(0,l.Z)({ref:$,center:o},N)):null]}))})},3911:function(e,t,n){n.d(t,{Z:function(){return E}});var r=n(3366),o=n(7462),a=n(7294),i=n(512),l=n(8510),c=n(8111),s=n(5228),u=n(7575),d=n(3819),p=n(1977),f=n(5122);function m(e){return(0,f.ZP)("MuiSvgIcon",e)}(0,p.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(5893);let v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=e=>{let{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&"color".concat((0,s.Z)(t)),"fontSize".concat((0,s.Z)(n))]};return(0,l.Z)(o,m,r)},y=(0,d.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.Z)(n.color))],t["fontSize".concat((0,s.Z)(n.fontSize))]]}})(e=>{var t,n,r,o,a,i,l,c,s,u,d,p,f;let{theme:m,ownerState:h}=e;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:h.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=m.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=m.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:({inherit:"inherit",small:(null==(o=m.typography)||null==(a=o.pxToRem)?void 0:a.call(o,20))||"1.25rem",medium:(null==(i=m.typography)||null==(l=i.pxToRem)?void 0:l.call(i,24))||"1.5rem",large:(null==(c=m.typography)||null==(s=c.pxToRem)?void 0:s.call(c,35))||"2.1875rem"})[h.fontSize],color:null!=(u=null==(d=(m.vars||m).palette)||null==(d=d[h.color])?void 0:d.main)?u:({action:null==(p=(m.vars||m).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(f=(m.vars||m).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0})[h.color]}}),b=a.forwardRef(function(e,t){let n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),{children:l,className:c,color:s="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:b,viewBox:x="0 0 24 24"}=n,Z=(0,r.Z)(n,v),S=a.isValidElement(l)&&"svg"===l.type,k=(0,o.Z)({},n,{color:s,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:x,hasSvgAsChild:S}),C={};m||(C.viewBox=x);let w=g(k);return(0,h.jsxs)(y,(0,o.Z)({as:d,className:(0,i.Z)(w.root,c),focusable:"false",color:f,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:t},C,Z,S&&l.props,{ownerState:k,children:[S?l.props.children:l,b?(0,h.jsx)("title",{children:b}):null]}))});b.muiName="SvgIcon";var x=function(e,t){function n(n,r){return(0,h.jsx)(b,(0,o.Z)({"data-testid":"".concat(t,"Icon"),ref:r},n,{children:e}))}return n.muiName=b.muiName,a.memo(a.forwardRef(n))}((0,h.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),Z=n(8350),S=n(5294);function k(e){return(0,f.ZP)("MuiChip",e)}let C=(0,p.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),w=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],R=e=>{let{classes:t,disabled:n,size:r,color:o,iconColor:a,onDelete:i,clickable:c,variant:u}=e,d={root:["root",u,n&&"disabled","size".concat((0,s.Z)(r)),"color".concat((0,s.Z)(o)),c&&"clickable",c&&"clickableColor".concat((0,s.Z)(o)),i&&"deletable",i&&"deletableColor".concat((0,s.Z)(o)),"".concat(u).concat((0,s.Z)(o))],label:["label","label".concat((0,s.Z)(r))],avatar:["avatar","avatar".concat((0,s.Z)(r)),"avatarColor".concat((0,s.Z)(o))],icon:["icon","icon".concat((0,s.Z)(r)),"iconColor".concat((0,s.Z)(a))],deleteIcon:["deleteIcon","deleteIcon".concat((0,s.Z)(r)),"deleteIconColor".concat((0,s.Z)(o)),"deleteIcon".concat((0,s.Z)(u),"Color").concat((0,s.Z)(o))]};return(0,l.Z)(d,k,t)},P=(0,d.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e,{color:r,iconColor:o,clickable:a,onDelete:i,size:l,variant:c}=n;return[{["& .".concat(C.avatar)]:t.avatar},{["& .".concat(C.avatar)]:t["avatar".concat((0,s.Z)(l))]},{["& .".concat(C.avatar)]:t["avatarColor".concat((0,s.Z)(r))]},{["& .".concat(C.icon)]:t.icon},{["& .".concat(C.icon)]:t["icon".concat((0,s.Z)(l))]},{["& .".concat(C.icon)]:t["iconColor".concat((0,s.Z)(o))]},{["& .".concat(C.deleteIcon)]:t.deleteIcon},{["& .".concat(C.deleteIcon)]:t["deleteIcon".concat((0,s.Z)(l))]},{["& .".concat(C.deleteIcon)]:t["deleteIconColor".concat((0,s.Z)(r))]},{["& .".concat(C.deleteIcon)]:t["deleteIcon".concat((0,s.Z)(c),"Color").concat((0,s.Z)(r))]},t.root,t["size".concat((0,s.Z)(l))],t["color".concat((0,s.Z)(r))],a&&t.clickable,a&&"default"!==r&&t["clickableColor".concat((0,s.Z)(r),")")],i&&t.deletable,i&&"default"!==r&&t["deletableColor".concat((0,s.Z)(r))],t[c],t["".concat(c).concat((0,s.Z)(r))]]}})(e=>{let{theme:t,ownerState:n}=e,r="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,o.Z)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",["&.".concat(C.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},["& .".concat(C.avatar)]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:r,fontSize:t.typography.pxToRem(12)},["& .".concat(C.avatarColorPrimary)]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},["& .".concat(C.avatarColorSecondary)]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},["& .".concat(C.avatarSmall)]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},["& .".concat(C.icon)]:(0,o.Z)({marginLeft:5,marginRight:-6},"small"===n.size&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&(0,o.Z)({color:t.vars?t.vars.palette.Chip.defaultIconColor:r},"default"!==n.color&&{color:"inherit"})),["& .".concat(C.deleteIcon)]:(0,o.Z)({WebkitTapHighlightColor:"transparent",color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.26)"):(0,c.Fq)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.4)"):(0,c.Fq)(t.palette.text.primary,.4)}},"small"===n.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==n.color&&{color:t.vars?"rgba(".concat(t.vars.palette[n.color].contrastTextChannel," / 0.7)"):(0,c.Fq)(t.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].contrastText}})},"small"===n.size&&{height:24},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},n.onDelete&&{["&.".concat(C.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,c.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},n.onDelete&&"default"!==n.color&&{["&.".concat(C.focusVisible)]:{backgroundColor:(t.vars||t).palette[n.color].dark}})},e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},["&.".concat(C.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.selectedChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,c.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},n.clickable&&"default"!==n.color&&{["&:hover, &.".concat(C.focusVisible)]:{backgroundColor:(t.vars||t).palette[n.color].dark}})},e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({},"outlined"===n.variant&&{backgroundColor:"transparent",border:t.vars?"1px solid ".concat(t.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]),["&.".concat(C.clickable,":hover")]:{backgroundColor:(t.vars||t).palette.action.hover},["&.".concat(C.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["& .".concat(C.avatar)]:{marginLeft:4},["& .".concat(C.avatarSmall)]:{marginLeft:2},["& .".concat(C.icon)]:{marginLeft:4},["& .".concat(C.iconSmall)]:{marginLeft:2},["& .".concat(C.deleteIcon)]:{marginRight:5},["& .".concat(C.deleteIconSmall)]:{marginRight:3}},"outlined"===n.variant&&"default"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:"1px solid ".concat(t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.7)"):(0,c.Fq)(t.palette[n.color].main,.7)),["&.".concat(C.clickable,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity)},["&.".concat(C.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.focusOpacity,")"):(0,c.Fq)(t.palette[n.color].main,t.palette.action.focusOpacity)},["& .".concat(C.deleteIcon)]:{color:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.7)"):(0,c.Fq)(t.palette[n.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].main}}})}),z=(0,d.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:n}=e,{size:r}=n;return[t.label,t["label".concat((0,s.Z)(r))]]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})});function M(e){return"Backspace"===e.key||"Delete"===e.key}var E=a.forwardRef(function(e,t){let n=(0,u.Z)({props:e,name:"MuiChip"}),{avatar:l,className:c,clickable:s,color:d="default",component:p,deleteIcon:f,disabled:m=!1,icon:v,label:g,onClick:y,onDelete:b,onKeyDown:k,onKeyUp:C,size:E="medium",variant:I="filled",tabIndex:O,skipFocusWhenDisabled:T=!1}=n,_=(0,r.Z)(n,w),j=a.useRef(null),L=(0,Z.Z)(j,t),N=e=>{e.stopPropagation(),b&&b(e)},F=!1!==s&&!!y||s,A=F||b?S.Z:p||"div",B=(0,o.Z)({},n,{component:A,disabled:m,size:E,color:d,iconColor:a.isValidElement(v)&&v.props.color||d,onDelete:!!b,clickable:F,variant:I}),V=R(B),W=A===S.Z?(0,o.Z)({component:p||"div",focusVisibleClassName:V.focusVisible},b&&{disableRipple:!0}):{},$=null;b&&($=f&&a.isValidElement(f)?a.cloneElement(f,{className:(0,i.Z)(f.props.className,V.deleteIcon),onClick:N}):(0,h.jsx)(x,{className:(0,i.Z)(V.deleteIcon),onClick:N}));let D=null;l&&a.isValidElement(l)&&(D=a.cloneElement(l,{className:(0,i.Z)(V.avatar,l.props.className)}));let q=null;return v&&a.isValidElement(v)&&(q=a.cloneElement(v,{className:(0,i.Z)(V.icon,v.props.className)})),(0,h.jsxs)(P,(0,o.Z)({as:A,className:(0,i.Z)(V.root,c),disabled:!!F&&!!m||void 0,onClick:y,onKeyDown:e=>{e.currentTarget===e.target&&M(e)&&e.preventDefault(),k&&k(e)},onKeyUp:e=>{e.currentTarget===e.target&&(b&&M(e)?b(e):"Escape"===e.key&&j.current&&j.current.blur()),C&&C(e)},ref:L,tabIndex:T&&m?-1:O,ownerState:B},W,_,{children:[D||q,(0,h.jsx)(z,{className:(0,i.Z)(V.label),ownerState:B,children:g}),$]}))})},3402:function(e,t,n){n.d(t,{ZP:function(){return P}});var r=n(3366),o=n(7462),a=n(7294),i=n(512),l=n(5408),c=n(9707),s=n(8510),u=n(3819),d=n(7575),p=n(6682),f=n(7854),m=n(5038);let h=a.createContext();var v=n(1977),g=n(5122);function y(e){return(0,g.ZP)("MuiGrid",e)}let b=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=(0,v.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>"spacing-xs-".concat(e)),...["column-reverse","column","row-reverse","row"].map(e=>"direction-xs-".concat(e)),...["nowrap","wrap-reverse","wrap"].map(e=>"wrap-xs-".concat(e)),...b.map(e=>"grid-xs-".concat(e)),...b.map(e=>"grid-sm-".concat(e)),...b.map(e=>"grid-md-".concat(e)),...b.map(e=>"grid-lg-".concat(e)),...b.map(e=>"grid-xl-".concat(e))]);var Z=n(5893);let S=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function k(e){let t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function C(e){let{breakpoints:t,values:n}=e,r="";Object.keys(n).forEach(e=>{""===r&&0!==n[e]&&(r=e)});let o=Object.keys(t).sort((e,n)=>t[e]-t[n]);return o.slice(0,o.indexOf(r))}let w=(0,u.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:l,zeroMinWidth:c,breakpoints:s}=n,u=[];r&&(u=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n["spacing-xs-".concat(String(e))]];let r=[];return t.forEach(t=>{let o=e[t];Number(o)>0&&r.push(n["spacing-".concat(t,"-").concat(String(o))])}),r}(i,s,t));let d=[];return s.forEach(e=>{let r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])}),[t.root,r&&t.container,a&&t.item,c&&t.zeroMinWidth,...u,"row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))],...d]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})},function(e){let{theme:t,ownerState:n}=e,r=(0,l.P$)({values:n.direction,breakpoints:t.breakpoints.values});return(0,l.k9)({theme:t},r,e=>{let t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(x.item)]={maxWidth:"none"}),t})},function(e){let{theme:t,ownerState:n}=e,{container:r,rowSpacing:o}=n,a={};if(r&&0!==o){let e;let n=(0,l.P$)({values:o,breakpoints:t.breakpoints.values});"object"==typeof n&&(e=C({breakpoints:t.breakpoints.values,values:n})),a=(0,l.k9)({theme:t},n,(n,r)=>{var o;let a=t.spacing(n);return"0px"!==a?{marginTop:"-".concat(k(a)),["& > .".concat(x.item)]:{paddingTop:k(a)}}:null!=(o=e)&&o.includes(r)?{}:{marginTop:0,["& > .".concat(x.item)]:{paddingTop:0}}})}return a},function(e){let{theme:t,ownerState:n}=e,{container:r,columnSpacing:o}=n,a={};if(r&&0!==o){let e;let n=(0,l.P$)({values:o,breakpoints:t.breakpoints.values});"object"==typeof n&&(e=C({breakpoints:t.breakpoints.values,values:n})),a=(0,l.k9)({theme:t},n,(n,r)=>{var o;let a=t.spacing(n);return"0px"!==a?{width:"calc(100% + ".concat(k(a),")"),marginLeft:"-".concat(k(a)),["& > .".concat(x.item)]:{paddingLeft:k(a)}}:null!=(o=e)&&o.includes(r)?{}:{width:"100%",marginLeft:0,["& > .".concat(x.item)]:{paddingLeft:0}}})}return a},function(e){let t,{theme:n,ownerState:r}=e;return n.breakpoints.keys.reduce((e,a)=>{let i={};if(r[a]&&(t=r[a]),!t)return e;if(!0===t)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let c=(0,l.P$)({values:r.columns,breakpoints:n.breakpoints.values}),s="object"==typeof c?c[a]:c;if(null==s)return e;let u="".concat(Math.round(t/s*1e8)/1e6,"%"),d={};if(r.container&&r.item&&0!==r.columnSpacing){let e=n.spacing(r.columnSpacing);if("0px"!==e){let t="calc(".concat(u," + ").concat(k(e),")");d={flexBasis:t,maxWidth:t}}}i=(0,o.Z)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===n.breakpoints.values[a]?Object.assign(e,i):e[n.breakpoints.up(a)]=i,e},{})}),R=e=>{let{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:c}=e,u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return["spacing-xs-".concat(String(e))];let n=[];return t.forEach(t=>{let r=e[t];if(Number(r)>0){let e="spacing-".concat(t,"-").concat(String(r));n.push(e)}}),n}(a,c));let d=[];c.forEach(t=>{let n=e[t];n&&d.push("grid-".concat(t,"-").concat(String(n)))});let p={root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...u,"row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==i&&"wrap-xs-".concat(String(i)),...d]};return(0,s.Z)(p,y,t)};var P=a.forwardRef(function(e,t){let n=(0,d.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,p.Z)(f.Z);return e[m.Z]||e}(),s=(0,c.Z)(n),{className:u,columns:v,columnSpacing:g,component:y="div",container:b=!1,direction:x="row",item:k=!1,rowSpacing:C,spacing:P=0,wrap:z="wrap",zeroMinWidth:M=!1}=s,E=(0,r.Z)(s,S),I=C||P,O=g||P,T=a.useContext(h),_=b?v||12:T,j={},L=(0,o.Z)({},E);l.keys.forEach(e=>{null!=E[e]&&(j[e]=E[e],delete L[e])});let N=(0,o.Z)({},s,{columns:_,container:b,direction:x,item:k,rowSpacing:I,columnSpacing:O,wrap:z,zeroMinWidth:M,spacing:P},j,{breakpoints:l.keys}),F=R(N);return(0,Z.jsx)(h.Provider,{value:_,children:(0,Z.jsx)(w,(0,o.Z)({ownerState:N,className:(0,i.Z)(F.root,u),as:y,ref:t},L))})})},3367:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(3366),o=n(7462),a=n(7294),i=n(512),l=n(8510),c=n(8111),s=n(3819),u=n(7575),d=n(5294),p=n(5228),f=n(1977),m=n(5122);function h(e){return(0,m.ZP)("MuiIconButton",e)}let v=(0,f.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var g=n(5893);let y=["edge","children","className","color","disabled","disableFocusRipple","size"],b=e=>{let{classes:t,disabled:n,color:r,edge:o,size:a}=e,i={root:["root",n&&"disabled","default"!==r&&"color".concat((0,p.Z)(r)),o&&"edge".concat((0,p.Z)(o)),"size".concat((0,p.Z)(a))]};return(0,l.Z)(i,h,t)},x=(0,s.ZP)(d.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color".concat((0,p.Z)(n.color))],n.edge&&t["edge".concat((0,p.Z)(n.edge))],t["size".concat((0,p.Z)(n.size))]]}})(e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})},e=>{var t;let{theme:n,ownerState:r}=e,a=null==(t=(n.vars||n).palette)?void 0:t[r.color];return(0,o.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,o.Z)({color:null==a?void 0:a.main},!r.disableRipple&&{"&:hover":(0,o.Z)({},a&&{backgroundColor:n.vars?"rgba(".concat(a.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,c.Fq)(a.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:n.typography.pxToRem(28)},{["&.".concat(v.disabled)]:{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}})});var Z=a.forwardRef(function(e,t){let n=(0,u.Z)({props:e,name:"MuiIconButton"}),{edge:a=!1,children:l,className:c,color:s="default",disabled:d=!1,disableFocusRipple:p=!1,size:f="medium"}=n,m=(0,r.Z)(n,y),h=(0,o.Z)({},n,{edge:a,color:s,disabled:d,disableFocusRipple:p,size:f}),v=b(h);return(0,g.jsx)(x,(0,o.Z)({className:(0,i.Z)(v.root,c),centerRipple:!0,focusRipple:!p,disabled:d,ref:t,ownerState:h},m,{children:l}))})},4246:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(3366),o=n(7462),a=n(7294),i=n(512),l=n(9707),c=n(8510),s=n(3819),u=n(7575),d=n(5228),p=n(1977),f=n(5122);function m(e){return(0,f.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=n(5893);let v=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],g=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e,l={root:["root",a,"inherit"!==e.align&&"align".concat((0,d.Z)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,c.Z)(l,m,i)},y=(0,s.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,d.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.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 S=a.forwardRef(function(e,t){let n=(0,u.Z)({props:e,name:"MuiTypography"}),a=Z(n.color),c=(0,l.Z)((0,o.Z)({},n,{color:a})),{align:s="inherit",className:d,component:p,gutterBottom:f=!1,noWrap:m=!1,paragraph:x=!1,variant:S="body1",variantMapping:k=b}=c,C=(0,r.Z)(c,v),w=(0,o.Z)({},c,{align:s,color:a,className:d,component:p,gutterBottom:f,noWrap:m,paragraph:x,variant:S,variantMapping:k}),R=p||(x?"p":k[S]||b[S])||"span",P=g(w);return(0,h.jsx)(y,(0,o.Z)({as:R,ref:t,ownerState:w,className:(0,i.Z)(P.root,d)},C))})},7854:function(e,t,n){let r=(0,n(4191).Z)();t.Z=r},3819:function(e,t,n){n.d(t,{ZP:function(){return T},FO:function(){return O}});var r=n(7462),o=n(3366),a=n(7294),i=n(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|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)-.*))$/,c=(0,i.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=n(5260),u=n(444),d=n(8137),p=n(7278),f=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?c:f},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,p.L)(function(){return(0,u.My)(t,n,r)}),null},g=(function e(t,n){var o,i,l=t.__emotion_real===t,c=l&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var p=h(t,n,l),f=p||m(c),g=!f("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var x=y.length,Z=1;Z{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var b=n(8027),x=n(7506),Z=n(6523);let S=["ownerState"],k=["variants"],C=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function w(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let R=(0,x.Z)(),P=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function z({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function M(e,t){let{ownerState:n}=t,a=(0,o.Z)(t,S),i="function"==typeof e?e((0,r.Z)({ownerState:n},a)):e;if(Array.isArray(i))return i.flatMap(e=>M(e,(0,r.Z)({ownerState:n},a)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){let{variants:e=[]}=i,t=(0,o.Z)(i,k);return e.forEach(e=>{let o=!0;"function"==typeof e.props?o=e.props((0,r.Z)({ownerState:n},a)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&a[t]!==e.props[t]&&(o=!1)}),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,r.Z)({ownerState:n},a)):e.style))}),t}return i}var E=n(7854),I=n(5038);let O=e=>w(e)&&"classes"!==e;var T=function(e={}){let{themeId:t,defaultTheme:n=R,rootShouldForwardProp:a=w,slotShouldForwardProp:i=w}=e,l=e=>(0,Z.Z)((0,r.Z)({},e,{theme:z((0,r.Z)({},e,{defaultTheme:n,themeId:t}))}));return l.__mui_systemSx=!0,(e,c={})=>{var s;let u;y(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:d,slot:p,skipVariantsResolver:f,skipSx:m,overridesResolver:h=(s=P(p))?(e,t)=>t[s]:null}=c,v=(0,o.Z)(c,C),x=void 0!==f?f:p&&"Root"!==p&&"root"!==p||!1,Z=m||!1,S=w;"Root"===p||"root"===p?S=a:p?S=i:"string"==typeof e&&e.charCodeAt(0)>96&&(S=void 0);let k=g(e,(0,r.Z)({shouldForwardProp:S,label:u},v)),R=e=>"function"==typeof e&&e.__emotion_real!==e||(0,b.P)(e)?o=>M(e,(0,r.Z)({},o,{theme:z({theme:o.theme,defaultTheme:n,themeId:t})})):e,E=(o,...a)=>{let i=R(o),c=a?a.map(R):[];d&&h&&c.push(e=>{let o=z((0,r.Z)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[d]||!o.components[d].styleOverrides)return null;let a=o.components[d].styleOverrides,i={};return Object.entries(a).forEach(([t,n])=>{i[t]=M(n,(0,r.Z)({},e,{theme:o}))}),h(e,i)}),d&&!x&&c.push(e=>{var o;let a=z((0,r.Z)({},e,{defaultTheme:n,themeId:t}));return M({variants:null==a||null==(o=a.components)||null==(o=o[d])?void 0:o.variants},(0,r.Z)({},e,{theme:a}))}),Z||c.push(l);let s=c.length-a.length;if(Array.isArray(o)&&s>0){let e=Array(s).fill("");(i=[...o,...e]).raw=[...o.raw,...e]}let u=k(i,...c);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(E.withConfig=k.withConfig),E}}({themeId:I.Z,defaultTheme:E.Z,rootShouldForwardProp:O})},7575:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(2236),o=n(6682),a=n(7854),i=n(5038);function l(e){let{props:t,name:n}=e;return function({props:e,name:t,defaultTheme:n,themeId:a}){let i=(0,o.Z)(n);return a&&(i=i[a]||i),function(e){let{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}({theme:i,name:t,props:e})}({props:t,name:n,defaultTheme:a.Z,themeId:i.Z})}},5228:function(e,t,n){var r=n(2908);t.Z=r.Z},8350:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(7294),o=function(...e){return r.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})},e)}},9921:function(e,t){var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function Z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case s:case p:case v:case h:case c:return e;default:return t}}case o:return t}}}function S(e){return Z(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||Z(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return Z(e)===s},t.isContextProvider=function(e){return Z(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return Z(e)===p},t.isFragment=function(e){return Z(e)===a},t.isLazy=function(e){return Z(e)===v},t.isMemo=function(e){return Z(e)===h},t.isPortal=function(e){return Z(e)===o},t.isProfiler=function(e){return Z(e)===l},t.isStrictMode=function(e){return Z(e)===i},t.isSuspense=function(e){return Z(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=Z},9864:function(e,t,n){e.exports=n(9921)},2729:function(e,t,n){n.d(t,{_:function(){return r}});function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}}}]); \ No newline at end of file diff --git a/_next/static/chunks/484-ecb78068700f2b30.js b/_next/static/chunks/484-ecb78068700f2b30.js deleted file mode 100644 index 6694a22..0000000 --- a/_next/static/chunks/484-ecb78068700f2b30.js +++ /dev/null @@ -1,23 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[484],{5202:function(){!function(){"use strict";function e(e){var t=!0,n=!1,r=null,i={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 a(e){return!!e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList}function o(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function s(e){t=!1}function l(){document.addEventListener("mousemove",u),document.addEventListener("mousedown",u),document.addEventListener("mouseup",u),document.addEventListener("pointermove",u),document.addEventListener("pointerdown",u),document.addEventListener("pointerup",u),document.addEventListener("touchmove",u),document.addEventListener("touchstart",u),document.addEventListener("touchend",u)}function u(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",u),document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",u),document.removeEventListener("pointermove",u),document.removeEventListener("pointerdown",u),document.removeEventListener("pointerup",u),document.removeEventListener("touchmove",u),document.removeEventListener("touchstart",u),document.removeEventListener("touchend",u))}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(a(e.activeElement)&&o(e.activeElement),t=!0)},!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=!0),l())},!0),l(),e.addEventListener("focus",function(e){var n,r,s;a(e.target)&&(t||(r=(n=e.target).type,"INPUT"===(s=n.tagName)&&i[r]&&!n.readOnly||"TEXTAREA"===s&&!n.readOnly||n.isContentEditable))&&o(e.target)},!0),e.addEventListener("blur",function(e){if(a(e.target)){var t;(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout(function(){n=!1},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.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 t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}()},9266:function(e,t,n){"use strict";var r=n(3905),i=n(9073);e.exports=function(e){var t=r(e);return t.token="","x-oauth-basic"===t.password?t.token=t.user:"x-token-auth"===t.user&&(t.token=t.password),i(t.protocols)||0===t.protocols.length&&i(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}},3458:function(e,t,n){"use strict";var r=n(9266);function i(e){if("string"!=typeof e)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(e)&&(e="https://github.com/"+e);var t=r(e),n=t.resource.split("."),a=null;switch(t.toString=function(e){return i.stringify(this,e)},t.source=n.length>2?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(z(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 F(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function z(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||z(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{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(s))&&void 0!==e?e:l},c=e=>(0,r.useContext)(s)?r.createElement(r.Fragment,null,e.children):r.createElement(f,e),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:o=!0,storageKey:l="theme",themes:u=d,defaultTheme:c=n?"system":"light",attribute:f="data-theme",value:g,children:v,nonce:y})=>{let[b,w]=(0,r.useState)(()=>h(l,c)),[k,_]=(0,r.useState)(()=>h(l)),j=g?Object.values(g):u,E=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=x());let a=g?g[r]:r,s=t?m():null,l=document.documentElement;if("class"===f?(l.classList.remove(...j),a&&l.classList.add(a)):a?l.setAttribute(f,a):l.removeAttribute(f),o){let e=i.includes(c)?c:null,t=i.includes(r)?r:e;l.style.colorScheme=t}null==s||s()},[]),O=(0,r.useCallback)(e=>{w(e);try{localStorage.setItem(l,e)}catch(e){}},[e]),T=(0,r.useCallback)(t=>{_(x(t)),"system"===b&&n&&!e&&E("system")},[b,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(T),T(e),()=>e.removeListener(T)},[T]),(0,r.useEffect)(()=>{let e=e=>{e.key===l&&O(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[O]),(0,r.useEffect)(()=>{E(null!=e?e:b)},[e,b]);let C=(0,r.useMemo)(()=>({theme:b,setTheme:O,forcedTheme:e,resolvedTheme:"system"===b?k:b,themes:n?[...u,"system"]:u,systemTheme:n?k:void 0}),[b,O,e,k,n,u]);return r.createElement(s.Provider,{value:C},r.createElement(p,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:o,storageKey:l,themes:u,defaultTheme:c,attribute:f,value:g,children:v,attrs:j,nonce:y}),v)},p=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:o,enableColorScheme:s,defaultTheme:l,value:u,attrs:c,nonce:d})=>{let f="system"===l,p="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?i.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,r=!0)=>{let a=u?u[e]:e,o=t?e+"|| ''":`'${a}'`,l="";return s&&r&&!t&&i.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${o})`:"null":a&&(l+=`d[s](n,${o})`),l},x=e?`!function(){${p}${m(e)}}()`:o?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}${f?"":"else{"+m(l,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}else{${m(l,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:x}})},()=>!0),h=(e,t)=>{let n;if(!o){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},m=()=>{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)}},x=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},3412:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return a},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return d}});let i="refresh",a="navigate",o="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("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)},6504:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(282),("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)},3686:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return y}});let r=n(8754),i=n(1757),a=n(5893),o=i._(n(7294)),s=r._(n(3935)),l=r._(n(6665)),u=n(1908),c=n(4706),d=n(5670);n(1558);let f=n(1973),p=r._(n(3293)),h={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};function m(e,t,n,r,i,a){let o=null==e?void 0:e.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).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(7387),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:F}=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]),z=a.default.useRef(D),$=a.default.useRef(F);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!==F||z.current!==D)&&(G(),$.current=F,z.current=D),W(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[F,U,D,G,W]);a.default.useEffect(()=>{L&&H&&M&&v(L,D,F,{locale:O},{kind:Z},P)},[F,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,F,_,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,F,{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,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)}};if((0,u.isAbsoluteUrl)(F))B.href=F;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)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);B.href=t||(0,m.addBasePath)((0,c.addLocale)(F,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 F="",z=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,F=e.src,!y){if(z||$){if(z&&!$){let t=z/e.width;$=Math.round(e.height*t)}else if(!z&&$){let t=$/e.height;z=Math.round(e.width*t)}}else z=e.width,$=e.height}}let U=!p&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:F)||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:z,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:z,quality:W,sizes:d,loader:Z});return{props:{...R,loading:U?"lazy":h,fetchPriority:E,width:z,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(){},1864:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),a=s,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,a=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r,i="",a=!1,o=arguments.length-1;o>=-1&&!a;o--)o>=0?r=arguments[o]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(i=r+"/"+i,a=47===r.charCodeAt(0));return(i=n(i,!a),a)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else o>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var p="";for(d=i+c+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){i=o;break}}else a=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===a&&(o=!1,a=r+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!a){r=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===l?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var o=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1)}return -1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(0===s&&a?r.base=r.name=e.slice(1,l):r.base=r.name=e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i=r(114);e.exports=i}()},7663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n{t(!0)},[]),e}var I=n(7222),A=()=>{let{locale:e=I.ZW,asPath:t,route:n}=(0,C.useRouter)();return(0,S.useMemo)(()=>{let r=I.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])},L=n(2643),P=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 M=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 M.undefined;case"string":return M.string;case"number":return isNaN(e)?M.nan:M.number;case"boolean":return M.boolean;case"function":return M.function;case"bigint":return M.bigint;case"symbol":return M.symbol;case"object":if(Array.isArray(e))return M.array;if(null===e)return M.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return M.promise;if("undefined"!=typeof Map&&e instanceof Map)return M.map;if("undefined"!=typeof Set&&e instanceof Set)return M.set;if("undefined"!=typeof Date&&e instanceof Date)return M.date;return M.object;default:return M.unknown}},D=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 F 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()}}F.create=e=>new F(e);let z=(e,t)=>{let n;switch(e.code){case D.invalid_type:n=e.received===M.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case D.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,k.jsonStringifyReplacer)}`;break;case D.unrecognized_keys:n=`Unrecognized key(s) in object: ${k.joinValues(e.keys,", ")}`;break;case D.invalid_union:n="Invalid input";break;case D.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${k.joinValues(e.options)}`;break;case D.invalid_enum_value:n=`Invalid enum value. Expected ${k.joinValues(e.options)}, received '${e.received}'`;break;case D.invalid_arguments:n="Invalid function arguments";break;case D.invalid_return_type:n="Invalid function return type";break;case D.invalid_date:n="Invalid date";break;case D.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 D.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 D.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 D.custom:n="Invalid input";break;case D.invalid_intersection_types:n="Intersection results could not be merged";break;case D.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case D.not_finite:n="Number must be finite";break;default:n=t.defaultError,k.assertNever(e)}return{message:n}},$=z;function U(){return $}let W=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}};function H(e,t){let n=W({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,U(),z].filter(e=>!!e)});e.common.issues.push(n)}class G{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 V;"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)n.push({key:await e.key,value:await e.value});return G.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 V;"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 V=Object.freeze({status:"aborted"}),B=e=>({status:"dirty",value:e}),q=e=>({status:"valid",value:e}),K=e=>"aborted"===e.status,Y=e=>"dirty"===e.status,Q=e=>"valid"===e.status,J=e=>"undefined"!=typeof Promise&&e instanceof Promise;(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 X{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 ee=(e,t)=>{if(Q(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 F(e.common.issues);return this._error=t,this._error}}};function et(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:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:i}}class en{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 G,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(J(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 ee(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 ee(n,await (J(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:D.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 ez({schema:this,typeName:E.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return e$.create(this,this._def)}nullable(){return eU.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return e_.create(this,this._def)}promise(){return eF.create(this,this._def)}or(e){return eE.create([this,e],this._def)}and(e){return eC.create(this,e,this._def)}transform(e){return new ez({...et(this._def),schema:this,typeName:E.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eW({...et(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:E.ZodDefault})}brand(){return new eB({typeName:E.ZodBranded,type:this,...et(this._def)})}catch(e){return new eH({...et(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:E.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eq.create(this,e)}readonly(){return eK.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let er=/^c[^\s-]{8,}$/i,ei=/^[a-z][a-z0-9]*$/,ea=/^[0-9A-HJKMNP-TV-Z]{26}$/,eo=/^[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,es=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,el=/^(((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}))$/,eu=/^(([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})))$/,ec=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class ed extends en{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==M.string){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.string,received:t.parsedType}),V}let n=new G;for(let o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(H(t=this._getOrReturnCtx(e,t),{code:D.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if("length"===o.kind){let r=e.data.length>o.value,i=e.data.lengthe.test(t),{validation:t,code:D.invalid_string,...j.errToObj(n)})}_addCheck(e){return new ed({...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)})}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)})}ip(e){return this._addCheck({kind:"ip",...j.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!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,...j.errToObj(null==e?void 0:e.message)})}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 ed({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ed({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ed({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===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 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 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 ed({checks:[],typeName:E.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...et(e)})};class ef extends en{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)!==M.number){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.number,received:t.parsedType}),V}let n=new G;for(let r of this._def.checks)"int"===r.kind?k.isInteger(e.data)||(H(t=this._getOrReturnCtx(e,t),{code:D.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(H(t=this._getOrReturnCtx(e,t),{code:D.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)&&(H(t=this._getOrReturnCtx(e,t),{code:D.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(H(t=this._getOrReturnCtx(e,t),{code:D.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 ef({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ef({...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 ef({checks:[],typeName:E.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...et(e)});class ep extends en{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)!==M.bigint){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.bigint,received:t.parsedType}),V}let n=new G;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(H(t=this._getOrReturnCtx(e,t),{code:D.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(H(t=this._getOrReturnCtx(e,t),{code:D.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 ep({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ep({...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 ep({checks:[],typeName:E.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...et(e)})};class eh extends en{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==M.boolean){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.boolean,received:t.parsedType}),V}return q(e.data)}}eh.create=e=>new eh({typeName:E.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...et(e)});class em extends en{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==M.date){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.date,received:t.parsedType}),V}if(isNaN(e.data.getTime()))return H(this._getOrReturnCtx(e),{code:D.invalid_date}),V;let n=new G;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(H(t=this._getOrReturnCtx(e,t),{code:D.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 em({...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 em({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:E.ZodDate,...et(e)});class ex extends en{_parse(e){if(this._getType(e)!==M.symbol){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.symbol,received:t.parsedType}),V}return q(e.data)}}ex.create=e=>new ex({typeName:E.ZodSymbol,...et(e)});class eg extends en{_parse(e){if(this._getType(e)!==M.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.undefined,received:t.parsedType}),V}return q(e.data)}}eg.create=e=>new eg({typeName:E.ZodUndefined,...et(e)});class ev extends en{_parse(e){if(this._getType(e)!==M.null){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.null,received:t.parsedType}),V}return q(e.data)}}ev.create=e=>new ev({typeName:E.ZodNull,...et(e)});class ey extends en{constructor(){super(...arguments),this._any=!0}_parse(e){return q(e.data)}}ey.create=e=>new ey({typeName:E.ZodAny,...et(e)});class eb extends en{constructor(){super(...arguments),this._unknown=!0}_parse(e){return q(e.data)}}eb.create=e=>new eb({typeName:E.ZodUnknown,...et(e)});class ew extends en{_parse(e){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.never,received:t.parsedType}),V}}ew.create=e=>new ew({typeName:E.ZodNever,...et(e)});class ek extends en{_parse(e){if(this._getType(e)!==M.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.void,received:t.parsedType}),V}return q(e.data)}}ek.create=e=>new ek({typeName:E.ZodVoid,...et(e)});class e_ extends en{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==M.array)return H(t,{code:D.invalid_type,expected:M.array,received:t.parsedType}),V;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(H(t,{code:D.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 X(t,e,t.path,n)))).then(e=>G.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new X(t,e,t.path,n)));return G.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new e_({...this._def,minLength:{value:e,message:j.toString(t)}})}max(e,t){return new e_({...this._def,maxLength:{value:e,message:j.toString(t)}})}length(e,t){return new e_({...this._def,exactLength:{value:e,message:j.toString(t)}})}nonempty(e){return this.min(1,e)}}e_.create=(e,t)=>new e_({type:e,minLength:null,maxLength:null,exactLength:null,typeName:E.ZodArray,...et(t)});class ej extends en{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)!==M.object){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.object,received:t.parsedType}),V}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ew&&"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 X(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ew){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&&(H(n,{code:D.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 X(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;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>G.mergeObjectSync(t,e)):G.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return j.errToObj,new ej({...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 ej({...this._def,unknownKeys:"strip"})}passthrough(){return new ej({...this._def,unknownKeys:"passthrough"})}extend(e){return new ej({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ej({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:E.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ej({...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 ej({...this._def,shape:()=>t})}omit(e){let t={};return k.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new ej({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof ej){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=e$.create(e(i))}return new ej({...t._def,shape:()=>n})}return t instanceof e_?new e_({...t._def,type:e(t.element)}):t instanceof e$?e$.create(e(t.unwrap())):t instanceof eU?eU.create(e(t.unwrap())):t instanceof eS?eS.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 ej({...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 e$;)e=e._def.innerType;t[n]=e}}),new ej({...this._def,shape:()=>t})}keyof(){return eM(k.objectKeys(this.shape))}}ej.create=(e,t)=>new ej({shape:()=>e,unknownKeys:"strip",catchall:ew.create(),typeName:E.ZodObject,...et(t)}),ej.strictCreate=(e,t)=>new ej({shape:()=>e,unknownKeys:"strict",catchall:ew.create(),typeName:E.ZodObject,...et(t)}),ej.lazycreate=(e,t)=>new ej({shape:e,unknownKeys:"strip",catchall:ew.create(),typeName:E.ZodObject,...et(t)});class eE extends en{_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 F(e.ctx.common.issues));return H(t,{code:D.invalid_union,unionErrors:n}),V});{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 F(e));return H(t,{code:D.invalid_union,unionErrors:i}),V}}get options(){return this._def.options}}eE.create=(e,t)=>new eE({options:e,typeName:E.ZodUnion,...et(t)});let eO=e=>{if(e instanceof eL)return eO(e.schema);if(e instanceof ez)return eO(e.innerType());if(e instanceof eP)return[e.value];if(e instanceof eZ)return e.options;if(e instanceof eD)return Object.keys(e.enum);if(e instanceof eW)return eO(e._def.innerType);if(e instanceof eg)return[void 0];else if(e instanceof ev)return[null];else return null};class eT extends en{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.object)return H(t,{code:D.invalid_type,expected:M.object,received:t.parsedType}),V;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}):(H(t,{code:D.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),V)}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=eO(n.shape[e]);if(!t)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 eT({typeName:E.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...et(n)})}}class eC extends en{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(K(e)||K(r))return V;let i=function e(t,n){let r=Z(t),i=Z(n);if(t===n)return{valid:!0,data:t};if(r===M.object&&i===M.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===M.array&&i===M.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}))}}eC.create=(e,t,n)=>new eC({left:e,right:t,typeName:E.ZodIntersection,...et(n)});class eS extends en{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.array)return H(n,{code:D.invalid_type,expected:M.array,received:n.parsedType}),V;if(n.data.lengththis._def.items.length&&(H(n,{code:D.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 X(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>G.mergeArray(t,e)):G.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new eS({...this._def,rest:e})}}eS.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eS({items:e,typeName:E.ZodTuple,rest:null,...et(t)})};class eN extends en{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!==M.object)return H(n,{code:D.invalid_type,expected:M.object,received:n.parsedType}),V;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new X(n,e,n.path,e)),value:a._parse(new X(n,n.data[e],n.path,e))});return n.common.async?G.mergeObjectAsync(t,r):G.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new eN(t instanceof en?{keyType:e,valueType:t,typeName:E.ZodRecord,...et(n)}:{keyType:ed.create(),valueType:e,typeName:E.ZodRecord,...et(t)})}}class eR extends en{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!==M.map)return H(n,{code:D.invalid_type,expected:M.map,received:n.parsedType}),V;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new X(n,e,n.path,[a,"key"])),value:i._parse(new X(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 V;("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 V;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}eR.create=(e,t,n)=>new eR({valueType:t,keyType:e,typeName:E.ZodMap,...et(n)});class eI extends en{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.set)return H(n,{code:D.invalid_type,expected:M.set,received:n.parsedType}),V;let r=this._def;null!==r.minSize&&n.data.sizer.maxSize.value&&(H(n,{code:D.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 V;"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 X(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eI({...this._def,minSize:{value:e,message:j.toString(t)}})}max(e,t){return new eI({...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)}}eI.create=(e,t)=>new eI({valueType:e,minSize:null,maxSize:null,typeName:E.ZodSet,...et(t)});class eA extends en{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.function)return H(t,{code:D.invalid_type,expected:M.function,received:t.parsedType}),V;function n(e,n){return W({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,U(),z].filter(e=>!!e),issueData:{code:D.invalid_arguments,argumentsError:n}})}function r(e,n){return W({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,U(),z].filter(e=>!!e),issueData:{code:D.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eF){let e=this;return q(async function(...t){let o=new F([]),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 q(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new F([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new F([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eA({...this._def,args:eS.create(e).rest(eb.create())})}returns(e){return new eA({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eA({args:e||eS.create([]).rest(eb.create()),returns:t||eb.create(),typeName:E.ZodFunction,...et(n)})}}class eL extends en{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})}}eL.create=(e,t)=>new eL({getter:e,typeName:E.ZodLazy,...et(t)});class eP extends en{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return H(t,{received:t.data,code:D.invalid_literal,expected:this._def.value}),V}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eM(e,t){return new eZ({values:e,typeName:E.ZodEnum,...et(t)})}eP.create=(e,t)=>new eP({value:e,typeName:E.ZodLiteral,...et(t)});class eZ extends en{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{expected:k.joinValues(n),received:t.parsedType,code:D.invalid_type}),V}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{received:t.data,code:D.invalid_enum_value,options:n}),V}return q(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){return eZ.create(e)}exclude(e){return eZ.create(this.options.filter(t=>!e.includes(t)))}}eZ.create=eM;class eD extends en{_parse(e){let t=k.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==M.string&&n.parsedType!==M.number){let e=k.objectValues(t);return H(n,{expected:k.joinValues(e),received:n.parsedType,code:D.invalid_type}),V}if(-1===t.indexOf(e.data)){let e=k.objectValues(t);return H(n,{received:n.data,code:D.invalid_enum_value,options:e}),V}return q(e.data)}get enum(){return this._def.values}}eD.create=(e,t)=>new eD({values:e,typeName:E.ZodNativeEnum,...et(t)});class eF extends en{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==M.promise&&!1===t.common.async?(H(t,{code:D.invalid_type,expected:M.promise,received:t.parsedType}),V):q((t.parsedType===M.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eF.create=(e,t)=>new eF({type:e,typeName:E.ZodPromise,...et(t)});class ez extends en{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===E.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=>{H(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);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}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?V:("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?V:("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=>Q(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(!Q(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)}}ez.create=(e,t,n)=>new ez({schema:e,typeName:E.ZodEffects,effect:t,...et(n)}),ez.createWithPreprocess=(e,t,n)=>new ez({schema:t,effect:{type:"preprocess",transform:e},typeName:E.ZodEffects,...et(n)});class e$ extends en{_parse(e){return this._getType(e)===M.undefined?q(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e$.create=(e,t)=>new e$({innerType:e,typeName:E.ZodOptional,...et(t)});class eU extends en{_parse(e){return this._getType(e)===M.null?q(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eU.create=(e,t)=>new eU({innerType:e,typeName:E.ZodNullable,...et(t)});class eW extends en{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===M.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eW.create=(e,t)=>new eW({innerType:e,typeName:E.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...et(t)});class eH extends en{_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 J(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new F(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new F(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}eH.create=(e,t)=>new eH({innerType:e,typeName:E.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...et(t)});class eG extends en{_parse(e){if(this._getType(e)!==M.nan){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.nan,received:t.parsedType}),V}return{status:"valid",value:e.data}}}eG.create=e=>new eG({typeName:E.ZodNaN,...et(e)});let eV=Symbol("zod_brand");class eB extends en{_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 eq extends en{_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?V:"dirty"===e.status?(t.dirty(),B(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?V:"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 eq({in:e,out:t,typeName:E.ZodPipeline})}}class eK extends en{_parse(e){let t=this._def.innerType._parse(e);return Q(t)&&(t.value=Object.freeze(t.value)),t}}eK.create=(e,t)=>new eK({innerType:e,typeName:E.ZodReadonly,...et(t)});let eY=(e,t={},n)=>e?ey.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})}}):ey.create(),eQ={object:ej.lazycreate};(o=E||(E={})).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 eJ=ed.create,eX=ef.create,e0=eG.create,e1=ep.create,e2=eh.create,e4=em.create,e5=ex.create,e3=eg.create,e6=ev.create,e7=ey.create,e9=eb.create,e8=ew.create,te=ek.create,tt=e_.create,tn=ej.create,tr=ej.strictCreate,ti=eE.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=eP.create,th=eZ.create,tm=eD.create,tx=eF.create,tg=ez.create,tv=e$.create,ty=eU.create,tb=ez.createWithPreprocess,tw=eq.create;var tk=Object.freeze({__proto__:null,defaultErrorMap:z,setErrorMap:function(e){$=e},getErrorMap:U,makeIssue:W,EMPTY_PATH:[],addIssueToContext:H,ParseStatus:G,INVALID:V,DIRTY:B,OK:q,isAborted:K,isDirty:Y,isValid:Q,isAsync:J,get util(){return k},get objectUtil(){return _},ZodParsedType:M,getParsedType:Z,ZodType:en,ZodString:ed,ZodNumber:ef,ZodBigInt:ep,ZodBoolean:eh,ZodDate:em,ZodSymbol:ex,ZodUndefined:eg,ZodNull:ev,ZodAny:ey,ZodUnknown:eb,ZodNever:ew,ZodVoid:ek,ZodArray:e_,ZodObject:ej,ZodUnion:eE,ZodDiscriminatedUnion:eT,ZodIntersection:eC,ZodTuple:eS,ZodRecord:eN,ZodMap:eR,ZodSet:eI,ZodFunction:eA,ZodLazy:eL,ZodLiteral:eP,ZodEnum:eZ,ZodNativeEnum:eD,ZodPromise:eF,ZodEffects:ez,ZodTransformer:ez,ZodOptional:e$,ZodNullable:eU,ZodDefault:eW,ZodCatch:eH,ZodNaN:eG,BRAND:eV,ZodBranded:eB,ZodPipeline:eq,ZodReadonly:eK,custom:eY,Schema:en,ZodSchema:en,late:eQ,get ZodFirstPartyTypeKind(){return E},coerce:{string:e=>ed.create({...e,coerce:!0}),number:e=>ef.create({...e,coerce:!0}),boolean:e=>eh.create({...e,coerce:!0}),bigint:e=>ep.create({...e,coerce:!0}),date:e=>em.create({...e,coerce:!0})},any:e7,array:tt,bigint:e1,boolean:e2,date:e4,discriminatedUnion:ta,effect:tg,enum:th,function:td,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>eY(t=>t instanceof e,t),intersection:to,lazy:tf,literal:tp,map:tu,nan:e0,nativeEnum:tm,never:e8,null:e6,nullable:ty,number:eX,object:tn,oboolean:()=>e2().optional(),onumber:()=>eX().optional(),optional:tv,ostring:()=>eJ().optional(),pipeline:tw,preprocess:tb,promise:tx,record:tl,set:tc,strictObject:tr,string:eJ,symbol:e5,transformer:tg,tuple:ts,undefined:e3,union:ti,unknown:e9,void:te,NEVER:V,ZodIssueCode:D,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:F}),t_=n(1664),tj=n.n(t_);n(6337);var tE=n(5893),tO=n(2010),tT={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tC=tk.strictObject({breadcrumb:tk.boolean(),collapsed:tk.boolean(),footer:tk.boolean(),layout:tk.enum(["default","full","raw"]),navbar:tk.boolean(),pagination:tk.boolean(),sidebar:tk.boolean(),timestamp:tk.boolean(),toc:tk.boolean(),typesetting:tk.enum(["default","article"])}),tS=tk.enum(["normal","hidden","children"]),tN=tk.string(),tR=tk.strictObject({href:tk.string(),newWindow:tk.boolean(),title:tN}),tI=tk.strictObject({display:tS.optional(),items:tk.record(tR.partial({href:!0,newWindow:!0})),title:tN,type:tk.literal("menu")}),tA=tk.strictObject({title:tN.optional(),type:tk.literal("separator")}),tL=tR.extend({display:tS,theme:tC,title:tN,type:tk.enum(["page","doc"])}).deepPartial();tk.string().or(tI).or(tA).or(tL);var tP=n(3458),tM=n.n(tP);function tZ(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tD(e){var t=tZ(e).Element;return e instanceof t||e instanceof Element}function tF(e){var t=tZ(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tz(e){if("undefined"==typeof ShadowRoot)return!1;var t=tZ(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t$=Math.max,tU=Math.min,tW=Math.round;function tH(){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 tG(){return!/^((?!chrome|android).)*safari/i.test(tH())}function tV(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&tF(e)&&(i=e.offsetWidth>0&&tW(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&tW(r.height)/e.offsetHeight||1);var o=(tD(e)?tZ(e):window).visualViewport,s=!tG()&&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 tB(e){var t=tZ(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tq(e){return e?(e.nodeName||"").toLowerCase():null}function tK(e){return((tD(e)?e.ownerDocument:e.document)||window.document).documentElement}function tY(e){return tV(tK(e)).left+tB(e).scrollLeft}function tQ(e){return tZ(e).getComputedStyle(e)}function tJ(e){var t=tQ(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function tX(e){var t=tV(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 t0(e){return"html"===tq(e)?e:e.assignedSlot||e.parentNode||(tz(e)?e.host:null)||tK(e)}function t1(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(tq(t))>=0?t.ownerDocument.body:tF(t)&&tJ(t)?t:e(t0(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=tZ(r),o=i?[a].concat(a.visualViewport||[],tJ(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(t1(t0(o)))}function t2(e){return tF(e)&&"fixed"!==tQ(e).position?e.offsetParent:null}function t4(e){for(var t=tZ(e),n=t2(e);n&&["table","td","th"].indexOf(tq(n))>=0&&"static"===tQ(n).position;)n=t2(n);return n&&("html"===tq(n)||"body"===tq(n)&&"static"===tQ(n).position)?t:n||function(e){var t=/firefox/i.test(tH());if(/Trident/i.test(tH())&&tF(e)&&"fixed"===tQ(e).position)return null;var n=t0(e);for(tz(n)&&(n=n.host);tF(n)&&0>["html","body"].indexOf(tq(n));){var r=tQ(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 t5="bottom",t3="right",t6="left",t7="auto",t9=["top",t5,t3,t6],t8="start",ne="viewport",nt="popper",nn=t9.reduce(function(e,t){return e.concat([t+"-"+t8,t+"-end"])},[]),nr=[].concat(t9,[t7]).reduce(function(e,t){return e.concat([t,t+"-"+t8,t+"-end"])},[]),ni=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],na={placement:"bottom",modifiers:[],strategy:"absolute"};function no(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function nd(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nl(i):null,o=i?nu(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 t5:t={x:s,y:n.y+n.height};break;case t3:t={x:n.x+n.width,y:l};break;case t6:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nc(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case t8: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 nf={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=t6,O="top",T=window;if(m){var C=t4(l),S="clientHeight",N="clientWidth";C===tZ(l)&&"static"!==tQ(C=tK(l)).position&&"absolute"===p&&(S="scrollHeight",N="scrollWidth"),("top"===c||(c===t6||c===t3)&&"end"===d)&&(O=t5,w-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-u.height,w*=h?1:-1),(c===t6||("top"===c||c===t5)&&"end"===d)&&(E=t3,y-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[N])-u.width,y*=h?1:-1)}var R=Object.assign({position:p},m&&nf),I=!0===x?(t={x:y,y:w},n=tZ(l),r=t.x,i=t.y,{x:tW(r*(a=n.devicePixelRatio||1))/a||0,y:tW(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 nh={left:"right",right:"left",bottom:"top",top:"bottom"};function nm(e){return e.replace(/left|right|bottom|top/g,function(e){return nh[e]})}var nx={start:"end",end:"start"};function ng(e){return e.replace(/start|end/g,function(e){return nx[e]})}function nv(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tz(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ny(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nb(e,t,n){var r,i,a,o,s,l,u,c,d,f;return t===ne?ny(function(e,t){var n=tZ(e),r=tK(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=tG();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+tY(e),y:l}}(e,n)):tD(t)?((r=tV(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):ny((i=tK(e),o=tK(i),s=tB(i),l=null==(a=i.ownerDocument)?void 0:a.body,u=t$(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=t$(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-s.scrollLeft+tY(i),f=-s.scrollTop,"rtl"===tQ(l||o).direction&&(d+=t$(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 nk(e){return Object.assign({},nw(),e)}function n_(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function nj(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?nt:x,v=u.altBoundary,y=u.padding,b=void 0===y?0:y,w=nk("number"!=typeof b?b:n_(b,t9)),k=e.rects.popper,_=e.elements[void 0!==v&&v?g===nt?"reference":nt:g],j=(n=tD(_)?_:_.contextElement||tK(e.elements.popper),s=(o=[].concat("clippingParents"===(r=void 0===h?"clippingParents":h)?(i=t1(t0(n)),tD(a=["absolute","fixed"].indexOf(tQ(n).position)>=0&&tF(n)?t4(n):n)?i.filter(function(e){return tD(e)&&nv(e,a)&&"body"!==tq(e)}):[]):[].concat(r),[void 0===m?ne:m]))[0],(l=o.reduce(function(e,t){var r=nb(n,t,p);return e.top=t$(r.top,e.top),e.right=tU(r.right,e.right),e.bottom=tU(r.bottom,e.bottom),e.left=t$(r.left,e.left),e},nb(n,s,p))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),E=tV(e.elements.reference),O=nd({reference:E,element:k,strategy:"absolute",placement:d}),T=ny(Object.assign({},k,O)),C=g===nt?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===nt&&N){var R=N[d];Object.keys(S).forEach(function(e){var t=[t3,t5].indexOf(e)>=0?1:-1,n=["top",t5].indexOf(e)>=0?"y":"x";S[e]+=R[n]*t})}return S}function nE(e,t,n){return t$(e,tU(t,n))}function nO(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 nT(e){return["top",t3,t5,t6].some(function(t){return e[t]>=0})}var nC=(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=tZ(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]=nd({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:nl(t.placement),variation:nu(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];tF(i)&&tq(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},{});tF(r)&&tq(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=nr.reduce(function(e,n){var r,i,o,s,l,u;return e[n]=(r=t.rects,o=[t6,"top"].indexOf(i=nl(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,[t6,t3].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=nl(x)===x,v=l||(g||!h?[nm(x)]:function(e){if(nl(e)===t7)return[];var t=nm(e);return[ng(e),t,ng(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(nl(n)===t7?(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)?nr:f,0===(v=(g=(x=nu(i))?l?nn:nn.filter(function(e){return nu(e)===x}):t9).filter(function(e){return p.indexOf(e)>=0})).length&&(v=g),Object.keys(y=v.reduce(function(e,n){return e[n]=nj(t,{placement:n,boundary:a,rootBoundary:o,padding:s})[nl(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=nj(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?t3:t6:C?t5:"top";b[N]>w[N]&&(I=nm(I));var A=nm(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=nj(t,{boundary:o,rootBoundary:s,padding:u,altBoundary:l}),m=nl(t.placement),x=nu(t.placement),g=!x,v=nc(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":t6,S="y"===v?t5:t3,N="y"===v?"height":"width",R=b[v],I=R+h[C],A=R-h[S],L=d?-k[N]/2:0,P=x===t8?w[N]:k[N],M=x===t8?-k[N]:-w[N],Z=t.elements.arrow,D=d&&Z?tX(Z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nw(),z=F[C],$=F[S],U=nE(0,w[N],D[N]),W=g?w[N]/2-L-U-z-j.mainAxis:P-U-z-j.mainAxis,H=g?-w[N]/2+L+U+$+j.mainAxis:M+U+$+j.mainAxis,G=t.elements.arrow&&t4(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=nE(d?tU(I,R+W-B-V):I,R,d?t$(A,R+H-B):A);b[v]=q,O[v]=q-R}if(void 0!==a&&a){var K,Y,Q="x"===v?"top":t6,J="x"===v?t5:t3,X=b[y],ee="y"===y?"height":"width",et=X+h[Q],en=X-h[J],er=-1!==["top",t6].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=nE(ea,X,eo))>eo?eo:K:nE(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=nl(r.placement),u=nc(l),c=[t6,t3].indexOf(l)>=0?"height":"width";if(o&&s){var d=nk("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:n_(t,t9)),f=tX(o),p="y"===u?"top":t6,h="y"===u?t5:t3,m=r.rects.reference[c]+r.rects.reference[u]-s[u]-r.rects.popper[c],x=s[u]-r.rects.reference[u],g=t4(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=nE(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)))&&nv(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=nj(t,{elementContext:"reference"}),s=nj(t,{altBoundary:!0}),l=nO(o,r),u=nO(s,i,a),c=nT(l),d=nT(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)?na:c,function(e,t,n){void 0===n&&(n=d);var r,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},na,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:tD(e)?t1(e):e.contextElement?t1(e.contextElement):[],popper:t1(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)}),ni.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(no(x,g)){i.rects={reference:(t=t4(g),n="fixed"===i.options.strategy,r=tF(t),c=tF(t)&&(l=tW((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=tW(a.height)/t.offsetHeight||1,1!==l||1!==u),d=tK(t),f=tV(x,c,n),p={scrollLeft:0,scrollTop:0},h={x:0,y:0},(r||!r&&!n)&&(("body"!==tq(t)||tJ(d))&&(p=(e=t)!==tZ(e)&&tF(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:tB(e)),tF(t)?(h=tV(t,!0),h.x+=t.clientLeft,h.y+=t.clientTop):d&&(h.x=tY(d))),{x:f.left+p.scrollLeft-h.x,y:f.top+p.scrollTop-h.y,width:f.width,height:f.height}),popper:tX(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?n4(l,r,0):void(t[t.length]=l)}return!n&&l}function n4(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function n5(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function n3(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=n0(f,r,p),o="";switch(this.G){case"full":if(2a;s--)if(s-a>=this.B){var l=n0(f,r,p,i,a);n1(this,c,o=h.substring(a,s),l,e,n)}break}case"reverse":if(1=this.B&&n1(this,c,o,n0(f,r,p,i,s),e,n);o=""}case"forward":if(1=this.B&&n1(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,h,p)|0,f-1)),n1(this,c,h,a,e,n),d&&1=this.B&&!i[h]){i[h]=1;let t=this.l&&h>a;n1(this,u,t?a:h,n0(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},O.search=function(e,t,n){let r,i,a;n||(!t&&nL(e)?e=(n=e).query:nL(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=nR();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=nR(),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 nJ(e,t||this,n,o,r,i,s,a),l},O.import=function(e,t){if(t)switch(nA(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}},nV(nX.prototype);let n7=0;function n9(e){var t;if(!(this instanceof n9))return new n9(e);e?nP(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="+n6.toString()],{type:"text/javascript"}))):new Worker(nA(r)?r:"worker/worker.js",{type:"module"})}catch(e){}return i}(t,r,e.worker),this.h=nR(),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 n8(e){n9.prototype[e]=n9.prototype[e+"Async"]=function(){let t;let n=this,r=[].slice.call(arguments);var i=r[r.length-1];return nP(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++n7]=t,n.o.postMessage({task:e,id:n7,args:r})})}),t?(i.then(t),this):i}}function re(e){if(!(this instanceof re))return new re(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=nR(),this.key=(t=n.key||n.id)&&rt(t,this.A)||"id",this.m=nS(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&nR(),this.I=(t=n.tag)&&rt(t,this.A),this.l=t&&nR(),this.cache=(t=e.cache)&&new nK(t),e.cache=!1,this.o=e.worker,this.async=!1,t=nR();let r=n.index||n.field||n;nA(r)&&(r=[r]);for(let n=0,i,a;nt||n)&&(i=i.slice(n,n+t)),r&&(i=ri.call(this,i)),{tag:e,result:i}}function ri(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 rx=n(3781),rg=n(4879),rv=n(6723),ry=n(3855),rb=n(2180),rw=n(3784),rk=n(2984);function r_(e,...t){e&&t.length>0&&e.classList.add(...t)}function rj(e,...t){e&&t.length>0&&e.classList.remove(...t)}let rE=(0,S.createContext)(null);rE.displayName="OpenClosedContext";var rO=((f=rO||{})[f.Open=1]="Open",f[f.Closed=2]="Closed",f[f.Closing=4]="Closing",f[f.Opening=8]="Opening",f);function rT(){return(0,S.useContext)(rE)}function rC({value:e,children:t}){return S.createElement(rE.Provider,{value:e},t)}var rS=n(4067),rN=n(2351);function rR(e=""){return e.split(/\s+/).filter(e=>e.length>1)}let rI=(0,S.createContext)(null);rI.displayName="TransitionContext";var rA=((p=rA||{}).Visible="visible",p.Hidden="hidden",p);let rL=(0,S.createContext)(null);function rP(e){return"children"in e?rP(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function rM(e,t){let n=(0,ry.E)(e),r=(0,S.useRef)([]),i=(0,rg.t)(),a=rm(),o=(0,rx.z)((e,t=rN.l4.Hidden)=>{let o=r.current.findIndex(({el:t})=>t===e);-1!==o&&((0,rk.E)(t,{[rN.l4.Unmount](){r.current.splice(o,1)},[rN.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!rP(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rx.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,rN.l4.Unmount)}),l=(0,S.useRef)([]),u=(0,S.useRef)(Promise.resolve()),c=(0,S.useRef)({enter:[],leave:[],idle:[]}),d=(0,rx.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,rx.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,S.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function rZ(){}rL.displayName="NestingContext";let rD=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function rF(e){var t;let n={};for(let r of rD)n[r]=null!=(t=e[r])?t:rZ;return n}let rz=rN.AN.RenderStrategy,r$=(0,rN.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,S.useRef)(null),s=(0,rw.T)(o,t);(0,rb.H)();let l=rT();if(void 0===n&&null!==l&&(n=(l&rO.Open)===rO.Open),![!0,!1].includes(n))throw Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,S.useState)(n?"visible":"hidden"),d=rM(()=>{c("hidden")}),[f,p]=(0,S.useState)(!0),h=(0,S.useRef)([n]);(0,rv.e)(()=>{!1!==f&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))},[h,n]);let m=(0,S.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,S.useEffect)(()=>{if(n)c("visible");else if(rP(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,rx.z)(()=>{var t;f&&p(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rx.z)(()=>{var t;f&&p(!1),null==(t=e.beforeLeave)||t.call(e)});return S.createElement(rL.Provider,{value:d},S.createElement(rI.Provider,{value:m},(0,rN.sY)({ourProps:{...x,as:S.Fragment,children:S.createElement(rU,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:S.Fragment,features:rz,visible:"visible"===u,name:"Transition"})))}),rU=(0,rN.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,S.useRef)(null),y=(0,rw.T)(v,t),b=null==(n=g.unmount)||n?rN.l4.Unmount:rN.l4.Hidden,{show:w,appear:k,initial:_}=function(){let e=(0,S.useContext)(rI);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[j,E]=(0,S.useState)(w?"visible":"hidden"),O=function(){let e=(0,S.useContext)(rL);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:T,unregister:C}=O;(0,S.useEffect)(()=>T(v),[T,v]),(0,S.useEffect)(()=>{if(b===rN.l4.Hidden&&v.current){if(w&&"visible"!==j){E("visible");return}return(0,rk.E)(j,{hidden:()=>C(v),visible:()=>T(v)})}},[j,v,T,C,w,b]);let N=(0,ry.E)({base:rR(g.className),enter:rR(c),enterFrom:rR(d),enterTo:rR(f),entered:rR(p),leave:rR(h),leaveFrom:rR(m),leaveTo:rR(x)}),R=(i={beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u},a=(0,S.useRef)(rF(i)),(0,S.useEffect)(()=>{a.current=rF(i)},[i]),a),I=(0,rb.H)();(0,S.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,S.useState)(e),r=(0,rg.t)(),i=(0,S.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,S.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,S.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,S.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),M=(0,rx.z)(e=>(0,rk.E)(e,{enter:()=>{P.addFlag(rO.Opening),R.current.beforeEnter()},leave:()=>{P.addFlag(rO.Closing),R.current.beforeLeave()},idle:()=>{}})),Z=(0,rx.z)(e=>(0,rk.E)(e,{enter:()=>{P.removeFlag(rO.Opening),R.current.afterEnter()},leave:()=>{P.removeFlag(rO.Closing),R.current.afterLeave()},idle:()=>{}})),D=rM(()=>{E("hidden"),C(v)},O),F=(0,S.useRef)(!1);!function({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=(0,rg.t)(),s=rm(),l=(0,ry.E)(n);(0,rv.e)(()=>{e&&(l.current="enter")},[e]),(0,rv.e)(()=>{let e=(0,rh.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,rh.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,rk.E)(o,{enter:()=>u.enter,leave:()=>u.leave}),h=(0,rk.E)(o,{enter:()=>u.enterTo,leave:()=>u.leaveTo}),m=(0,rk.E)(o,{enter:()=>u.enterFrom,leave:()=>u.leaveFrom}),rj(n,...u.base,...u.enter,...u.enterTo,...u.enterFrom,...u.leave,...u.leaveFrom,...u.leaveTo,...u.entered),r_(n,...u.base,...p,...m),s.nextFrame(()=>{rj(n,...u.base,...p,...m),r_(n,...u.base,...p,...h),function(e,t){let n=(0,rh.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,()=>(rj(n,...u.base,...p),r_(n,...u.base,...u.entered),f()))}),s.dispose)),e.dispose}},[n])}({immediate:A,container:v,classes:N,direction:L,onStart:(0,ry.E)(e=>{F.current=!0,D.onStart(v,e,M)}),onStop:(0,ry.E)(e=>{F.current=!1,D.onStop(v,e,Z),"leave"!==e||rP(D)||(E("hidden"),C(v))})});let z=g;return A?z={...z,className:(0,rS.A)(g.className,...N.current.enter,...N.current.enterFrom)}:F.current&&(z.className=(0,rS.A)(g.className,null==(r=v.current)?void 0:r.className),""===z.className&&delete z.className),S.createElement(rL.Provider,{value:D},S.createElement(rC,{value:(0,rk.E)(j,{visible:rO.Open,hidden:rO.Closed})|P.flags},(0,rN.sY)({ourProps:{ref:y},theirProps:z,defaultTag:"div",features:rz,visible:"visible"===j,name:"Transition.Child"})))}),rW=(0,rN.yV)(function(e,t){let n=null!==(0,S.useContext)(rI),r=null!==rT();return S.createElement(S.Fragment,null,!n&&r?S.createElement(r$,{ref:t,...e}):S.createElement(rU,{ref:t,...e}))}),rH=Object.assign(r$,{Child:rW,Root:r$});var rG=n(634);function rV(e,t){let[n,r]=(0,S.useState)(e),i=(0,ry.E)(e);return(0,rv.e)(()=>r(i.current),[i,r,...t]),n}var rB=n(9946),rq=n(4575);function rK(e,t,n){let r=(0,ry.E)(t);(0,S.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function rY(e,t,n=!0){var r;let i,a=(0,S.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,rq.sP)(i,rq.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,S.useEffect)(()=>{requestAnimationFrame(()=>{a.current=n})},[n]);let s=(0,S.useRef)(null);rK("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),rK("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),rK("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),rK("touchend",e=>o(e,()=>e.target instanceof HTMLElement?e.target:null),!0),r="blur",i=(0,ry.E)(e=>o(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null)),(0,S.useEffect)(()=>{function e(e){i.current(e)}return window.addEventListener(r,e,!0),()=>window.removeEventListener(r,e,!0)},[r,!0])}var rQ=n(4157);let rJ=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function rX(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 rJ.test(o)&&(o=o.replace(rJ,"")),o}function r0(e){let t=(0,S.useRef)(""),n=(0,S.useRef)("");return(0,rx.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():rX(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return rX(e).trim()})(r).trim().toLowerCase();return t.current=i,n.current=a,a})}function r1(e){return[e.screenX,e.screenY]}function r2(){let e=(0,S.useRef)([-1,-1]);return{wasMoved(t){let n=r1(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=r1(t)}}}var r4=n(6045);function r5(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 r3=((h=r3||{})[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 r6(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,rq.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 io={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=ia(e),i=r6(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=ia(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=ia(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})},is=(0,S.createContext)(null);function il(e){let t=(0,S.useContext)(is);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,il),t}return t}is.displayName="ListboxActionsContext";let iu=(0,S.createContext)(null);function ic(e){let t=(0,S.useContext)(iu);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ic),t}return t}function id(e,t){return(0,rk.E)(t.type,io,e,t)}iu.displayName="ListboxDataContext";let ip=S.Fragment,ih=rN.AN.RenderStrategy|rN.AN.Static,im=Object.assign((0,rN.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,S.useState)(n),a=void 0!==e,o=(0,S.useRef)(a),s=(0,S.useRef)(!1),l=(0,S.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,rx.z)(e=>(a||i(e),null==t?void 0:t(e)))]}(n,o,r),[x,g]=(0,S.useReducer)(id,{dataRef:(0,S.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,S.useRef)({static:!1,hold:!1}),y=(0,S.useRef)(null),b=(0,S.useRef)(null),w=(0,S.useRef)(null),k=(0,rx.z)("string"==typeof s?(e,t)=>(null==e?void 0:e[s])===(null==t?void 0:t[s]):s),_=(0,S.useCallback)(e=>(0,rk.E)(j.mode,{1:()=>h.some(t=>k(t,e)),0:()=>k(h,e)}),[h]),j=(0,S.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,rv.e)(()=>{x.dataRef.current=j},[j]),rY([j.buttonRef,j.optionsRef],(e,t)=>{var n;g({type:1}),(0,rq.sP)(t,rq.tJ.Loose)||(e.preventDefault(),null==(n=j.buttonRef.current)||n.focus())},0===j.listboxState);let E=(0,S.useMemo)(()=>({open:0===j.listboxState,disabled:l,value:h}),[j,l,h]),O=(0,rx.z)(e=>{let t=j.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),T=(0,rx.z)(()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];L(e.current.value),g({type:2,focus:r3.Specific,id:t})}}),C=(0,rx.z)(()=>g({type:0})),N=(0,rx.z)(()=>g({type:1})),R=(0,rx.z)((e,t,n)=>e===r3.Specific?g({type:2,focus:r3.Specific,id:t,trigger:n}):g({type:2,focus:e,trigger:n})),I=(0,rx.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rx.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rx.z)(e=>(0,rk.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,rx.z)(e=>g({type:3,value:e})),M=(0,rx.z)(()=>g({type:4})),Z=(0,S.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:R,closeListbox:N,openListbox:C,selectActiveOption:T,selectOption:O,search:P,clearSearch:M}),[]),D=(0,S.useRef)(null),F=rm();return(0,S.useEffect)(()=>{D.current&&void 0!==r&&F.addEventListener(D.current,"reset",()=>{null==m||m(r)})},[D,m]),S.createElement(is.Provider,{value:Z},S.createElement(iu.Provider,{value:j},S.createElement(rC,{value:(0,rk.E)(j.listboxState,{0:rO.Open,1:rO.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,r7(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,r7(n,i),a);return r})({[a]:h}).map(([e,t],n)=>S.createElement(r4._,{features:r4.A.Hidden,ref:0===n?e=>{var t;D.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rN.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:e,value:t})})),(0,rN.sY)({ourProps:{ref:p},theirProps:d,slot:E,defaultTag:ip,name:"Listbox"}))))}),{Button:(0,rN.yV)(function(e,t){var n;let r=(0,rB.M)(),{id:i=`headlessui-listbox-button-${r}`,...a}=e,o=ic("Listbox.Button"),s=il("Listbox.Button"),l=(0,rw.T)(o.buttonRef,t),u=rm(),c=(0,rx.z)(e=>{switch(e.key){case r8.R.Space:case r8.R.Enter:case r8.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(r3.First)});break;case r8.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(r3.Last)})}}),d=(0,rx.z)(e=>{e.key===r8.R.Space&&e.preventDefault()}),f=(0,rx.z)(e=>{if(r5(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=rV(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),h=(0,S.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,rQ.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,rN.sY)({ourProps:m,theirProps:a,slot:h,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,rN.yV)(function(e,t){let n=(0,rB.M)(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,a=ic("Listbox.Label"),o=il("Listbox.Label"),s=(0,rw.T)(a.labelRef,t);(0,rv.e)(()=>o.registerLabel(r),[r]);let l=(0,rx.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,S.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rN.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,rN.yV)(function(e,t){var n;let r=(0,rB.M)(),{id:i=`headlessui-listbox-options-${r}`,...a}=e,o=ic("Listbox.Options"),s=il("Listbox.Options"),l=(0,rw.T)(o.optionsRef,t),u=rm(),c=rm(),d=rT(),f=null!==d?(d&rO.Open)===rO.Open:0===o.listboxState;(0,S.useEffect)(()=>{var e;let t=o.optionsRef.current;t&&0===o.listboxState&&t!==(null==(e=(0,r9.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let p=(0,rx.z)(e=>{switch(c.dispose(),e.key){case r8.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case r8.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,rh.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case(0,rk.E)(o.orientation,{vertical:r8.R.ArrowDown,horizontal:r8.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(r3.Next);case(0,rk.E)(o.orientation,{vertical:r8.R.ArrowUp,horizontal:r8.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(r3.Previous);case r8.R.Home:case r8.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(r3.First);case r8.R.End:case r8.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(r3.Last);case r8.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 r8.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),h=rV(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.id},[o.buttonRef.current]),m=(0,S.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,rN.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:"ul",features:ih,visible:f,name:"Listbox.Options"})}),Option:(0,rN.yV)(function(e,t){let n=(0,rB.M)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...o}=e,s=ic("Listbox.Option"),l=il("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,S.useRef)(null),f=r0(d),p=(0,ry.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),h=(0,rw.T)(t,d);(0,rv.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rh.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,rv.e)(()=>l.registerOption(r,p),[p,r]);let m=(0,rx.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rh.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),x=(0,rx.z)(()=>{if(i)return l.goToOption(r3.Nothing);l.goToOption(r3.Specific,r)}),g=r2(),v=(0,rx.z)(e=>g.update(e)),y=(0,rx.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(r3.Specific,r,0))}),b=(0,rx.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(r3.Nothing))}),w=(0,S.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rN.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 ix=n(3935),ig=n(9008),iv=n.n(ig);function iy(){return(iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var iw=["keyOverride"],ik=["crossOrigin"],i_={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},ij=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(S.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(S.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(S.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(S.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(S.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(S.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(S.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(S.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},iE=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(i_.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,i_.templateTitle&&(s=i_.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(S.createElement("title",{key:"title"},s));var l=void 0===e.noindex?i_.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?i_.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c=e.norobots||i_.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&&(i_.norobots=!0),l||u?(e.dangerouslySetAllPagesToNoIndex&&(i_.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(i_.nofollow=!0),o.push(S.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+d}))):(!c||d)&&o.push(S.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+d})),e.description&&o.push(S.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(S.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(S.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(S.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(S.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(S.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(S.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(S.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(S.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(S.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(S.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(S.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(S.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(S.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(S.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(S.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(S.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(S.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(S.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(S.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(S.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(S.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(S.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(S.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(S.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(S.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(S.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(S.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(S.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(S.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(S.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(S.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(S.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(S.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(i_.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(i_.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,ij("image",e.openGraph.images,{defaultWidth:i_.defaultOpenGraphImageWidth,defaultHeight:i_.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(i_.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(i_.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,ij("video",e.openGraph.videos,{defaultWidth:i_.defaultOpenGraphVideoWidth,defaultHeight:i_.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,ij("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(S.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(S.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(S.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=ib(e,iw);o.push(S.createElement("meta",iy({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=ib(e,ik);o.push(S.createElement("link",iy({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),o},iO=function(e){return S.createElement(iv(),null,iE(e))},iT=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 S.createElement(S.Fragment,null,S.createElement(iO,{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 iC=((y=iC||{})[y.Open=0]="Open",y[y.Closed=1]="Closed",y),iS=((b=iS||{})[b.Pointer=0]="Pointer",b[b.Other=1]="Other",b),iN=((w=iN||{})[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 iR(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,rq.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 iI={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=iR(e),i=r6(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=iR(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=iR(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},iA=(0,S.createContext)(null);function iL(e){let t=(0,S.useContext)(iA);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iL),t}return t}function iP(e,t){return(0,rk.E)(t.type,iI,e,t)}iA.displayName="MenuContext";let iM=S.Fragment,iZ=rN.AN.RenderStrategy|rN.AN.Static,iD=S.Fragment,iF=Object.assign((0,rN.yV)(function(e,t){let{__demoMode:n=!1,...r}=e,i=(0,S.useReducer)(iP,{__demoMode:n,menuState:n?0:1,buttonRef:(0,S.createRef)(),itemsRef:(0,S.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rw.T)(t);rY([s,o],(e,t)=>{var n;l({type:1}),(0,rq.sP)(t,rq.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rx.z)(()=>{l({type:1})}),d=(0,S.useMemo)(()=>({open:0===a,close:c}),[a,c]);return S.createElement(iA.Provider,{value:i},S.createElement(rC,{value:(0,rk.E)(a,{0:rO.Open,1:rO.Closed})},(0,rN.sY)({ourProps:{ref:u},theirProps:r,slot:d,defaultTag:iM,name:"Menu"})))}),{Button:(0,rN.yV)(function(e,t){var n;let r=(0,rB.M)(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,s]=iL("Menu.Button"),l=(0,rw.T)(o.buttonRef,t),u=rm(),c=(0,rx.z)(e=>{switch(e.key){case r8.R.Space:case r8.R.Enter:case r8.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:r3.First}));break;case r8.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:r3.Last}))}}),d=(0,rx.z)(e=>{e.key===r8.R.Space&&e.preventDefault()}),f=(0,rx.z)(t=>{if(r5(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,S.useMemo)(()=>({open:0===o.menuState}),[o]),h={ref:l,id:i,type:(0,rQ.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,rN.sY)({ourProps:h,theirProps:a,slot:p,defaultTag:"button",name:"Menu.Button"})}),Items:(0,rN.yV)(function(e,t){var n,r;let i=(0,rB.M)(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[s,l]=iL("Menu.Items"),u=(0,rw.T)(s.itemsRef,t),c=function(...e){return(0,S.useMemo)(()=>(0,r9.r)(...e),[...e])}(s.itemsRef),d=rm(),f=rT(),p=null!==f?(f&rO.Open)===rO.Open:0===s.menuState;(0,S.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,S.useRef)(t),a=(0,S.useRef)(n);(0,S.useEffect)(()=>{i.current=t,a.current=n},[t,n]),(0,rv.e)(()=>{if(!e||!r)return;let t=(0,r9.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,rx.z)(e=>{var t,n;switch(d.dispose(),e.key){case r8.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case r8.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,rq.wI)(s.buttonRef.current);break;case r8.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r3.Next});case r8.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r3.Previous});case r8.R.Home:case r8.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r3.First});case r8.R.End:case r8.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r3.Last});case r8.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rh.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case r8.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rh.k)().nextFrame(()=>{(0,rq.EO)(s.buttonRef.current,e.shiftKey?rq.TO.Previous:rq.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rx.z)(e=>{e.key===r8.R.Space&&e.preventDefault()}),x=(0,S.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,rN.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:"div",features:iZ,visible:p,name:"Menu.Items"})}),Item:(0,rN.yV)(function(e,t){let n=(0,rB.M)(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,s]=iL("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,S.useRef)(null),c=(0,rw.T)(t,u);(0,rv.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rh.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=r0(u),f=(0,S.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rv.e)(()=>{f.current.disabled=i},[f,i]),(0,rv.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let p=(0,rx.z)(()=>{s({type:1})}),h=(0,rx.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,rq.wI)(o.buttonRef.current)}),m=(0,rx.z)(()=>{if(i)return s({type:2,focus:r3.Nothing});s({type:2,focus:r3.Specific,id:r})}),x=r2(),g=(0,rx.z)(e=>x.update(e)),v=(0,rx.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:r3.Specific,id:r,trigger:0}))}),y=(0,rx.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:r3.Nothing}))}),b=(0,S.useMemo)(()=>({active:l,disabled:i,close:p}),[l,i,p]);return(0,rN.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:iD,name:"Menu.Item"})})}),iz=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i$=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,iU=(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,iH=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},iG=(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(!iz(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],h=e;for(;iz(h)&&d(h);){if((h=iH(h))===f){p.push(h);break}null!=h&&h===document.body&&iU(h)&&!iU(document.documentElement)||null!=h&&iU(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?iW(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:iW(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?iW(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:iW(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},iV=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function iB(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(iG(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:a,left:o}of iG(e,iV(t))){let e=a-n.top+n.bottom,t=o-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}var iq=n(6826),iK=n.n(iq);/** - * @name match-sorter - * @license MIT license. - * @copyright (c) 2020 Kent C. Dodds - * @author Kent C. Dodds (https://kentcdodds.com) - */let iY={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},iQ=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function iJ(e,t,n){void 0===n&&(n={});let{keys:r,threshold:i=iY.MATCHES,baseSort:a=iQ,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=iX(u,t,s),f=a,{minRanking:p,maxRanking:h,threshold:m}=c;return d=iY.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:iY.NO_MATCH,keyIndex:-1,keyThreshold:s.threshold}):{rankedValue:a,rank:iX(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 iX(e,t,n){let r;return(e=i0(e,n),(t=i0(t,n)).length>e.length)?iY.NO_MATCH:e===t?iY.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?iY.EQUAL:e.startsWith(t)?iY.STARTS_WITH:e.includes(` ${t}`)?iY.WORD_STARTS_WITH:e.includes(t)?iY.CONTAINS:1===t.length?iY.NO_MATCH:(r="",e.split(" ").forEach(e=>{e.split("-").forEach(e=>{r+=e.substr(0,1)})}),r).includes(t)?iY.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let i=r,a=t.length;i-1))return iY.NO_MATCH;return function(e){let r=n/t.length;return iY.MATCHES+1/e*r}(r-a)}(e,t)}function i0(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=iK()(e)),e}iJ.rankings=iY;let i1={maxRanking:1/0,minRanking:-1/0};var i2=n(9013),i4=Object.defineProperty,i5=Object.defineProperties,i3=Object.getOwnPropertyDescriptors,i6=Object.getOwnPropertySymbols,i7=Object.prototype.hasOwnProperty,i9=Object.prototype.propertyIsEnumerable,i8=(e,t,n)=>t in e?i4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t)=>{for(var n in t||(t={}))i7.call(t,n)&&i8(e,n,t[n]);if(i6)for(var n of i6(t))i9.call(t,n)&&i8(e,n,t[n]);return e},at=(e,t)=>i5(e,i3(t)),an=(e,t)=>{var n={};for(var r in e)i7.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&i6)for(var r of i6(e))0>t.indexOf(r)&&i9.call(e,r)&&(n[r]=e[r]);return n},ar=(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())}),ai=(0,S.createContext)({}),aa=(0,S.createContext)(e=>e),ao=(0,S.createContext)(null),as=new WeakMap,al=(0,S.createContext)(as),au=()=>(0,S.useContext)(ai),ac=()=>(0,S.useContext)(aa),ad=()=>(0,S.useContext)(ao),af=()=>(0,S.useContext)(al),ap=({children:e})=>{let[t,n]=(0,S.useState)({}),r=(0,S.useRef)(null);return or&&!r.current&&(r.current=new IntersectionObserver(e=>{n(t=>{let n=ae({},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,tE.jsx)(ai.Provider,{value:t,children:(0,tE.jsx)(aa.Provider,{value:n,children:(0,tE.jsx)(al.Provider,{value:as,children:(0,tE.jsx)(ao.Provider,{value:r.current,children:e})})})})},ah=(0,S.createContext)({menu:!1,setMenu:()=>!1}),am=()=>(0,S.useContext)(ah),ax=ah.Provider,ag=(0,S.createContext)(ae({title:"",frontMatter:{}},oc));function av(){return(0,S.useContext)(ag)}var ay=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,S.useState)(!1);T||(T=ae(ae({},oc),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&od.includes(e)?ae(ae({},oc[e]),t):t]))));let a=at(ae(at(ae({},T),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tE.jsx)(tO.f,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tE.jsx)(ag.Provider,{value:a,children:(0,tE.jsx)(ax,{value:{menu:r,setMenu:i},children:e})})})},ab=(0,S.createContext)(e=>e),aw=()=>(0,S.useContext)(ab),ak=ab.Provider,a_=Number("14.1.1".split(".")[0]),aj=(0,S.forwardRef)(function(e,t){var{href:n="",children:r,newWindow:i}=e,a=an(e,["href","children","newWindow"]);let o=av();return i?(0,tE.jsxs)("a",at(ae({ref:t,href:n,target:"_blank",rel:"noreferrer"},a),{children:[r,(0,tE.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):n?a_>12||o.newNextLinkBehavior?(0,tE.jsx)(tj(),at(ae({ref:t,href:n},a),{children:r})):(0,tE.jsx)(tj(),{href:n,passHref:!0,children:(0,tE.jsx)("a",at(ae({ref:t},a),{children:r}))}):(0,tE.jsx)("a",at(ae({ref:t},a),{children:r}))});aj.displayName="Anchor";var aE=({repository:e="",title:t,labels:n})=>{let r=tM()(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 aO(e,t){return e?"function"!=typeof e?e:(0,tE.jsx)(e,ae({},t)):null}function aT(e,t={}){return("function"==typeof e?e(t):e)||""}function aC(){let{banner:e}=av();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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tE.jsxs)("div",{className:(0,N.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,tE.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:aO(e.text)}),e.dismissible&&(0,tE.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,tE.jsx)(P.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function aS({activePath:e}){return(0,tE.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,tE.jsxs)(S.Fragment,{children:[n>0&&(0,tE.jsx)(P.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tE.jsx)("div",{className:(0,N.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,tE.jsx)(aj,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function aN({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,S.useRef)(null),a=(0,S.useRef)(null),o=(0,S.useRef)(0),s=(0,S.useRef)(n),l=(0,S.useRef)(!0);return(0,S.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,S.useEffect)(()=>{l.current=!1},[]),(0,tE.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,tE.jsx)("div",{ref:a,className:(0,N.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 aR=(0,S.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(" ","|"),"ig"),a=0,o=[];for(;(n=i.exec(e))&&0!==i.lastIndex;){let e=r.splice(0,n.index-a).join(""),t=r.splice(0,i.lastIndex-n.index).join("");o.push(e,(0,tE.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tE.jsxs)(tE.Fragment,{children:[o,r.join("")]})}),aI=(0,S.forwardRef)((e,t)=>{var{className:n,suffix:r}=e,i=an(e,["className","suffix"]);return(0,tE.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,tE.jsx)("input",ae({ref:t,spellCheck:!1,className:(0,N.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]})});aI.displayName="Input";var aA=["input","select","button","textarea"];function aL({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,S.useState)(!1),c=av(),[d,f]=(0,S.useState)(0),p=(0,C.useRouter)(),{setMenu:h}=am(),m=(0,S.useRef)(null),x=(0,S.useRef)(null),[g,v]=(0,S.useState)(!1),[y,b]=(0,S.useState)(!0);(0,S.useEffect)(()=>{f(0)},[n]),(0,S.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||aA.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,S.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),h(!1)},[r,h]),k=(0,S.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),_=(0,S.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=R(),E=l&&!!n,O=(0,tE.jsx)(rH,{show:j&&(!l||!!n),as:S.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,tE.jsx)("kbd",{className:(0,N.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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),T=(0,S.useCallback)(e=>{b("compositionend"===e.type)},[]);return(0,tE.jsxs)("div",{className:(0,N.Z)("nextra-search nx-relative md:nx-w-64",e),children:[E&&(0,tE.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tE.jsx)(aI,{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:aT(c.search.placeholder),onKeyDown:_,suffix:O}),(0,tE.jsx)(rH,{show:E,as:rH.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tE.jsx)("ul",{className:(0,N.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,tE.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,tE.jsx)(P.AV,{className:"nx-h-5 nx-w-5"}),aT(c.search.error)]}):a?(0,tE.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,tE.jsx)(P.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),aO(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tE.jsxs)(S.Fragment,{children:[t,(0,tE.jsx)("li",{className:(0,N.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,tE.jsx)(aj,{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)):aO(c.search.emptyResult)})})]})}var aP={},aM=new Map,aZ=(e,t)=>{let n=e+"@"+t;if(aM.has(n))return aM.get(n);let r=aD(e,t);return aM.set(n,r),r},aD=(e,t)=>ar(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(ae({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]=aP[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,S.useCallback)(e=>ar(this,null,function*(){if(e&&!aP[t]){i(!0);try{yield aZ(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]);return(0,tE.jsx)(aL,{loading:r,error:a,value:u,onChange:e=>ar(this,null,function*(){if(c(e),!r){if(!aP[t]){i(!0);try{yield aZ(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 az({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=function(e){let t=(0,S.useRef)(null),n=(0,S.useRef)(null),r=(0,S.useRef)(),i=(0,S.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=nC(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,S.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,tE.jsx)(im,{value:t,onChange:n,children:({open:n})=>(0,tE.jsxs)(im.Button,{ref:a,title:r,className:(0,N.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,tE.jsx)(a$,{children:(0,tE.jsx)(rH,{ref:o,show:n,as:im.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,tE.jsxs)(im.Option,{value:e,className:({active:e})=>(0,N.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,tE.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tE.jsx)(P.nQ,{})})]},e.key))})})]})})}function a$(e){return R()?(0,ix.createPortal)(e.children,document.body):null}function aU({lite:e,className:t}){let n=av(),{locale:r,asPath:i}=(0,C.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tE.jsx)(az,{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,rG.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tE.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tE.jsx)(P.n9,{}),(0,tE.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function aW(){var e;let t=av(),{resolvedTheme:n}=(0,tO.F)(),r=R(),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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)(iT,ae({title:t.title,description:d.description,canonical:d.canonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tE.jsxs)(iv(),{children:[t.faviconGlyph?(0,tE.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${t.faviconGlyph}`}):null,r?(0,tE.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tE.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tE.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tE.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 aH={link:(0,N.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,N.Z)("nx-inline nx-h-5 nx-shrink-0")},aG=({flatDirectories:e,currentIndex:t})=>{let n=av().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,tE.jsxs)("div",{className:(0,N.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,tE.jsxs)(aj,{href:i.route,title:i.title,className:(0,N.Z)(aH.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tE.jsx)(P.LZ,{className:(0,N.Z)(aH.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tE.jsxs)(aj,{href:a.route,title:a.title,className:(0,N.Z)(aH.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,tE.jsx)(P.LZ,{className:(0,N.Z)(aH.icon,"rtl:nx-rotate-180")})]})]}):null},aV={link:(0,N.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,N.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,N.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function aB({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tE.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tE.jsxs)(iF,{children:[(0,tE.jsx)(iF.Button,{className:(0,N.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",aV.inactive),children:n}),(0,tE.jsx)(rH,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tE.jsx)(iF.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,tE.jsx)(iF.Item,{children:(0,tE.jsx)(aj,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,N.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 aq=Object.create(null),aK=(0,S.createContext)(null),aY=(0,S.createContext)(null),aQ=(0,S.createContext)(0),aJ=(0,S.memo)(function(e){let t=(0,S.useContext)(aQ);return(0,tE.jsx)(aQ.Provider,{value:t+1,children:(0,tE.jsx)(a0,ae({},e))})}),aX={link:(0,N.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,N.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,N.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,N.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,N.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 a0({item:e,anchors:t}){let[n]=A().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,S.useContext)(aK),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,S.useContext)(aQ),{setMenu:l}=am(),u=av(),{theme:c}=e,d=void 0===aq[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s{u.sidebar.autoCollapse?i&&o?aq[e.route]=!0:delete aq[e.route]:(i||o)&&(aq[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]||at(ae({name:n},"locale"in e&&{locale:e.locale}),{route:e.route+"/"+n});return ae(ae({},i),r)})}let p="withIndexPage"in e&&e.withIndexPage,h=p?aj:"button";return(0,tE.jsxs)("li",{className:(0,N.Z)({open:d,active:r}),children:[(0,tE.jsxs)(h,{href:p?e.route:void 0,className:(0,N.Z)("nx-items-center nx-justify-between nx-gap-2",!p&&"nx-text-left nx-w-full",aX.link,r?aX.active:aX.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),p){r||n?aq[e.route]=!d:(aq[e.route]=!0,l(!1)),f({});return}r||(aq[e.route]=!d,f({}))},children:[aO(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tE.jsx)(P.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,N.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tE.jsx)(aN,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tE.jsx)(a4,{className:(0,N.Z)(aX.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function a1({title:e}){let t=av();return(0,tE.jsx)("li",{className:(0,N.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?aO(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tE.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function a2({item:e,anchors:t}){let n=A(),r=(0,S.useContext)(aY),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=au(),{setMenu:o}=am(),s=av();return"separator"===e.type?(0,tE.jsx)(a1,{title:e.title}):(0,tE.jsxs)("li",{className:(0,N.Z)(aX.list,{active:i}),children:[(0,tE.jsx)(aj,{href:e.href||e.route,newWindow:e.newWindow,className:(0,N.Z)(aX.link,i?aX.active:aX.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:aO(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tE.jsx)("ul",{className:(0,N.Z)(aX.list,aX.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tE.jsx)("li",{children:(0,tE.jsx)("a",{href:`#${e}`,className:(0,N.Z)(aX.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?aX.active:aX.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function a4({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tE.jsx)("ul",{className:(0,N.Z)(aX.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tE.jsx)(aJ,{item:e,anchors:t},e.name):(0,tE.jsx)(a2,{item:e,anchors:t},e.name):null)})}function a5({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPopover:r=!1,headings:i,includePlaceholder:a}){let o=av(),{menu:s,setMenu:l}=am(),u=(0,C.useRouter)(),[c,d]=(0,S.useState)(null),[f,p]=(0,S.useState)(!0),[h,m]=(0,S.useState)(!1),x=(0,S.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,S.useRef)(null),v=(0,S.useRef)(null),y=R();(0,S.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,S.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{iB(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,S.useEffect)(()=>{l(!1)},[u.asPath,l]);let b=o.i18n.length>0,w=o.darkMode||b||o.sidebar.toggleButton;return(0,tE.jsxs)(tE.Fragment,{children:[a&&r?(0,tE.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tE.jsx)("div",{className:(0,N.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,tE.jsxs)("aside",{className:(0,N.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,tE.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:aO(o.search.component,{directories:t})}),(0,tE.jsx)(aK.Provider,{value:c,children:(0,tE.jsx)(aY.Provider,{value:e=>{d(e)},children:(0,tE.jsxs)("div",{className:(0,N.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,tE.jsx)(aN,{isOpen:f,horizontal:!0,children:(0,tE.jsx)(a4,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),y&&window.innerWidth<768&&(0,tE.jsx)(a4,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),w&&(0,tE.jsxs)("div",{className:(0,N.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,N.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,tE.jsx)(aU,{lite:!f,className:(0,N.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tE.jsx)("div",{className:f&&!b?"nx-grow nx-flex nx-flex-col":"",children:aO(o.themeSwitch.component,{lite:!f||b})}),o.sidebar.toggleButton&&(0,tE.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,tE.jsx)(P.Qq,{isOpen:f})})]})]})]})}var a3="reach-skip-nav";(0,S.forwardRef)(function(e,t){var{className:n,id:r,label:i="Skip to content",styled:a}=e,o=an(e,["className","id","label","styled"]);let s=void 0===n?a?(0,N.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,tE.jsx)("a",at(ae({},o),{ref:t,href:`#${r||a3}`,className:s,"data-reach-skip-link":"",children:i}))}).displayName="SkipNavLink";var a6=(0,S.forwardRef)(function(e,t){var{id:n}=e,r=an(e,["id"]);return(0,tE.jsx)("div",at(ae({},r),{ref:t,id:n||a3}))});a6.displayName="SkipNavContent";var a7=tk.strictObject({light:tk.string(),dark:tk.string(),system:tk.string()});function a9(){window.scrollTo({top:0,behavior:"smooth"})}function a8({className:e}){let t=(0,S.useRef)(null);return(0,S.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,tE.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:a9,className:(0,N.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tE.jsx)(P.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var oe=(0,N.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 ot({className:e,directories:t}){let[n,r]=(0,S.useState)(""),i=(0,S.useMemo)(()=>n?iJ(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tE.jsx)(aR,{value:t,match:n})})):[],[n,t]);return(0,tE.jsx)(aL,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var on="en-US",or="undefined"!=typeof window;function oi(e){return"function"==typeof e}var oa=tk.array(tk.strictObject({direction:tk.enum(["ltr","rtl"]).optional(),locale:tk.string(),text:tk.string()})),oo=[function(e){return null==e||"string"==typeof e||oi(e)||(0,S.isValidElement)(e)},{message:"Must be React.ReactNode or React.FC"}],os=[oi,{message:"Must be React.FC"}];tk.strictObject({banner:tk.strictObject({dismissible:tk.boolean(),key:tk.string(),text:tk.custom(...oo).optional()}),chat:tk.strictObject({icon:tk.custom(...oo),link:tk.string().startsWith("https://").optional()}),components:tk.record(tk.custom(...os)).optional(),darkMode:tk.boolean(),direction:tk.enum(["ltr","rtl"]),docsRepositoryBase:tk.string().startsWith("https://"),editLink:tk.strictObject({component:tk.custom(...os).or(tk.null()),text:tk.custom(...oo)}),faviconGlyph:tk.string().optional(),feedback:tk.strictObject({content:tk.custom(...oo),labels:tk.string(),useLink:tk.function().returns(tk.string())}),footer:tk.strictObject({component:tk.custom(...oo),text:tk.custom(...oo)}),gitTimestamp:tk.custom(...oo),head:tk.custom(...oo),i18n:oa,logo:tk.custom(...oo),logoLink:tk.boolean().or(tk.string()),main:tk.custom(...os).optional(),navbar:tk.strictObject({component:tk.custom(...oo),extraContent:tk.custom(...oo).optional()}),navigation:tk.boolean().or(tk.strictObject({next:tk.boolean(),prev:tk.boolean()})),nextThemes:tk.strictObject({defaultTheme:tk.string(),forcedTheme:tk.string().optional(),storageKey:tk.string()}),notFound:tk.strictObject({content:tk.custom(...oo),labels:tk.string()}),primaryHue:tk.number().or(tk.strictObject({dark:tk.number(),light:tk.number()})),primarySaturation:tk.number().or(tk.strictObject({dark:tk.number(),light:tk.number()})),project:tk.strictObject({icon:tk.custom(...oo),link:tk.string().startsWith("https://").optional()}),search:tk.strictObject({component:tk.custom(...oo),emptyResult:tk.custom(...oo),error:tk.string().or(tk.function().returns(tk.string())),loading:tk.custom(...oo),placeholder:tk.string().or(tk.function().returns(tk.string()))}),serverSideError:tk.strictObject({content:tk.custom(...oo),labels:tk.string()}),sidebar:tk.strictObject({autoCollapse:tk.boolean().optional(),defaultMenuCollapseLevel:tk.number().min(1).int(),titleComponent:tk.custom(...oo),toggleButton:tk.boolean()}),themeSwitch:tk.strictObject({component:tk.custom(...oo),useOptions:a7.or(tk.function().returns(a7))}),toc:tk.strictObject({backToTop:tk.boolean(),component:tk.custom(...oo),extraContent:tk.custom(...oo),float:tk.boolean(),headingComponent:tk.custom(...os).optional(),title:tk.custom(...oo)}),useNextSeoProps:tk.custom(oi)}).deepPartial().extend({i18n:oa.optional()});var ol={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},ou={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},oc={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)(P.D7,{}),(0,tE.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=av(),n=tM()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}(t);return r?(0,tE.jsx)(aj,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=av();return aE({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:function({menu:e}){let t=av();return(0,tE.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,tE.jsxs)("div",{className:(0,N.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,tE.jsx)(aU,{}),t.darkMode&&aO(t.themeSwitch.component)]}),(0,tE.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tE.jsx)("div",{className:(0,N.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:aO(t.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=on}=(0,C.useRouter)();return(0,tE.jsxs)(tE.Fragment,{children:["Last updated on"," ",(0,tE.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tE.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tE.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tE.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tE.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tE.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tE.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tE.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tE.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=av(),r=A(),{menu:i,setMenu:a}=am();return(0,tE.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,tE.jsx)("div",{className:(0,N.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,tE.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,tE.jsx)(aj,{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:aO(n.logo)}):(0,tE.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:aO(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type)return(0,tE.jsxs)(aB,{className:(0,N.Z)(aV.link,"nx-flex nx-gap-1",aV.inactive),menu:e,children:[e.title,(0,tE.jsx)(P.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,tE.jsxs)(aj,{href:t,className:(0,N.Z)(aV.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!n||e.newWindow?aV.inactive:aV.active),newWindow:e.newWindow,"aria-current":!e.newWindow&&n,children:[(0,tE.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:e.title}),(0,tE.jsx)("span",{className:"nx-invisible nx-font-medium",children:e.title})]},t)}),aO(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tE.jsx)(aj,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:aO(n.project.icon)}):null,n.chat.link?(0,tE.jsx)(aj,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:aO(n.chat.icon)}):null,aO(n.navbar.extraContent),(0,tE.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,tE.jsx)(P.Oq,{className:(0,N.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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)(P.fy,{}),(0,tE.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return av().flexsearch?(0,tE.jsx)(aF,{className:e}):(0,tE.jsx)(ot,{className:e,directories:t})},emptyResult:(0,tE.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=on}=(0,C.useRouter)(),n=e&&ol[e]||ol[t];return(0,tE.jsxs)(tE.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=on}=(0,C.useRouter)(),n=e&&ou[e]||ou[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tE.jsx)(tE.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:function({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=(0,tO.F)(),a=R(),o=av().themeSwitch,s=a&&"dark"===r?P.kL:P.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tE.jsx)(az,{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,tE.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tE.jsx)(s,{}),(0,tE.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})},useOptions(){let{locale:e}=(0,C.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=au(),i=av(),a=(0,S.useRef)(null),o=(0,S.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,S.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&iB(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tE.jsxs)("div",{ref:a,className:(0,N.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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:aO(i.toc.title)}),(0,tE.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tE.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tE.jsx)("a",{href:`#${e}`,className:(0,N.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,tE.jsxs)("div",{className:(0,N.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,tE.jsx)(aj,{className:oe,href:i.feedback.useLink(),newWindow:!0,children:aO(i.feedback.content)}):null,aO(i.editLink.component,{filePath:t,className:oe,children:aO(i.editLink.text)}),aO(i.toc.extraContent),i.toc.backToTop&&(0,tE.jsx)(a8,{className:oe})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},od=Object.entries(oc).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,S.isValidElement)(t))return e}).filter(Boolean);if(or){let e;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function of(e){var{tag:t,context:n,children:r,id:i,className:a}=e,o=an(e,["tag","context","children","id","className"]);let s=ac(),l=af(),u=ad(),c=(0,S.useRef)(null);return(0,S.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=ae({},e);return delete t[i],t})}},[i,n,l,u,s]),(0,tE.jsxs)(t,at(ae({className:"sr-only"===a?"nx-sr-only":(0,N.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,tE.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 S.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===om){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==oh&&"props"in e&&e.props){let n=op(e.props.children);t=n[0],a=(0,S.cloneElement)(e,at(ae({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},oh=e=>{var{children:t,open:n}=e,r=an(e,["children","open"]);let[i,a]=(0,S.useState)(!!n),[o,s]=op(t),[l,u]=(0,S.useState)(i);return(0,S.useEffect)(()=>{if(i)u(!0);else{let e=setTimeout(()=>u(i),500);return()=>clearTimeout(e)}},[i]),(0,tE.jsxs)("details",at(ae(at(ae({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,tE.jsx)(ak,{value:a,children:o}),(0,tE.jsx)(aN,{isOpen:i,children:s})]}))},om=e=>{let t=aw();return(0,tE.jsx)("summary",at(ae({className:(0,N.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)}}))},ox=/https?:\/\//,og=e=>{var{href:t="",className:n}=e,r=an(e,["href","className"]);return(0,tE.jsx)(aj,ae({href:t,newWindow:ox.test(t),className:(0,N.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",n)},r))},ov=e=>{var{href:t=""}=e,n=an(e,["href"]);return(0,tE.jsx)(aj,ae({href:t,newWindow:ox.test(t)},n))},oy=({isRawLayout:e,components:t})=>{if(e)return{a:ov};let n={index:0};return ae({h1:e=>(0,tE.jsx)("h1",ae({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,tE.jsx)(of,ae({tag:"h2",context:n},e)),h3:e=>(0,tE.jsx)(of,ae({tag:"h3",context:n},e)),h4:e=>(0,tE.jsx)(of,ae({tag:"h4",context:n},e)),h5:e=>(0,tE.jsx)(of,ae({tag:"h5",context:n},e)),h6:e=>(0,tE.jsx)(of,ae({tag:"h6",context:n},e)),ul:e=>(0,tE.jsx)("ul",ae({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),ol:e=>(0,tE.jsx)("ol",ae({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),li:e=>(0,tE.jsx)("li",ae({className:"nx-my-2"},e)),blockquote:e=>(0,tE.jsx)("blockquote",ae({className:(0,N.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,tE.jsx)("hr",ae({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:og,table:e=>(0,tE.jsx)(i2.iA,ae({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tE.jsx)("p",ae({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:i2.Tr,th:i2.Th,td:i2.Td,details:oh,summary:om,pre:i2.SU,code:i2.EK},t)},ob={toc:(0,N.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,N.Z)("nx-w-full nx-break-words")},ow=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=av(),s=R();if("raw"===e.layout)return(0,tE.jsx)("div",{className:ob.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tE.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:aO(o.gitTimestamp,{timestamp:l})}):(0,tE.jsx)("div",{className:"nx-mt-16"}),c=(0,tE.jsxs)(tE.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tE.jsx)("article",{className:(0,N.Z)(ob.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,tE.jsx)("article",{className:(0,N.Z)(ob.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,tE.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]})})},ok=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=av(),{locale:s=on,defaultLocale:l}=(0,C.useRouter)(),u=A(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:p,topLevelNavbarItems:h,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,S.useMemo)(()=>(function e({list:t,locale:n,defaultLocale:r,route:i,docsRoot:a="",underCurrentDocsRoot:o=!1,pageThemeContext:s=tT}){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||I.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=ae(ae({},f),n),b=!y.sidebar||"raw"===y.layout||"page"===c,w="page"!==c&&y.toc&&"default"===y.layout?(0,tE.jsx)("nav",{className:(0,N.Z)(ob.toc,"nx-px-4"),"aria-label":"table of contents",children:aO(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==y.layout&&"raw"!==y.layout&&(0,tE.jsx)("nav",{className:ob.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,tE.jsxs)("div",{dir:_,children:[(0,tE.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${_}')`}}),(0,tE.jsx)(aW,{}),(0,tE.jsx)(aC,{}),y.navbar&&aO(o.navbar.component,{flatDirectories:x,items:h}),(0,tE.jsx)("div",{className:(0,N.Z)("nx-mx-auto nx-flex","raw"!==y.layout&&"nx-max-w-[90rem]"),children:(0,tE.jsxs)(ap,{children:[(0,tE.jsx)(a5,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:b,includePlaceholder:"default"===y.layout}),w,(0,tE.jsx)(a6,{}),(0,tE.jsx)(ow,{themeContext:y,breadcrumb:"page"!==c&&y.breadcrumb?(0,tE.jsx)(aS,{activePath:p}):null,timestamp:i,navigation:"page"!==c&&y.pagination?(0,tE.jsx)(aG,{flatDirectories:g,currentIndex:d}):null,children:(0,tE.jsx)(L.Z,{components:oy({isRawLayout:"raw"===y.layout,components:o.components}),children:a})})]})}),y.footer&&aO(o.footer.component,{menu:b})]})};function o_(e){var{children:t}=e,n=an(e,["children"]);return(0,tE.jsx)(ay,{value:n,children:(0,tE.jsx)(ok,at(ae({},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){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],i=(0,T.z2)([...e.tabs,t.tab],e=>e.current),a=null!=(n=i.indexOf(r))?n:e.selectedIndex;return -1===a&&(a=e.selectedIndex),{...e,tabs:i,selectedIndex:a}},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)})},F=(0,p.createContext)(null);function z(e){let t=(0,p.useContext)(F);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,z),t}return t}F.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}=z("Tab"),f=U("Tab"),h=z("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)(()=>({selected:E}),[E]),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,_.T)(t),[f,h]=(0,p.useReducer)(W,{selectedIndex:null!=o?o:n,tabs:[],panels:[]}),m=(0,p.useMemo)(()=>({selectedIndex:f.selectedIndex}),[f.selectedIndex]),x=(0,w.E)(a||(()=>{})),g=(0,w.E)(f.tabs),y=(0,p.useMemo)(()=>({orientation:l,activation:u,...f}),[l,u,f]),k=(0,v.z)(e=>(h({type:1,tab:e}),()=>h({type:2,tab:e}))),j=(0,v.z)(e=>(h({type:3,panel:e}),()=>h({type:4,panel:e}))),E=(0,v.z)(e=>{C.current!==e&&x.current(e),c||h({type:0,index:e})}),C=(0,w.E)(c?e.selectedIndex:f.selectedIndex),S=(0,p.useMemo)(()=>({registerTab:k,registerPanel:j,change:E}),[]);return(0,b.e)(()=>{h({type:0,index:null!=o?o:n})},[o]),(0,b.e)(()=>{if(void 0===C.current||f.tabs.length<=0)return;let e=(0,T.z2)(f.tabs,e=>e.current);e.some((e,t)=>f.tabs[t]!==e)&&E(e.indexOf(f.tabs[C.current]))}),p.createElement(A,null,p.createElement($.Provider,{value:S},p.createElement(F.Provider,{value:y},y.tabs.length<=0&&p.createElement(O,{onFocus:()=>{var e,t;for(let n of g.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:d},theirProps:s,slot:m,defaultTag:H,name:"Tabs"}))))}),List:(0,R.yV)(function(e,t){let{orientation:n,selectedIndex:r}=z("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}=z("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}=z("Tab.Panel"),h=U("Tab.Panel"),m=(0,p.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>h.registerPanel(m),[h,m]);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(1864),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},2337:function(e){"use strict";e.exports=function(e,t){!0===t&&(t=0);var n="";if("string"==typeof e)try{n=new URL(e).protocol}catch(e){}else e&&e.constructor===URL&&(n=e.protocol);var r=n.split(/\:|\+/).filter(Boolean);return"number"==typeof t?r[t]:r}},6826:function(e){var t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ẻ:"e",ẽ:"e",ẹ:"e",ể:"e",ễ:"e",ệ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ỉ:"i",ị:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ỏ:"o",ọ:"o",ổ:"o",ỗ:"o",ộ:"o",ờ:"o",ở:"o",ỡ:"o",ớ:"o",ợ:"o",ù:"u",ú:"u",û:"u",ü:"u",ủ:"u",ụ:"u",ử:"u",ữ:"u",ự:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},n=Object.keys(t).join("|"),r=RegExp(n,"g"),i=RegExp(n,"");function a(e){return t[e]}var o=function(e){return e.replace(r,a)};e.exports=o,e.exports.has=function(e){return!!e.match(i)},e.exports.remove=o},3859:function(e){"use strict";e.exports=e=>{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"]},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),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>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function o(e){let t=1;for(let r=0;r126)return"Invalid prefix ("+e+")";t=i(t)^n>>5}t=i(t);for(let r=0;r=r;)a.push(i>>(o-=r)&s);if(n)o>0&&a.push(i<=t)return"Excess padding";if(i<r)return"Exceeds length limit";let s=e.toLowerCase(),a=e.toUpperCase();if(e!==s&&e!==a)return"Mixed-case string "+e;let u=(e=s).lastIndexOf("1");if(-1===u)return"No separator character for "+e;if(0===u)return"Missing prefix for "+e;let l=e.slice(0,u),f=e.slice(u+1);if(f.length<6)return"Data too short";let c=o(l);if("string"==typeof c)return c;let h=[];for(let e=0;e=f.length||h.push(r)}return c!==t?"Invalid checksum for "+e:{prefix:l,words:h}}return t="bech32"===e?1:734539939,{decodeUnsafe:function(e,t){let r=s(e,t);if("object"==typeof r)return r},decode:function(e,t){let r=s(e,t);if("object"==typeof r)return r;throw Error(r)},encode:function(e,n,s){if(s=s||90,e.length+7+n.length>s)throw TypeError("Exceeds length limit");let a=o(e=e.toLowerCase());if("string"==typeof a)throw Error(a);let u=e+"1";for(let e=0;e>5!=0)throw Error("Non 5-bit word");a=i(a)^t,u+=r.charAt(t)}for(let e=0;e<6;++e)a=i(a);a^=t;for(let e=0;e<6;++e){let t=a>>(5-e)*5&31;u+=r.charAt(t)}return u},toWords:a,fromWordsUnsafe:u,fromWords:l}}t.gW=f("bech32"),f("bech32m")},1876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),s=o[0],a=o[1],l=new i((s+a)*3/4-a),f=0,c=a>0?s-4:s;for(r=0;r>16&255,l[f++]=t>>8&255,l[f++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[f++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[f++]=t>>8&255,l[f++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(e).length;default:if(i)return n?-1:R(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var f=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var c=!0,h=0;h239?4:l>223?3:l>191?2:1;if(i+c<=r)switch(c){case 1:l<128&&(f=l);break;case 2:(192&(o=e[i+1]))==128&&(u=(31&l)<<6|63&o)>127&&(f=u);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(f=u)}null===f?(f=65533,c=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=c}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function E(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function A(e,t,r,n,o){return t=+t,r>>>=0,o||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,o){return t=+t,r>>>=0,o||E(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(l(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return f(e)},a.allocUnsafeSlow=function(e){return f(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);ir&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,u=Math.min(o,s),l=this.slice(n,i),f=e.slice(t,r),c=0;c>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,u,l,f,c,h,d,p,y,m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var g=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s>8,i.push(r%256),i.push(n);return i}(e,this.length-p),this,p,y);default:if(g)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return A(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return A(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function x(e){for(var t=[],r=0;r=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function B(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,f=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,o=d&(1<<-f)-1,d>>=-f,f+=a;f>0;o=256*o+e[t+c],c+=h,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=256*s+e[t+c],c+=h,f-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=l}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,l=8*o-i-1,f=(1<>1,h=23===i?5960464477539062e-23:0,d=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=f):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?t+=h/u:t+=h*Math.pow(2,1-c),t*u>=2&&(s++,u/=2),s+c>=f?(a=0,s=f):s+c>=1?(a=(t*u-1)*Math.pow(2,i),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=p,s/=256,l-=8);e[r+d-p]|=128*y}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},s=!0;try{t[e](o,o.exports,n),s=!1}finally{s&&delete r[e]}return o.exports}n.ab="//";var i=n(72);e.exports=i}()},7066:function(e,t,r){"use strict";let n,i,o,s;r.d(t,{Z:function(){return td}});var a,u,l,f,c,h={};function d(e,t){return function(){return e.apply(t,arguments)}}r.r(h),r.d(h,{hasBrowserEnv:function(){return eb},hasStandardBrowserEnv:function(){return ev},hasStandardBrowserWebWorkerEnv:function(){return ew},origin:function(){return eE}});var p=r(3454);let{toString:y}=Object.prototype,{getPrototypeOf:m}=Object,g=(n=Object.create(null),e=>{let t=y.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),b=e=>(e=e.toLowerCase(),t=>g(t)===e),v=e=>t=>typeof t===e,{isArray:w}=Array,E=v("undefined"),A=b("ArrayBuffer"),S=v("string"),O=v("function"),R=v("number"),x=e=>null!==e&&"object"==typeof e,T=e=>{if("object"!==g(e))return!1;let t=m(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_=b("Date"),B=b("File"),C=b("Blob"),U=b("FileList"),k=b("URLSearchParams"),[F,L,j,D]=["ReadableStream","Request","Response","Headers"].map(b);function N(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),w(e))for(n=0,i=e.length;n0;)if(t===(r=n[i]).toLowerCase())return r;return null}let V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!E(e)&&e!==V,M=(i="undefined"!=typeof Uint8Array&&m(Uint8Array),e=>i&&e instanceof i),q=b("HTMLFormElement"),z=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),W=b("RegExp"),H=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};N(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)},J="abcdefghijklmnopqrstuvwxyz",$="0123456789",K={DIGIT:$,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+$},G=b("AsyncFunction"),X=(a="function"==typeof setImmediate,u=O(V.postMessage),a?setImmediate:u?(l=`axios@${Math.random()}`,f=[],V.addEventListener("message",({source:e,data:t})=>{e===V&&t===l&&f.length&&f.shift()()},!1),e=>{f.push(e),V.postMessage(l,"*")}):e=>setTimeout(e)),Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(V):void 0!==p&&p.nextTick||X;var Z={isArray:w,isArrayBuffer:A,isBuffer:function(e){return null!==e&&!E(e)&&null!==e.constructor&&!E(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||O(e.append)&&("formdata"===(t=g(e))||"object"===t&&O(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&A(e.buffer)},isString:S,isNumber:R,isBoolean:e=>!0===e||!1===e,isObject:x,isPlainObject:T,isReadableStream:F,isRequest:L,isResponse:j,isHeaders:D,isUndefined:E,isDate:_,isFile:B,isBlob:C,isRegExp:W,isFunction:O,isStream:e=>x(e)&&O(e.pipe),isURLSearchParams:k,isTypedArray:M,isFileList:U,forEach:N,merge:function e(){let{caseless:t}=I(this)&&this||{},r={},n=(n,i)=>{let o=t&&P(r,i)||i;T(r[o])&&T(n)?r[o]=e(r[o],n):T(n)?r[o]=e({},n):w(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e(N(t,(t,n)=>{r&&O(t)?e[n]=d(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,s;let a={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=!1!==r&&m(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:g,kindOfTest:b,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!R(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:q,hasOwnProperty:z,hasOwnProp:z,reduceDescriptors:H,freezeMethods:e=>{H(e,(t,r)=>{if(O(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(O(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(w(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:P,global:V,isContextDefined:I,ALPHABET:K,generateString:(e=16,t=K.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&O(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(x(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=w(e)?[]:{};return N(e,(e,t)=>{let o=r(e,n+1);E(o)||(i[t]=o)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:G,isThenable:e=>e&&(x(e)||O(e))&&O(e.then)&&O(e.catch),setImmediate:X,asap:Y};function Q(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}Z.inherits(Q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let ee=Q.prototype,et={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{et[e]={value:e}}),Object.defineProperties(Q,et),Object.defineProperty(ee,"isAxiosError",{value:!0}),Q.from=(e,t,r,n,i,o)=>{let s=Object.create(ee);return Z.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),Q.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};var er=r(1876).Buffer;function en(e){return Z.isPlainObject(e)||Z.isArray(e)}function ei(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function eo(e,t,r){return e?e.concat(t).map(function(e,t){return e=ei(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let es=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)});var ea=function(e,t,r){if(!Z.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=Z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Z.isUndefined(t[e])})).metaTokens,i=r.visitor||l,o=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(i))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(!a&&Z.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(e)||Z.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):er.from(e):e}function l(e,r,i){let a=e;if(e&&!i&&"object"==typeof e){if(Z.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var l;if(Z.isArray(e)&&(l=e,Z.isArray(l)&&!l.some(en))||(Z.isFileList(e)||Z.endsWith(r,"[]"))&&(a=Z.toArray(e)))return r=ei(r),a.forEach(function(e,n){Z.isUndefined(e)||null===e||t.append(!0===s?eo([r],n,o):null===s?r:r+"[]",u(e))}),!1}}return!!en(e)||(t.append(eo(i,r,o),u(e)),!1)}let f=[],c=Object.assign(es,{defaultVisitor:l,convertValue:u,isVisitable:en});if(!Z.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!Z.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),Z.forEach(r,function(r,o){!0===(!(Z.isUndefined(r)||null===r)&&i.call(t,r,Z.isString(o)?o.trim():o,n,c))&&e(r,n?n.concat(o):[o])}),f.pop()}}(e),t};function eu(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function el(e,t){this._pairs=[],e&&ea(e,this,t)}let ef=el.prototype;function ec(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eh(e,t,r){let n;if(!t)return e;let i=r&&r.encode||ec,o=r&&r.serialize;if(n=o?o(t,r):Z.isURLSearchParams(t)?t.toString():new el(t,r).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ef.append=function(e,t){this._pairs.push([e,t])},ef.toString=function(e){let t=e?function(t){return e.call(this,t,eu)}:eu;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ed{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(t){null!==t&&e(t)})}}var ep={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ey="undefined"!=typeof URLSearchParams?URLSearchParams:el,em="undefined"!=typeof FormData?FormData:null,eg="undefined"!=typeof Blob?Blob:null;let eb="undefined"!=typeof window&&"undefined"!=typeof document,ev=(o="undefined"!=typeof navigator&&navigator.product,eb&&0>["ReactNative","NativeScript","NS"].indexOf(o)),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eE=eb&&window.location.href||"http://localhost";var eA={...h,isBrowser:!0,classes:{URLSearchParams:ey,FormData:em,Blob:eg},protocols:["http","https","file","blob","url","data"]},eS=function(e){if(Z.isFormData(e)&&Z.isFunction(e.entries)){let t={};return Z.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),a=i>=t.length;return(o=!o&&Z.isArray(n)?n.length:o,a)?Z.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&Z.isObject(n[o])||(n[o]=[]),e(t,r,n[o],i)&&Z.isArray(n[o])&&(n[o]=function(e){let t,r;let n={},i=Object.keys(e),o=i.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let eO={transitional:ep,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=Z.isObject(e);if(o&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return i?JSON.stringify(eS(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var s,a;return(s=e,a=this.formSerializer,ea(s,new eA.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return eA.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))).toString()}if((r=Z.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ea(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,r){if(Z.isString(e))try{return(0,JSON.parse)(e),Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eO.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw Q.from(e,Q.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eA.classes.FormData,Blob:eA.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{eO.headers[e]={}});let eR=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ex=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&eR[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i};let eT=Symbol("internals");function e_(e){return e&&String(e).trim().toLowerCase()}function eB(e){return!1===e||null==e?e:Z.isArray(e)?e.map(eB):String(e)}let eC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eU(e,t,r,n,i){if(Z.isFunction(n))return n.call(this,t,r);if(i&&(t=r),Z.isString(t)){if(Z.isString(n))return -1!==t.indexOf(n);if(Z.isRegExp(n))return n.test(t)}}class ek{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=e_(t);if(!i)throw Error("header name must be a non-empty string");let o=Z.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=eB(e))}let o=(e,t)=>Z.forEach(e,(e,r)=>i(e,r,t));if(Z.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Z.isString(e)&&(e=e.trim())&&!eC(e))o(ex(e),t);else if(Z.isHeaders(e))for(let[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=e_(e)){let r=Z.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(Z.isFunction(t))return t.call(this,e,r);if(Z.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=e_(e)){let r=Z.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eU(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=e_(e)){let i=Z.findKey(r,e);i&&(!t||eU(r,r[i],i,t))&&(delete r[i],n=!0)}}return Z.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eU(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return Z.forEach(this,(n,i)=>{let o=Z.findKey(r,i);if(o){t[o]=eB(n),delete t[i];return}let s=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();s!==i&&delete t[i],t[s]=eB(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Z.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Z.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eT]=this[eT]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=e_(e);t[n]||(!function(e,t){let r=Z.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return Z.isArray(e)?e.forEach(n):n(e),this}}function eF(e,t){let r=this||eO,n=t||r,i=ek.from(n.headers),o=n.data;return Z.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eL(e){return!!(e&&e.__CANCEL__)}function ej(e,t,r){Q.call(this,null==e?"canceled":e,Q.ERR_CANCELED,t,r),this.name="CanceledError"}function eD(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Q("Request failed with status code "+r.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}ek.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(ek.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),Z.freezeMethods(ek),Z.inherits(ej,Q,{__CANCEL__:!0});var eN=function(e,t){let r;let n=Array(e=e||10),i=Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(a){let u=Date.now(),l=i[s];r||(r=u),n[o]=a,i[o]=u;let f=s,c=0;for(;f!==o;)c+=n[f++],f%=e;if((o=(o+1)%e)===s&&(s=(s+1)%e),u-r{i=o,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),a=t-i;a>=o?s(e,t):(r=e,n||(n=setTimeout(()=>{n=null,s(r)},o-a)))},()=>r&&s(r)]};let eV=(e,t,r=3)=>{let n=0,i=eN(50,250);return eP(r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,u=i(a);n=o,e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&o<=s?(s-o)/u:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})},r)},eI=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eM=e=>(...t)=>Z.asap(()=>e(...t));var eq=eA.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=Z.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},ez=eA.hasStandardBrowserEnv?{write(e,t,r,n,i,o){let s=[e+"="+encodeURIComponent(t)];Z.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),Z.isString(n)&&s.push("path="+n),Z.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eW(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eH=e=>e instanceof ek?{...e}:e;function eJ(e,t){t=t||{};let r={};function n(e,t,r){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:r},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function i(e,t,r){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!Z.isUndefined(t))return n(void 0,t)}function s(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>i(eH(e),eH(t),!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),function(n){let o=u[n]||i,s=o(e[n],t[n],n);Z.isUndefined(s)&&o!==a||(r[n]=s)}),r}var e$=e=>{let t;let r=eJ({},e),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:u}=r;if(r.headers=a=ek.from(a),r.url=eh(eW(r.baseURL,r.url),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),Z.isFormData(n)){if(eA.hasStandardBrowserEnv||eA.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(t=a.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...r].join("; "))}}if(eA.hasStandardBrowserEnv&&(i&&Z.isFunction(i)&&(i=i(r)),i||!1!==i&&eq(r.url))){let e=o&&s&&ez.read(s);e&&a.set(o,e)}return r},eK="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,o,s,a;let u=e$(e),l=u.data,f=ek.from(u.headers).normalize(),{responseType:c,onUploadProgress:h,onDownloadProgress:d}=u;function p(){s&&s(),a&&a(),u.cancelToken&&u.cancelToken.unsubscribe(n),u.signal&&u.signal.removeEventListener("abort",n)}let y=new XMLHttpRequest;function m(){if(!y)return;let n=ek.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());eD(function(e){t(e),p()},function(e){r(e),p()},{data:c&&"text"!==c&&"json"!==c?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(u.method.toUpperCase(),u.url,!0),y.timeout=u.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new Q("Request aborted",Q.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Q("Network Error",Q.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||ep;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),r(new Q(t,n.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,y)),y=null},void 0===l&&f.setContentType(null),"setRequestHeader"in y&&Z.forEach(f.toJSON(),function(e,t){y.setRequestHeader(t,e)}),Z.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),c&&"json"!==c&&(y.responseType=u.responseType),d&&([o,a]=eV(d,!0),y.addEventListener("progress",o)),h&&y.upload&&([i,s]=eV(h),y.upload.addEventListener("progress",i),y.upload.addEventListener("loadend",s)),(u.cancelToken||u.signal)&&(n=t=>{y&&(r(!t||t.type?new ej(null,e,y):t),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(n),u.signal&&(u.signal.aborted?n():u.signal.addEventListener("abort",n)));let g=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u.url);if(g&&-1===eA.protocols.indexOf(g)){r(new Q("Unsupported protocol "+g+":",Q.ERR_BAD_REQUEST,e));return}y.send(l||null)})},eG=(e,t)=>{let r,n=new AbortController,i=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof Q?t:new ej(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{i(new Q(`timeout ${t} of ms exceeded`,Q.ETIMEDOUT))},t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))}),e=null)};e.forEach(e=>e&&e.addEventListener&&e.addEventListener("abort",i));let{signal:a}=n;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]};let eX=function*(e,t){let r,n=e.byteLength;if(!t||n{let o;let s=eY(e,t,i),a=0,u=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await s.next();if(t){u(),e.close();return}let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw u(e),e}},cancel:e=>(u(e),s.return())},{highWaterMark:2})},eQ="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e0=eQ&&"function"==typeof ReadableStream,e1=eQ&&("function"==typeof TextEncoder?(s=new TextEncoder,e=>s.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e2=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e5=e0&&e2(()=>{let e=!1,t=new Request(eA.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e6=e0&&e2(()=>Z.isReadableStream(new Response("").body)),e8={stream:e6&&(e=>e.body)};eQ&&(c=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e8[e]||(e8[e]=Z.isFunction(c[e])?t=>t[e]():(t,r)=>{throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,r)})}));let e4=async e=>null==e?0:Z.isBlob(e)?e.size:Z.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Z.isArrayBufferView(e)||Z.isArrayBuffer(e)?e.byteLength:(Z.isURLSearchParams(e)&&(e+=""),Z.isString(e))?(await e1(e)).byteLength:void 0,e3=async(e,t)=>{let r=Z.toFiniteNumber(e.getContentLength());return null==r?e4(t):r},e7={http:null,xhr:eK,fetch:eQ&&(async e=>{let t,r,n,{url:i,method:o,data:s,signal:a,cancelToken:u,timeout:l,onDownloadProgress:f,onUploadProgress:c,responseType:h,headers:d,withCredentials:p="same-origin",fetchOptions:y}=e$(e);h=h?(h+"").toLowerCase():"text";let[m,g]=a||u||l?eG([a,u],l):[],b=()=>{t||setTimeout(()=>{m&&m.unsubscribe()}),t=!0};try{if(c&&e5&&"get"!==o&&"head"!==o&&0!==(n=await e3(d,s))){let e,t=new Request(i,{method:"POST",body:s,duplex:"half"});if(Z.isFormData(s)&&(e=t.headers.get("content-type"))&&d.setContentType(e),t.body){let[e,r]=eI(n,eV(eM(c)));s=eZ(t.body,65536,e,r,e1)}}Z.isString(p)||(p=p?"include":"omit"),r=new Request(i,{...y,signal:m,method:o.toUpperCase(),headers:d.normalize().toJSON(),body:s,duplex:"half",credentials:p});let t=await fetch(r),a=e6&&("stream"===h||"response"===h);if(e6&&(f||a)){let e={};["status","statusText","headers"].forEach(r=>{e[r]=t[r]});let r=Z.toFiniteNumber(t.headers.get("content-length")),[n,i]=f&&eI(r,eV(eM(f),!0))||[];t=new Response(eZ(t.body,65536,n,()=>{i&&i(),a&&b()},e1),e)}h=h||"text";let u=await e8[Z.findKey(e8,h)||"text"](t,e);return a||b(),g&&g(),await new Promise((n,i)=>{eD(n,i,{data:u,headers:ek.from(t.headers),status:t.status,statusText:t.statusText,config:e,request:r})})}catch(t){if(b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,r),{cause:t.cause||t});throw Q.from(t,t&&t.code,e,r)}})};Z.forEach(e7,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e9=e=>`- ${e}`,te=e=>Z.isFunction(e)||null===e||!1===e;var tt=e=>{let t,r;let{length:n}=e=Z.isArray(e)?e:[e],i={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new Q("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(e9).join("\n"):" "+e9(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ej(null,e)}function tn(e){return tr(e),e.headers=ek.from(e.headers),e.data=eF.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tt(e.adapter||eO.adapter)(e).then(function(t){return tr(e),t.data=eF.call(e,e.transformResponse,t),t.headers=ek.from(t.headers),t},function(t){return!eL(t)&&(tr(e),t&&t.response&&(t.response.data=eF.call(e,e.transformResponse,t.response),t.response.headers=ek.from(t.response.headers))),Promise.reject(t)})}let ti="1.7.4",to={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{to[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let ts={};to.transitional=function(e,t,r){function n(e,t){return"[Axios v"+ti+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new Q(n(i," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!ts[i]&&(ts[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}};var ta={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],s=t[o];if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new Q("option "+o+" must be "+r,Q.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Q("Unknown option "+o,Q.ERR_BAD_OPTION)}},validators:to};let tu=ta.validators;class tl{constructor(e){this.defaults=e,this.interceptors={request:new ed,response:new ed}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:s}=t=eJ(this.defaults,t);void 0!==i&&ta.assertOptions(i,{silentJSONParsing:tu.transitional(tu.boolean),forcedJSONParsing:tu.transitional(tu.boolean),clarifyTimeoutError:tu.transitional(tu.boolean)},!1),null!=o&&(Z.isFunction(o)?t.paramsSerializer={serialize:o}:ta.assertOptions(o,{encode:tu.function,serialize:tu.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&Z.merge(s.common,s[t.method]);s&&Z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=ek.concat(a,s);let u=[],l=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(l=l&&e.synchronous,u.unshift(e.fulfilled,e.rejected))});let f=[];this.interceptors.response.forEach(function(e){f.push(e.fulfilled,e.rejected)});let c=0;if(!l){let e=[tn.bind(this),void 0];for(e.unshift.apply(e,u),e.push.apply(e,f),n=e.length,r=Promise.resolve(t);c{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new ej(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new tf(function(t){e=t}),cancel:e}}}let tc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tc).forEach(([e,t])=>{tc[t]=e});let th=function e(t){let r=new tl(t),n=d(tl.prototype.request,r);return Z.extend(n,tl.prototype,r,{allOwnKeys:!0}),Z.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eJ(t,r))},n}(eO);th.Axios=tl,th.CanceledError=ej,th.CancelToken=tf,th.isCancel=eL,th.VERSION=ti,th.toFormData=ea,th.AxiosError=Q,th.Cancel=th.CanceledError,th.all=function(e){return Promise.all(e)},th.spread=function(e){return function(t){return e.apply(null,t)}},th.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},th.mergeConfig=eJ,th.AxiosHeaders=ek,th.formToJSON=e=>eS(Z.isHTMLForm(e)?new FormData(e):e),th.getAdapter=tt,th.HttpStatusCode=tc,th.default=th;var td=th},7536:function(e,t,r){"use strict";r.d(t,{cI:function(){return ey}});var n=r(7294),i=e=>"checkbox"===e.type,o=e=>e instanceof Date,s=e=>null==e;let a=e=>"object"==typeof e;var u=e=>!s(e)&&!Array.isArray(e)&&a(e)&&!o(e),l=e=>u(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,f=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>e.has(f(t)),h=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty("isPrototypeOf")},d="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(d&&(e instanceof Blob||e instanceof FileList))&&(r||u(e))))return e;else if(t=r?[]:{},r||h(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var y=e=>Array.isArray(e)?e.filter(Boolean):[],m=e=>void 0===e,g=(e,t,r)=>{if(!t||!u(e))return r;let n=y(t.split(/[,[\].]+?/)).reduce((e,t)=>s(e)?e:e[t],e);return m(n)||n===e?m(e[t])?r:e[t]:n},b=e=>"boolean"==typeof e;let v={BLUR:"blur",FOCUS_OUT:"focusout"},w={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},E={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};n.createContext(null);var A=(e,t,r,n=!0)=>{let i={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(i,o,{get:()=>(t._proxyFormState[o]!==w.all&&(t._proxyFormState[o]=!n||w.all),r&&(r[o]=!0),e[o])});return i},S=e=>u(e)&&!Object.keys(e).length,O=(e,t,r,n)=>{r(e);let{name:i,...o}=e;return S(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!n||w.all))},R=e=>Array.isArray(e)?e:[e],x=e=>"string"==typeof e,T=(e,t,r,n,i)=>x(e)?(n&&t.watch.add(e),g(r,e,i)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),g(r,e))):(n&&(t.watchAll=!0),r),_=e=>/^\w*$/.test(e),B=e=>y(e.replace(/["|']|\]/g,"").split(/\.|\[/)),C=(e,t,r)=>{let n=-1,i=_(t)?[t]:B(t),o=i.length,s=o-1;for(;++nt?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},k=e=>({isOnSubmit:!e||e===w.onSubmit,isOnBlur:e===w.onBlur,isOnChange:e===w.onChange,isOnAll:e===w.all,isOnTouch:e===w.onTouched}),F=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let L=(e,t,r,n)=>{for(let i of r||Object.keys(e)){let r=g(e,i);if(r){let{_f:e,...o}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n||e.ref&&t(e.ref,e.name)&&!n)break;L(o,t)}else u(o)&&L(o,t)}}};var j=(e,t,r)=>{let n=y(g(e,r));return C(n,"root",t[r]),C(e,r,n),e},D=e=>"file"===e.type,N=e=>"function"==typeof e,P=e=>{if(!d)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},V=e=>x(e),I=e=>"radio"===e.type,M=e=>e instanceof RegExp;let q={value:!1,isValid:!1},z={value:!0,isValid:!0};var W=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?z:{value:e[0].value,isValid:!0}:z:q}return q};let H={isValid:!1,value:null};var J=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,H):H;function $(e,t,r="validate"){if(V(e)||Array.isArray(e)&&e.every(V)||b(e)&&!e)return{type:r,message:V(e)?e:"",ref:t}}var K=e=>u(e)&&!M(e)?e:{value:e,message:""},G=async(e,t,r,n,o)=>{let{ref:a,refs:l,required:f,maxLength:c,minLength:h,min:d,max:p,pattern:y,validate:v,name:w,valueAsNumber:A,mount:O,disabled:R}=e._f,T=g(t,w);if(!O||R)return{};let _=l?l[0]:a,B=e=>{n&&_.reportValidity&&(_.setCustomValidity(b(e)?"":e||""),_.reportValidity())},C={},k=I(a),F=i(a),L=(A||D(a))&&m(a.value)&&m(T)||P(a)&&""===a.value||""===T||Array.isArray(T)&&!T.length,j=U.bind(null,w,r,C),q=(e,t,r,n=E.maxLength,i=E.minLength)=>{let o=e?t:r;C[w]={type:e?n:i,message:o,ref:a,...j(e?n:i,o)}};if(o?!Array.isArray(T)||!T.length:f&&(!(k||F)&&(L||s(T))||b(T)&&!T||F&&!W(l).isValid||k&&!J(l).isValid)){let{value:e,message:t}=V(f)?{value:!!f,message:f}:K(f);if(e&&(C[w]={type:E.required,message:t,ref:_,...j(E.required,t)},!r))return B(t),C}if(!L&&(!s(d)||!s(p))){let e,t;let n=K(p),i=K(d);if(s(T)||isNaN(T)){let r=a.valueAsDate||new Date(T),o=e=>new Date(new Date().toDateString()+" "+e),s="time"==a.type,u="week"==a.type;x(n.value)&&T&&(e=s?o(T)>o(n.value):u?T>n.value:r>new Date(n.value)),x(i.value)&&T&&(t=s?o(T)n.value),s(i.value)||(t=r+e.value,i=!s(t.value)&&T.length<+t.value;if((n||i)&&(q(n,e.message,t.message),!r))return B(C[w].message),C}if(y&&!L&&x(T)){let{value:e,message:t}=K(y);if(M(e)&&!T.match(e)&&(C[w]={type:E.pattern,message:t,ref:a,...j(E.pattern,t)},!r))return B(t),C}if(v){if(N(v)){let e=$(await v(T,t),_);if(e&&(C[w]={...e,...j(E.validate,e.message)},!r))return B(e.message),C}else if(u(v)){let e={};for(let n in v){if(!S(e)&&!r)break;let i=$(await v[n](T,t),_,n);i&&(e={...i,...j(n,i.message)},B(i.message),r&&(C[w]=e))}if(!S(e)&&(C[w]={ref:_,...e},!r))return C}}return B(!0),C};function X(e,t){let r=Array.isArray(t)?t:_(t)?[t]:B(t),n=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,n=0;for(;n{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},Z=e=>s(e)||!a(e);function Q(e,t){if(Z(e)||Z(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i of r){let r=e[i];if(!n.includes(i))return!1;if("ref"!==i){let e=t[i];if(o(r)&&o(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!Q(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>I(e)||i(e),er=e=>P(e)&&e.isConnected,en=e=>{for(let t in e)if(N(e[t]))return!0;return!1};function ei(e,t={}){let r=Array.isArray(e);if(u(e)||r)for(let r in e)Array.isArray(e[r])||u(e[r])&&!en(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ei(e[r],t[r])):s(e[r])||(t[r]=!0);return t}var eo=(e,t)=>(function e(t,r,n){let i=Array.isArray(t);if(u(t)||i)for(let i in t)Array.isArray(t[i])||u(t[i])&&!en(t[i])?m(r)||Z(n[i])?n[i]=Array.isArray(t[i])?ei(t[i],[]):{...ei(t[i])}:e(t[i],s(r)?{}:r[i],n[i]):n[i]=!Q(t[i],r[i]);return n})(e,t,ei(t)),es=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>m(e)?e:t?""===e?NaN:e?+e:e:r&&x(e)?new Date(e):n?n(e):e;function ea(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:D(t)?t.files:I(t)?J(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?W(e.refs).value:es(m(t.value)?e.ref.value:t.value,e)}var eu=(e,t,r,n)=>{let i={};for(let r of e){let e=g(t,r);e&&C(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},el=e=>m(e)?e:M(e)?e.source:u(e)?M(e.value)?e.value.source:e.value:e,ef=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ec(e,t,r){let n=g(e,r);if(n||_(r))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),o=g(t,n),s=g(e,n);if(o&&!Array.isArray(o)&&r!==n)break;if(s&&s.type)return{name:n,error:s};i.pop()}return{name:r}}var eh=(e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?!n.isOnChange:!i.isOnChange)||e),ed=(e,t)=>!y(g(e,t)).length&&X(e,t);let ep={mode:w.onSubmit,reValidateMode:w.onChange,shouldFocusError:!0};function ey(e={}){let t=n.useRef(),r=n.useRef(),[a,f]=n.useState({isDirty:!1,isValidating:!1,isLoading:N(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:N(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,n={...ep,...e},a={submitCount:0,isDirty:!1,isLoading:N(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:n.errors||{},disabled:n.disabled||!1},f={},h=(u(n.values)||u(n.defaultValues))&&p(n.values||n.defaultValues)||{},E=n.shouldUnregister?{}:p(h),A={action:!1,mount:!1,watch:!1},O={mount:new Set,unMount:new Set,array:new Set,watch:new Set},_=0,B={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},U={values:Y(),array:Y(),state:Y()},V=k(n.mode),I=k(n.reValidateMode),M=n.criteriaMode===w.all,q=e=>t=>{clearTimeout(_),_=setTimeout(e,t)},z=async e=>{if(B.isValid||e){let e=n.resolver?S((await en()).errors):await ey(f,!0);e!==a.isValid&&U.state.next({isValid:e})}},W=e=>B.isValidating&&U.state.next({isValidating:e}),H=(e,t)=>{C(a.errors,e,t),U.state.next({errors:a.errors})},J=(e,t,r,n)=>{let i=g(f,e);if(i){let o=g(E,e,m(r)?g(h,e):r);m(o)||n&&n.defaultChecked||t?C(E,e,t?o:ea(i._f)):eb(e,o),A.mount&&z()}},$=(e,t,r,n,i)=>{let o=!1,s=!1,u={name:e},l=!!(g(f,e)&&g(f,e)._f.disabled);if(!r||n){B.isDirty&&(s=a.isDirty,a.isDirty=u.isDirty=em(),o=s!==u.isDirty);let r=l||Q(g(h,e),t);s=!!(!l&&g(a.dirtyFields,e)),r||l?X(a.dirtyFields,e):C(a.dirtyFields,e,!0),u.dirtyFields=a.dirtyFields,o=o||B.dirtyFields&&!r!==s}if(r){let t=g(a.touchedFields,e);t||(C(a.touchedFields,e,r),u.touchedFields=a.touchedFields,o=o||B.touchedFields&&t!==r)}return o&&i&&U.state.next(u),o?u:{}},K=(t,n,i,o)=>{let s=g(a.errors,t),u=B.isValid&&b(n)&&a.isValid!==n;if(e.delayError&&i?(r=q(()=>H(t,i)))(e.delayError):(clearTimeout(_),r=null,i?C(a.errors,t,i):X(a.errors,t)),(i?!Q(s,i):s)||!S(o)||u){let e={...o,...u&&b(n)?{isValid:n}:{},errors:a.errors,name:t};a={...a,...e},U.state.next(e)}W(!1)},en=async e=>n.resolver(E,n.context,eu(e||O.mount,f,n.criteriaMode,n.shouldUseNativeValidation)),ei=async e=>{let{errors:t}=await en(e);if(e)for(let r of e){let e=g(t,r);e?C(a.errors,r,e):X(a.errors,r)}else a.errors=t;return t},ey=async(e,t,r={valid:!0})=>{for(let i in e){let o=e[i];if(o){let{_f:e,...i}=o;if(e){let i=O.array.has(e.name),s=await G(o,E,M,n.shouldUseNativeValidation&&!t,i);if(s[e.name]&&(r.valid=!1,t))break;t||(g(s,e.name)?i?j(a.errors,s,e.name):C(a.errors,e.name,s[e.name]):X(a.errors,e.name))}i&&await ey(i,t,r)}}return r.valid},em=(e,t)=>(e&&t&&C(E,e,t),!Q(eO(),h)),eg=(e,t,r)=>T(e,O,{...A.mount?E:m(t)?h:x(e)?{[e]:t}:t},r,t),eb=(e,t,r={})=>{let n=g(f,e),o=t;if(n){let r=n._f;r&&(r.disabled||C(E,e,es(t,r)),o=P(r.ref)&&s(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=o.includes(e.value)):r.refs?i(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):r.refs[0]&&(r.refs[0].checked=!!o):r.refs.forEach(e=>e.checked=e.value===o):D(r.ref)?r.ref.value="":(r.ref.value=o,r.ref.type||U.values.next({name:e,values:{...E}})))}(r.shouldDirty||r.shouldTouch)&&$(e,o,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eS(e)},ev=(e,t,r)=>{for(let n in t){let i=t[n],s=`${e}.${n}`,a=g(f,s);!O.array.has(e)&&Z(i)&&(!a||a._f)||o(i)?eb(s,i,r):ev(s,i,r)}},ew=(e,r,n={})=>{let i=g(f,e),o=O.array.has(e),u=p(r);C(E,e,u),o?(U.array.next({name:e,values:{...E}}),(B.isDirty||B.dirtyFields)&&n.shouldDirty&&U.state.next({name:e,dirtyFields:eo(h,E),isDirty:em(e,u)})):!i||i._f||s(u)?eb(e,u,n):ev(e,u,n),F(e,O)&&U.state.next({...a}),U.values.next({name:e,values:{...E}}),A.mount||t()},eE=async e=>{let t=e.target,i=t.name,o=!0,s=g(f,i),u=e=>{o=Number.isNaN(e)||e===g(E,i,e)};if(s){let c,h;let d=t.type?ea(s._f):l(e),p=e.type===v.BLUR||e.type===v.FOCUS_OUT,y=!ef(s._f)&&!n.resolver&&!g(a.errors,i)&&!s._f.deps||eh(p,g(a.touchedFields,i),a.isSubmitted,I,V),m=F(i,O,p);C(E,i,d),p?(s._f.onBlur&&s._f.onBlur(e),r&&r(0)):s._f.onChange&&s._f.onChange(e);let b=$(i,d,p,!1),w=!S(b)||m;if(p||U.values.next({name:i,type:e.type,values:{...E}}),y)return B.isValid&&z(),w&&U.state.next({name:i,...m?{}:b});if(!p&&m&&U.state.next({...a}),W(!0),n.resolver){let{errors:e}=await en([i]);if(u(d),o){let t=ec(a.errors,f,i),r=ec(e,f,t.name||i);c=r.error,i=r.name,h=S(e)}}else c=(await G(s,E,M,n.shouldUseNativeValidation))[i],u(d),o&&(c?h=!1:B.isValid&&(h=await ey(f,!0)));o&&(s._f.deps&&eS(s._f.deps),K(i,h,c,b))}},eA=(e,t)=>{if(g(a.errors,t)&&e.focus)return e.focus(),1},eS=async(e,t={})=>{let r,i;let o=R(e);if(W(!0),n.resolver){let t=await ei(m(e)?e:o);r=S(t),i=e?!o.some(e=>g(t,e)):r}else e?((i=(await Promise.all(o.map(async e=>{let t=g(f,e);return await ey(t&&t._f?{[e]:t}:t)}))).every(Boolean))||a.isValid)&&z():i=r=await ey(f);return U.state.next({...!x(e)||B.isValid&&r!==a.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:a.errors,isValidating:!1}),t.shouldFocus&&!i&&L(f,eA,e?o:O.mount),i},eO=e=>{let t={...h,...A.mount?E:{}};return m(e)?t:x(e)?g(t,e):e.map(e=>g(t,e))},eR=(e,t)=>({invalid:!!g((t||a).errors,e),isDirty:!!g((t||a).dirtyFields,e),isTouched:!!g((t||a).touchedFields,e),error:g((t||a).errors,e)}),ex=(e,t,r)=>{let n=(g(f,e,{_f:{}})._f||{}).ref;C(a.errors,e,{...t,ref:n}),U.state.next({name:e,errors:a.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},eT=(e,t={})=>{for(let r of e?R(e):O.mount)O.mount.delete(r),O.array.delete(r),t.keepValue||(X(f,r),X(E,r)),t.keepError||X(a.errors,r),t.keepDirty||X(a.dirtyFields,r),t.keepTouched||X(a.touchedFields,r),n.shouldUnregister||t.keepDefaultValue||X(h,r);U.values.next({values:{...E}}),U.state.next({...a,...t.keepDirty?{isDirty:em()}:{}}),t.keepIsValid||z()},e_=({disabled:e,name:t,field:r,fields:n,value:i})=>{if(b(e)){let o=e?void 0:m(i)?ea(r?r._f:g(n,t)._f):i;C(E,t,o),$(t,o,!1,!1,!0)}},eB=(e,t={})=>{let r=g(f,e),i=b(t.disabled);return C(f,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),O.mount.add(e),r?e_({field:r,disabled:t.disabled,name:e,value:t.value}):J(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:el(t.min),max:el(t.max),minLength:el(t.minLength),maxLength:el(t.maxLength),pattern:el(t.pattern)}:{},name:e,onChange:eE,onBlur:eE,ref:i=>{if(i){eB(e,t),r=g(f,e);let n=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o=et(n),s=r._f.refs||[];(o?s.find(e=>e===n):n===r._f.ref)||(C(f,e,{_f:{...r._f,...o?{refs:[...s.filter(er),n,...Array.isArray(g(h,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),J(e,!1,void 0,n))}else(r=g(f,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(c(O.array,e)&&A.action)&&O.unMount.add(e)}}},eC=()=>n.shouldFocusError&&L(f,eA,O.mount),eU=(e,t)=>async r=>{let i;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let o=p(E);if(U.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await en();a.errors=e,o=t}else await ey(f);if(X(a.errors,"root"),S(a.errors)){U.state.next({errors:{}});try{await e(o,r)}catch(e){i=e}}else t&&await t({...a.errors},r),eC(),setTimeout(eC);if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:S(a.errors)&&!i,submitCount:a.submitCount+1,errors:a.errors}),i)throw i},ek=(r,n={})=>{let i=r?p(r):h,o=p(i),s=r&&!S(r)?o:h;if(n.keepDefaultValues||(h=i),!n.keepValues){if(n.keepDirtyValues)for(let e of O.mount)g(a.dirtyFields,e)?C(s,e,g(E,e)):ew(e,g(s,e));else{if(d&&m(r))for(let e of O.mount){let t=g(f,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(P(e)){let t=e.closest("form");if(t){t.reset();break}}}}f={}}E=e.shouldUnregister?n.keepDefaultValues?p(h):{}:p(s),U.array.next({values:{...s}}),U.values.next({values:{...s}})}O={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},A.mount||t(),A.mount=!B.isValid||!!n.keepIsValid||!!n.keepDirtyValues,A.watch=!!e.shouldUnregister,U.state.next({submitCount:n.keepSubmitCount?a.submitCount:0,isDirty:n.keepDirty?a.isDirty:!!(n.keepDefaultValues&&!Q(r,h)),isSubmitted:!!n.keepIsSubmitted&&a.isSubmitted,dirtyFields:n.keepDirtyValues?n.keepDefaultValues&&E?eo(h,E):a.dirtyFields:n.keepDefaultValues&&r?eo(h,r):{},touchedFields:n.keepTouched?a.touchedFields:{},errors:n.keepErrors?a.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},eF=(e,t)=>ek(N(e)?e(E):e,t);return{control:{register:eB,unregister:eT,getFieldState:eR,handleSubmit:eU,setError:ex,_executeSchema:en,_getWatch:eg,_getDirty:em,_updateValid:z,_removeUnmounted:()=>{for(let e of O.unMount){let t=g(f,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&eT(e)}O.unMount=new Set},_updateFieldArray:(e,t=[],r,n,i=!0,o=!0)=>{if(n&&r){if(A.action=!0,o&&Array.isArray(g(f,e))){let t=r(g(f,e),n.argA,n.argB);i&&C(f,e,t)}if(o&&Array.isArray(g(a.errors,e))){let t=r(g(a.errors,e),n.argA,n.argB);i&&C(a.errors,e,t),ed(a.errors,e)}if(B.touchedFields&&o&&Array.isArray(g(a.touchedFields,e))){let t=r(g(a.touchedFields,e),n.argA,n.argB);i&&C(a.touchedFields,e,t)}B.dirtyFields&&(a.dirtyFields=eo(h,E)),U.state.next({name:e,isDirty:em(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else C(E,e,t)},_updateDisabledField:e_,_getFieldArray:t=>y(g(A.mount?E:h,t,e.shouldUnregister?g(h,t,[]):[])),_reset:ek,_resetDefaultValues:()=>N(n.defaultValues)&&n.defaultValues().then(e=>{eF(e,n.resetOptions),U.state.next({isLoading:!1})}),_updateFormState:e=>{a={...a,...e}},_disableForm:e=>{b(e)&&(U.state.next({disabled:e}),L(f,(t,r)=>{let n=e,i=g(f,r);i&&b(i._f.disabled)&&(n||(n=i._f.disabled)),t.disabled=n},0,!1))},_subjects:U,_proxyFormState:B,_setErrors:e=>{a.errors=e,U.state.next({errors:a.errors,isValid:!1})},get _fields(){return f},get _formValues(){return E},get _state(){return A},set _state(value){A=value},get _defaultValues(){return h},get _names(){return O},set _names(value){O=value},get _formState(){return a},set _formState(value){a=value},get _options(){return n},set _options(value){n={...n,...value}}},trigger:eS,register:eB,handleSubmit:eU,watch:(e,t)=>N(e)?U.values.subscribe({next:r=>e(eg(void 0,t),r)}):eg(e,t,!0),setValue:ew,getValues:eO,reset:eF,resetField:(e,t={})=>{g(f,e)&&(m(t.defaultValue)?ew(e,p(g(h,e))):(ew(e,t.defaultValue),C(h,e,p(t.defaultValue))),t.keepTouched||X(a.touchedFields,e),t.keepDirty||(X(a.dirtyFields,e),a.isDirty=t.defaultValue?em(e,p(g(h,e))):em()),!t.keepError&&(X(a.errors,e),B.isValid&&z()),U.state.next({...a}))},clearErrors:e=>{e&&R(e).forEach(e=>X(a.errors,e)),U.state.next({errors:e?a.errors:{}})},unregister:eT,setError:ex,setFocus:(e,t={})=>{let r=g(f,e),n=r&&r._f;if(n){let e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:eR}}(e,()=>f(e=>({...e}))),formState:a});let h=t.current.control;return h._options=e,!function(e){let t=n.useRef(e);t.current=e,n.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:h._subjects.state,next:e=>{O(e,h._proxyFormState,h._updateFormState,!0)&&f({...h._formState})}}),n.useEffect(()=>h._disableForm(e.disabled),[h,e.disabled]),n.useEffect(()=>{if(h._proxyFormState.isDirty){let e=h._getDirty();e!==a.isDirty&&h._subjects.state.next({isDirty:e})}},[h,a.isDirty]),n.useEffect(()=>{e.values&&!Q(e.values,r.current)?(h._reset(e.values,h._options.resetOptions),r.current=e.values,f(e=>({...e}))):h._resetDefaultValues()},[e.values,h]),n.useEffect(()=>{e.errors&&h._setErrors(e.errors)},[e.errors,h]),n.useEffect(()=>{h._state.mount||(h._updateValid(),h._state.mount=!0),h._state.watch&&(h._state.watch=!1,h._subjects.state.next({...h._formState})),h._removeUnmounted()}),n.useEffect(()=>{e.shouldUnregister&&h._subjects.values.next({values:h._getWatch()})},[e.shouldUnregister,h]),t.current.formState=A(a,h),t.current}}}]); \ No newline at end of file diff --git a/_next/static/chunks/563-c53cf8675039718c.js b/_next/static/chunks/563-c53cf8675039718c.js deleted file mode 100644 index 6a817d1..0000000 --- a/_next/static/chunks/563-c53cf8675039718c.js +++ /dev/null @@ -1,6 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[563],{7715:function(e,t){"use strict";t.gW=void 0;let r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n={};for(let e=0;e>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function o(e){let t=1;for(let r=0;r126)return"Invalid prefix ("+e+")";t=i(t)^n>>5}t=i(t);for(let r=0;r=r;)a.push(i>>(o-=r)&s);if(n)o>0&&a.push(i<=t)return"Excess padding";if(i<r)return"Exceeds length limit";let s=e.toLowerCase(),a=e.toUpperCase();if(e!==s&&e!==a)return"Mixed-case string "+e;let u=(e=s).lastIndexOf("1");if(-1===u)return"No separator character for "+e;if(0===u)return"Missing prefix for "+e;let l=e.slice(0,u),f=e.slice(u+1);if(f.length<6)return"Data too short";let c=o(l);if("string"==typeof c)return c;let h=[];for(let e=0;e=f.length||h.push(r)}return c!==t?"Invalid checksum for "+e:{prefix:l,words:h}}return t="bech32"===e?1:734539939,{decodeUnsafe:function(e,t){let r=s(e,t);if("object"==typeof r)return r},decode:function(e,t){let r=s(e,t);if("object"==typeof r)return r;throw Error(r)},encode:function(e,n,s){if(s=s||90,e.length+7+n.length>s)throw TypeError("Exceeds length limit");let a=o(e=e.toLowerCase());if("string"==typeof a)throw Error(a);let u=e+"1";for(let e=0;e>5!=0)throw Error("Non 5-bit word");a=i(a)^t,u+=r.charAt(t)}for(let e=0;e<6;++e)a=i(a);a^=t;for(let e=0;e<6;++e){let t=a>>(5-e)*5&31;u+=r.charAt(t)}return u},toWords:a,fromWordsUnsafe:u,fromWords:l}}t.gW=f("bech32"),f("bech32m")},1876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),s=o[0],a=o[1],l=new i((s+a)*3/4-a),f=0,c=a>0?s-4:s;for(r=0;r>16&255,l[f++]=t>>8&255,l[f++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[f++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[f++]=t>>8&255,l[f++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(e).length;default:if(i)return n?-1:x(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var f=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var c=!0,h=0;h239?4:l>223?3:l>191?2:1;if(i+c<=r)switch(c){case 1:l<128&&(f=l);break;case 2:(192&(o=e[i+1]))==128&&(u=(31&l)<<6|63&o)>127&&(f=u);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(f=u)}null===f?(f=65533,c=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=c}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function E(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function A(e,t,r,n,o){return t=+t,r>>>=0,o||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,o){return t=+t,r>>>=0,o||E(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(l(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return f(e)},a.allocUnsafeSlow=function(e){return f(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);ir&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,u=Math.min(o,s),l=this.slice(n,i),f=e.slice(t,r),c=0;c>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,u,l,f,c,h,d,p,y,m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var g=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s>8,i.push(r%256),i.push(n);return i}(e,this.length-p),this,p,y);default:if(g)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return A(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return A(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function R(e){for(var t=[],r=0;r=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function B(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,f=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,o=d&(1<<-f)-1,d>>=-f,f+=a;f>0;o=256*o+e[t+c],c+=h,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=256*s+e[t+c],c+=h,f-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=l}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,l=8*o-i-1,f=(1<>1,h=23===i?5960464477539062e-23:0,d=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=f):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?t+=h/u:t+=h*Math.pow(2,1-c),t*u>=2&&(s++,u/=2),s+c>=f?(a=0,s=f):s+c>=1?(a=(t*u-1)*Math.pow(2,i),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=p,s/=256,l-=8);e[r+d-p]|=128*y}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},s=!0;try{t[e](o,o.exports,n),s=!1}finally{s&&delete r[e]}return o.exports}n.ab="//";var i=n(72);e.exports=i}()},7066:function(e,t,r){"use strict";r.d(t,{Z:function(){return td}});var n,i,o,s,a,u,l,f,c,h={};function d(e,t){return function(){return e.apply(t,arguments)}}r.r(h),r.d(h,{hasBrowserEnv:function(){return eb},hasStandardBrowserEnv:function(){return ev},hasStandardBrowserWebWorkerEnv:function(){return ew},origin:function(){return eE}});var p=r(3454);let{toString:y}=Object.prototype,{getPrototypeOf:m}=Object,g=(a=Object.create(null),e=>{let t=y.call(e);return a[t]||(a[t]=t.slice(8,-1).toLowerCase())}),b=e=>(e=e.toLowerCase(),t=>g(t)===e),v=e=>t=>typeof t===e,{isArray:w}=Array,E=v("undefined"),A=b("ArrayBuffer"),S=v("string"),O=v("function"),x=v("number"),R=e=>null!==e&&"object"==typeof e,T=e=>{if("object"!==g(e))return!1;let t=m(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_=b("Date"),B=b("File"),C=b("Blob"),U=b("FileList"),k=b("URLSearchParams"),[F,L,j,D]=["ReadableStream","Request","Response","Headers"].map(b);function N(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),w(e))for(n=0,i=e.length;n0;)if(t===(r=n[i]).toLowerCase())return r;return null}let V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!E(e)&&e!==V,M=(u="undefined"!=typeof Uint8Array&&m(Uint8Array),e=>u&&e instanceof u),q=b("HTMLFormElement"),z=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),W=b("RegExp"),H=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};N(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)},J="abcdefghijklmnopqrstuvwxyz",$="0123456789",K={DIGIT:$,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+$},G=b("AsyncFunction"),X=(n="function"==typeof setImmediate,i=O(V.postMessage),n?setImmediate:i?(o=`axios@${Math.random()}`,s=[],V.addEventListener("message",({source:e,data:t})=>{e===V&&t===o&&s.length&&s.shift()()},!1),e=>{s.push(e),V.postMessage(o,"*")}):e=>setTimeout(e)),Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(V):void 0!==p&&p.nextTick||X;var Z={isArray:w,isArrayBuffer:A,isBuffer:function(e){return null!==e&&!E(e)&&null!==e.constructor&&!E(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||O(e.append)&&("formdata"===(t=g(e))||"object"===t&&O(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&A(e.buffer)},isString:S,isNumber:x,isBoolean:e=>!0===e||!1===e,isObject:R,isPlainObject:T,isReadableStream:F,isRequest:L,isResponse:j,isHeaders:D,isUndefined:E,isDate:_,isFile:B,isBlob:C,isRegExp:W,isFunction:O,isStream:e=>R(e)&&O(e.pipe),isURLSearchParams:k,isTypedArray:M,isFileList:U,forEach:N,merge:function e(){let{caseless:t}=I(this)&&this||{},r={},n=(n,i)=>{let o=t&&P(r,i)||i;T(r[o])&&T(n)?r[o]=e(r[o],n):T(n)?r[o]=e({},n):w(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e(N(t,(t,n)=>{r&&O(t)?e[n]=d(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,s;let a={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=!1!==r&&m(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:g,kindOfTest:b,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!x(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:q,hasOwnProperty:z,hasOwnProp:z,reduceDescriptors:H,freezeMethods:e=>{H(e,(t,r)=>{if(O(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(O(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(w(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:P,global:V,isContextDefined:I,ALPHABET:K,generateString:(e=16,t=K.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&O(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(R(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=w(e)?[]:{};return N(e,(e,t)=>{let o=r(e,n+1);E(o)||(i[t]=o)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:G,isThenable:e=>e&&(R(e)||O(e))&&O(e.then)&&O(e.catch),setImmediate:X,asap:Y};function Q(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}Z.inherits(Q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let ee=Q.prototype,et={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{et[e]={value:e}}),Object.defineProperties(Q,et),Object.defineProperty(ee,"isAxiosError",{value:!0}),Q.from=(e,t,r,n,i,o)=>{let s=Object.create(ee);return Z.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),Q.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};var er=r(1876).Buffer;function en(e){return Z.isPlainObject(e)||Z.isArray(e)}function ei(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function eo(e,t,r){return e?e.concat(t).map(function(e,t){return e=ei(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let es=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)});var ea=function(e,t,r){if(!Z.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=Z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Z.isUndefined(t[e])})).metaTokens,i=r.visitor||l,o=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(i))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(!a&&Z.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(e)||Z.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):er.from(e):e}function l(e,r,i){let a=e;if(e&&!i&&"object"==typeof e){if(Z.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var l;if(Z.isArray(e)&&(l=e,Z.isArray(l)&&!l.some(en))||(Z.isFileList(e)||Z.endsWith(r,"[]"))&&(a=Z.toArray(e)))return r=ei(r),a.forEach(function(e,n){Z.isUndefined(e)||null===e||t.append(!0===s?eo([r],n,o):null===s?r:r+"[]",u(e))}),!1}}return!!en(e)||(t.append(eo(i,r,o),u(e)),!1)}let f=[],c=Object.assign(es,{defaultVisitor:l,convertValue:u,isVisitable:en});if(!Z.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!Z.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),Z.forEach(r,function(r,o){!0===(!(Z.isUndefined(r)||null===r)&&i.call(t,r,Z.isString(o)?o.trim():o,n,c))&&e(r,n?n.concat(o):[o])}),f.pop()}}(e),t};function eu(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function el(e,t){this._pairs=[],e&&ea(e,this,t)}let ef=el.prototype;function ec(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function eh(e,t,r){let n;if(!t)return e;let i=r&&r.encode||ec,o=r&&r.serialize;if(n=o?o(t,r):Z.isURLSearchParams(t)?t.toString():new el(t,r).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ef.append=function(e,t){this._pairs.push([e,t])},ef.toString=function(e){let t=e?function(t){return e.call(this,t,eu)}:eu;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ed{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(t){null!==t&&e(t)})}}var ep={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ey="undefined"!=typeof URLSearchParams?URLSearchParams:el,em="undefined"!=typeof FormData?FormData:null,eg="undefined"!=typeof Blob?Blob:null;let eb="undefined"!=typeof window&&"undefined"!=typeof document,ev=(l="undefined"!=typeof navigator&&navigator.product,eb&&0>["ReactNative","NativeScript","NS"].indexOf(l)),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eE=eb&&window.location.href||"http://localhost";var eA={...h,isBrowser:!0,classes:{URLSearchParams:ey,FormData:em,Blob:eg},protocols:["http","https","file","blob","url","data"]},eS=function(e){if(Z.isFormData(e)&&Z.isFunction(e.entries)){let t={};return Z.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),a=i>=t.length;return(o=!o&&Z.isArray(n)?n.length:o,a)?Z.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&Z.isObject(n[o])||(n[o]=[]),e(t,r,n[o],i)&&Z.isArray(n[o])&&(n[o]=function(e){let t,r;let n={},i=Object.keys(e),o=i.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let eO={transitional:ep,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=Z.isObject(e);if(o&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return i?JSON.stringify(eS(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var s,a;return(s=e,a=this.formSerializer,ea(s,new eA.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return eA.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))).toString()}if((r=Z.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ea(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,r){if(Z.isString(e))try{return(0,JSON.parse)(e),Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eO.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw Q.from(e,Q.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eA.classes.FormData,Blob:eA.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{eO.headers[e]={}});let ex=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eR=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&ex[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i};let eT=Symbol("internals");function e_(e){return e&&String(e).trim().toLowerCase()}function eB(e){return!1===e||null==e?e:Z.isArray(e)?e.map(eB):String(e)}let eC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eU(e,t,r,n,i){if(Z.isFunction(n))return n.call(this,t,r);if(i&&(t=r),Z.isString(t)){if(Z.isString(n))return -1!==t.indexOf(n);if(Z.isRegExp(n))return n.test(t)}}class ek{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=e_(t);if(!i)throw Error("header name must be a non-empty string");let o=Z.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=eB(e))}let o=(e,t)=>Z.forEach(e,(e,r)=>i(e,r,t));if(Z.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Z.isString(e)&&(e=e.trim())&&!eC(e))o(eR(e),t);else if(Z.isHeaders(e))for(let[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=e_(e)){let r=Z.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(Z.isFunction(t))return t.call(this,e,r);if(Z.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=e_(e)){let r=Z.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eU(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=e_(e)){let i=Z.findKey(r,e);i&&(!t||eU(r,r[i],i,t))&&(delete r[i],n=!0)}}return Z.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eU(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return Z.forEach(this,(n,i)=>{let o=Z.findKey(r,i);if(o){t[o]=eB(n),delete t[i];return}let s=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();s!==i&&delete t[i],t[s]=eB(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Z.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Z.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eT]=this[eT]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=e_(e);t[n]||(!function(e,t){let r=Z.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return Z.isArray(e)?e.forEach(n):n(e),this}}function eF(e,t){let r=this||eO,n=t||r,i=ek.from(n.headers),o=n.data;return Z.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eL(e){return!!(e&&e.__CANCEL__)}function ej(e,t,r){Q.call(this,null==e?"canceled":e,Q.ERR_CANCELED,t,r),this.name="CanceledError"}function eD(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Q("Request failed with status code "+r.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}ek.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(ek.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),Z.freezeMethods(ek),Z.inherits(ej,Q,{__CANCEL__:!0});var eN=function(e,t){let r;let n=Array(e=e||10),i=Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(a){let u=Date.now(),l=i[s];r||(r=u),n[o]=a,i[o]=u;let f=s,c=0;for(;f!==o;)c+=n[f++],f%=e;if((o=(o+1)%e)===s&&(s=(s+1)%e),u-r{i=o,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),a=t-i;a>=o?s(e,t):(r=e,n||(n=setTimeout(()=>{n=null,s(r)},o-a)))},()=>r&&s(r)]};let eV=(e,t,r=3)=>{let n=0,i=eN(50,250);return eP(r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,u=i(a);n=o,e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&o<=s?(s-o)/u:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})},r)},eI=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eM=e=>(...t)=>Z.asap(()=>e(...t));var eq=eA.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=Z.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},ez=eA.hasStandardBrowserEnv?{write(e,t,r,n,i,o){let s=[e+"="+encodeURIComponent(t)];Z.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),Z.isString(n)&&s.push("path="+n),Z.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eW(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eH=e=>e instanceof ek?{...e}:e;function eJ(e,t){t=t||{};let r={};function n(e,t,r){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:r},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function i(e,t,r){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!Z.isUndefined(t))return n(void 0,t)}function s(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>i(eH(e),eH(t),!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),function(n){let o=u[n]||i,s=o(e[n],t[n],n);Z.isUndefined(s)&&o!==a||(r[n]=s)}),r}var e$=e=>{let t;let r=eJ({},e),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:u}=r;if(r.headers=a=ek.from(a),r.url=eh(eW(r.baseURL,r.url),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),Z.isFormData(n)){if(eA.hasStandardBrowserEnv||eA.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(t=a.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...r].join("; "))}}if(eA.hasStandardBrowserEnv&&(i&&Z.isFunction(i)&&(i=i(r)),i||!1!==i&&eq(r.url))){let e=o&&s&&ez.read(s);e&&a.set(o,e)}return r},eK="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,o,s,a;let u=e$(e),l=u.data,f=ek.from(u.headers).normalize(),{responseType:c,onUploadProgress:h,onDownloadProgress:d}=u;function p(){s&&s(),a&&a(),u.cancelToken&&u.cancelToken.unsubscribe(n),u.signal&&u.signal.removeEventListener("abort",n)}let y=new XMLHttpRequest;function m(){if(!y)return;let n=ek.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());eD(function(e){t(e),p()},function(e){r(e),p()},{data:c&&"text"!==c&&"json"!==c?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(u.method.toUpperCase(),u.url,!0),y.timeout=u.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new Q("Request aborted",Q.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Q("Network Error",Q.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||ep;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),r(new Q(t,n.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,y)),y=null},void 0===l&&f.setContentType(null),"setRequestHeader"in y&&Z.forEach(f.toJSON(),function(e,t){y.setRequestHeader(t,e)}),Z.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),c&&"json"!==c&&(y.responseType=u.responseType),d&&([o,a]=eV(d,!0),y.addEventListener("progress",o)),h&&y.upload&&([i,s]=eV(h),y.upload.addEventListener("progress",i),y.upload.addEventListener("loadend",s)),(u.cancelToken||u.signal)&&(n=t=>{y&&(r(!t||t.type?new ej(null,e,y):t),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(n),u.signal&&(u.signal.aborted?n():u.signal.addEventListener("abort",n)));let g=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u.url);if(g&&-1===eA.protocols.indexOf(g)){r(new Q("Unsupported protocol "+g+":",Q.ERR_BAD_REQUEST,e));return}y.send(l||null)})},eG=(e,t)=>{let r,n=new AbortController,i=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof Q?t:new ej(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{i(new Q(`timeout ${t} of ms exceeded`,Q.ETIMEDOUT))},t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))}),e=null)};e.forEach(e=>e&&e.addEventListener&&e.addEventListener("abort",i));let{signal:a}=n;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]};let eX=function*(e,t){let r,n=e.byteLength;if(!t||n{let o;let s=eY(e,t,i),a=0,u=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await s.next();if(t){u(),e.close();return}let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw u(e),e}},cancel:e=>(u(e),s.return())},{highWaterMark:2})},eQ="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e0=eQ&&"function"==typeof ReadableStream,e1=eQ&&("function"==typeof TextEncoder?(f=new TextEncoder,e=>f.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e2=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e5=e0&&e2(()=>{let e=!1,t=new Request(eA.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e6=e0&&e2(()=>Z.isReadableStream(new Response("").body)),e8={stream:e6&&(e=>e.body)};eQ&&(c=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e8[e]||(e8[e]=Z.isFunction(c[e])?t=>t[e]():(t,r)=>{throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,r)})}));let e4=async e=>null==e?0:Z.isBlob(e)?e.size:Z.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Z.isArrayBufferView(e)||Z.isArrayBuffer(e)?e.byteLength:(Z.isURLSearchParams(e)&&(e+=""),Z.isString(e))?(await e1(e)).byteLength:void 0,e3=async(e,t)=>{let r=Z.toFiniteNumber(e.getContentLength());return null==r?e4(t):r},e7={http:null,xhr:eK,fetch:eQ&&(async e=>{let t,r,n,{url:i,method:o,data:s,signal:a,cancelToken:u,timeout:l,onDownloadProgress:f,onUploadProgress:c,responseType:h,headers:d,withCredentials:p="same-origin",fetchOptions:y}=e$(e);h=h?(h+"").toLowerCase():"text";let[m,g]=a||u||l?eG([a,u],l):[],b=()=>{t||setTimeout(()=>{m&&m.unsubscribe()}),t=!0};try{if(c&&e5&&"get"!==o&&"head"!==o&&0!==(n=await e3(d,s))){let e,t=new Request(i,{method:"POST",body:s,duplex:"half"});if(Z.isFormData(s)&&(e=t.headers.get("content-type"))&&d.setContentType(e),t.body){let[e,r]=eI(n,eV(eM(c)));s=eZ(t.body,65536,e,r,e1)}}Z.isString(p)||(p=p?"include":"omit"),r=new Request(i,{...y,signal:m,method:o.toUpperCase(),headers:d.normalize().toJSON(),body:s,duplex:"half",credentials:p});let t=await fetch(r),a=e6&&("stream"===h||"response"===h);if(e6&&(f||a)){let e={};["status","statusText","headers"].forEach(r=>{e[r]=t[r]});let r=Z.toFiniteNumber(t.headers.get("content-length")),[n,i]=f&&eI(r,eV(eM(f),!0))||[];t=new Response(eZ(t.body,65536,n,()=>{i&&i(),a&&b()},e1),e)}h=h||"text";let u=await e8[Z.findKey(e8,h)||"text"](t,e);return a||b(),g&&g(),await new Promise((n,i)=>{eD(n,i,{data:u,headers:ek.from(t.headers),status:t.status,statusText:t.statusText,config:e,request:r})})}catch(t){if(b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,r),{cause:t.cause||t});throw Q.from(t,t&&t.code,e,r)}})};Z.forEach(e7,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e9=e=>`- ${e}`,te=e=>Z.isFunction(e)||null===e||!1===e;var tt={getAdapter:e=>{let t,r;let{length:n}=e=Z.isArray(e)?e:[e],i={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new Q("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(e9).join("\n"):" "+e9(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r},adapters:e7};function tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ej(null,e)}function tn(e){return tr(e),e.headers=ek.from(e.headers),e.data=eF.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tt.getAdapter(e.adapter||eO.adapter)(e).then(function(t){return tr(e),t.data=eF.call(e,e.transformResponse,t),t.headers=ek.from(t.headers),t},function(t){return!eL(t)&&(tr(e),t&&t.response&&(t.response.data=eF.call(e,e.transformResponse,t.response),t.response.headers=ek.from(t.response.headers))),Promise.reject(t)})}let ti="1.7.4",to={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{to[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let ts={};to.transitional=function(e,t,r){function n(e,t){return"[Axios v"+ti+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new Q(n(i," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!ts[i]&&(ts[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}};var ta={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],s=t[o];if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new Q("option "+o+" must be "+r,Q.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Q("Unknown option "+o,Q.ERR_BAD_OPTION)}},validators:to};let tu=ta.validators;class tl{constructor(e){this.defaults=e,this.interceptors={request:new ed,response:new ed}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:s}=t=eJ(this.defaults,t);void 0!==i&&ta.assertOptions(i,{silentJSONParsing:tu.transitional(tu.boolean),forcedJSONParsing:tu.transitional(tu.boolean),clarifyTimeoutError:tu.transitional(tu.boolean)},!1),null!=o&&(Z.isFunction(o)?t.paramsSerializer={serialize:o}:ta.assertOptions(o,{encode:tu.function,serialize:tu.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&Z.merge(s.common,s[t.method]);s&&Z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=ek.concat(a,s);let u=[],l=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(l=l&&e.synchronous,u.unshift(e.fulfilled,e.rejected))});let f=[];this.interceptors.response.forEach(function(e){f.push(e.fulfilled,e.rejected)});let c=0;if(!l){let e=[tn.bind(this),void 0];for(e.unshift.apply(e,u),e.push.apply(e,f),n=e.length,r=Promise.resolve(t);c{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new ej(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new tf(function(t){e=t}),cancel:e}}}let tc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tc).forEach(([e,t])=>{tc[t]=e});let th=function e(t){let r=new tl(t),n=d(tl.prototype.request,r);return Z.extend(n,tl.prototype,r,{allOwnKeys:!0}),Z.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eJ(t,r))},n}(eO);th.Axios=tl,th.CanceledError=ej,th.CancelToken=tf,th.isCancel=eL,th.VERSION=ti,th.toFormData=ea,th.AxiosError=Q,th.Cancel=th.CanceledError,th.all=function(e){return Promise.all(e)},th.spread=function(e){return function(t){return e.apply(null,t)}},th.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},th.mergeConfig=eJ,th.AxiosHeaders=ek,th.formToJSON=e=>eS(Z.isHTMLForm(e)?new FormData(e):e),th.getAdapter=tt.getAdapter,th.HttpStatusCode=tc,th.default=th;var td=th},7536:function(e,t,r){"use strict";r.d(t,{cI:function(){return ey}});var n=r(7294),i=e=>"checkbox"===e.type,o=e=>e instanceof Date,s=e=>null==e;let a=e=>"object"==typeof e;var u=e=>!s(e)&&!Array.isArray(e)&&a(e)&&!o(e),l=e=>u(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,f=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>e.has(f(t)),h=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty("isPrototypeOf")},d="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(d&&(e instanceof Blob||e instanceof FileList))&&(r||u(e))))return e;else if(t=r?[]:{},r||h(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var y=e=>Array.isArray(e)?e.filter(Boolean):[],m=e=>void 0===e,g=(e,t,r)=>{if(!t||!u(e))return r;let n=y(t.split(/[,[\].]+?/)).reduce((e,t)=>s(e)?e:e[t],e);return m(n)||n===e?m(e[t])?r:e[t]:n},b=e=>"boolean"==typeof e;let v={BLUR:"blur",FOCUS_OUT:"focusout"},w={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},E={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};n.createContext(null);var A=(e,t,r,n=!0)=>{let i={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(i,o,{get:()=>(t._proxyFormState[o]!==w.all&&(t._proxyFormState[o]=!n||w.all),r&&(r[o]=!0),e[o])});return i},S=e=>u(e)&&!Object.keys(e).length,O=(e,t,r,n)=>{r(e);let{name:i,...o}=e;return S(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!n||w.all))},x=e=>Array.isArray(e)?e:[e],R=e=>"string"==typeof e,T=(e,t,r,n,i)=>R(e)?(n&&t.watch.add(e),g(r,e,i)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),g(r,e))):(n&&(t.watchAll=!0),r),_=e=>/^\w*$/.test(e),B=e=>y(e.replace(/["|']|\]/g,"").split(/\.|\[/)),C=(e,t,r)=>{let n=-1,i=_(t)?[t]:B(t),o=i.length,s=o-1;for(;++nt?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},k=e=>({isOnSubmit:!e||e===w.onSubmit,isOnBlur:e===w.onBlur,isOnChange:e===w.onChange,isOnAll:e===w.all,isOnTouch:e===w.onTouched}),F=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let L=(e,t,r,n)=>{for(let i of r||Object.keys(e)){let r=g(e,i);if(r){let{_f:e,...o}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n||e.ref&&t(e.ref,e.name)&&!n)break;L(o,t)}else u(o)&&L(o,t)}}};var j=(e,t,r)=>{let n=y(g(e,r));return C(n,"root",t[r]),C(e,r,n),e},D=e=>"file"===e.type,N=e=>"function"==typeof e,P=e=>{if(!d)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},V=e=>R(e),I=e=>"radio"===e.type,M=e=>e instanceof RegExp;let q={value:!1,isValid:!1},z={value:!0,isValid:!0};var W=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?z:{value:e[0].value,isValid:!0}:z:q}return q};let H={isValid:!1,value:null};var J=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,H):H;function $(e,t,r="validate"){if(V(e)||Array.isArray(e)&&e.every(V)||b(e)&&!e)return{type:r,message:V(e)?e:"",ref:t}}var K=e=>u(e)&&!M(e)?e:{value:e,message:""},G=async(e,t,r,n,o)=>{let{ref:a,refs:l,required:f,maxLength:c,minLength:h,min:d,max:p,pattern:y,validate:v,name:w,valueAsNumber:A,mount:O,disabled:x}=e._f,T=g(t,w);if(!O||x)return{};let _=l?l[0]:a,B=e=>{n&&_.reportValidity&&(_.setCustomValidity(b(e)?"":e||""),_.reportValidity())},C={},k=I(a),F=i(a),L=(A||D(a))&&m(a.value)&&m(T)||P(a)&&""===a.value||""===T||Array.isArray(T)&&!T.length,j=U.bind(null,w,r,C),q=(e,t,r,n=E.maxLength,i=E.minLength)=>{let o=e?t:r;C[w]={type:e?n:i,message:o,ref:a,...j(e?n:i,o)}};if(o?!Array.isArray(T)||!T.length:f&&(!(k||F)&&(L||s(T))||b(T)&&!T||F&&!W(l).isValid||k&&!J(l).isValid)){let{value:e,message:t}=V(f)?{value:!!f,message:f}:K(f);if(e&&(C[w]={type:E.required,message:t,ref:_,...j(E.required,t)},!r))return B(t),C}if(!L&&(!s(d)||!s(p))){let e,t;let n=K(p),i=K(d);if(s(T)||isNaN(T)){let r=a.valueAsDate||new Date(T),o=e=>new Date(new Date().toDateString()+" "+e),s="time"==a.type,u="week"==a.type;R(n.value)&&T&&(e=s?o(T)>o(n.value):u?T>n.value:r>new Date(n.value)),R(i.value)&&T&&(t=s?o(T)n.value),s(i.value)||(t=r+e.value,i=!s(t.value)&&T.length<+t.value;if((n||i)&&(q(n,e.message,t.message),!r))return B(C[w].message),C}if(y&&!L&&R(T)){let{value:e,message:t}=K(y);if(M(e)&&!T.match(e)&&(C[w]={type:E.pattern,message:t,ref:a,...j(E.pattern,t)},!r))return B(t),C}if(v){if(N(v)){let e=$(await v(T,t),_);if(e&&(C[w]={...e,...j(E.validate,e.message)},!r))return B(e.message),C}else if(u(v)){let e={};for(let n in v){if(!S(e)&&!r)break;let i=$(await v[n](T,t),_,n);i&&(e={...i,...j(n,i.message)},B(i.message),r&&(C[w]=e))}if(!S(e)&&(C[w]={ref:_,...e},!r))return C}}return B(!0),C};function X(e,t){let r=Array.isArray(t)?t:_(t)?[t]:B(t),n=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,n=0;for(;n{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},Z=e=>s(e)||!a(e);function Q(e,t){if(Z(e)||Z(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i of r){let r=e[i];if(!n.includes(i))return!1;if("ref"!==i){let e=t[i];if(o(r)&&o(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!Q(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>I(e)||i(e),er=e=>P(e)&&e.isConnected,en=e=>{for(let t in e)if(N(e[t]))return!0;return!1};function ei(e,t={}){let r=Array.isArray(e);if(u(e)||r)for(let r in e)Array.isArray(e[r])||u(e[r])&&!en(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ei(e[r],t[r])):s(e[r])||(t[r]=!0);return t}var eo=(e,t)=>(function e(t,r,n){let i=Array.isArray(t);if(u(t)||i)for(let i in t)Array.isArray(t[i])||u(t[i])&&!en(t[i])?m(r)||Z(n[i])?n[i]=Array.isArray(t[i])?ei(t[i],[]):{...ei(t[i])}:e(t[i],s(r)?{}:r[i],n[i]):n[i]=!Q(t[i],r[i]);return n})(e,t,ei(t)),es=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>m(e)?e:t?""===e?NaN:e?+e:e:r&&R(e)?new Date(e):n?n(e):e;function ea(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:D(t)?t.files:I(t)?J(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?W(e.refs).value:es(m(t.value)?e.ref.value:t.value,e)}var eu=(e,t,r,n)=>{let i={};for(let r of e){let e=g(t,r);e&&C(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},el=e=>m(e)?e:M(e)?e.source:u(e)?M(e.value)?e.value.source:e.value:e,ef=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ec(e,t,r){let n=g(e,r);if(n||_(r))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),o=g(t,n),s=g(e,n);if(o&&!Array.isArray(o)&&r!==n)break;if(s&&s.type)return{name:n,error:s};i.pop()}return{name:r}}var eh=(e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?!n.isOnChange:!i.isOnChange)||e),ed=(e,t)=>!y(g(e,t)).length&&X(e,t);let ep={mode:w.onSubmit,reValidateMode:w.onChange,shouldFocusError:!0};function ey(e={}){let t=n.useRef(),r=n.useRef(),[a,f]=n.useState({isDirty:!1,isValidating:!1,isLoading:N(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:N(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let r,n={...ep,...e},a={submitCount:0,isDirty:!1,isLoading:N(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:n.errors||{},disabled:n.disabled||!1},f={},h=(u(n.values)||u(n.defaultValues))&&p(n.values||n.defaultValues)||{},E=n.shouldUnregister?{}:p(h),A={action:!1,mount:!1,watch:!1},O={mount:new Set,unMount:new Set,array:new Set,watch:new Set},_=0,B={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},U={values:Y(),array:Y(),state:Y()},V=k(n.mode),I=k(n.reValidateMode),M=n.criteriaMode===w.all,q=e=>t=>{clearTimeout(_),_=setTimeout(e,t)},z=async e=>{if(B.isValid||e){let e=n.resolver?S((await en()).errors):await ey(f,!0);e!==a.isValid&&U.state.next({isValid:e})}},W=e=>B.isValidating&&U.state.next({isValidating:e}),H=(e,t)=>{C(a.errors,e,t),U.state.next({errors:a.errors})},J=(e,t,r,n)=>{let i=g(f,e);if(i){let o=g(E,e,m(r)?g(h,e):r);m(o)||n&&n.defaultChecked||t?C(E,e,t?o:ea(i._f)):eb(e,o),A.mount&&z()}},$=(e,t,r,n,i)=>{let o=!1,s=!1,u={name:e},l=!!(g(f,e)&&g(f,e)._f.disabled);if(!r||n){B.isDirty&&(s=a.isDirty,a.isDirty=u.isDirty=em(),o=s!==u.isDirty);let r=l||Q(g(h,e),t);s=!!(!l&&g(a.dirtyFields,e)),r||l?X(a.dirtyFields,e):C(a.dirtyFields,e,!0),u.dirtyFields=a.dirtyFields,o=o||B.dirtyFields&&!r!==s}if(r){let t=g(a.touchedFields,e);t||(C(a.touchedFields,e,r),u.touchedFields=a.touchedFields,o=o||B.touchedFields&&t!==r)}return o&&i&&U.state.next(u),o?u:{}},K=(t,n,i,o)=>{let s=g(a.errors,t),u=B.isValid&&b(n)&&a.isValid!==n;if(e.delayError&&i?(r=q(()=>H(t,i)))(e.delayError):(clearTimeout(_),r=null,i?C(a.errors,t,i):X(a.errors,t)),(i?!Q(s,i):s)||!S(o)||u){let e={...o,...u&&b(n)?{isValid:n}:{},errors:a.errors,name:t};a={...a,...e},U.state.next(e)}W(!1)},en=async e=>n.resolver(E,n.context,eu(e||O.mount,f,n.criteriaMode,n.shouldUseNativeValidation)),ei=async e=>{let{errors:t}=await en(e);if(e)for(let r of e){let e=g(t,r);e?C(a.errors,r,e):X(a.errors,r)}else a.errors=t;return t},ey=async(e,t,r={valid:!0})=>{for(let i in e){let o=e[i];if(o){let{_f:e,...i}=o;if(e){let i=O.array.has(e.name),s=await G(o,E,M,n.shouldUseNativeValidation&&!t,i);if(s[e.name]&&(r.valid=!1,t))break;t||(g(s,e.name)?i?j(a.errors,s,e.name):C(a.errors,e.name,s[e.name]):X(a.errors,e.name))}i&&await ey(i,t,r)}}return r.valid},em=(e,t)=>(e&&t&&C(E,e,t),!Q(eO(),h)),eg=(e,t,r)=>T(e,O,{...A.mount?E:m(t)?h:R(e)?{[e]:t}:t},r,t),eb=(e,t,r={})=>{let n=g(f,e),o=t;if(n){let r=n._f;r&&(r.disabled||C(E,e,es(t,r)),o=P(r.ref)&&s(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=o.includes(e.value)):r.refs?i(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):r.refs[0]&&(r.refs[0].checked=!!o):r.refs.forEach(e=>e.checked=e.value===o):D(r.ref)?r.ref.value="":(r.ref.value=o,r.ref.type||U.values.next({name:e,values:{...E}})))}(r.shouldDirty||r.shouldTouch)&&$(e,o,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eS(e)},ev=(e,t,r)=>{for(let n in t){let i=t[n],s=`${e}.${n}`,a=g(f,s);!O.array.has(e)&&Z(i)&&(!a||a._f)||o(i)?eb(s,i,r):ev(s,i,r)}},ew=(e,r,n={})=>{let i=g(f,e),o=O.array.has(e),u=p(r);C(E,e,u),o?(U.array.next({name:e,values:{...E}}),(B.isDirty||B.dirtyFields)&&n.shouldDirty&&U.state.next({name:e,dirtyFields:eo(h,E),isDirty:em(e,u)})):!i||i._f||s(u)?eb(e,u,n):ev(e,u,n),F(e,O)&&U.state.next({...a}),U.values.next({name:e,values:{...E}}),A.mount||t()},eE=async e=>{let t=e.target,i=t.name,o=!0,s=g(f,i),u=e=>{o=Number.isNaN(e)||e===g(E,i,e)};if(s){let c,h;let d=t.type?ea(s._f):l(e),p=e.type===v.BLUR||e.type===v.FOCUS_OUT,y=!ef(s._f)&&!n.resolver&&!g(a.errors,i)&&!s._f.deps||eh(p,g(a.touchedFields,i),a.isSubmitted,I,V),m=F(i,O,p);C(E,i,d),p?(s._f.onBlur&&s._f.onBlur(e),r&&r(0)):s._f.onChange&&s._f.onChange(e);let b=$(i,d,p,!1),w=!S(b)||m;if(p||U.values.next({name:i,type:e.type,values:{...E}}),y)return B.isValid&&z(),w&&U.state.next({name:i,...m?{}:b});if(!p&&m&&U.state.next({...a}),W(!0),n.resolver){let{errors:e}=await en([i]);if(u(d),o){let t=ec(a.errors,f,i),r=ec(e,f,t.name||i);c=r.error,i=r.name,h=S(e)}}else c=(await G(s,E,M,n.shouldUseNativeValidation))[i],u(d),o&&(c?h=!1:B.isValid&&(h=await ey(f,!0)));o&&(s._f.deps&&eS(s._f.deps),K(i,h,c,b))}},eA=(e,t)=>{if(g(a.errors,t)&&e.focus)return e.focus(),1},eS=async(e,t={})=>{let r,i;let o=x(e);if(W(!0),n.resolver){let t=await ei(m(e)?e:o);r=S(t),i=e?!o.some(e=>g(t,e)):r}else e?((i=(await Promise.all(o.map(async e=>{let t=g(f,e);return await ey(t&&t._f?{[e]:t}:t)}))).every(Boolean))||a.isValid)&&z():i=r=await ey(f);return U.state.next({...!R(e)||B.isValid&&r!==a.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:a.errors,isValidating:!1}),t.shouldFocus&&!i&&L(f,eA,e?o:O.mount),i},eO=e=>{let t={...h,...A.mount?E:{}};return m(e)?t:R(e)?g(t,e):e.map(e=>g(t,e))},ex=(e,t)=>({invalid:!!g((t||a).errors,e),isDirty:!!g((t||a).dirtyFields,e),isTouched:!!g((t||a).touchedFields,e),error:g((t||a).errors,e)}),eR=(e,t,r)=>{let n=(g(f,e,{_f:{}})._f||{}).ref;C(a.errors,e,{...t,ref:n}),U.state.next({name:e,errors:a.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},eT=(e,t={})=>{for(let r of e?x(e):O.mount)O.mount.delete(r),O.array.delete(r),t.keepValue||(X(f,r),X(E,r)),t.keepError||X(a.errors,r),t.keepDirty||X(a.dirtyFields,r),t.keepTouched||X(a.touchedFields,r),n.shouldUnregister||t.keepDefaultValue||X(h,r);U.values.next({values:{...E}}),U.state.next({...a,...t.keepDirty?{isDirty:em()}:{}}),t.keepIsValid||z()},e_=({disabled:e,name:t,field:r,fields:n,value:i})=>{if(b(e)){let o=e?void 0:m(i)?ea(r?r._f:g(n,t)._f):i;C(E,t,o),$(t,o,!1,!1,!0)}},eB=(e,t={})=>{let r=g(f,e),i=b(t.disabled);return C(f,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),O.mount.add(e),r?e_({field:r,disabled:t.disabled,name:e,value:t.value}):J(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:el(t.min),max:el(t.max),minLength:el(t.minLength),maxLength:el(t.maxLength),pattern:el(t.pattern)}:{},name:e,onChange:eE,onBlur:eE,ref:i=>{if(i){eB(e,t),r=g(f,e);let n=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o=et(n),s=r._f.refs||[];(o?s.find(e=>e===n):n===r._f.ref)||(C(f,e,{_f:{...r._f,...o?{refs:[...s.filter(er),n,...Array.isArray(g(h,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),J(e,!1,void 0,n))}else(r=g(f,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(c(O.array,e)&&A.action)&&O.unMount.add(e)}}},eC=()=>n.shouldFocusError&&L(f,eA,O.mount),eU=(e,t)=>async r=>{let i;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let o=p(E);if(U.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await en();a.errors=e,o=t}else await ey(f);if(X(a.errors,"root"),S(a.errors)){U.state.next({errors:{}});try{await e(o,r)}catch(e){i=e}}else t&&await t({...a.errors},r),eC(),setTimeout(eC);if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:S(a.errors)&&!i,submitCount:a.submitCount+1,errors:a.errors}),i)throw i},ek=(r,n={})=>{let i=r?p(r):h,o=p(i),s=r&&!S(r)?o:h;if(n.keepDefaultValues||(h=i),!n.keepValues){if(n.keepDirtyValues)for(let e of O.mount)g(a.dirtyFields,e)?C(s,e,g(E,e)):ew(e,g(s,e));else{if(d&&m(r))for(let e of O.mount){let t=g(f,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(P(e)){let t=e.closest("form");if(t){t.reset();break}}}}f={}}E=e.shouldUnregister?n.keepDefaultValues?p(h):{}:p(s),U.array.next({values:{...s}}),U.values.next({values:{...s}})}O={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},A.mount||t(),A.mount=!B.isValid||!!n.keepIsValid||!!n.keepDirtyValues,A.watch=!!e.shouldUnregister,U.state.next({submitCount:n.keepSubmitCount?a.submitCount:0,isDirty:n.keepDirty?a.isDirty:!!(n.keepDefaultValues&&!Q(r,h)),isSubmitted:!!n.keepIsSubmitted&&a.isSubmitted,dirtyFields:n.keepDirtyValues?n.keepDefaultValues&&E?eo(h,E):a.dirtyFields:n.keepDefaultValues&&r?eo(h,r):{},touchedFields:n.keepTouched?a.touchedFields:{},errors:n.keepErrors?a.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},eF=(e,t)=>ek(N(e)?e(E):e,t);return{control:{register:eB,unregister:eT,getFieldState:ex,handleSubmit:eU,setError:eR,_executeSchema:en,_getWatch:eg,_getDirty:em,_updateValid:z,_removeUnmounted:()=>{for(let e of O.unMount){let t=g(f,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&eT(e)}O.unMount=new Set},_updateFieldArray:(e,t=[],r,n,i=!0,o=!0)=>{if(n&&r){if(A.action=!0,o&&Array.isArray(g(f,e))){let t=r(g(f,e),n.argA,n.argB);i&&C(f,e,t)}if(o&&Array.isArray(g(a.errors,e))){let t=r(g(a.errors,e),n.argA,n.argB);i&&C(a.errors,e,t),ed(a.errors,e)}if(B.touchedFields&&o&&Array.isArray(g(a.touchedFields,e))){let t=r(g(a.touchedFields,e),n.argA,n.argB);i&&C(a.touchedFields,e,t)}B.dirtyFields&&(a.dirtyFields=eo(h,E)),U.state.next({name:e,isDirty:em(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else C(E,e,t)},_updateDisabledField:e_,_getFieldArray:t=>y(g(A.mount?E:h,t,e.shouldUnregister?g(h,t,[]):[])),_reset:ek,_resetDefaultValues:()=>N(n.defaultValues)&&n.defaultValues().then(e=>{eF(e,n.resetOptions),U.state.next({isLoading:!1})}),_updateFormState:e=>{a={...a,...e}},_disableForm:e=>{b(e)&&(U.state.next({disabled:e}),L(f,(t,r)=>{let n=e,i=g(f,r);i&&b(i._f.disabled)&&(n||(n=i._f.disabled)),t.disabled=n},0,!1))},_subjects:U,_proxyFormState:B,_setErrors:e=>{a.errors=e,U.state.next({errors:a.errors,isValid:!1})},get _fields(){return f},get _formValues(){return E},get _state(){return A},set _state(value){A=value},get _defaultValues(){return h},get _names(){return O},set _names(value){O=value},get _formState(){return a},set _formState(value){a=value},get _options(){return n},set _options(value){n={...n,...value}}},trigger:eS,register:eB,handleSubmit:eU,watch:(e,t)=>N(e)?U.values.subscribe({next:r=>e(eg(void 0,t),r)}):eg(e,t,!0),setValue:ew,getValues:eO,reset:eF,resetField:(e,t={})=>{g(f,e)&&(m(t.defaultValue)?ew(e,p(g(h,e))):(ew(e,t.defaultValue),C(h,e,p(t.defaultValue))),t.keepTouched||X(a.touchedFields,e),t.keepDirty||(X(a.dirtyFields,e),a.isDirty=t.defaultValue?em(e,p(g(h,e))):em()),!t.keepError&&(X(a.errors,e),B.isValid&&z()),U.state.next({...a}))},clearErrors:e=>{e&&x(e).forEach(e=>X(a.errors,e)),U.state.next({errors:e?a.errors:{}})},unregister:eT,setError:eR,setFocus:(e,t={})=>{let r=g(f,e),n=r&&r._f;if(n){let e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:ex}}(e,()=>f(e=>({...e}))),formState:a});let h=t.current.control;return h._options=e,!function(e){let t=n.useRef(e);t.current=e,n.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:h._subjects.state,next:e=>{O(e,h._proxyFormState,h._updateFormState,!0)&&f({...h._formState})}}),n.useEffect(()=>h._disableForm(e.disabled),[h,e.disabled]),n.useEffect(()=>{if(h._proxyFormState.isDirty){let e=h._getDirty();e!==a.isDirty&&h._subjects.state.next({isDirty:e})}},[h,a.isDirty]),n.useEffect(()=>{e.values&&!Q(e.values,r.current)?(h._reset(e.values,h._options.resetOptions),r.current=e.values,f(e=>({...e}))):h._resetDefaultValues()},[e.values,h]),n.useEffect(()=>{e.errors&&h._setErrors(e.errors)},[e.errors,h]),n.useEffect(()=>{h._state.mount||(h._updateValid(),h._state.mount=!0),h._state.watch&&(h._state.watch=!1,h._subjects.state.next({...h._formState})),h._removeUnmounted()}),n.useEffect(()=>{e.shouldUnregister&&h._subjects.values.next({values:h._getWatch()})},[e.shouldUnregister,h]),t.current.formState=A(a,h),t.current}}}]); \ No newline at end of file diff --git a/_next/static/chunks/901-fe0120660a07afc6.js b/_next/static/chunks/901-fe0120660a07afc6.js new file mode 100644 index 0000000..32ae278 --- /dev/null +++ b/_next/static/chunks/901-fe0120660a07afc6.js @@ -0,0 +1,15 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[901],{5202:function(){!function(){"use strict";function e(e){var t=!0,n=!1,r=null,i={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 a(e){return!!e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList}function o(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function s(e){t=!1}function l(){document.addEventListener("mousemove",u),document.addEventListener("mousedown",u),document.addEventListener("mouseup",u),document.addEventListener("pointermove",u),document.addEventListener("pointerdown",u),document.addEventListener("pointerup",u),document.addEventListener("touchmove",u),document.addEventListener("touchstart",u),document.addEventListener("touchend",u)}function u(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",u),document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",u),document.removeEventListener("pointermove",u),document.removeEventListener("pointerdown",u),document.removeEventListener("pointerup",u),document.removeEventListener("touchmove",u),document.removeEventListener("touchstart",u),document.removeEventListener("touchend",u))}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(a(e.activeElement)&&o(e.activeElement),t=!0)},!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=!0),l())},!0),l(),e.addEventListener("focus",function(e){var n,r,s;a(e.target)&&(t||(r=(n=e.target).type,"INPUT"===(s=n.tagName)&&i[r]&&!n.readOnly||"TEXTAREA"===s&&!n.readOnly||n.isContentEditable))&&o(e.target)},!0),e.addEventListener("blur",function(e){if(a(e.target)){var t;(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout(function(){n=!1},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.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 t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}()},9266:function(e,t,n){"use strict";var r=n(3905),i=n(9073);e.exports=function(e){var t=r(e);return t.token="","x-oauth-basic"===t.password?t.token=t.user:"x-token-auth"===t.user&&(t.token=t.password),i(t.protocols)||0===t.protocols.length&&i(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}},3458:function(e,t,n){"use strict";var r=n(9266);function i(e){if("string"!=typeof e)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(e)&&(e="https://github.com/"+e);var t=r(e),n=t.resource.split("."),a=null;switch(t.toString=function(e){return i.stringify(this,e)},t.source=n.length>2?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(z(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 F(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function z(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||z(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{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(s))&&void 0!==e?e:l},c=e=>(0,r.useContext)(s)?r.createElement(r.Fragment,null,e.children):r.createElement(f,e),d=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:o=!0,storageKey:l="theme",themes:u=d,defaultTheme:c=n?"system":"light",attribute:f="data-theme",value:g,children:v,nonce:y})=>{let[b,w]=(0,r.useState)(()=>h(l,c)),[k,_]=(0,r.useState)(()=>h(l)),j=g?Object.values(g):u,E=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=x());let a=g?g[r]:r,s=t?m():null,l=document.documentElement;if("class"===f?(l.classList.remove(...j),a&&l.classList.add(a)):a?l.setAttribute(f,a):l.removeAttribute(f),o){let e=i.includes(c)?c:null,t=i.includes(r)?r:e;l.style.colorScheme=t}null==s||s()},[]),O=(0,r.useCallback)(e=>{w(e);try{localStorage.setItem(l,e)}catch(e){}},[e]),T=(0,r.useCallback)(t=>{_(x(t)),"system"===b&&n&&!e&&E("system")},[b,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(T),T(e),()=>e.removeListener(T)},[T]),(0,r.useEffect)(()=>{let e=e=>{e.key===l&&O(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[O]),(0,r.useEffect)(()=>{E(null!=e?e:b)},[e,b]);let C=(0,r.useMemo)(()=>({theme:b,setTheme:O,forcedTheme:e,resolvedTheme:"system"===b?k:b,themes:n?[...u,"system"]:u,systemTheme:n?k:void 0}),[b,O,e,k,n,u]);return r.createElement(s.Provider,{value:C},r.createElement(p,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:o,storageKey:l,themes:u,defaultTheme:c,attribute:f,value:g,children:v,attrs:j,nonce:y}),v)},p=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:o,enableColorScheme:s,defaultTheme:l,value:u,attrs:c,nonce:d})=>{let f="system"===l,p="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?i.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(e,t=!1,r=!0)=>{let a=u?u[e]:e,o=t?e+"|| ''":`'${a}'`,l="";return s&&r&&!t&&i.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${o})`:"null":a&&(l+=`d[s](n,${o})`),l},x=e?`!function(){${p}${m(e)}}()`:o?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${f})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}${f?"":"else{"+m(l,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}else{${m(l,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:x}})},()=>!0),h=(e,t)=>{let n;if(!o){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},m=()=>{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)}},x=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},6691:function(e,t){"use strict";var n,r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let o="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=n||(n={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(a=r||(r={})).fresh="fresh",a.reusable="reusable",a.expired="expired",a.stale="stale",("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)},4318:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(8364),("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)},6541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return y}});let r=n(8754),i=n(1757),a=n(5893),o=i._(n(7294)),s=r._(n(3935)),l=r._(n(7828)),u=n(7367),c=n(7903),d=n(4938);n(1997);let f=n(9953),p=r._(n(6663)),h={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};function m(e,t,n,r,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).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){return o.use?{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,sizesInput:_,onLoad:j,onError:E,...O}=e;return(0,a.jsx)("img",{...O,...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&&(E&&(e.src=e.src),e.complete&&m(e,p,y,b,w,g,_))},[n,p,y,b,w,E,g,_,t]),onLoad:e=>{m(e.currentTarget,p,y,b,w,g,_)},onError:e=>{k(!0),"empty"!==p&&w(!0),E&&E(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,sizesInput:e.sizes,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)},9577: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(1401),s=n(2045),l=n(7420),u=n(7201),c=n(1443),d=n(9953),f=n(5320),p=n(2905),h=n(4318),m=n(953),x=n(6691),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)}(async()=>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:F}=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]),z=a.default.useRef(D),$=a.default.useRef(F);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!==F||z.current!==D)&&(G(),$.current=F,z.current=D),W(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[F,U,D,G,W]);a.default.useEffect(()=>{L&&H&&M&&v(L,D,F,{locale:O},{kind:Z},P)},[F,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,F,_,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,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)},onTouchStart:function(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,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)}};if((0,u.isAbsoluteUrl)(F))B.href=F;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)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);B.href=t||(0,m.addBasePath)((0,c.addLocale)(F,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)},2905: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(3815),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)},7367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(1997);let r=n(9919),i=n(7903);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,overrideSrc:w,onLoad:k,onLoadingComplete:_,placeholder:j="empty",blurDataURL:E,fetchPriority:O,layout:T,objectFit:C,objectPosition:S,lazyBoundary:N,lazyRoot:R,...I}=e,{imgConf:A,showAltText:L,blurComplete:P,defaultLoader:M}=t,Z=A||i.imageConfigDefault;if("allSizes"in Z)s=Z;else{let e=[...Z.deviceSizes,...Z.imageSizes].sort((e,t)=>e-t),t=Z.deviceSizes.sort((e,t)=>e-t);s={...Z,allSizes:e,deviceSizes:t}}if(void 0===M)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let D=I.loader||M;delete I.loader,delete I.srcSet;let F="__next_img_default"in D;if(F){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=D;D=t=>{let{config:n,...r}=t;return e(r)}}if(T){"fill"===T&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(b={...b,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!d&&(d=t)}let z="",$=o(g),U=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,E=E||e.blurDataURL,z=e.src,!y){if($||U){if($&&!U){let t=$/e.width;U=Math.round(e.height*t)}else if(!$&&U){let t=U/e.height;$=Math.round(e.width*t)}}else $=e.width,U=e.height}}let W=!p&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:z)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,W=!1),s.unoptimized&&(f=!0),F&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),p&&(O="high");let H=o(x),G=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:S}:{},L?{}:{color:"transparent"},b),V=P||"empty"===j?null:"blur"===j?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:$,heightInt:U,blurWidth:l,blurHeight:u,blurDataURL:E||"",objectFit:G.objectFit})+'")':'url("'+j+'")',B=V?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},q=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:$,quality:H,sizes:d,loader:D});return{props:{...I,loading:W?"lazy":h,fetchPriority:O,width:$,height:U,decoding:"async",className:m,style:{...G,...B},sizes:q.sizes,srcSet:q.srcSet,src:w||q.src},meta:{unoptimized:f,priority:p,placeholder:j,fill:y}}}},9919: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}})},5666: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,{default:function(){return l},getImageProps:function(){return s}});let r=n(8754),i=n(7367),a=n(6541),o=r._(n(6663));function 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}}let l=a.Image},6663: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},9488:function(){},1864:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),a=s,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,a=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r,i="",a=!1,o=arguments.length-1;o>=-1&&!a;o--)o>=0?r=arguments[o]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(i=r+"/"+i,a=47===r.charCodeAt(0));return(i=n(i,!a),a)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else o>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var p="";for(d=i+c+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){i=o;break}}else a=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===a&&(o=!1,a=r+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!a){r=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===l?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var o=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1)}return -1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(0===s&&a?r.base=r.name=e.slice(1,l):r.base=r.name=e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i=r(114);e.exports=i}()},7663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n{t(!0)},[]),e}var I=n(7222),A=()=>{let{locale:e=I.ZW,asPath:t,route:n}=(0,C.useRouter)();return(0,S.useMemo)(()=>{let{pathname:r}=new URL(I.hV.has(n)?n:t,"https://nextra.vercel.app");return(e?r.replace(RegExp(`\\.${e}(\\/|$)`),"$1"):r).replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[t,e,n])},L=n(2643),P=n(4861);(h=k||(k={})).assertEqual=e=>e,h.assertIs=function(e){},h.assertNever=function(e){throw Error()},h.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},h.getValidEnumValues=e=>{let t=h.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let r of t)n[r]=e[r];return h.objectValues(n)},h.objectValues=e=>h.objectKeys(e).map(function(t){return e[t]}),h.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},h.find=(e,t)=>{for(let n of e)if(t(n))return n},h.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,h.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},h.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(_||(_={})).mergeShapes=(e,t)=>({...e,...t});let M=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 M.undefined;case"string":return M.string;case"number":return isNaN(e)?M.nan:M.number;case"boolean":return M.boolean;case"function":return M.function;case"bigint":return M.bigint;case"symbol":return M.symbol;case"object":if(Array.isArray(e))return M.array;if(null===e)return M.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return M.promise;if("undefined"!=typeof Map&&e instanceof Map)return M.map;if("undefined"!=typeof Set&&e instanceof Set)return M.set;if("undefined"!=typeof Date&&e instanceof Date)return M.date;return M.object;default:return M.unknown}},D=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 F 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()}}F.create=e=>new F(e);let z=(e,t)=>{let n;switch(e.code){case D.invalid_type:n=e.received===M.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case D.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,k.jsonStringifyReplacer)}`;break;case D.unrecognized_keys:n=`Unrecognized key(s) in object: ${k.joinValues(e.keys,", ")}`;break;case D.invalid_union:n="Invalid input";break;case D.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${k.joinValues(e.options)}`;break;case D.invalid_enum_value:n=`Invalid enum value. Expected ${k.joinValues(e.options)}, received '${e.received}'`;break;case D.invalid_arguments:n="Invalid function arguments";break;case D.invalid_return_type:n="Invalid function return type";break;case D.invalid_date:n="Invalid date";break;case D.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 D.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 D.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 D.custom:n="Invalid input";break;case D.invalid_intersection_types:n="Intersection results could not be merged";break;case D.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case D.not_finite:n="Number must be finite";break;default:n=t.defaultError,k.assertNever(e)}return{message:n}},$=z;function U(){return $}let W=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}};function H(e,t){let n=W({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,U(),z].filter(e=>!!e)});e.common.issues.push(n)}class G{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 V;"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)n.push({key:await e.key,value:await e.value});return G.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 V;"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 V=Object.freeze({status:"aborted"}),B=e=>({status:"dirty",value:e}),q=e=>({status:"valid",value:e}),K=e=>"aborted"===e.status,Y=e=>"dirty"===e.status,Q=e=>"valid"===e.status,J=e=>"undefined"!=typeof Promise&&e instanceof Promise;(m=j||(j={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},m.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class X{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 ee=(e,t)=>{if(Q(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 F(e.common.issues);return this._error=t,this._error}}};function et(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:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:i}}class en{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 G,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(J(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 ee(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 ee(n,await (J(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:D.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 ez({schema:this,typeName:E.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return e$.create(this,this._def)}nullable(){return eU.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return e_.create(this,this._def)}promise(){return eF.create(this,this._def)}or(e){return eE.create([this,e],this._def)}and(e){return eC.create(this,e,this._def)}transform(e){return new ez({...et(this._def),schema:this,typeName:E.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eW({...et(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:E.ZodDefault})}brand(){return new eB({typeName:E.ZodBranded,type:this,...et(this._def)})}catch(e){return new eH({...et(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:E.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eq.create(this,e)}readonly(){return eK.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let er=/^c[^\s-]{8,}$/i,ei=/^[a-z][a-z0-9]*$/,ea=/^[0-9A-HJKMNP-TV-Z]{26}$/,eo=/^[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,es=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,el=/^(((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}))$/,eu=/^(([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})))$/,ec=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class ed extends en{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==M.string){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.string,received:t.parsedType}),V}let n=new G;for(let o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(H(t=this._getOrReturnCtx(e,t),{code:D.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if("length"===o.kind){let r=e.data.length>o.value,i=e.data.lengthe.test(t),{validation:t,code:D.invalid_string,...j.errToObj(n)})}_addCheck(e){return new ed({...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)})}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)})}ip(e){return this._addCheck({kind:"ip",...j.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!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,...j.errToObj(null==e?void 0:e.message)})}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 ed({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ed({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ed({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===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 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 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 ed({checks:[],typeName:E.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...et(e)})};class ef extends en{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)!==M.number){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.number,received:t.parsedType}),V}let n=new G;for(let r of this._def.checks)"int"===r.kind?k.isInteger(e.data)||(H(t=this._getOrReturnCtx(e,t),{code:D.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(H(t=this._getOrReturnCtx(e,t),{code:D.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)&&(H(t=this._getOrReturnCtx(e,t),{code:D.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(H(t=this._getOrReturnCtx(e,t),{code:D.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 ef({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ef({...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 ef({checks:[],typeName:E.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...et(e)});class ep extends en{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)!==M.bigint){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.bigint,received:t.parsedType}),V}let n=new G;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(H(t=this._getOrReturnCtx(e,t),{code:D.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(H(t=this._getOrReturnCtx(e,t),{code:D.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 ep({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ep({...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 ep({checks:[],typeName:E.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...et(e)})};class eh extends en{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==M.boolean){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.boolean,received:t.parsedType}),V}return q(e.data)}}eh.create=e=>new eh({typeName:E.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...et(e)});class em extends en{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==M.date){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.date,received:t.parsedType}),V}if(isNaN(e.data.getTime()))return H(this._getOrReturnCtx(e),{code:D.invalid_date}),V;let n=new G;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(H(t=this._getOrReturnCtx(e,t),{code:D.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 em({...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 em({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:E.ZodDate,...et(e)});class ex extends en{_parse(e){if(this._getType(e)!==M.symbol){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.symbol,received:t.parsedType}),V}return q(e.data)}}ex.create=e=>new ex({typeName:E.ZodSymbol,...et(e)});class eg extends en{_parse(e){if(this._getType(e)!==M.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.undefined,received:t.parsedType}),V}return q(e.data)}}eg.create=e=>new eg({typeName:E.ZodUndefined,...et(e)});class ev extends en{_parse(e){if(this._getType(e)!==M.null){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.null,received:t.parsedType}),V}return q(e.data)}}ev.create=e=>new ev({typeName:E.ZodNull,...et(e)});class ey extends en{constructor(){super(...arguments),this._any=!0}_parse(e){return q(e.data)}}ey.create=e=>new ey({typeName:E.ZodAny,...et(e)});class eb extends en{constructor(){super(...arguments),this._unknown=!0}_parse(e){return q(e.data)}}eb.create=e=>new eb({typeName:E.ZodUnknown,...et(e)});class ew extends en{_parse(e){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.never,received:t.parsedType}),V}}ew.create=e=>new ew({typeName:E.ZodNever,...et(e)});class ek extends en{_parse(e){if(this._getType(e)!==M.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.void,received:t.parsedType}),V}return q(e.data)}}ek.create=e=>new ek({typeName:E.ZodVoid,...et(e)});class e_ extends en{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==M.array)return H(t,{code:D.invalid_type,expected:M.array,received:t.parsedType}),V;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(H(t,{code:D.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 X(t,e,t.path,n)))).then(e=>G.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new X(t,e,t.path,n)));return G.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new e_({...this._def,minLength:{value:e,message:j.toString(t)}})}max(e,t){return new e_({...this._def,maxLength:{value:e,message:j.toString(t)}})}length(e,t){return new e_({...this._def,exactLength:{value:e,message:j.toString(t)}})}nonempty(e){return this.min(1,e)}}e_.create=(e,t)=>new e_({type:e,minLength:null,maxLength:null,exactLength:null,typeName:E.ZodArray,...et(t)});class ej extends en{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)!==M.object){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.object,received:t.parsedType}),V}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ew&&"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 X(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ew){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&&(H(n,{code:D.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 X(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;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>G.mergeObjectSync(t,e)):G.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return j.errToObj,new ej({...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 ej({...this._def,unknownKeys:"strip"})}passthrough(){return new ej({...this._def,unknownKeys:"passthrough"})}extend(e){return new ej({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ej({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:E.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ej({...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 ej({...this._def,shape:()=>t})}omit(e){let t={};return k.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new ej({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof ej){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=e$.create(e(i))}return new ej({...t._def,shape:()=>n})}return t instanceof e_?new e_({...t._def,type:e(t.element)}):t instanceof e$?e$.create(e(t.unwrap())):t instanceof eU?eU.create(e(t.unwrap())):t instanceof eS?eS.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 ej({...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 e$;)e=e._def.innerType;t[n]=e}}),new ej({...this._def,shape:()=>t})}keyof(){return eM(k.objectKeys(this.shape))}}ej.create=(e,t)=>new ej({shape:()=>e,unknownKeys:"strip",catchall:ew.create(),typeName:E.ZodObject,...et(t)}),ej.strictCreate=(e,t)=>new ej({shape:()=>e,unknownKeys:"strict",catchall:ew.create(),typeName:E.ZodObject,...et(t)}),ej.lazycreate=(e,t)=>new ej({shape:e,unknownKeys:"strip",catchall:ew.create(),typeName:E.ZodObject,...et(t)});class eE extends en{_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 F(e.ctx.common.issues));return H(t,{code:D.invalid_union,unionErrors:n}),V});{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 F(e));return H(t,{code:D.invalid_union,unionErrors:i}),V}}get options(){return this._def.options}}eE.create=(e,t)=>new eE({options:e,typeName:E.ZodUnion,...et(t)});let eO=e=>{if(e instanceof eL)return eO(e.schema);if(e instanceof ez)return eO(e.innerType());if(e instanceof eP)return[e.value];if(e instanceof eZ)return e.options;if(e instanceof eD)return Object.keys(e.enum);if(e instanceof eW)return eO(e._def.innerType);if(e instanceof eg)return[void 0];else if(e instanceof ev)return[null];else return null};class eT extends en{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.object)return H(t,{code:D.invalid_type,expected:M.object,received:t.parsedType}),V;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}):(H(t,{code:D.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),V)}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=eO(n.shape[e]);if(!t)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 eT({typeName:E.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...et(n)})}}class eC extends en{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(K(e)||K(r))return V;let i=function e(t,n){let r=Z(t),i=Z(n);if(t===n)return{valid:!0,data:t};if(r===M.object&&i===M.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===M.array&&i===M.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}))}}eC.create=(e,t,n)=>new eC({left:e,right:t,typeName:E.ZodIntersection,...et(n)});class eS extends en{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.array)return H(n,{code:D.invalid_type,expected:M.array,received:n.parsedType}),V;if(n.data.lengththis._def.items.length&&(H(n,{code:D.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 X(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>G.mergeArray(t,e)):G.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new eS({...this._def,rest:e})}}eS.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eS({items:e,typeName:E.ZodTuple,rest:null,...et(t)})};class eN extends en{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!==M.object)return H(n,{code:D.invalid_type,expected:M.object,received:n.parsedType}),V;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new X(n,e,n.path,e)),value:a._parse(new X(n,n.data[e],n.path,e))});return n.common.async?G.mergeObjectAsync(t,r):G.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new eN(t instanceof en?{keyType:e,valueType:t,typeName:E.ZodRecord,...et(n)}:{keyType:ed.create(),valueType:e,typeName:E.ZodRecord,...et(t)})}}class eR extends en{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!==M.map)return H(n,{code:D.invalid_type,expected:M.map,received:n.parsedType}),V;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new X(n,e,n.path,[a,"key"])),value:i._parse(new X(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 V;("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 V;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}eR.create=(e,t,n)=>new eR({valueType:t,keyType:e,typeName:E.ZodMap,...et(n)});class eI extends en{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.set)return H(n,{code:D.invalid_type,expected:M.set,received:n.parsedType}),V;let r=this._def;null!==r.minSize&&n.data.sizer.maxSize.value&&(H(n,{code:D.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 V;"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 X(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eI({...this._def,minSize:{value:e,message:j.toString(t)}})}max(e,t){return new eI({...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)}}eI.create=(e,t)=>new eI({valueType:e,minSize:null,maxSize:null,typeName:E.ZodSet,...et(t)});class eA extends en{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.function)return H(t,{code:D.invalid_type,expected:M.function,received:t.parsedType}),V;function n(e,n){return W({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,U(),z].filter(e=>!!e),issueData:{code:D.invalid_arguments,argumentsError:n}})}function r(e,n){return W({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,U(),z].filter(e=>!!e),issueData:{code:D.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eF){let e=this;return q(async function(...t){let o=new F([]),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 q(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new F([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new F([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eA({...this._def,args:eS.create(e).rest(eb.create())})}returns(e){return new eA({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eA({args:e||eS.create([]).rest(eb.create()),returns:t||eb.create(),typeName:E.ZodFunction,...et(n)})}}class eL extends en{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})}}eL.create=(e,t)=>new eL({getter:e,typeName:E.ZodLazy,...et(t)});class eP extends en{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return H(t,{received:t.data,code:D.invalid_literal,expected:this._def.value}),V}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eM(e,t){return new eZ({values:e,typeName:E.ZodEnum,...et(t)})}eP.create=(e,t)=>new eP({value:e,typeName:E.ZodLiteral,...et(t)});class eZ extends en{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{expected:k.joinValues(n),received:t.parsedType,code:D.invalid_type}),V}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{received:t.data,code:D.invalid_enum_value,options:n}),V}return q(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){return eZ.create(e)}exclude(e){return eZ.create(this.options.filter(t=>!e.includes(t)))}}eZ.create=eM;class eD extends en{_parse(e){let t=k.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==M.string&&n.parsedType!==M.number){let e=k.objectValues(t);return H(n,{expected:k.joinValues(e),received:n.parsedType,code:D.invalid_type}),V}if(-1===t.indexOf(e.data)){let e=k.objectValues(t);return H(n,{received:n.data,code:D.invalid_enum_value,options:e}),V}return q(e.data)}get enum(){return this._def.values}}eD.create=(e,t)=>new eD({values:e,typeName:E.ZodNativeEnum,...et(t)});class eF extends en{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==M.promise&&!1===t.common.async?(H(t,{code:D.invalid_type,expected:M.promise,received:t.parsedType}),V):q((t.parsedType===M.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eF.create=(e,t)=>new eF({type:e,typeName:E.ZodPromise,...et(t)});class ez extends en{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===E.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=>{H(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);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}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?V:("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?V:("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=>Q(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(!Q(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)}}ez.create=(e,t,n)=>new ez({schema:e,typeName:E.ZodEffects,effect:t,...et(n)}),ez.createWithPreprocess=(e,t,n)=>new ez({schema:t,effect:{type:"preprocess",transform:e},typeName:E.ZodEffects,...et(n)});class e$ extends en{_parse(e){return this._getType(e)===M.undefined?q(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e$.create=(e,t)=>new e$({innerType:e,typeName:E.ZodOptional,...et(t)});class eU extends en{_parse(e){return this._getType(e)===M.null?q(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eU.create=(e,t)=>new eU({innerType:e,typeName:E.ZodNullable,...et(t)});class eW extends en{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===M.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eW.create=(e,t)=>new eW({innerType:e,typeName:E.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...et(t)});class eH extends en{_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 J(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new F(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new F(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}eH.create=(e,t)=>new eH({innerType:e,typeName:E.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...et(t)});class eG extends en{_parse(e){if(this._getType(e)!==M.nan){let t=this._getOrReturnCtx(e);return H(t,{code:D.invalid_type,expected:M.nan,received:t.parsedType}),V}return{status:"valid",value:e.data}}}eG.create=e=>new eG({typeName:E.ZodNaN,...et(e)});let eV=Symbol("zod_brand");class eB extends en{_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 eq extends en{_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?V:"dirty"===e.status?(t.dirty(),B(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?V:"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 eq({in:e,out:t,typeName:E.ZodPipeline})}}class eK extends en{_parse(e){let t=this._def.innerType._parse(e);return Q(t)&&(t.value=Object.freeze(t.value)),t}}eK.create=(e,t)=>new eK({innerType:e,typeName:E.ZodReadonly,...et(t)});let eY=(e,t={},n)=>e?ey.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})}}):ey.create(),eQ={object:ej.lazycreate};(x=E||(E={})).ZodString="ZodString",x.ZodNumber="ZodNumber",x.ZodNaN="ZodNaN",x.ZodBigInt="ZodBigInt",x.ZodBoolean="ZodBoolean",x.ZodDate="ZodDate",x.ZodSymbol="ZodSymbol",x.ZodUndefined="ZodUndefined",x.ZodNull="ZodNull",x.ZodAny="ZodAny",x.ZodUnknown="ZodUnknown",x.ZodNever="ZodNever",x.ZodVoid="ZodVoid",x.ZodArray="ZodArray",x.ZodObject="ZodObject",x.ZodUnion="ZodUnion",x.ZodDiscriminatedUnion="ZodDiscriminatedUnion",x.ZodIntersection="ZodIntersection",x.ZodTuple="ZodTuple",x.ZodRecord="ZodRecord",x.ZodMap="ZodMap",x.ZodSet="ZodSet",x.ZodFunction="ZodFunction",x.ZodLazy="ZodLazy",x.ZodLiteral="ZodLiteral",x.ZodEnum="ZodEnum",x.ZodEffects="ZodEffects",x.ZodNativeEnum="ZodNativeEnum",x.ZodOptional="ZodOptional",x.ZodNullable="ZodNullable",x.ZodDefault="ZodDefault",x.ZodCatch="ZodCatch",x.ZodPromise="ZodPromise",x.ZodBranded="ZodBranded",x.ZodPipeline="ZodPipeline",x.ZodReadonly="ZodReadonly";let eJ=ed.create,eX=ef.create,e0=eG.create,e1=ep.create,e2=eh.create,e4=em.create,e5=ex.create,e3=eg.create,e7=ev.create,e6=ey.create,e8=eb.create,e9=ew.create,te=ek.create,tt=e_.create,tn=ej.create,tr=ej.strictCreate,ti=eE.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=eP.create,th=eZ.create,tm=eD.create,tx=eF.create,tg=ez.create,tv=e$.create,ty=eU.create,tb=ez.createWithPreprocess,tw=eq.create;var tk=Object.freeze({__proto__:null,defaultErrorMap:z,setErrorMap:function(e){$=e},getErrorMap:U,makeIssue:W,EMPTY_PATH:[],addIssueToContext:H,ParseStatus:G,INVALID:V,DIRTY:B,OK:q,isAborted:K,isDirty:Y,isValid:Q,isAsync:J,get util(){return k},get objectUtil(){return _},ZodParsedType:M,getParsedType:Z,ZodType:en,ZodString:ed,ZodNumber:ef,ZodBigInt:ep,ZodBoolean:eh,ZodDate:em,ZodSymbol:ex,ZodUndefined:eg,ZodNull:ev,ZodAny:ey,ZodUnknown:eb,ZodNever:ew,ZodVoid:ek,ZodArray:e_,ZodObject:ej,ZodUnion:eE,ZodDiscriminatedUnion:eT,ZodIntersection:eC,ZodTuple:eS,ZodRecord:eN,ZodMap:eR,ZodSet:eI,ZodFunction:eA,ZodLazy:eL,ZodLiteral:eP,ZodEnum:eZ,ZodNativeEnum:eD,ZodPromise:eF,ZodEffects:ez,ZodTransformer:ez,ZodOptional:e$,ZodNullable:eU,ZodDefault:eW,ZodCatch:eH,ZodNaN:eG,BRAND:eV,ZodBranded:eB,ZodPipeline:eq,ZodReadonly:eK,custom:eY,Schema:en,ZodSchema:en,late:eQ,get ZodFirstPartyTypeKind(){return E},coerce:{string:e=>ed.create({...e,coerce:!0}),number:e=>ef.create({...e,coerce:!0}),boolean:e=>eh.create({...e,coerce:!0}),bigint:e=>ep.create({...e,coerce:!0}),date:e=>em.create({...e,coerce:!0})},any:e6,array:tt,bigint:e1,boolean:e2,date:e4,discriminatedUnion:ta,effect:tg,enum:th,function:td,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>eY(t=>t instanceof e,t),intersection:to,lazy:tf,literal:tp,map:tu,nan:e0,nativeEnum:tm,never:e9,null:e7,nullable:ty,number:eX,object:tn,oboolean:()=>e2().optional(),onumber:()=>eX().optional(),optional:tv,ostring:()=>eJ().optional(),pipeline:tw,preprocess:tb,promise:tx,record:tl,set:tc,strictObject:tr,string:eJ,symbol:e5,transformer:tg,tuple:ts,undefined:e3,union:ti,unknown:e8,void:te,NEVER:V,ZodIssueCode:D,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:F}),t_=n(1664),tj=n.n(t_);n(6337);var tE=n(5893),tO=n(2010),tT={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tC=tk.strictObject({breadcrumb:tk.boolean(),collapsed:tk.boolean(),footer:tk.boolean(),layout:tk.enum(["default","full","raw"]),navbar:tk.boolean(),pagination:tk.boolean(),sidebar:tk.boolean(),timestamp:tk.boolean(),toc:tk.boolean(),typesetting:tk.enum(["default","article"])}),tS=tk.enum(["normal","hidden","children"]),tN=tk.string(),tR=tk.strictObject({href:tk.string(),newWindow:tk.boolean(),title:tN}),tI=tk.strictObject({display:tS.optional(),items:tk.record(tR.partial({href:!0,newWindow:!0})),title:tN,type:tk.literal("menu")}),tA=tk.strictObject({title:tN.optional(),type:tk.literal("separator")}),tL=tR.extend({display:tS,theme:tC,title:tN,type:tk.enum(["page","doc"])}).deepPartial();tk.string().or(tI).or(tA).or(tL);var tP=n(3458),tM=n.n(tP);function tZ(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tD(e){var t=tZ(e).Element;return e instanceof t||e instanceof Element}function tF(e){var t=tZ(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tz(e){if("undefined"==typeof ShadowRoot)return!1;var t=tZ(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t$=Math.max,tU=Math.min,tW=Math.round;function tH(){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 tG(){return!/^((?!chrome|android).)*safari/i.test(tH())}function tV(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&tF(e)&&(i=e.offsetWidth>0&&tW(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&tW(r.height)/e.offsetHeight||1);var o=(tD(e)?tZ(e):window).visualViewport,s=!tG()&&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 tB(e){var t=tZ(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tq(e){return e?(e.nodeName||"").toLowerCase():null}function tK(e){return((tD(e)?e.ownerDocument:e.document)||window.document).documentElement}function tY(e){return tV(tK(e)).left+tB(e).scrollLeft}function tQ(e){return tZ(e).getComputedStyle(e)}function tJ(e){var t=tQ(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function tX(e){var t=tV(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 t0(e){return"html"===tq(e)?e:e.assignedSlot||e.parentNode||(tz(e)?e.host:null)||tK(e)}function t1(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(tq(t))>=0?t.ownerDocument.body:tF(t)&&tJ(t)?t:e(t0(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=tZ(r),o=i?[a].concat(a.visualViewport||[],tJ(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(t1(t0(o)))}function t2(e){return tF(e)&&"fixed"!==tQ(e).position?e.offsetParent:null}function t4(e){for(var t=tZ(e),n=t2(e);n&&["table","td","th"].indexOf(tq(n))>=0&&"static"===tQ(n).position;)n=t2(n);return n&&("html"===tq(n)||"body"===tq(n)&&"static"===tQ(n).position)?t:n||function(e){var t=/firefox/i.test(tH());if(/Trident/i.test(tH())&&tF(e)&&"fixed"===tQ(e).position)return null;var n=t0(e);for(tz(n)&&(n=n.host);tF(n)&&0>["html","body"].indexOf(tq(n));){var r=tQ(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 t5="bottom",t3="right",t7="left",t6="auto",t8=["top",t5,t3,t7],t9="start",ne="viewport",nt="popper",nn=t8.reduce(function(e,t){return e.concat([t+"-"+t9,t+"-end"])},[]),nr=[].concat(t8,[t6]).reduce(function(e,t){return e.concat([t,t+"-"+t9,t+"-end"])},[]),ni=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],na={placement:"bottom",modifiers:[],strategy:"absolute"};function no(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function nd(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nl(i):null,o=i?nu(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 t5:t={x:s,y:n.y+n.height};break;case t3:t={x:n.x+n.width,y:l};break;case t7:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nc(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case t9: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 nf={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=t7,O="top",T=window;if(m){var C=t4(l),S="clientHeight",N="clientWidth";C===tZ(l)&&"static"!==tQ(C=tK(l)).position&&"absolute"===p&&(S="scrollHeight",N="scrollWidth"),("top"===c||(c===t7||c===t3)&&"end"===d)&&(O=t5,w-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-u.height,w*=h?1:-1),(c===t7||("top"===c||c===t5)&&"end"===d)&&(E=t3,y-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[N])-u.width,y*=h?1:-1)}var R=Object.assign({position:p},m&&nf),I=!0===x?(t={x:y,y:w},n=tZ(l),r=t.x,i=t.y,{x:tW(r*(a=n.devicePixelRatio||1))/a||0,y:tW(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 nh={left:"right",right:"left",bottom:"top",top:"bottom"};function nm(e){return e.replace(/left|right|bottom|top/g,function(e){return nh[e]})}var nx={start:"end",end:"start"};function ng(e){return e.replace(/start|end/g,function(e){return nx[e]})}function nv(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tz(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ny(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nb(e,t,n){var r,i,a,o,s,l,u,c,d,f;return t===ne?ny(function(e,t){var n=tZ(e),r=tK(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=tG();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+tY(e),y:l}}(e,n)):tD(t)?((r=tV(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):ny((i=tK(e),o=tK(i),s=tB(i),l=null==(a=i.ownerDocument)?void 0:a.body,u=t$(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=t$(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-s.scrollLeft+tY(i),f=-s.scrollTop,"rtl"===tQ(l||o).direction&&(d+=t$(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 nk(e){return Object.assign({},nw(),e)}function n_(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function nj(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u,c=t,d=c.placement,f=void 0===d?e.placement:d,p=c.strategy,h=void 0===p?e.strategy:p,m=c.boundary,x=c.rootBoundary,g=c.elementContext,v=void 0===g?nt:g,y=c.altBoundary,b=c.padding,w=void 0===b?0:b,k=nk("number"!=typeof w?w:n_(w,t8)),_=e.rects.popper,j=e.elements[void 0!==y&&y?v===nt?"reference":nt:v],E=(n=tD(j)?j:j.contextElement||tK(e.elements.popper),r=void 0===m?"clippingParents":m,i=void 0===x?ne:x,l=(s=[].concat("clippingParents"===r?(a=t1(t0(n)),tD(o=["absolute","fixed"].indexOf(tQ(n).position)>=0&&tF(n)?t4(n):n)?a.filter(function(e){return tD(e)&&nv(e,o)&&"body"!==tq(e)}):[]):[].concat(r),[i]))[0],(u=s.reduce(function(e,t){var r=nb(n,t,h);return e.top=t$(r.top,e.top),e.right=tU(r.right,e.right),e.bottom=tU(r.bottom,e.bottom),e.left=t$(r.left,e.left),e},nb(n,l,h))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),O=tV(e.elements.reference),T=nd({reference:O,element:_,strategy:"absolute",placement:f}),C=ny(Object.assign({},_,T)),S=v===nt?C:O,N={top:E.top-S.top+k.top,bottom:S.bottom-E.bottom+k.bottom,left:E.left-S.left+k.left,right:S.right-E.right+k.right},R=e.modifiersData.offset;if(v===nt&&R){var I=R[f];Object.keys(N).forEach(function(e){var t=[t3,t5].indexOf(e)>=0?1:-1,n=["top",t5].indexOf(e)>=0?"y":"x";N[e]+=I[n]*t})}return N}function nE(e,t,n){return t$(e,tU(t,n))}function nO(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 nT(e){return["top",t3,t5,t7].some(function(t){return e[t]>=0})}var nC=(y=void 0===(v=(g={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=tZ(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]=nd({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:nl(t.placement),variation:nu(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];tF(i)&&tq(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},{});tF(r)&&tq(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=nr.reduce(function(e,n){var r,i,o,s,l,u;return e[n]=(r=t.rects,o=[t7,"top"].indexOf(i=nl(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,[t7,t3].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=nl(x)===x,v=l||(g||!h?[nm(x)]:function(e){if(nl(e)===t6)return[];var t=nm(e);return[ng(e),t,ng(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(nl(n)===t6?(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)?nr:f,0===(v=(g=(x=nu(i))?l?nn:nn.filter(function(e){return nu(e)===x}):t8).filter(function(e){return p.indexOf(e)>=0})).length&&(v=g),Object.keys(y=v.reduce(function(e,n){return e[n]=nj(t,{placement:n,boundary:a,rootBoundary:o,padding:s})[nl(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=nj(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?t3:t7:C?t5:"top";b[N]>w[N]&&(I=nm(I));var A=nm(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=nj(t,{boundary:o,rootBoundary:s,padding:u,altBoundary:l}),m=nl(t.placement),x=nu(t.placement),g=!x,v=nc(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":t7,S="y"===v?t5:t3,N="y"===v?"height":"width",R=b[v],I=R+h[C],A=R-h[S],L=d?-k[N]/2:0,P=x===t9?w[N]:k[N],M=x===t9?-k[N]:-w[N],Z=t.elements.arrow,D=d&&Z?tX(Z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nw(),z=F[C],$=F[S],U=nE(0,w[N],D[N]),W=g?w[N]/2-L-U-z-j.mainAxis:P-U-z-j.mainAxis,H=g?-w[N]/2+L+U+$+j.mainAxis:M+U+$+j.mainAxis,G=t.elements.arrow&&t4(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=nE(d?tU(I,R+W-B-V):I,R,d?t$(A,R+H-B):A);b[v]=q,O[v]=q-R}if(void 0!==a&&a){var K,Y,Q="x"===v?"top":t7,J="x"===v?t5:t3,X=b[y],ee="y"===y?"height":"width",et=X+h[Q],en=X-h[J],er=-1!==["top",t7].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=nE(ea,X,eo))>eo?eo:K:nE(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=nl(r.placement),u=nc(l),c=[t7,t3].indexOf(l)>=0?"height":"width";if(o&&s){var d=nk("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:n_(t,t8)),f=tX(o),p="y"===u?"top":t7,h="y"===u?t5:t3,m=r.rects.reference[c]+r.rects.reference[u]-s[u]-r.rects.popper[c],x=s[u]-r.rects.reference[u],g=t4(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=nE(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)))&&nv(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=nj(t,{elementContext:"reference"}),s=nj(t,{altBoundary:!0}),l=nO(o,r),u=nO(s,i,a),c=nT(l),d=nT(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)?[]:v,w=void 0===(b=g.defaultOptions)?na:b,function(e,t,n){void 0===n&&(n=w);var r,i,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},na,w),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,l={state:a,setOptions:function(n){var r,i,s,c,d,f="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},w,a.options,f),a.scrollParents={reference:tD(e)?t1(e):e.contextElement?t1(e.contextElement):[],popper:t1(t)};var p=(i=Object.keys(r=[].concat(y,a.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]}),s=new Map,c=new Set,d=[],i.forEach(function(e){s.set(e.name,e)}),i.forEach(function(e){c.has(e.name)||function e(t){c.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!c.has(t)){var n=s.get(t);n&&e(n)}}),d.push(t)}(e)}),ni.reduce(function(e,t){return e.concat(d.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=p.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:l,options:void 0===n?{}:n});o.push(i||function(){})}}),l.update()},forceUpdate:function(){if(!s){var e,t,n,r,i,o,u,c,d,f,p,h,m=a.elements,x=m.reference,g=m.popper;if(no(x,g)){a.rects={reference:(t=t4(g),n="fixed"===a.options.strategy,r=tF(t),c=tF(t)&&(o=tW((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=tW(i.height)/t.offsetHeight||1,1!==o||1!==u),d=tK(t),f=tV(x,c,n),p={scrollLeft:0,scrollTop:0},h={x:0,y:0},(r||!r&&!n)&&(("body"!==tq(t)||tJ(d))&&(p=(e=t)!==tZ(e)&&tF(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:tB(e)),tF(t)?(h=tV(t,!0),h.x+=t.clientLeft,h.y+=t.clientTop):d&&(h.x=tY(d))),{x:f.left+p.scrollLeft-h.x,y:f.top+p.scrollTop-h.y,width:f.width,height:f.height}),popper:tX(g)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v=r))));t++);if(n)return a?n4(l,r,0):void(t[t.length]=l)}return!n&&l}function n4(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function n5(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function n3(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=n0(f,r,p),o="";switch(this.G){case"full":if(2a;s--)if(s-a>=this.B){var l=n0(f,r,p,i,a);n1(this,c,o=h.substring(a,s),l,e,n)}break}case"reverse":if(1=this.B&&n1(this,c,o,n0(f,r,p,i,s),e,n);o=""}case"forward":if(1=this.B&&n1(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,h,p)|0,f-1)),n1(this,c,h,a,e,n),d&&1=this.B&&!i[h]){i[h]=1;let t=this.l&&h>a;n1(this,u,t?a:h,n0(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},O.search=function(e,t,n){let r,i,a;n||(!t&&nL(e)?e=(n=e).query:nL(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=nR();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=nR(),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 nJ(e,t||this,n,o,r,i,s,a),l},O.import=function(e,t){if(t)switch(nA(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}},nV(nX.prototype);let n6=0;function n8(e){var t;if(!(this instanceof n8))return new n8(e);e?nP(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="+n7.toString()],{type:"text/javascript"}))):new Worker(nA(r)?r:"worker/worker.js",{type:"module"})}catch(e){}return i}(t,r,e.worker),this.h=nR(),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 n9(e){n8.prototype[e]=n8.prototype[e+"Async"]=function(){let t;let n=this,r=[].slice.call(arguments);var i=r[r.length-1];return nP(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++n6]=t,n.o.postMessage({task:e,id:n6,args:r})})}),t?(i.then(t),this):i}}function re(e){if(!(this instanceof re))return new re(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=nR(),this.key=(t=n.key||n.id)&&rt(t,this.A)||"id",this.m=nS(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&nR(),this.I=(t=n.tag)&&rt(t,this.A),this.l=t&&nR(),this.cache=(t=e.cache)&&new nK(t),e.cache=!1,this.o=e.worker,this.async=!1,t=nR();let r=n.index||n.field||n;nA(r)&&(r=[r]);for(let n=0,i,a;nt||n)&&(i=i.slice(n,n+t)),r&&(i=ri.call(this,i)),{tag:e,result:i}}function ri(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 rm=n(3),rx=n(2308),rg=n(1378),rv=n(5508),ry=n(2047),rb=n(1813),rw=n(8844);function rk(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&e.classList.add(...n)}function r_(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&e.classList.remove(...n)}let rj=(0,S.createContext)(null);rj.displayName="OpenClosedContext";var rE=((i=rE||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i);function rO(){return(0,S.useContext)(rj)}function rT(e){let{value:t,children:n}=e;return S.createElement(rj.Provider,{value:t},n)}var rC=n(5602),rS=n(8287);function rN(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/\s+/).filter(e=>e.length>1)}let rR=(0,S.createContext)(null);rR.displayName="TransitionContext";var rI=((a=rI||{}).Visible="visible",a.Hidden="hidden",a);let rA=(0,S.createContext)(null);function rL(e){return"children"in e?rL(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function rP(e,t){let n=(0,rv.E)(e),r=(0,S.useRef)([]),i=(0,rx.t)(),a=rh(),o=(0,rm.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rS.l4.Hidden,o=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==o&&((0,rw.E)(t,{[rS.l4.Unmount](){r.current.splice(o,1)},[rS.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!rL(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rm.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>o(e,rS.l4.Unmount)}),l=(0,S.useRef)([]),u=(0,S.useRef)(Promise.resolve()),c=(0,S.useRef)({enter:[],leave:[],idle:[]}),d=(0,rm.z)((e,n,r)=>{l.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==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=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,rm.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>n(t))});return(0,S.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function rM(){}rA.displayName="NestingContext";let rZ=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function rD(e){var t;let n={};for(let r of rZ)n[r]=null!=(t=e[r])?t:rM;return n}let rF=rS.AN.RenderStrategy,rz=(0,rS.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,S.useRef)(null),s=(0,rb.T)(o,t);(0,ry.H)();let l=rO();if(void 0===n&&null!==l&&(n=(l&rE.Open)===rE.Open),![!0,!1].includes(n))throw Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,S.useState)(n?"visible":"hidden"),d=rP(()=>{c("hidden")}),[f,p]=(0,S.useState)(!0),h=(0,S.useRef)([n]);(0,rg.e)(()=>{!1!==f&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))},[h,n]);let m=(0,S.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,S.useEffect)(()=>{if(n)c("visible");else if(rL(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,rm.z)(()=>{var t;f&&p(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rm.z)(()=>{var t;f&&p(!1),null==(t=e.beforeLeave)||t.call(e)});return S.createElement(rA.Provider,{value:d},S.createElement(rR.Provider,{value:m},(0,rS.sY)({ourProps:{...x,as:S.Fragment,children:S.createElement(r$,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:S.Fragment,features:rF,visible:"visible"===u,name:"Transition"})))}),r$=(0,rS.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,S.useRef)(null),y=(0,rb.T)(v,t),b=null==(n=g.unmount)||n?rS.l4.Unmount:rS.l4.Hidden,{show:w,appear:k,initial:_}=function(){let e=(0,S.useContext)(rR);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[j,E]=(0,S.useState)(w?"visible":"hidden"),O=function(){let e=(0,S.useContext)(rA);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:T,unregister:C}=O;(0,S.useEffect)(()=>T(v),[T,v]),(0,S.useEffect)(()=>{if(b===rS.l4.Hidden&&v.current){if(w&&"visible"!==j){E("visible");return}return(0,rw.E)(j,{hidden:()=>C(v),visible:()=>T(v)})}},[j,v,T,C,w,b]);let N=(0,rv.E)({base:rN(g.className),enter:rN(c),enterFrom:rN(d),enterTo:rN(f),entered:rN(p),leave:rN(h),leaveFrom:rN(m),leaveTo:rN(x)}),R=(i={beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u},a=(0,S.useRef)(rD(i)),(0,S.useEffect)(()=>{a.current=rD(i)},[i]),a),I=(0,ry.H)();(0,S.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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,S.useState)(e),r=(0,rx.t)(),i=(0,S.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,S.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,S.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,S.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),M=(0,rm.z)(e=>(0,rw.E)(e,{enter:()=>{P.addFlag(rE.Opening),R.current.beforeEnter()},leave:()=>{P.addFlag(rE.Closing),R.current.beforeLeave()},idle:()=>{}})),Z=(0,rm.z)(e=>(0,rw.E)(e,{enter:()=>{P.removeFlag(rE.Opening),R.current.afterEnter()},leave:()=>{P.removeFlag(rE.Closing),R.current.afterLeave()},idle:()=>{}})),D=rP(()=>{E("hidden"),C(v)},O),F=(0,S.useRef)(!1);!function(e){let{immediate:t,container:n,direction:r,classes:i,onStart:a,onStop:o}=e,s=(0,rx.t)(),l=rh(),u=(0,rv.E)(r);(0,rg.e)(()=>{t&&(u.current="enter")},[t]),(0,rg.e)(()=>{let e=(0,rp.k)();l.add(e.dispose);let t=n.current;if(t&&"idle"!==u.current&&s.current){var r,c,d;let n,s,l,f,p,h,m;return e.dispose(),a.current(u.current),e.add((r=i.current,c="enter"===u.current,d=()=>{e.dispose(),o.current(u.current)},s=c?"enter":"leave",l=(0,rp.k)(),f=void 0!==d?(n={called:!1},function(){for(var e=arguments.length,t=Array(e),r=0;r{},"enter"===s&&(t.removeAttribute("hidden"),t.style.display=""),p=(0,rw.E)(s,{enter:()=>r.enter,leave:()=>r.leave}),h=(0,rw.E)(s,{enter:()=>r.enterTo,leave:()=>r.leaveTo}),m=(0,rw.E)(s,{enter:()=>r.enterFrom,leave:()=>r.leaveFrom}),r_(t,...r.base,...r.enter,...r.enterTo,...r.enterFrom,...r.leave,...r.leaveFrom,...r.leaveTo,...r.entered),rk(t,...r.base,...p,...m),l.nextFrame(()=>{r_(t,...r.base,...p,...m),rk(t,...r.base,...p,...h),function(e,t){let n=(0,rp.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}(t,()=>(r_(t,...r.base,...p),rk(t,...r.base,...r.entered),f()))}),l.dispose)),e.dispose}},[r])}({immediate:A,container:v,classes:N,direction:L,onStart:(0,rv.E)(e=>{F.current=!0,D.onStart(v,e,M)}),onStop:(0,rv.E)(e=>{F.current=!1,D.onStop(v,e,Z),"leave"!==e||rL(D)||(E("hidden"),C(v))})});let z=g;return A?z={...z,className:(0,rC.A)(g.className,...N.current.enter,...N.current.enterFrom)}:F.current&&(z.className=(0,rC.A)(g.className,null==(r=v.current)?void 0:r.className),""===z.className&&delete z.className),S.createElement(rA.Provider,{value:D},S.createElement(rT,{value:(0,rw.E)(j,{visible:rE.Open,hidden:rE.Closed})|P.flags},(0,rS.sY)({ourProps:{ref:y},theirProps:z,defaultTag:"div",features:rF,visible:"visible"===j,name:"Transition.Child"})))}),rU=(0,rS.yV)(function(e,t){let n=null!==(0,S.useContext)(rR),r=null!==rO();return S.createElement(S.Fragment,null,!n&&r?S.createElement(rz,{ref:t,...e}):S.createElement(r$,{ref:t,...e}))}),rW=Object.assign(rz,{Child:rU,Root:rz});var rH=n(953);function rG(e,t){let[n,r]=(0,S.useState)(e),i=(0,rv.E)(e);return(0,rg.e)(()=>r(i.current),[i,r,...t]),n}var rV=n(4924),rB=n(8657);function rq(e,t,n){let r=(0,rv.E)(t);(0,S.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function rK(e,t){var n,r;let i,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=(0,S.useRef)(!1);function s(n,r){if(!o.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,rB.sP)(i,rB.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,S.useEffect)(()=>{requestAnimationFrame(()=>{o.current=a})},[a]);let l=(0,S.useRef)(null);rq("pointerdown",e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),rq("mousedown",e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),rq("click",e=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||l.current&&(s(e,()=>l.current),l.current=null)},!0),rq("touchend",e=>s(e,()=>e.target instanceof HTMLElement?e.target:null),!0),n="blur",r=e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),i=(0,rv.E)(r),(0,S.useEffect)(()=>{function e(e){i.current(e)}return window.addEventListener(n,e,!0),()=>window.removeEventListener(n,e,!0)},[n,!0])}var rY=n(961);let rQ=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function rJ(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 rQ.test(o)&&(o=o.replace(rQ,"")),o}function rX(e){let t=(0,S.useRef)(""),n=(0,S.useRef)("");return(0,rm.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():rJ(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return rJ(e).trim()})(r).trim().toLowerCase();return t.current=i,n.current=a,a})}function r0(e){return[e.screenX,e.screenY]}function r1(){let e=(0,S.useRef)([-1,-1]);return{wasMoved(t){let n=r0(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=r0(t)}}}var r2=n(7524);function r4(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 r5=((o=r5||{})[o.First=0]="First",o[o.Previous=1]="Previous",o[o.Next=2]="Next",o[o.Last=3]="Last",o[o.Specific=4]="Specific",o[o.Nothing=5]="Nothing",o);function r3(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;r1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,rB.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 ia={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=ii(e),i=r3(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=ii(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=ii(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})},io=(0,S.createContext)(null);function is(e){let t=(0,S.useContext)(io);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,is),t}return t}io.displayName="ListboxActionsContext";let il=(0,S.createContext)(null);function iu(e){let t=(0,S.useContext)(il);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,iu),t}return t}function ic(e,t){return(0,rw.E)(t.type,ia,e,t)}il.displayName="ListboxDataContext";let id=S.Fragment,ip=rS.AN.RenderStrategy|rS.AN.Static,ih=Object.assign((0,rS.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,rb.T)(t),[h=c?[]:void 0,m]=function(e,t,n){let[r,i]=(0,S.useState)(n),a=void 0!==e,o=(0,S.useRef)(a),s=(0,S.useRef)(!1),l=(0,S.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,rm.z)(e=>(a||i(e),null==t?void 0:t(e)))]}(n,o,r),[x,g]=(0,S.useReducer)(ic,{dataRef:(0,S.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,S.useRef)({static:!1,hold:!1}),y=(0,S.useRef)(null),b=(0,S.useRef)(null),w=(0,S.useRef)(null),k=(0,rm.z)("string"==typeof s?(e,t)=>(null==e?void 0:e[s])===(null==t?void 0:t[s]):s),_=(0,S.useCallback)(e=>(0,rw.E)(j.mode,{1:()=>h.some(t=>k(t,e)),0:()=>k(h,e)}),[h]),j=(0,S.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,rg.e)(()=>{x.dataRef.current=j},[j]),rK([j.buttonRef,j.optionsRef],(e,t)=>{var n;g({type:1}),(0,rB.sP)(t,rB.tJ.Loose)||(e.preventDefault(),null==(n=j.buttonRef.current)||n.focus())},0===j.listboxState);let E=(0,S.useMemo)(()=>({open:0===j.listboxState,disabled:l,value:h}),[j,l,h]),O=(0,rm.z)(e=>{let t=j.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),T=(0,rm.z)(()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];L(e.current.value),g({type:2,focus:r5.Specific,id:t})}}),C=(0,rm.z)(()=>g({type:0})),N=(0,rm.z)(()=>g({type:1})),R=(0,rm.z)((e,t,n)=>e===r5.Specific?g({type:2,focus:r5.Specific,id:t,trigger:n}):g({type:2,focus:e,trigger:n})),I=(0,rm.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rm.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rm.z)(e=>(0,rw.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,rm.z)(e=>g({type:3,value:e})),M=(0,rm.z)(()=>g({type:4})),Z=(0,S.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:R,closeListbox:N,openListbox:C,selectActiveOption:T,selectOption:O,search:P,clearSearch:M}),[]),D=(0,S.useRef)(null),F=rh();return(0,S.useEffect)(()=>{D.current&&void 0!==r&&F.addEventListener(D.current,"reset",()=>{null==m||m(r)})},[D,m]),S.createElement(io.Provider,{value:Z},S.createElement(il.Provider,{value:j},S.createElement(rT,{value:(0,rw.E)(j.listboxState,{0:rE.Open,1:rE.Closed})},null!=a&&null!=h&&(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];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,r7(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,"".concat(i)]):null==i?n.push([r,""]):e(i,r,n)}(r,r7(n,i),a);return r})({[a]:h}).map((e,t)=>{let[n,r]=e;return S.createElement(r2._,{features:r2.A.Hidden,ref:0===t?e=>{var t;D.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rS.oA)({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:n,value:r})})}),(0,rS.sY)({ourProps:{ref:p},theirProps:d,slot:E,defaultTag:id,name:"Listbox"}))))}),{Button:(0,rS.yV)(function(e,t){var n;let r=(0,rV.M)(),{id:i="headlessui-listbox-button-".concat(r),...a}=e,o=iu("Listbox.Button"),s=is("Listbox.Button"),l=(0,rb.T)(o.buttonRef,t),u=rh(),c=(0,rm.z)(e=>{switch(e.key){case r8.R.Space:case r8.R.Enter:case r8.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(r5.First)});break;case r8.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(r5.Last)})}}),d=(0,rm.z)(e=>{e.key===r8.R.Space&&e.preventDefault()}),f=(0,rm.z)(e=>{if(r4(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=rG(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),h=(0,S.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,rY.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,rS.sY)({ourProps:m,theirProps:a,slot:h,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,rS.yV)(function(e,t){let n=(0,rV.M)(),{id:r="headlessui-listbox-label-".concat(n),...i}=e,a=iu("Listbox.Label"),o=is("Listbox.Label"),s=(0,rb.T)(a.labelRef,t);(0,rg.e)(()=>o.registerLabel(r),[r]);let l=(0,rm.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,S.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rS.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,rS.yV)(function(e,t){var n;let r=(0,rV.M)(),{id:i="headlessui-listbox-options-".concat(r),...a}=e,o=iu("Listbox.Options"),s=is("Listbox.Options"),l=(0,rb.T)(o.optionsRef,t),u=rh(),c=rh(),d=rO(),f=null!==d?(d&rE.Open)===rE.Open:0===o.listboxState;(0,S.useEffect)(()=>{var e;let t=o.optionsRef.current;t&&0===o.listboxState&&t!==(null==(e=(0,r6.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let p=(0,rm.z)(e=>{switch(c.dispose(),e.key){case r8.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case r8.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,rp.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case(0,rw.E)(o.orientation,{vertical:r8.R.ArrowDown,horizontal:r8.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(r5.Next);case(0,rw.E)(o.orientation,{vertical:r8.R.ArrowUp,horizontal:r8.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(r5.Previous);case r8.R.Home:case r8.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(r5.First);case r8.R.End:case r8.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(r5.Last);case r8.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 r8.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),h=rG(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.id},[o.buttonRef.current]),m=(0,S.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,rS.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:"ul",features:ip,visible:f,name:"Listbox.Options"})}),Option:(0,rS.yV)(function(e,t){let n=(0,rV.M)(),{id:r="headlessui-listbox-option-".concat(n),disabled:i=!1,value:a,...o}=e,s=iu("Listbox.Option"),l=is("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,S.useRef)(null),f=rX(d),p=(0,rv.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),h=(0,rb.T)(t,d);(0,rg.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rp.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,rg.e)(()=>l.registerOption(r,p),[p,r]);let m=(0,rm.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rp.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),x=(0,rm.z)(()=>{if(i)return l.goToOption(r5.Nothing);l.goToOption(r5.Specific,r)}),g=r1(),v=(0,rm.z)(e=>g.update(e)),y=(0,rm.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(r5.Specific,r,0))}),b=(0,rm.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(r5.Nothing))}),w=(0,S.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rS.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 im=n(3935),ix=n(9008),ig=n.n(ix);function iv(){return(iv=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var ib=["keyOverride"],iw=["crossOrigin"],ik={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},i_=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(S.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(S.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(S.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(S.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(S.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(S.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(S.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(S.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},ij=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(ik.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,ik.templateTitle&&(s=ik.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(S.createElement("title",{key:"title"},s));var l=void 0===e.noindex?ik.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?ik.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c=e.norobots||ik.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&&(ik.norobots=!0),l||u?(e.dangerouslySetAllPagesToNoIndex&&(ik.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(ik.nofollow=!0),o.push(S.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+d}))):(!c||d)&&o.push(S.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+d})),e.description&&o.push(S.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(S.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(S.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(S.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(S.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(S.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(S.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(S.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(S.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(S.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(S.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(S.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(S.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(S.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(S.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(S.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(S.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(S.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(S.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(S.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(S.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(S.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(S.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(S.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(S.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(S.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(S.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(S.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(S.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(S.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(S.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(S.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(S.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(S.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(ik.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(ik.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,i_("image",e.openGraph.images,{defaultWidth:ik.defaultOpenGraphImageWidth,defaultHeight:ik.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(ik.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(ik.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,i_("video",e.openGraph.videos,{defaultWidth:ik.defaultOpenGraphVideoWidth,defaultHeight:ik.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,i_("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(S.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(S.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(S.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=iy(e,ib);o.push(S.createElement("meta",iv({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=iy(e,iw);o.push(S.createElement("link",iv({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),o},iE=function(e){return S.createElement(ig(),null,ij(e))},iO=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 S.createElement(S.Fragment,null,S.createElement(iE,{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 iT=((d=iT||{})[d.Open=0]="Open",d[d.Closed=1]="Closed",d),iC=((f=iC||{})[f.Pointer=0]="Pointer",f[f.Other=1]="Other",f),iS=((p=iS||{})[p.OpenMenu=0]="OpenMenu",p[p.CloseMenu=1]="CloseMenu",p[p.GoToItem=2]="GoToItem",p[p.Search=3]="Search",p[p.ClearSearch=4]="ClearSearch",p[p.RegisterItem=5]="RegisterItem",p[p.UnregisterItem=6]="UnregisterItem",p);function iN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,rB.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 iR={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=iN(e),i=r3(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=iN(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=iN(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},iI=(0,S.createContext)(null);function iA(e){let t=(0,S.useContext)(iI);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,iA),t}return t}function iL(e,t){return(0,rw.E)(t.type,iR,e,t)}iI.displayName="MenuContext";let iP=S.Fragment,iM=rS.AN.RenderStrategy|rS.AN.Static,iZ=S.Fragment,iD=Object.assign((0,rS.yV)(function(e,t){let{__demoMode:n=!1,...r}=e,i=(0,S.useReducer)(iL,{__demoMode:n,menuState:n?0:1,buttonRef:(0,S.createRef)(),itemsRef:(0,S.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rb.T)(t);rK([s,o],(e,t)=>{var n;l({type:1}),(0,rB.sP)(t,rB.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rm.z)(()=>{l({type:1})}),d=(0,S.useMemo)(()=>({open:0===a,close:c}),[a,c]);return S.createElement(iI.Provider,{value:i},S.createElement(rT,{value:(0,rw.E)(a,{0:rE.Open,1:rE.Closed})},(0,rS.sY)({ourProps:{ref:u},theirProps:r,slot:d,defaultTag:iP,name:"Menu"})))}),{Button:(0,rS.yV)(function(e,t){var n;let r=(0,rV.M)(),{id:i="headlessui-menu-button-".concat(r),...a}=e,[o,s]=iA("Menu.Button"),l=(0,rb.T)(o.buttonRef,t),u=rh(),c=(0,rm.z)(e=>{switch(e.key){case r8.R.Space:case r8.R.Enter:case r8.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:r5.First}));break;case r8.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:r5.Last}))}}),d=(0,rm.z)(e=>{e.key===r8.R.Space&&e.preventDefault()}),f=(0,rm.z)(t=>{if(r4(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,S.useMemo)(()=>({open:0===o.menuState}),[o]),h={ref:l,id:i,type:(0,rY.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,rS.sY)({ourProps:h,theirProps:a,slot:p,defaultTag:"button",name:"Menu.Button"})}),Items:(0,rS.yV)(function(e,t){var n,r;let i=(0,rV.M)(),{id:a="headlessui-menu-items-".concat(i),...o}=e,[s,l]=iA("Menu.Items"),u=(0,rb.T)(s.itemsRef,t),c=function(){for(var e=arguments.length,t=Array(e),n=0;n(0,r6.r)(...t),[...t])}(s.itemsRef),d=rh(),f=rO(),p=null!==f?(f&rE.Open)===rE.Open:0===s.menuState;(0,S.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(e){let{container:t,accept:n,walk:r,enabled:i=!0}=e,a=(0,S.useRef)(n),o=(0,S.useRef)(r);(0,S.useEffect)(()=>{a.current=n,o.current=r},[n,r]),(0,rg.e)(()=>{if(!t||!i)return;let e=(0,r6.r)(t);if(!e)return;let n=a.current,r=o.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)r(l.currentNode)},[t,i,a,o])}({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,rm.z)(e=>{var t,n;switch(d.dispose(),e.key){case r8.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case r8.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,rB.wI)(s.buttonRef.current);break;case r8.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r5.Next});case r8.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r5.Previous});case r8.R.Home:case r8.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r5.First});case r8.R.End:case r8.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r5.Last});case r8.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rp.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case r8.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rp.k)().nextFrame(()=>{(0,rB.EO)(s.buttonRef.current,e.shiftKey?rB.TO.Previous:rB.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rm.z)(e=>{e.key===r8.R.Space&&e.preventDefault()}),x=(0,S.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,rS.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:"div",features:iM,visible:p,name:"Menu.Items"})}),Item:(0,rS.yV)(function(e,t){let n=(0,rV.M)(),{id:r="headlessui-menu-item-".concat(n),disabled:i=!1,...a}=e,[o,s]=iA("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,S.useRef)(null),c=(0,rb.T)(t,u);(0,rg.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rp.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=rX(u),f=(0,S.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rg.e)(()=>{f.current.disabled=i},[f,i]),(0,rg.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let p=(0,rm.z)(()=>{s({type:1})}),h=(0,rm.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,rB.wI)(o.buttonRef.current)}),m=(0,rm.z)(()=>{if(i)return s({type:2,focus:r5.Nothing});s({type:2,focus:r5.Specific,id:r})}),x=r1(),g=(0,rm.z)(e=>x.update(e)),v=(0,rm.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:r5.Specific,id:r,trigger:0}))}),y=(0,rm.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:r5.Nothing}))}),b=(0,S.useMemo)(()=>({active:l,disabled:i,close:p}),[l,i,p]);return(0,rS.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:iZ,name:"Menu.Item"})})}),iF=e=>"object"==typeof e&&null!=e&&1===e.nodeType,iz=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i$=(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,iW=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},iH=(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(!iF(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],h=e;for(;iF(h)&&d(h);){if((h=iW(h))===f){p.push(h);break}null!=h&&h===document.body&&i$(h)&&!i$(document.documentElement)||null!=h&&i$(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?iU(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:iU(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?iU(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:iU(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},iG=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function iV(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(iH(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:a,left:o}of iH(e,iG(t))){let e=a-n.top+n.bottom,t=o-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}var iB=n(6826),iq=n.n(iB);let iK={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},iY=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function iQ(e,t,n){void 0===n&&(n={});let{keys:r,threshold:i=iK.MATCHES,baseSort:a=iY,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=iJ(u,t,s),f=a,{minRanking:p,maxRanking:h,threshold:m}=c;return d=iK.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:iK.NO_MATCH,keyIndex:-1,keyThreshold:s.threshold}):{rankedValue:a,rank:iJ(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 iJ(e,t,n){let r;return(e=iX(e,n),(t=iX(t,n)).length>e.length)?iK.NO_MATCH:e===t?iK.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?iK.EQUAL:e.startsWith(t)?iK.STARTS_WITH:e.includes(` ${t}`)?iK.WORD_STARTS_WITH:e.includes(t)?iK.CONTAINS:1===t.length?iK.NO_MATCH:(r="",e.split(" ").forEach(e=>{e.split("-").forEach(e=>{r+=e.substr(0,1)})}),r).includes(t)?iK.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let i=r,a=t.length;i-1))return iK.NO_MATCH;return function(e){let r=n/t.length;return iK.MATCHES+1/e*r}(r-a)}(e,t)}function iX(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=iq()(e)),e}iQ.rankings=iK;let i0={maxRanking:1/0,minRanking:-1/0};var i1=n(2154),i2=Object.defineProperty,i4=Object.defineProperties,i5=Object.getOwnPropertyDescriptors,i3=Object.getOwnPropertySymbols,i7=Object.prototype.hasOwnProperty,i6=Object.prototype.propertyIsEnumerable,i8=(e,t,n)=>t in e?i2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i9=(e,t)=>{for(var n in t||(t={}))i7.call(t,n)&&i8(e,n,t[n]);if(i3)for(var n of i3(t))i6.call(t,n)&&i8(e,n,t[n]);return e},ae=(e,t)=>i4(e,i5(t)),at=(e,t)=>{var n={};for(var r in e)i7.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&i3)for(var r of i3(e))0>t.indexOf(r)&&i6.call(e,r)&&(n[r]=e[r]);return n},an=(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())}),ar=(0,S.createContext)({}),ai=(0,S.createContext)(e=>e),aa=(0,S.createContext)(null),ao=new WeakMap,as=(0,S.createContext)(ao),al=()=>(0,S.useContext)(ar),au=()=>(0,S.useContext)(ai),ac=()=>(0,S.useContext)(aa),ad=()=>(0,S.useContext)(as),af=({children:e})=>{let[t,n]=(0,S.useState)({}),r=(0,S.useRef)(null);return on&&!r.current&&(r.current=new IntersectionObserver(e=>{n(t=>{let n=i9({},t);for(let t of e)if((null==t?void 0:t.rootBounds)&&ao.has(t.target)){let[e,r]=ao.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,tE.jsx)(ar.Provider,{value:t,children:(0,tE.jsx)(ai.Provider,{value:n,children:(0,tE.jsx)(as.Provider,{value:ao,children:(0,tE.jsx)(aa.Provider,{value:r.current,children:e})})})})},ap=(0,S.createContext)({menu:!1,setMenu:()=>!1}),ah=()=>(0,S.useContext)(ap),am=ap.Provider,ax=(0,S.createContext)(i9({title:"",frontMatter:{}},ou));function ag(){return(0,S.useContext)(ax)}var av=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,S.useState)(!1);T||(T=i9(i9({},ou),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&oc.includes(e)?i9(i9({},ou[e]),t):t]))));let a=ae(i9(ae(i9({},T),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tE.jsx)(tO.f,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tE.jsx)(ax.Provider,{value:a,children:(0,tE.jsx)(am,{value:{menu:r,setMenu:i},children:e})})})},ay=(0,S.createContext)(e=>e),ab=()=>(0,S.useContext)(ay),aw=ay.Provider,ak=Number("14.2.10".split(".")[0]),a_=(0,S.forwardRef)(function(e,t){var{href:n="",children:r,newWindow:i}=e,a=at(e,["href","children","newWindow"]);let o=ag();return i?(0,tE.jsxs)("a",ae(i9({ref:t,href:n,target:"_blank",rel:"noreferrer"},a),{children:[r,(0,tE.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):n?ak>12||o.newNextLinkBehavior?(0,tE.jsx)(tj(),ae(i9({ref:t,href:n},a),{children:r})):(0,tE.jsx)(tj(),{href:n,passHref:!0,children:(0,tE.jsx)("a",ae(i9({ref:t},a),{children:r}))}):(0,tE.jsx)("a",ae(i9({ref:t},a),{children:r}))});a_.displayName="Anchor";var aj=({repository:e="",title:t,labels:n})=>{let r=tM()(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 aE(e,t){return e?"function"!=typeof e?e:(0,tE.jsx)(e,i9({},t)):null}function aO(e,t={}){return("function"==typeof e?e(t):e)||""}function aT(){let{banner:e}=ag();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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tE.jsxs)("div",{className:(0,N.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,tE.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:aE(e.text)}),e.dismissible&&(0,tE.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,tE.jsx)(P.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function aC({activePath:e}){return(0,tE.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,tE.jsxs)(S.Fragment,{children:[n>0&&(0,tE.jsx)(P.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tE.jsx)("div",{className:(0,N.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,tE.jsx)(a_,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function aS({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,S.useRef)(null),a=(0,S.useRef)(null),o=(0,S.useRef)(0),s=(0,S.useRef)(n),l=(0,S.useRef)(!0);return(0,S.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,S.useEffect)(()=>{l.current=!1},[]),(0,tE.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,tE.jsx)("div",{ref:a,className:(0,N.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 aN=(0,S.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(" ","|"),"ig"),a=0,o=[];for(;(n=i.exec(e))&&0!==i.lastIndex;){let e=r.splice(0,n.index-a).join(""),t=r.splice(0,i.lastIndex-n.index).join("");o.push(e,(0,tE.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tE.jsxs)(tE.Fragment,{children:[o,r.join("")]})}),aR=(0,S.forwardRef)((e,t)=>{var{className:n,suffix:r}=e,i=at(e,["className","suffix"]);return(0,tE.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,tE.jsx)("input",i9({ref:t,spellCheck:!1,className:(0,N.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]})});aR.displayName="Input";var aI=["input","select","button","textarea"];function aA({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,S.useState)(!1),c=ag(),[d,f]=(0,S.useState)(0),p=(0,C.useRouter)(),{setMenu:h}=ah(),m=(0,S.useRef)(null),x=(0,S.useRef)(null),[g,v]=(0,S.useState)(!1),[y,b]=(0,S.useState)(!0);(0,S.useEffect)(()=>{f(0)},[n]),(0,S.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||aI.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,S.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),h(!1)},[r,h]),k=(0,S.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),_=(0,S.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=R(),E=l&&!!n,O=(0,tE.jsx)(rW,{show:j&&(!l||!!n),as:S.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,tE.jsx)("kbd",{className:(0,N.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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),T=(0,S.useCallback)(e=>{b("compositionend"===e.type)},[]);return(0,tE.jsxs)("div",{className:(0,N.Z)("nextra-search nx-relative md:nx-w-64",e),children:[E&&(0,tE.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tE.jsx)(aR,{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:aO(c.search.placeholder),onKeyDown:_,suffix:O}),(0,tE.jsx)(rW,{show:E,as:rW.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tE.jsx)("ul",{className:(0,N.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,tE.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,tE.jsx)(P.AV,{className:"nx-h-5 nx-w-5"}),aO(c.search.error)]}):a?(0,tE.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,tE.jsx)(P.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),aE(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tE.jsxs)(S.Fragment,{children:[t,(0,tE.jsx)("li",{className:(0,N.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,tE.jsx)(a_,{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)):aE(c.search.emptyResult)})})]})}var aL={},aP=new Map,aM=(e,t)=>{let n=e+"@"+t;if(aP.has(n))return aP.get(n);let r=aZ(e,t);return aP.set(n,r),r},aZ=(e,t)=>an(void 0,null,function*(){let n=yield fetch(`${e}/_next/static/chunks/nextra-data-${t}.json`),r=yield n.json(),i=new re({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),a=new re({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(i9({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]=aL[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,S.useCallback)(e=>an(this,null,function*(){if(e&&!aL[t]){i(!0);try{yield aM(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]);return(0,tE.jsx)(aA,{loading:r,error:a,value:u,onChange:e=>an(this,null,function*(){if(c(e),!r){if(!aL[t]){i(!0);try{yield aM(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 aF({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=function(e){let t=(0,S.useRef)(null),n=(0,S.useRef)(null),r=(0,S.useRef)(),i=(0,S.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=nC(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,S.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,tE.jsx)(ih,{value:t,onChange:n,children:({open:n})=>(0,tE.jsxs)(ih.Button,{ref:a,title:r,className:(0,N.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,tE.jsx)(az,{children:(0,tE.jsx)(rW,{ref:o,show:n,as:ih.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,tE.jsxs)(ih.Option,{value:e,className:({active:e})=>(0,N.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,tE.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tE.jsx)(P.nQ,{})})]},e.key))})})]})})}function az(e){return R()?(0,im.createPortal)(e.children,document.body):null}function a$({lite:e,className:t}){let n=ag(),{locale:r,asPath:i}=(0,C.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tE.jsx)(aF,{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,rH.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tE.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tE.jsx)(P.n9,{}),(0,tE.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function aU(){var e;let t=ag(),{resolvedTheme:n}=(0,tO.F)(),r=R(),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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)(iO,i9({title:t.title,description:d.description,canonical:d.canonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tE.jsxs)(ig(),{children:[t.faviconGlyph?(0,tE.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${t.faviconGlyph}`}):null,r?(0,tE.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tE.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tE.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tE.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 aW={link:(0,N.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,N.Z)("nx-inline nx-h-5 nx-shrink-0")},aH=({flatDirectories:e,currentIndex:t})=>{let n=ag().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,tE.jsxs)("div",{className:(0,N.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,tE.jsxs)(a_,{href:i.route,title:i.title,className:(0,N.Z)(aW.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tE.jsx)(P.LZ,{className:(0,N.Z)(aW.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tE.jsxs)(a_,{href:a.route,title:a.title,className:(0,N.Z)(aW.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,tE.jsx)(P.LZ,{className:(0,N.Z)(aW.icon,"rtl:nx-rotate-180")})]})]}):null},aG={link:(0,N.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,N.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,N.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function aV({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tE.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tE.jsxs)(iD,{children:[(0,tE.jsx)(iD.Button,{className:(0,N.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",aG.inactive),children:n}),(0,tE.jsx)(rW,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tE.jsx)(iD.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,tE.jsx)(iD.Item,{children:(0,tE.jsx)(a_,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,N.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 aB=Object.create(null),aq=(0,S.createContext)(null),aK=(0,S.createContext)(null),aY=(0,S.createContext)(0),aQ=(0,S.memo)(function(e){let t=(0,S.useContext)(aY);return(0,tE.jsx)(aY.Provider,{value:t+1,children:(0,tE.jsx)(aX,i9({},e))})}),aJ={link:(0,N.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,N.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,N.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,N.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,N.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 aX({item:e,anchors:t}){let[n]=A().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,S.useContext)(aq),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,S.useContext)(aY),{setMenu:l}=ah(),u=ag(),{theme:c}=e,d=void 0===aB[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s{u.sidebar.autoCollapse?i&&o?aB[e.route]=!0:delete aB[e.route]:(i||o)&&(aB[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]||ae(i9({name:n},"locale"in e&&{locale:e.locale}),{route:e.route+"/"+n});return i9(i9({},i),r)})}let p="withIndexPage"in e&&e.withIndexPage,h=p?a_:"button";return(0,tE.jsxs)("li",{className:(0,N.Z)({open:d,active:r}),children:[(0,tE.jsxs)(h,{href:p?e.route:void 0,className:(0,N.Z)("nx-items-center nx-justify-between nx-gap-2",!p&&"nx-text-left nx-w-full",aJ.link,r?aJ.active:aJ.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),p){r||n?aB[e.route]=!d:(aB[e.route]=!0,l(!1)),f({});return}r||(aB[e.route]=!d,f({}))},children:[aE(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tE.jsx)(P.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,N.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tE.jsx)(aS,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tE.jsx)(a2,{className:(0,N.Z)(aJ.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function a0({title:e}){let t=ag();return(0,tE.jsx)("li",{className:(0,N.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?aE(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tE.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function a1({item:e,anchors:t}){let n=A(),r=(0,S.useContext)(aK),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=al(),{setMenu:o}=ah(),s=ag();return"separator"===e.type?(0,tE.jsx)(a0,{title:e.title}):(0,tE.jsxs)("li",{className:(0,N.Z)(aJ.list,{active:i}),children:[(0,tE.jsx)(a_,{href:e.href||e.route,newWindow:e.newWindow,className:(0,N.Z)(aJ.link,i?aJ.active:aJ.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:aE(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tE.jsx)("ul",{className:(0,N.Z)(aJ.list,aJ.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tE.jsx)("li",{children:(0,tE.jsx)("a",{href:`#${e}`,className:(0,N.Z)(aJ.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?aJ.active:aJ.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function a2({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tE.jsx)("ul",{className:(0,N.Z)(aJ.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tE.jsx)(aQ,{item:e,anchors:t},e.name):(0,tE.jsx)(a1,{item:e,anchors:t},e.name):null)})}function a4({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPopover:r=!1,headings:i,includePlaceholder:a}){let o=ag(),{menu:s,setMenu:l}=ah(),u=(0,C.useRouter)(),[c,d]=(0,S.useState)(null),[f,p]=(0,S.useState)(!0),[h,m]=(0,S.useState)(!1),x=(0,S.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,S.useRef)(null),v=(0,S.useRef)(null),y=R();(0,S.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,S.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{iV(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,S.useEffect)(()=>{l(!1)},[u.asPath,l]);let b=o.i18n.length>0,w=o.darkMode||b||o.sidebar.toggleButton;return(0,tE.jsxs)(tE.Fragment,{children:[a&&r?(0,tE.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tE.jsx)("div",{className:(0,N.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,tE.jsxs)("aside",{className:(0,N.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,tE.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:aE(o.search.component,{directories:t})}),(0,tE.jsx)(aq.Provider,{value:c,children:(0,tE.jsx)(aK.Provider,{value:e=>{d(e)},children:(0,tE.jsxs)("div",{className:(0,N.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,tE.jsx)(aS,{isOpen:f,horizontal:!0,children:(0,tE.jsx)(a2,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),y&&window.innerWidth<768&&(0,tE.jsx)(a2,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),w&&(0,tE.jsxs)("div",{className:(0,N.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,N.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,tE.jsx)(a$,{lite:!f,className:(0,N.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tE.jsx)("div",{className:f&&!b?"nx-grow nx-flex nx-flex-col":"",children:aE(o.themeSwitch.component,{lite:!f||b})}),o.sidebar.toggleButton&&(0,tE.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,tE.jsx)(P.Qq,{isOpen:f})})]})]})]})}var a5="reach-skip-nav";(0,S.forwardRef)(function(e,t){var{className:n,id:r,label:i="Skip to content",styled:a}=e,o=at(e,["className","id","label","styled"]);let s=void 0===n?a?(0,N.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,tE.jsx)("a",ae(i9({},o),{ref:t,href:`#${r||a5}`,className:s,"data-reach-skip-link":"",children:i}))}).displayName="SkipNavLink";var a3=(0,S.forwardRef)(function(e,t){var{id:n}=e,r=at(e,["id"]);return(0,tE.jsx)("div",ae(i9({},r),{ref:t,id:n||a5}))});a3.displayName="SkipNavContent";var a7=tk.strictObject({light:tk.string(),dark:tk.string(),system:tk.string()});function a6(){window.scrollTo({top:0,behavior:"smooth"})}function a8({className:e}){let t=(0,S.useRef)(null);return(0,S.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,tE.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:a6,className:(0,N.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tE.jsx)(P.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var a9=(0,N.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 oe({className:e,directories:t}){let[n,r]=(0,S.useState)(""),i=(0,S.useMemo)(()=>n?iQ(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tE.jsx)(aN,{value:t,match:n})})):[],[n,t]);return(0,tE.jsx)(aA,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var ot="en-US",on="undefined"!=typeof window;function or(e){return"function"==typeof e}var oi=tk.array(tk.strictObject({direction:tk.enum(["ltr","rtl"]).optional(),locale:tk.string(),text:tk.string()})),oa=[function(e){return null==e||"string"==typeof e||or(e)||(0,S.isValidElement)(e)},{message:"Must be React.ReactNode or React.FC"}],oo=[or,{message:"Must be React.FC"}];tk.strictObject({banner:tk.strictObject({dismissible:tk.boolean(),key:tk.string(),text:tk.custom(...oa).optional()}),chat:tk.strictObject({icon:tk.custom(...oa),link:tk.string().startsWith("https://").optional()}),components:tk.record(tk.custom(...oo)).optional(),darkMode:tk.boolean(),direction:tk.enum(["ltr","rtl"]),docsRepositoryBase:tk.string().startsWith("https://"),editLink:tk.strictObject({component:tk.custom(...oo).or(tk.null()),text:tk.custom(...oa)}),faviconGlyph:tk.string().optional(),feedback:tk.strictObject({content:tk.custom(...oa),labels:tk.string(),useLink:tk.function().returns(tk.string())}),footer:tk.strictObject({component:tk.custom(...oa),text:tk.custom(...oa)}),gitTimestamp:tk.custom(...oa),head:tk.custom(...oa),i18n:oi,logo:tk.custom(...oa),logoLink:tk.boolean().or(tk.string()),main:tk.custom(...oo).optional(),navbar:tk.strictObject({component:tk.custom(...oa),extraContent:tk.custom(...oa).optional()}),navigation:tk.boolean().or(tk.strictObject({next:tk.boolean(),prev:tk.boolean()})),nextThemes:tk.strictObject({defaultTheme:tk.string(),forcedTheme:tk.string().optional(),storageKey:tk.string()}),notFound:tk.strictObject({content:tk.custom(...oa),labels:tk.string()}),primaryHue:tk.number().or(tk.strictObject({dark:tk.number(),light:tk.number()})),primarySaturation:tk.number().or(tk.strictObject({dark:tk.number(),light:tk.number()})),project:tk.strictObject({icon:tk.custom(...oa),link:tk.string().startsWith("https://").optional()}),search:tk.strictObject({component:tk.custom(...oa),emptyResult:tk.custom(...oa),error:tk.string().or(tk.function().returns(tk.string())),loading:tk.custom(...oa),placeholder:tk.string().or(tk.function().returns(tk.string()))}),serverSideError:tk.strictObject({content:tk.custom(...oa),labels:tk.string()}),sidebar:tk.strictObject({autoCollapse:tk.boolean().optional(),defaultMenuCollapseLevel:tk.number().min(1).int(),titleComponent:tk.custom(...oa),toggleButton:tk.boolean()}),themeSwitch:tk.strictObject({component:tk.custom(...oa),useOptions:a7.or(tk.function().returns(a7))}),toc:tk.strictObject({backToTop:tk.boolean(),component:tk.custom(...oa),extraContent:tk.custom(...oa),float:tk.boolean(),headingComponent:tk.custom(...oo).optional(),title:tk.custom(...oa)}),useNextSeoProps:tk.custom(or)}).deepPartial().extend({i18n:oi.optional()});var os={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},ol={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},ou={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)(P.D7,{}),(0,tE.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=ag(),n=tM()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}(t);return r?(0,tE.jsx)(a_,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=ag();return aj({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:function({menu:e}){let t=ag();return(0,tE.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,tE.jsxs)("div",{className:(0,N.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,tE.jsx)(a$,{}),t.darkMode&&aE(t.themeSwitch.component)]}),(0,tE.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tE.jsx)("div",{className:(0,N.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:aE(t.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=ot}=(0,C.useRouter)();return(0,tE.jsxs)(tE.Fragment,{children:["Last updated on"," ",(0,tE.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tE.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tE.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tE.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tE.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tE.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tE.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tE.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tE.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=ag(),r=A(),{menu:i,setMenu:a}=ah();return(0,tE.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,tE.jsx)("div",{className:(0,N.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,tE.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,tE.jsx)(a_,{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:aE(n.logo)}):(0,tE.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:aE(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type)return(0,tE.jsxs)(aV,{className:(0,N.Z)(aG.link,"nx-flex nx-gap-1",aG.inactive),menu:e,children:[e.title,(0,tE.jsx)(P.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,tE.jsxs)(a_,{href:t,className:(0,N.Z)(aG.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!n||e.newWindow?aG.inactive:aG.active),newWindow:e.newWindow,"aria-current":!e.newWindow&&n,children:[(0,tE.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:e.title}),(0,tE.jsx)("span",{className:"nx-invisible nx-font-medium",children:e.title})]},t)}),aE(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tE.jsx)(a_,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:aE(n.project.icon)}):null,n.chat.link?(0,tE.jsx)(a_,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:aE(n.chat.icon)}):null,aE(n.navbar.extraContent),(0,tE.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,tE.jsx)(P.Oq,{className:(0,N.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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)(P.fy,{}),(0,tE.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return ag().flexsearch?(0,tE.jsx)(aD,{className:e}):(0,tE.jsx)(oe,{className:e,directories:t})},emptyResult:(0,tE.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=ot}=(0,C.useRouter)(),n=e&&os[e]||os[t];return(0,tE.jsxs)(tE.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=ot}=(0,C.useRouter)(),n=e&&ol[e]||ol[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tE.jsx)(tE.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:function({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=(0,tO.F)(),a=R(),o=ag().themeSwitch,s=a&&"dark"===r?P.kL:P.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tE.jsx)(aF,{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,tE.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tE.jsx)(s,{}),(0,tE.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})},useOptions(){let{locale:e}=(0,C.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=al(),i=ag(),a=(0,S.useRef)(null),o=(0,S.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,S.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&iV(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tE.jsxs)("div",{ref:a,className:(0,N.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,tE.jsxs)(tE.Fragment,{children:[(0,tE.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:aE(i.toc.title)}),(0,tE.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tE.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tE.jsx)("a",{href:`#${e}`,className:(0,N.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,tE.jsxs)("div",{className:(0,N.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,tE.jsx)(a_,{className:a9,href:i.feedback.useLink(),newWindow:!0,children:aE(i.feedback.content)}):null,aE(i.editLink.component,{filePath:t,className:a9,children:aE(i.editLink.text)}),aE(i.toc.extraContent),i.toc.backToTop&&(0,tE.jsx)(a8,{className:a9})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},oc=Object.entries(ou).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,S.isValidElement)(t))return e}).filter(Boolean);if(on){let e;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function od(e){var{tag:t,context:n,children:r,id:i,className:a}=e,o=at(e,["tag","context","children","id","className"]);let s=au(),l=ad(),u=ac(),c=(0,S.useRef)(null);return(0,S.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=i9({},e);return delete t[i],t})}},[i,n,l,u,s]),(0,tE.jsxs)(t,ae(i9({className:"sr-only"===a?"nx-sr-only":(0,N.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,tE.jsx)("a",{href:`#${i}`,id:i,className:"subheading-anchor","aria-label":"Permalink for this section",ref:c})]}))}var of=e=>{let t=null,n=[];return S.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===oh){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==op&&"props"in e&&e.props){let n=of(e.props.children);t=n[0],a=(0,S.cloneElement)(e,ae(i9({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},op=e=>{var{children:t,open:n}=e,r=at(e,["children","open"]);let[i,a]=(0,S.useState)(!!n),[o,s]=of(t),[l,u]=(0,S.useState)(i);return(0,S.useEffect)(()=>{if(i)u(!0);else{let e=setTimeout(()=>u(i),500);return()=>clearTimeout(e)}},[i]),(0,tE.jsxs)("details",ae(i9(ae(i9({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,tE.jsx)(aw,{value:a,children:o}),(0,tE.jsx)(aS,{isOpen:i,children:s})]}))},oh=e=>{let t=ab();return(0,tE.jsx)("summary",ae(i9({className:(0,N.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)}}))},om=/https?:\/\//,ox=e=>{var{href:t="",className:n}=e,r=at(e,["href","className"]);return(0,tE.jsx)(a_,i9({href:t,newWindow:om.test(t),className:(0,N.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",n)},r))},og=e=>{var{href:t=""}=e,n=at(e,["href"]);return(0,tE.jsx)(a_,i9({href:t,newWindow:om.test(t)},n))},ov=({isRawLayout:e,components:t})=>{if(e)return{a:og};let n={index:0};return i9({h1:e=>(0,tE.jsx)("h1",i9({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,tE.jsx)(od,i9({tag:"h2",context:n},e)),h3:e=>(0,tE.jsx)(od,i9({tag:"h3",context:n},e)),h4:e=>(0,tE.jsx)(od,i9({tag:"h4",context:n},e)),h5:e=>(0,tE.jsx)(od,i9({tag:"h5",context:n},e)),h6:e=>(0,tE.jsx)(od,i9({tag:"h6",context:n},e)),ul:e=>(0,tE.jsx)("ul",i9({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),ol:e=>(0,tE.jsx)("ol",i9({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),li:e=>(0,tE.jsx)("li",i9({className:"nx-my-2"},e)),blockquote:e=>(0,tE.jsx)("blockquote",i9({className:(0,N.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,tE.jsx)("hr",i9({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:ox,table:e=>(0,tE.jsx)(i1.iA,i9({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tE.jsx)("p",i9({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:i1.Tr,th:i1.Th,td:i1.Td,details:op,summary:oh,pre:i1.SU,code:i1.EK},t)},oy={toc:(0,N.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,N.Z)("nx-w-full nx-break-words")},ob=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=ag(),s=R();if("raw"===e.layout)return(0,tE.jsx)("div",{className:oy.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tE.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:aE(o.gitTimestamp,{timestamp:l})}):(0,tE.jsx)("div",{className:"nx-mt-16"}),c=(0,tE.jsxs)(tE.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tE.jsx)("article",{className:(0,N.Z)(oy.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,tE.jsx)("article",{className:(0,N.Z)(oy.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,tE.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]})})},ow=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=ag(),{locale:s=ot,defaultLocale:l}=(0,C.useRouter)(),u=A(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:p,topLevelNavbarItems:h,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,S.useMemo)(()=>(function e({list:t,locale:n,defaultLocale:r,route:i,docsRoot:a="",underCurrentDocsRoot:o=!1,pageThemeContext:s=tT}){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||I.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=i9(i9({},f),n),b=!y.sidebar||"raw"===y.layout||"page"===c,w="page"!==c&&y.toc&&"default"===y.layout?(0,tE.jsx)("nav",{className:(0,N.Z)(oy.toc,"nx-px-4"),"aria-label":"table of contents",children:aE(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==y.layout&&"raw"!==y.layout&&(0,tE.jsx)("nav",{className:oy.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,tE.jsxs)("div",{dir:_,children:[(0,tE.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${_}')`}}),(0,tE.jsx)(aU,{}),(0,tE.jsx)(aT,{}),y.navbar&&aE(o.navbar.component,{flatDirectories:x,items:h}),(0,tE.jsx)("div",{className:(0,N.Z)("nx-mx-auto nx-flex","raw"!==y.layout&&"nx-max-w-[90rem]"),children:(0,tE.jsxs)(af,{children:[(0,tE.jsx)(a4,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:b,includePlaceholder:"default"===y.layout}),w,(0,tE.jsx)(a3,{}),(0,tE.jsx)(ob,{themeContext:y,breadcrumb:"page"!==c&&y.breadcrumb?(0,tE.jsx)(aC,{activePath:p}):null,timestamp:i,navigation:"page"!==c&&y.pagination?(0,tE.jsx)(aH,{flatDirectories:g,currentIndex:d}):null,children:(0,tE.jsx)(L.Z,{components:ov({isRawLayout:"raw"===y.layout,components:o.components}),children:a})})]})}),y.footer&&aE(o.footer.component,{menu:b})]})};function ok(e){var{children:t}=e,n=at(e,["children"]);return(0,tE.jsx)(av,{value:n,children:(0,tE.jsx)(ow,ae(i9({},n.pageOpts),{children:t}))})}},2154:function(e,t,n){"use strict";let r,i,a;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 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(933),v=n(3),y=n(4924),b=n(1378),w=n(5508),k=n(961),_=n(1813),j=n(2308),E=n(7524);function O(e){let{onFocus:t}=e,[n,r]=(0,p.useState)(!0),i=(0,j.t)();return n?p.createElement(E._,{as:"button",type:"button",features:E.A.Focusable,onFocus:e=>{e.preventDefault();let n,a=50;n=requestAnimationFrame(function e(){if(a--<=0){n&&cancelAnimationFrame(n);return}if(t()){if(cancelAnimationFrame(n),!i.current)return;r(!1);return}n=requestAnimationFrame(e)})}}):null}var T=n(8657),C=n(8844),S=n(1291),N=n(8961),R=n(8287);let I=p.createContext(null);function A(e){let{children:t}=e,n=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:n},t)}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){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],i=(0,T.z2)([...e.tabs,t.tab],e=>e.current),a=null!=(n=i.indexOf(r))?n:e.selectedIndex;return -1===a&&(a=e.selectedIndex),{...e,tabs:i,selectedIndex:a}},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)})},F=(0,p.createContext)(null);function z(e){let t=(0,p.useContext)(F);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,z),t}return t}F.displayName="TabsDataContext";let $=(0,p.createContext)(null);function U(e){let t=(0,p.useContext)($);if(null===t){let t=Error("<".concat(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-".concat(i),...o}=e,{orientation:s,activation:l,selectedIndex:u,tabs:c,panels:d}=z("Tab"),f=U("Tab"),h=z("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)(()=>({selected:E}),[E]),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,_.T)(t),[f,h]=(0,p.useReducer)(W,{selectedIndex:null!=o?o:n,tabs:[],panels:[]}),m=(0,p.useMemo)(()=>({selectedIndex:f.selectedIndex}),[f.selectedIndex]),x=(0,w.E)(a||(()=>{})),g=(0,w.E)(f.tabs),y=(0,p.useMemo)(()=>({orientation:l,activation:u,...f}),[l,u,f]),k=(0,v.z)(e=>(h({type:1,tab:e}),()=>h({type:2,tab:e}))),j=(0,v.z)(e=>(h({type:3,panel:e}),()=>h({type:4,panel:e}))),E=(0,v.z)(e=>{C.current!==e&&x.current(e),c||h({type:0,index:e})}),C=(0,w.E)(c?e.selectedIndex:f.selectedIndex),S=(0,p.useMemo)(()=>({registerTab:k,registerPanel:j,change:E}),[]);return(0,b.e)(()=>{h({type:0,index:null!=o?o:n})},[o]),(0,b.e)(()=>{if(void 0===C.current||f.tabs.length<=0)return;let e=(0,T.z2)(f.tabs,e=>e.current);e.some((e,t)=>f.tabs[t]!==e)&&E(e.indexOf(f.tabs[C.current]))}),p.createElement(A,null,p.createElement($.Provider,{value:S},p.createElement(F.Provider,{value:y},y.tabs.length<=0&&p.createElement(O,{onFocus:()=>{var e,t;for(let n of g.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:d},theirProps:s,slot:m,defaultTag:H,name:"Tabs"}))))}),List:(0,R.yV)(function(e,t){let{orientation:n,selectedIndex:r}=z("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}=z("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-".concat(o),tabIndex:l=0,...u}=e,{selectedIndex:c,tabs:d,panels:f}=z("Tab.Panel"),h=U("Tab.Panel"),m=(0,p.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>h.registerPanel(m),[h,m]);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(1864),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},2337:function(e){"use strict";e.exports=function(e,t){!0===t&&(t=0);var n="";if("string"==typeof e)try{n=new URL(e).protocol}catch(e){}else e&&e.constructor===URL&&(n=e.protocol);var r=n.split(/\:|\+/).filter(Boolean);return"number"==typeof t?r[t]:r}},6826:function(e){var t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ẻ:"e",ẽ:"e",ẹ:"e",ể:"e",ễ:"e",ệ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ỉ:"i",ị:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ỏ:"o",ọ:"o",ổ:"o",ỗ:"o",ộ:"o",ờ:"o",ở:"o",ỡ:"o",ớ:"o",ợ:"o",ù:"u",ú:"u",û:"u",ü:"u",ủ:"u",ụ:"u",ử:"u",ữ:"u",ự:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},n=Object.keys(t).join("|"),r=RegExp(n,"g"),i=RegExp(n,"");function a(e){return t[e]}var o=function(e){return e.replace(r,a)};e.exports=o,e.exports.has=function(e){return!!e.match(i)},e.exports.remove=o},3859:function(e){"use strict";e.exports=e=>{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"]},2746:function(e,t,n){n(5893)},512:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",i=arguments.length;na.O.nextId():null);return(0,o.e)(()=>{null===t&&n(a.O.nextId())},[t]),null!=t?""+t:void 0}},2308:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(7294),i=n(1378);function a(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},1378:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(7294),i=n(1830);let a=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},5508:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7294),i=n(1378);function a(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},961:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7294),i=n(1378);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}},2047:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r,i=n(7294),a=n(1830);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}},1813:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7294),i=n(3);let a=Symbol();function o(){for(var e=arguments.length,t=Array(e),n=0;n{o.current=t},[t]);let s=(0,i.z)(e=>{for(let t of o.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[a]))?void 0:s}},7524:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return a},_:function(){return o}});var i=n(8287),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),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"})})},5602:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},3580: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(){for(var e=arguments.length,t=Array(e),r=0;rcancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;rn.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;rclearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i{a.current&&t[0]()}),n.add(()=>{a.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(1291)},1830: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{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 document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}}let s=new o},8657:function(e,t,n){"use strict";let r,i,a,o,s;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 l=n(3580),u=n(8844),c=n(8961);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,c.r)(e))?void 0:t.body)&&(0,u.E)(n,{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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]: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){var n,r,i;let{sorted:a=!0,relativeTo:o=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?a?b(e):e:m(e);s.length>0&&u.length>1&&(u=u.filter(e=>!s.includes(e))),o=null!=o?o: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(o))-1;if(4&t)return Math.max(0,u.indexOf(o))+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!=(i=null==(r=null==(n=x)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&i&&x.select(),2}"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))},8844:function(e,t,n){"use strict";function r(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{E:function(){return r}})},1291: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}})},8961:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(1830);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}},8287:function(e,t,n){"use strict";let r,i;n.d(t,{AN:function(){return l},l4:function(){return u},oA:function(){return m},sY:function(){return c},yV:function(){return h}});var a=n(7294),o=n(5602),s=n(8844),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(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:a,visible:o=!0,name:l,mergeRefs:u}=e;u=null!=u?u:f;let c=p(n,t);if(o)return d(c,r,i,l,u);let h=null!=a?a:0;if(2&h){let{static:e=!1,...t}=c;if(e)return d(t,r,i,l,u)}if(1&h){let{unmount:e=!0,...t}=c;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},r,i,l,u)})}return d(c,r,i,l,u)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{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 <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(c).map(e=>" - ".concat(e)).join("\n"),"","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=>" - ".concat(e)).join("\n")].join("\n"));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;rnull==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function p(){for(var e=arguments.length,t=Array(e),n=0;n[e,void 0])));for(let e in i)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},7222:function(e,t,n){"use strict";n.d(t,{ZW:function(){return a},eZ:function(){return s},hV:function(){return l}});var r=n(1864),i=n(3454),a="en-US",o=i.cwd();r.join(o,"public");var s=Symbol.for("__nextra_internal__"),l=new Set(["/404","/500"])}}]); \ No newline at end of file diff --git a/_next/static/chunks/framework-49c6cecf1f6d5795.js b/_next/static/chunks/framework-49c6cecf1f6d5795.js new file mode 100644 index 0000000..fe3889f --- /dev/null +++ b/_next/static/chunks/framework-49c6cecf1f6d5795.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{4448:function(e,n,t){var r,l,a,u,o,i,s=t(7294),c=t(3840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t