diff --git a/public/404.html b/public/404.html index 4c4d813b..fe9bdc3e 100644 --- a/public/404.html +++ b/public/404.html @@ -1,4 +1,4 @@ -404 - Not Found
\ No newline at end of file + ){outline:none;box-shadow:none;}select::-ms-expand{display:none;}:root,:host{--chakra-vh:100vh;}@supports (height: -webkit-fill-available){:root,:host{--chakra-vh:-webkit-fill-available;}}@supports (height: -moz-fill-available){:root,:host{--chakra-vh:-moz-fill-available;}}@supports (height: 100dvh){:root,:host{--chakra-vh:100dvh;}}
\ No newline at end of file diff --git a/public/404/index.html b/public/404/index.html index 4c4d813b..fe9bdc3e 100644 --- a/public/404/index.html +++ b/public/404/index.html @@ -1,4 +1,4 @@ -404 - Not Found
\ No newline at end of file + ){outline:none;box-shadow:none;}select::-ms-expand{display:none;}:root,:host{--chakra-vh:100vh;}@supports (height: -webkit-fill-available){:root,:host{--chakra-vh:-webkit-fill-available;}}@supports (height: -moz-fill-available){:root,:host{--chakra-vh:-moz-fill-available;}}@supports (height: 100dvh){:root,:host{--chakra-vh:100dvh;}}
\ No newline at end of file diff --git a/public/_next/static/3YqboFE-3qK-ZXgEAT9u0/_buildManifest.js b/public/_next/static/3YqboFE-3qK-ZXgEAT9u0/_buildManifest.js deleted file mode 100644 index dda62e19..00000000 --- a/public/_next/static/3YqboFE-3qK-ZXgEAT9u0/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,a){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/pages/index-d111affd1d853c7c.js"],"/404":[s,"static/chunks/pages/404-82e148ce0118f5fc.js"],"/_error":["static/chunks/pages/_error-c0f32d61cbfb2ff4.js"],"/ejercicios":[s,a,"static/chunks/pages/ejercicios-d088da2791ee8d8b.js"],"/mini":[s,"static/chunks/pages/mini-f68ae0e02511be37.js"],"/proyectos":[s,a,"static/chunks/pages/proyectos-ec3339c7a2b6de73.js"],"/roadmap":[s,a,"static/chunks/pages/roadmap-1d8d2a74846d4301.js"],"/roadmap/ranking":[s,"static/chunks/pages/roadmap/ranking-0b302de66c5c2241.js"],sortedPages:["/","/404","/_app","/_error","/ejercicios","/mini","/proyectos","/roadmap","/roadmap/ranking"]}}("static/chunks/94346-f5aedccad0479e1c.js","static/chunks/44962-cbb388b6d3c086ef.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/public/_next/static/chunks/pages/404-82e148ce0118f5fc.js b/public/_next/static/chunks/pages/404-97e29c49e16820e3.js similarity index 72% rename from public/_next/static/chunks/pages/404-82e148ce0118f5fc.js rename to public/_next/static/chunks/pages/404-97e29c49e16820e3.js index 52dd4808..13d1bc93 100644 --- a/public/_next/static/chunks/pages/404-82e148ce0118f5fc.js +++ b/public/_next/static/chunks/pages/404-97e29c49e16820e3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92197],{20394:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/404",function(){return n(66367)}])},66367:function(t,e,n){"use strict";n.r(e),n.d(e,{Div_bd4c022a8f796682aa6392e9d4c102e9:function(){return C},Fragment_9017984ada32ffa55f5d2870ebd3c887:function(){return x},Toaster_6e6ebf8d7ce589d59b7d382fb7576edf:function(){return b},default:function(){return v}});var o=n(82729),r=n(35944),i=n(67294),c=n(48039),s=n(59654),a=n(52377),u=n(70917),d=n(64712),f=n(73954),l=n(12918),h=n.n(l),m=n(11163);let p=()=>{let[t,e]=(0,i.useState)(!1),n=(0,i.useRef)(!1),o=(0,m.useRouter)();return(0,i.useEffect)(()=>{o.isReady&&!n.current&&(n.current=!0,o.replace({pathname:window.location.pathname,query:window.location.search.slice(1)}).then(()=>{"/404"===o.pathname&&e(!0)}).catch(t=>{e(!0)}))},[o.isReady]),t};var g=n(9008),_=n.n(g);function Z(){let t=(0,o._)(["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]);return Z=function(){return t},t}function x(){let[t,e]=(0,i.useContext)(c.EventLoopContext);return(0,r.tZ)(i.Fragment,{children:(0,s.isTrue)(e.length>0)?(0,r.tZ)(i.Fragment,{children:(0,r.tZ)(a.Z,{css:{color:"crimson",zIndex:9999,position:"fixed",bottom:"33px",right:"33px",animation:w+" 1s infinite"},size:32})}):(0,r.tZ)(i.Fragment,{})})}function C(){let[t,e]=(0,i.useContext)(c.EventLoopContext);return(0,r.tZ)("div",{css:{position:"fixed",width:"100vw",height:"0"},title:"Connection Error: "+(e.length>0?e[e.length-1].message:""),children:(0,r.tZ)(x,{})})}let w=(0,u.keyframes)(Z());function b(){let{resolvedColorMode:t}=(0,i.useContext)(c.ColorModeContext);s.refs.__toast=d.Am;let[e,n]=(0,i.useContext)(c.EventLoopContext),o={description:"Check if server is reachable at "+(0,s.getBackendURL)(f.Ks).href,closeButton:!0,duration:12e4,id:"websocket-error"},[a,u]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{n.length>=2?a||d.Am.error("Cannot connect to server: ".concat(n.length>0?n[n.length-1].message:"","."),{...o,onDismiss:()=>u(!0)}):(d.Am.dismiss("websocket-error"),u(!1))},[n]),(0,r.tZ)(d.x7,{closeButton:!1,expand:!0,position:"bottom-right",richColors:!0,theme:t})}function v(){let t=p();return(0,r.BX)(i.Fragment,{children:[(0,r.BX)(i.Fragment,{children:[(0,r.tZ)(C,{}),(0,r.tZ)(b,{})]}),(0,r.tZ)(i.Fragment,{children:(0,s.isTrue)(t)?(0,r.tZ)(i.Fragment,{children:(0,r.tZ)(h(),{statusCode:404})}):(0,r.tZ)(i.Fragment,{})}),(0,r.BX)(_(),{children:[(0,r.tZ)("title",{children:"404 - Not Found"}),(0,r.tZ)("meta",{content:"The page was not found",name:"description"}),(0,r.tZ)("meta",{content:"favicon.ico",property:"og:image"})]})]})}},12918:function(t,e,n){t.exports=n(2111)}},function(t){t.O(0,[94346,92888,49774,40179],function(){return t(t.s=20394)}),_N_E=t.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92197],{20394:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/404",function(){return n(66367)}])},66367:function(t,e,n){"use strict";n.r(e),n.d(e,{Div_bd4c022a8f796682aa6392e9d4c102e9:function(){return w},Fragment_9017984ada32ffa55f5d2870ebd3c887:function(){return C},Toaster_6e6ebf8d7ce589d59b7d382fb7576edf:function(){return b},default:function(){return v}});var o=n(82729),r=n(35944),i=n(67294),c=n(48039),s=n(59654),a=n(52377),u=n(70917),d=n(64712),f=n(73954),l=n(12918),h=n.n(l),m=n(11163);let p=()=>{let[t,e]=(0,i.useState)(!1),n=(0,i.useRef)(!1),o=(0,m.useRouter)();return(0,i.useEffect)(()=>{o.isReady&&!n.current&&(n.current=!0,o.replace({pathname:window.location.pathname,query:window.location.search.slice(1)}).then(()=>{"/404"===o.pathname&&e(!0)}).catch(t=>{e(!0)}))},[o.isReady]),t};var g=n(9008),_=n.n(g);function Z(){let t=(0,o._)(["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"]);return Z=function(){return t},t}let x=(0,u.keyframes)(Z());function C(){let[t,e]=(0,i.useContext)(c.EventLoopContext);return(0,r.tZ)(i.Fragment,{children:(0,s.isTrue)(e.length>0)?(0,r.tZ)(i.Fragment,{children:(0,r.tZ)(a.Z,{css:{color:"crimson",zIndex:9999,position:"fixed",bottom:"33px",right:"33px",animation:x+" 1s infinite"},size:32})}):(0,r.tZ)(i.Fragment,{})})}function w(){let[t,e]=(0,i.useContext)(c.EventLoopContext);return(0,r.tZ)("div",{css:{position:"fixed",width:"100vw",height:"0"},title:"Connection Error: "+(e.length>0?e[e.length-1].message:""),children:(0,r.tZ)(C,{})})}function b(){let{resolvedColorMode:t}=(0,i.useContext)(c.ColorModeContext);s.refs.__toast=d.Am;let[e,n]=(0,i.useContext)(c.EventLoopContext),o={description:"Check if server is reachable at "+(0,s.getBackendURL)(f.Ks).href,closeButton:!0,duration:12e4,id:"websocket-error"},[a,u]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{n.length>=2?a||d.Am.error("Cannot connect to server: ".concat(n.length>0?n[n.length-1].message:"","."),{...o,onDismiss:()=>u(!0)}):(d.Am.dismiss("websocket-error"),u(!1))},[n]),(0,r.tZ)(d.x7,{closeButton:!1,expand:!0,position:"bottom-right",richColors:!0,theme:t})}function v(){let t=p();return(0,r.BX)(i.Fragment,{children:[(0,r.BX)(i.Fragment,{children:[(0,r.tZ)(w,{}),(0,r.tZ)(b,{})]}),(0,r.tZ)(i.Fragment,{children:(0,s.isTrue)(t)?(0,r.tZ)(i.Fragment,{children:(0,r.tZ)(h(),{statusCode:404})}):(0,r.tZ)(i.Fragment,{})}),(0,r.BX)(_(),{children:[(0,r.tZ)("title",{children:"404 - Not Found"}),(0,r.tZ)("meta",{content:"The page was not found",name:"description"}),(0,r.tZ)("meta",{content:"favicon.ico",property:"og:image"})]})]})}},12918:function(t,e,n){t.exports=n(2111)}},function(t){t.O(0,[94346,92888,49774,40179],function(){return t(t.s=20394)}),_N_E=t.O()}]); \ No newline at end of file diff --git a/public/_next/static/chunks/pages/_app-5f6205553d57ac7f.js b/public/_next/static/chunks/pages/_app-29d46bb2c957f4d7.js similarity index 99% rename from public/_next/static/chunks/pages/_app-5f6205553d57ac7f.js rename to public/_next/static/chunks/pages/_app-29d46bb2c957f4d7.js index 0d5ea9d6..a4c32eea 100644 --- a/public/_next/static/chunks/pages/_app-5f6205553d57ac7f.js +++ b/public/_next/static/chunks/pages/_app-29d46bb2c957f4d7.js @@ -291,7 +291,7 @@ transparent 0%, ${tq(r,a)} 50%, transparent 100% - )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}}),rO=(0,$.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),rL=(0,$.k0)(e=>({bg:ty("gray.100","whiteAlpha.300")(e)})),rI=(0,$.k0)(e=>({transitionProperty:"common",transitionDuration:"slow",...rM(e)})),rz=rj(e=>({label:rO,filledTrack:rI(e),track:rL(e)})),r$=rB({sizes:{xs:rj({track:{h:"1"}}),sm:rj({track:{h:"2"}}),md:rj({track:{h:"3"}}),lg:rj({track:{h:"4"}})},baseStyle:rz,defaultProps:{size:"md",colorScheme:"blue"}}),rV=e=>"function"==typeof e;function rU(e,...t){return rV(e)?e(...t):e}var{definePartsStyle:rW,defineMultiStyleConfig:rH}=(0,$.D)(eP.keys),rq=(0,$.gJ)("checkbox-size"),rG=(0,$.k0)(e=>{let{colorScheme:t}=e;return{w:rq.reference,h:rq.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:ty(`${t}.500`,`${t}.200`)(e),borderColor:ty(`${t}.500`,`${t}.200`)(e),color:ty("white","gray.900")(e),_hover:{bg:ty(`${t}.600`,`${t}.300`)(e),borderColor:ty(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:ty("gray.200","transparent")(e),bg:ty("gray.200","whiteAlpha.300")(e),color:ty("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:ty(`${t}.500`,`${t}.200`)(e),borderColor:ty(`${t}.500`,`${t}.200`)(e),color:ty("white","gray.900")(e)},_disabled:{bg:ty("gray.100","whiteAlpha.100")(e),borderColor:ty("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:ty("red.500","red.300")(e)}}}),rK=(0,$.k0)({_disabled:{cursor:"not-allowed"}}),rZ=(0,$.k0)({userSelect:"none",_disabled:{opacity:.4}}),rY=(0,$.k0)({transitionProperty:"transform",transitionDuration:"normal"}),rX=rH({baseStyle:rW(e=>({icon:rY,container:rK,control:rU(rG,e),label:rZ})),sizes:{sm:rW({control:{[rq.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:rW({control:{[rq.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:rW({control:{[rq.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rJ,definePartsStyle:rQ}=(0,$.D)(eH.keys),r0=(0,$.k0)(e=>{var t;let r=null==(t=rU(rX.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),r1=rJ({baseStyle:rQ(e=>{var t,r,n,o;return{label:null==(r=(t=rX).baseStyle)?void 0:r.call(t,e).label,container:null==(o=(n=rX).baseStyle)?void 0:o.call(n,e).container,control:r0(e)}}),sizes:{md:rQ({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:rQ({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:rQ({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:r2,definePartsStyle:r5}=(0,$.D)(eq.keys),r9=(0,$.gJ)("select-bg"),r8=r5({field:(0,$.k0)({...null==(h=rD.baseStyle)?void 0:h.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:r9.reference,[r9.variable]:"colors.white",_dark:{[r9.variable]:"colors.gray.700"},"> option, > optgroup":{bg:r9.reference}}),icon:(0,$.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),r3=(0,$.k0)({paddingInlineEnd:"8"}),r4=r2({baseStyle:r8,sizes:{lg:{...null==(m=rD.sizes)?void 0:m.lg,field:{...null==(g=rD.sizes)?void 0:g.lg.field,...r3}},md:{...null==(v=rD.sizes)?void 0:v.md,field:{...null==(y=rD.sizes)?void 0:y.md.field,...r3}},sm:{...null==(b=rD.sizes)?void 0:b.sm,field:{...null==(w=rD.sizes)?void 0:w.sm.field,...r3}},xs:{...null==(C=rD.sizes)?void 0:C.xs,field:{...null==(x=rD.sizes)?void 0:x.xs.field,...r3},icon:{insetEnd:"1"}}},variants:rD.variants,defaultProps:rD.defaultProps}),r6=(0,$.gJ)("skeleton-start-color"),r7=(0,$.gJ)("skeleton-end-color"),ne=(0,$.k0)({[r6.variable]:"colors.gray.100",[r7.variable]:"colors.gray.400",_dark:{[r6.variable]:"colors.gray.800",[r7.variable]:"colors.gray.600"},background:r6.reference,borderColor:r7.reference,opacity:.7,borderRadius:"sm"}),nt=(0,$.fj)({baseStyle:ne}),nr=(0,$.gJ)("skip-link-bg"),nn=(0,$.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[nr.variable]:"colors.white",_dark:{[nr.variable]:"colors.gray.700"},bg:nr.reference}}),no=(0,$.fj)({baseStyle:nn}),{defineMultiStyleConfig:ni,definePartsStyle:na}=(0,$.D)(eG.keys),ns=(0,$.gJ)("slider-thumb-size"),nl=(0,$.gJ)("slider-track-size"),nu=(0,$.gJ)("slider-bg"),nc=(0,$.k0)(e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...tb({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),nd=(0,$.k0)(e=>({...tb({orientation:e.orientation,horizontal:{h:nl.reference},vertical:{w:nl.reference}}),overflow:"hidden",borderRadius:"sm",[nu.variable]:"colors.gray.200",_dark:{[nu.variable]:"colors.whiteAlpha.200"},_disabled:{[nu.variable]:"colors.gray.300",_dark:{[nu.variable]:"colors.whiteAlpha.300"}},bg:nu.reference})),nf=(0,$.k0)(e=>{let{orientation:t}=e;return{...tb({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:ns.reference,h:ns.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),np=(0,$.k0)(e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[nu.variable]:`colors.${t}.500`,_dark:{[nu.variable]:`colors.${t}.200`},bg:nu.reference}}),nh=ni({baseStyle:na(e=>({container:nc(e),track:nd(e),thumb:nf(e),filledTrack:np(e)})),sizes:{lg:na({container:{[ns.variable]:"sizes.4",[nl.variable]:"sizes.1"}}),md:na({container:{[ns.variable]:"sizes.3.5",[nl.variable]:"sizes.1"}}),sm:na({container:{[ns.variable]:"sizes.2.5",[nl.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),nm=e3("spinner-size"),ng=(0,$.k0)({width:[nm.reference],height:[nm.reference]}),nv={xs:(0,$.k0)({[nm.variable]:"sizes.3"}),sm:(0,$.k0)({[nm.variable]:"sizes.4"}),md:(0,$.k0)({[nm.variable]:"sizes.6"}),lg:(0,$.k0)({[nm.variable]:"sizes.8"}),xl:(0,$.k0)({[nm.variable]:"sizes.12"})},ny=(0,$.fj)({baseStyle:ng,sizes:nv,defaultProps:{size:"md"}}),{defineMultiStyleConfig:nb,definePartsStyle:nw}=(0,$.D)(eK.keys),nC=nb({baseStyle:nw({container:{},label:(0,$.k0)({fontWeight:"medium"}),helpText:(0,$.k0)({opacity:.8,marginBottom:"2"}),number:(0,$.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,$.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:nw({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),nx=(0,$.gJ)("kbd-bg"),nE=(0,$.k0)({[nx.variable]:"colors.gray.100",_dark:{[nx.variable]:"colors.whiteAlpha.100"},bg:nx.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),nD=(0,$.fj)({baseStyle:nE}),nS=(0,$.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),nk=(0,$.fj)({baseStyle:nS}),{defineMultiStyleConfig:nA,definePartsStyle:nR}=(0,$.D)(eI.keys),n_=nA({baseStyle:nR({icon:(0,$.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:nF,definePartsStyle:nT}=(0,$.D)(ez.keys),nN=(0,$.gJ)("menu-bg"),nP=(0,$.gJ)("menu-shadow"),nB=(0,$.k0)({[nN.variable]:"#fff",[nP.variable]:"shadows.sm",_dark:{[nN.variable]:"colors.gray.700",[nP.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:nN.reference,boxShadow:nP.reference}),nj=(0,$.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[nN.variable]:"colors.gray.100",_dark:{[nN.variable]:"colors.whiteAlpha.100"}},_active:{[nN.variable]:"colors.gray.200",_dark:{[nN.variable]:"colors.whiteAlpha.200"}},_expanded:{[nN.variable]:"colors.gray.100",_dark:{[nN.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:nN.reference}),nM=(0,$.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),nO=(0,$.k0)({opacity:.6}),nL=(0,$.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),nI=nF({baseStyle:nT({button:(0,$.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:nB,item:nj,groupTitle:nM,command:nO,divider:nL})}),{defineMultiStyleConfig:nz,definePartsStyle:n$}=(0,$.D)(e$.keys),nV=(0,$.gJ)("modal-bg"),nU=(0,$.gJ)("modal-shadow"),nW=(0,$.k0)({bg:"blackAlpha.600",zIndex:"modal"}),nH=(0,$.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),nq=(0,$.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[nV.variable]:"colors.white",[nU.variable]:"shadows.lg",_dark:{[nV.variable]:"colors.gray.700",[nU.variable]:"shadows.dark-lg"},bg:nV.reference,boxShadow:nU.reference}}),nG=(0,$.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),nK=(0,$.k0)({position:"absolute",top:"2",insetEnd:"3"}),nZ=(0,$.k0)(e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}}),nY=(0,$.k0)({px:"6",py:"4"});function nX(e){return"full"===e?n$({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):n$({dialog:{maxW:e}})}var nJ=nz({baseStyle:n$(e=>({overlay:nW,dialogContainer:rU(nH,e),dialog:rU(nq,e),header:nG,closeButton:nK,body:rU(nZ,e),footer:nY})),sizes:{xs:nX("xs"),sm:nX("sm"),md:nX("md"),lg:nX("lg"),xl:nX("xl"),"2xl":nX("2xl"),"3xl":nX("3xl"),"4xl":nX("4xl"),"5xl":nX("5xl"),"6xl":nX("6xl"),full:nX("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:nQ,definePartsStyle:n0}=(0,$.D)(eV.keys),n1=e3("number-input-stepper-width"),n2=e3("number-input-input-padding"),n5=ta(n1).add("0.5rem").toString(),n9=e3("number-input-bg"),n8=e3("number-input-color"),n3=e3("number-input-border-color"),n4=(0,$.k0)({[n1.variable]:"sizes.6",[n2.variable]:n5}),n6=(0,$.k0)(e=>{var t,r;return null!=(r=null==(t=rU(rD.baseStyle,e))?void 0:t.field)?r:{}}),n7=(0,$.k0)({width:n1.reference}),oe=(0,$.k0)({borderStart:"1px solid",borderStartColor:n3.reference,color:n8.reference,bg:n9.reference,[n8.variable]:"colors.chakra-body-text",[n3.variable]:"colors.chakra-border-color",_dark:{[n8.variable]:"colors.whiteAlpha.800",[n3.variable]:"colors.whiteAlpha.300"},_active:{[n9.variable]:"colors.gray.200",_dark:{[n9.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function ot(e){var t,r,n;let o=null==(t=rD.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=o.field)?void 0:r.fontSize)?n:"md",s=eh.fontSizes[a];return n0({field:{...o.field,paddingInlineEnd:n2.reference,verticalAlign:"top"},stepper:{fontSize:ta(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var or=nQ({baseStyle:n0(e=>{var t;return{root:n4,field:null!=(t=rU(n6,e))?t:{},stepperGroup:n7,stepper:oe}}),sizes:{xs:ot("xs"),sm:ot("sm"),md:ot("md"),lg:ot("lg")},variants:rD.variants,defaultProps:rD.defaultProps}),on=(0,$.k0)({...null==(E=rD.baseStyle)?void 0:E.field,textAlign:"center"}),oo={lg:(0,$.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,$.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,$.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,$.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},oi={outline:(0,$.k0)(e=>{var t,r,n;return null!=(n=null==(r=rU(null==(t=rD.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}}),flushed:(0,$.k0)(e=>{var t,r,n;return null!=(n=null==(r=rU(null==(t=rD.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}}),filled:(0,$.k0)(e=>{var t,r,n;return null!=(n=null==(r=rU(null==(t=rD.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}}),unstyled:null!=(S=null==(D=rD.variants)?void 0:D.unstyled.field)?S:{}},oa=(0,$.fj)({baseStyle:on,sizes:oo,variants:oi,defaultProps:rD.defaultProps}),{defineMultiStyleConfig:os,definePartsStyle:ol}=(0,$.D)(eU.keys),ou=e3("popper-bg"),oc=e3("popper-arrow-bg"),od=e3("popper-arrow-shadow-color"),of=os({baseStyle:ol({popper:(0,$.k0)({zIndex:10}),content:(0,$.k0)({[ou.variable]:"colors.white",bg:ou.reference,[oc.variable]:ou.reference,[od.variable]:"colors.gray.200",_dark:{[ou.variable]:"colors.gray.700",[od.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,$.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,$.k0)({px:3,py:2}),footer:(0,$.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,$.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:op,defineMultiStyleConfig:oh}=(0,$.D)(eB.keys),om=(0,$.gJ)("drawer-bg"),og=(0,$.gJ)("drawer-box-shadow");function ov(e){return"full"===e?op({dialog:{maxW:"100vw",h:"100vh"}}):op({dialog:{maxW:e}})}var oy=(0,$.k0)({bg:"blackAlpha.600",zIndex:"overlay"}),ob=(0,$.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),ow=(0,$.k0)(e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[om.variable]:"colors.white",[og.variable]:"shadows.lg",_dark:{[om.variable]:"colors.gray.700",[og.variable]:"shadows.dark-lg"},bg:om.reference,boxShadow:og.reference}}),oC=(0,$.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),ox=(0,$.k0)({position:"absolute",top:"2",insetEnd:"3"}),oE=(0,$.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),oD=(0,$.k0)({px:"6",py:"4"}),oS=oh({baseStyle:op(e=>({overlay:oy,dialogContainer:ob,dialog:rU(ow,e),header:oC,closeButton:ox,body:oE,footer:oD})),sizes:{xs:ov("xs"),sm:ov("md"),md:ov("lg"),lg:ov("2xl"),xl:ov("4xl"),full:ov("full")},defaultProps:{size:"xs"}}),{definePartsStyle:ok,defineMultiStyleConfig:oA}=(0,$.D)(ej.keys),oR=oA({baseStyle:ok({preview:(0,$.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,$.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,$.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:o_,defineMultiStyleConfig:oF}=(0,$.D)(eM.keys),oT=(0,$.gJ)("form-control-color"),oN=oF({baseStyle:o_({container:{width:"100%",position:"relative"},requiredIndicator:(0,$.k0)({marginStart:"1",[oT.variable]:"colors.red.500",_dark:{[oT.variable]:"colors.red.300"},color:oT.reference}),helperText:(0,$.k0)({mt:"2",[oT.variable]:"colors.gray.600",_dark:{[oT.variable]:"colors.whiteAlpha.600"},color:oT.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:oP,defineMultiStyleConfig:oB}=(0,$.D)(eO.keys),oj=(0,$.gJ)("form-error-color"),oM=oB({baseStyle:oP({text:(0,$.k0)({[oj.variable]:"colors.red.500",_dark:{[oj.variable]:"colors.red.300"},color:oj.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,$.k0)({marginEnd:"0.5em",[oj.variable]:"colors.red.500",_dark:{[oj.variable]:"colors.red.300"},color:oj.reference})})}),oO=(0,$.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),oL=(0,$.fj)({baseStyle:oO}),oI=(0,$.k0)({fontFamily:"heading",fontWeight:"bold"}),oz={"4xl":(0,$.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,$.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,$.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,$.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,$.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,$.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,$.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,$.k0)({fontSize:"sm",lineHeight:1.2})},o$=(0,$.fj)({baseStyle:oI,sizes:oz,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:oV,definePartsStyle:oU}=(0,$.D)(eN.keys),oW=(0,$.gJ)("breadcrumb-link-decor"),oH=oV({baseStyle:oU({link:(0,$.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:oW.reference,[oW.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[oW.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),oq=(0,$.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),oG=(0,$.k0)(e=>{let{colorScheme:t,theme:r}=e;if("gray"===t)return{color:ty("inherit","whiteAlpha.900")(e),_hover:{bg:ty("gray.100","whiteAlpha.200")(e)},_active:{bg:ty("gray.200","whiteAlpha.300")(e)}};let n=tY(`${t}.200`,.12)(r),o=tY(`${t}.200`,.24)(r);return{color:ty(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:ty(`${t}.50`,n)(e)},_active:{bg:ty(`${t}.100`,o)(e)}}}),oK=(0,$.k0)(e=>{let{colorScheme:t}=e,r=ty("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...rU(oG,e)}}),oZ={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},oY={ghost:oG,outline:oK,solid:(0,$.k0)(e=>{var t;let{colorScheme:r}=e;if("gray"===r){let t=ty("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:ty("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:ty("gray.300","whiteAlpha.400")(e)}}}let{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=oZ[r])?t:{},s=ty(n,`${r}.200`)(e);return{bg:s,color:ty(o,"gray.800")(e),_hover:{bg:ty(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:ty(a,`${r}.400`)(e)}}}),link:(0,$.k0)(e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:ty(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:ty(`${t}.700`,`${t}.500`)(e)}}}),unstyled:(0,$.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"})},oX={lg:(0,$.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,$.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,$.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,$.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},oJ=(0,$.fj)({baseStyle:oq,variants:oY,sizes:oX,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:oQ,defineMultiStyleConfig:o0}=(0,$.D)(eQ.keys),o1=(0,$.gJ)("card-bg"),o2=(0,$.gJ)("card-padding"),o5=(0,$.gJ)("card-shadow"),o9=(0,$.gJ)("card-radius"),o8=(0,$.gJ)("card-border-width","0"),o3=(0,$.gJ)("card-border-color"),o4=oQ({container:{[o1.variable]:"colors.chakra-body-bg",backgroundColor:o1.reference,boxShadow:o5.reference,borderRadius:o9.reference,color:"chakra-body-text",borderWidth:o8.reference,borderColor:o3.reference},body:{padding:o2.reference,flex:"1 1 0%"},header:{padding:o2.reference},footer:{padding:o2.reference}}),o6={sm:oQ({container:{[o9.variable]:"radii.base",[o2.variable]:"space.3"}}),md:oQ({container:{[o9.variable]:"radii.md",[o2.variable]:"space.5"}}),lg:oQ({container:{[o9.variable]:"radii.xl",[o2.variable]:"space.7"}})},o7=o0({baseStyle:o4,variants:{elevated:oQ({container:{[o5.variable]:"shadows.base",_dark:{[o1.variable]:"colors.gray.700"}}}),outline:oQ({container:{[o8.variable]:"1px",[o3.variable]:"colors.chakra-border-color"}}),filled:oQ({container:{[o1.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[o2.variable]:0},header:{[o2.variable]:0},footer:{[o2.variable]:0}}},sizes:o6,defaultProps:{variant:"elevated",size:"md"}}),ie=e3("close-button-size"),it=e3("close-button-bg"),ir=(0,$.k0)({w:[ie.reference],h:[ie.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[it.variable]:"colors.blackAlpha.100",_dark:{[it.variable]:"colors.whiteAlpha.100"}},_active:{[it.variable]:"colors.blackAlpha.200",_dark:{[it.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:it.reference}),io={lg:(0,$.k0)({[ie.variable]:"sizes.10",fontSize:"md"}),md:(0,$.k0)({[ie.variable]:"sizes.8",fontSize:"xs"}),sm:(0,$.k0)({[ie.variable]:"sizes.6",fontSize:"2xs"})},ii=(0,$.fj)({baseStyle:ir,sizes:io,defaultProps:{size:"md"}}),{variants:ia,defaultProps:is}=ra,il=(0,$.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:rn.bg.reference,color:rn.color.reference,boxShadow:rn.shadow.reference}),iu=(0,$.fj)({baseStyle:il,variants:ia,defaultProps:is}),ic=(0,$.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),id=(0,$.fj)({baseStyle:ic}),ip=(0,$.k0)({opacity:.6,borderColor:"inherit"}),ih={solid:(0,$.k0)({borderStyle:"solid"}),dashed:(0,$.k0)({borderStyle:"dashed"})},im=(0,$.fj)({baseStyle:ip,variants:ih,defaultProps:{variant:"solid"}}),{definePartsStyle:ig,defineMultiStyleConfig:iv}=(0,$.D)(e_.keys),iy=iv({baseStyle:ig({container:(0,$.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,$.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,$.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,$.k0)({fontSize:"1.25em"})})}),{definePartsStyle:ib,defineMultiStyleConfig:iw}=(0,$.D)(eF.keys),iC=(0,$.gJ)("alert-fg"),ix=(0,$.gJ)("alert-bg");function iE(e){let{theme:t,colorScheme:r}=e,n=tY(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:n}}var iD=iw({baseStyle:ib({container:{bg:ix.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:iC.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:iC.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:ib(e=>{let{colorScheme:t}=e,r=iE(e);return{container:{[iC.variable]:`colors.${t}.500`,[ix.variable]:r.light,_dark:{[iC.variable]:`colors.${t}.200`,[ix.variable]:r.dark}}}}),"left-accent":ib(e=>{let{colorScheme:t}=e,r=iE(e);return{container:{[iC.variable]:`colors.${t}.500`,[ix.variable]:r.light,_dark:{[iC.variable]:`colors.${t}.200`,[ix.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:iC.reference}}}),"top-accent":ib(e=>{let{colorScheme:t}=e,r=iE(e);return{container:{[iC.variable]:`colors.${t}.500`,[ix.variable]:r.light,_dark:{[iC.variable]:`colors.${t}.200`,[ix.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:iC.reference}}}),solid:ib(e=>{let{colorScheme:t}=e;return{container:{[iC.variable]:"colors.white",[ix.variable]:`colors.${t}.500`,_dark:{[iC.variable]:"colors.gray.900",[ix.variable]:`colors.${t}.200`},color:iC.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:iS,defineMultiStyleConfig:ik}=(0,$.D)(eT.keys),iA=(0,$.gJ)("avatar-border-color"),iR=(0,$.gJ)("avatar-bg"),i_=(0,$.k0)({borderRadius:"full",border:"0.2em solid",[iA.variable]:"white",_dark:{[iA.variable]:"colors.gray.800"},borderColor:iA.reference}),iF=(0,$.k0)({[iR.variable]:"colors.gray.200",_dark:{[iR.variable]:"colors.whiteAlpha.400"},bgColor:iR.reference}),iT=(0,$.gJ)("avatar-background"),iN=(0,$.k0)(e=>{let{name:t,theme:r}=e,n=t?tQ({string:t}):"colors.gray.400",o=tZ(n)(r),i="white";return o||(i="gray.800"),{bg:iT.reference,"&:not([data-loaded])":{[iT.variable]:n},color:i,[iA.variable]:"colors.white",_dark:{[iA.variable]:"colors.gray.800"},borderColor:iA.reference,verticalAlign:"top"}});function iP(e){let t="100%"!==e?ey[e]:void 0;return iS({container:{width:e,height:e,fontSize:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${null!=t?t:e} / 2.5)`,lineHeight:"100%"!==e?null!=t?t:e:void 0}})}var iB={Accordion:iy,Alert:iD,Avatar:ik({baseStyle:iS(e=>({badge:rU(i_,e),excessLabel:rU(iF,e),container:rU(iN,e)})),sizes:{"2xs":iP(4),xs:iP(6),sm:iP(8),md:iP(12),lg:iP(16),xl:iP(24),"2xl":iP(32),full:iP("100%")},defaultProps:{size:"md"}}),Badge:ra,Breadcrumb:oH,Button:oJ,Checkbox:rX,CloseButton:ii,Code:iu,Container:id,Divider:im,Drawer:oS,Editable:oR,Form:oN,FormError:oM,FormLabel:oL,Heading:o$,Input:rD,Kbd:nD,Link:nk,List:n_,Menu:nI,Modal:nJ,NumberInput:or,PinInput:oa,Popover:of,Progress:r$,Radio:r1,Select:r4,Skeleton:nt,SkipLink:no,Slider:nh,Spinner:ny,Stat:nC,Switch:tv,Table:tD,Tabs:rr,Tag:ry,Textarea:rR,Tooltip:rP,Card:o7,Stepper:eA},ij={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},iM={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},iO="ltr",iL={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},iI={semanticTokens:ij,direction:iO,...eb,components:iB,styles:iM,config:iL},iz={semanticTokens:ij,direction:iO,components:{},...eb,styles:iM,config:iL},i$=(e,t)=>e.find(e=>e.id===t);function iV(e,t){let r=iU(e,t),n=r?e[r].findIndex(e=>e.id===t):-1;return{position:r,index:n}}function iU(e,t){for(let[r,n]of Object.entries(e))if(i$(n,t))return r}function iW(e){let t=e.includes("right"),r=e.includes("left"),n="center";return t&&(n="flex-end"),r&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}}function iH(e){let t="top"===e||"bottom"===e?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0;return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:t,top:r,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var iq=r(35155);function iG(e,t){let r=(0,iq.W)(e);(0,L.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}function iK(e,t){let r=(0,L.useRef)(!1),n=(0,L.useRef)(!1);(0,L.useEffect)(()=>{if(r.current&&n.current)return e();n.current=!0},t),(0,L.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}var iZ=r(15947),iY=r(17745),iX=r(51337),iJ={initial:e=>{let{position:t}=e,r=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},iQ=(0,L.memo)(e=>{let{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=iJ,toastSpacing:c="0.5rem"}=e,[d,f]=(0,L.useState)(s),p=(0,iZ.hO)();iK(()=>{p||null==n||n()},[p]),iK(()=>{f(s)},[s]);let h=()=>f(null),m=()=>f(s),g=()=>{p&&o()};(0,L.useEffect)(()=>{p&&i&&o()},[p,i,o]),iG(g,d);let v=(0,L.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l}),[l,c]),y=(0,L.useMemo)(()=>iW(a),[a]);return(0,R.jsx)(iY.E.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:h,onHoverEnd:m,custom:{position:a},style:y,children:(0,R.jsx)(iX.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:(0,e6.Pu)(r,{id:t,onClose:g})})})});iQ.displayName="ToastComponent";var i0=r(56877);function i1(e){return(0,R.jsx)(i0.J,{viewBox:"0 0 24 24",...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function i2(e){return(0,R.jsx)(i0.J,{viewBox:"0 0 24 24",...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function i5(e){return(0,R.jsx)(i0.J,{viewBox:"0 0 24 24",...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var i9=r(35059),i8=r(91639),i3=(0,A.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),i4=(0,i9.G)((e,t)=>{let r=(0,i8.mq)("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=(0,$.Lr)(e),u=(0,e6.cx)("chakra-spinner",s),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${i3} ${i} linear infinite`,...r};return(0,R.jsx)(iX.m.div,{ref:t,__css:c,className:u,...l,children:n&&(0,R.jsx)(iX.m.span,{srOnly:!0,children:n})})});i4.displayName="Spinner";var[i6,i7]=(0,P.k)({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[ae,at]=(0,P.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),ar={info:{icon:i2,colorScheme:"blue"},warning:{icon:i5,colorScheme:"orange"},success:{icon:i1,colorScheme:"green"},error:{icon:i5,colorScheme:"red"},loading:{icon:i4,colorScheme:"blue"}};function an(e){return ar[e].colorScheme}function ao(e){return ar[e].icon}var ai=(0,i9.G)(function(e,t){var r;let{status:n="info",addRole:o=!0,...i}=(0,$.Lr)(e),a=null!=(r=e.colorScheme)?r:an(n),s=(0,i8.jC)("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,R.jsx)(i6,{value:{status:n},children:(0,R.jsx)(ae,{value:s,children:(0,R.jsx)(iX.m.div,{"data-status":n,role:o?"alert":void 0,ref:t,...i,className:(0,e6.cx)("chakra-alert",e.className),__css:l})})})});function aa(e){let{status:t}=i7(),r=ao(t),n=at(),o="loading"===t?n.spinner:n.icon;return(0,R.jsx)(iX.m.span,{display:"inherit","data-status":t,...e,className:(0,e6.cx)("chakra-alert__icon",e.className),__css:o,children:e.children||(0,R.jsx)(r,{h:"100%",w:"100%"})})}ai.displayName="Alert",aa.displayName="AlertIcon";var as=(0,i9.G)(function(e,t){let r=at(),{status:n}=i7();return(0,R.jsx)(iX.m.div,{ref:t,"data-status":n,...e,className:(0,e6.cx)("chakra-alert__title",e.className),__css:r.title})});as.displayName="AlertTitle";var al=(0,i9.G)(function(e,t){let r=at(),{status:n}=i7(),o={display:"inline",...r.description};return(0,R.jsx)(iX.m.div,{ref:t,"data-status":n,...e,className:(0,e6.cx)("chakra-alert__desc",e.className),__css:o})});function au(e){return(0,R.jsx)(i0.J,{focusable:"false","aria-hidden":!0,...e,children:(0,R.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}al.displayName="AlertDescription";var ac=(0,i9.G)(function(e,t){let r=(0,i8.mq)("CloseButton",e),{children:n,isDisabled:o,__css:i,...a}=(0,$.Lr)(e),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return(0,R.jsx)(iX.m.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{...s,...r,...i},...a,children:n||(0,R.jsx)(au,{width:"1em",height:"1em"})})});ac.displayName="CloseButton";var ad=af({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});function af(e){let t=e,r=new Set,n=e=>{t=e(t),r.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n(()=>e),r.delete(t)}),removeToast:(e,t)=>{n(r=>({...r,[t]:r[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let r=ah(e,t),{position:o,id:i}=r;return n(e=>{var t,n;let i=o.includes("top")?[r,...null!=(t=e[o])?t:[]]:[...null!=(n=e[o])?n:[],r];return{...e,[o]:i}}),i},update:(e,t)=>{e&&n(r=>{let n={...r},{position:o,index:i}=iV(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:ag(t)}),n})},closeAll:({positions:e}={})=>{n(t=>{let r=["bottom","bottom-right","bottom-left","top","top-left","top-right"];return(null!=e?e:r).reduce((e,r)=>(e[r]=t[r].map(e=>({...e,requestClose:!0})),e),{...t})})},close:e=>{n(t=>{let r=iU(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>!!iV(ad.getState(),e).position}}var ap=0;function ah(e,t={}){var r,n;ap+=1;let o=null!=(r=t.id)?r:ap,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>ad.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var am=e=>{let{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,R.jsxs)(ai,{addRole:!1,status:t,variant:r,id:null==c?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,R.jsx)(aa,{children:u}),(0,R.jsxs)(iX.m.div,{flex:"1",maxWidth:"100%",children:[o&&(0,R.jsx)(as,{id:null==c?void 0:c.title,children:o}),s&&(0,R.jsx)(al,{id:null==c?void 0:c.description,display:"block",children:s})]}),i&&(0,R.jsx)(ac,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function ag(e={}){let{render:t,toastComponent:r=am}=e;return n=>"function"==typeof t?t({...n,...e}):(0,R.jsx)(r,{...n,...e})}var av=r(51526),ay=r(73935),[ab,aw]=(0,P.k)({strict:!1,name:"PortalContext"}),aC="chakra-portal",ax=".chakra-portal",aE=e=>(0,R.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),aD=e=>{let{appendToParentPortal:t,children:r}=e,[n,o]=(0,L.useState)(null),i=(0,L.useRef)(null),[,a]=(0,L.useState)({});(0,L.useEffect)(()=>a({}),[]);let s=aw(),l=j();Q(()=>{if(!n)return;let e=n.ownerDocument,r=t&&null!=s?s:e.body;if(!r)return;i.current=e.createElement("div"),i.current.className=aC,r.appendChild(i.current),a({});let o=i.current;return()=>{r.contains(o)&&r.removeChild(o)}},[n]);let u=(null==l?void 0:l.zIndex)?(0,R.jsx)(aE,{zIndex:null==l?void 0:l.zIndex,children:r}):r;return i.current?(0,ay.createPortal)((0,R.jsx)(ab,{value:i.current,children:u}),i.current):(0,R.jsx)("span",{ref:e=>{e&&o(e)}})},aS=e=>{let{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,i=null!=o?o:"undefined"!=typeof window?document.body:void 0,a=(0,L.useMemo)(()=>{let e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=aC),e},[o]),[,s]=(0,L.useState)({});return(Q(()=>s({}),[]),Q(()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a)?(0,ay.createPortal)((0,R.jsx)(ab,{value:n?a:null,children:t}),a):null};function ak(e){let{containerRef:t,...r}={appendToParentPortal:!0,...e};return t?(0,R.jsx)(aS,{containerRef:t,...r}):(0,R.jsx)(aD,{...r})}ak.className=aC,ak.selector=ax,ak.displayName="Portal";var[aA,aR]=(0,P.k)({name:"ToastOptionsContext",strict:!1}),a_=e=>{let t=(0,L.useSyncExternalStore)(ad.subscribe,ad.getState,ad.getState),{motionVariants:r,component:n=iQ,portalProps:o}=e,i=Object.keys(t).map(e=>{let o=t[e];return(0,R.jsx)("div",{role:"region","aria-live":"polite",id:`chakra-toast-manager-${e}`,style:iH(e),children:(0,R.jsx)(av.M,{initial:!1,children:o.map(e=>(0,R.jsx)(n,{motionVariants:r,...e},e.id))})},e)});return(0,R.jsx)(ak,{...o,children:i})},aF=e=>function({children:t,theme:r=e,toastOptions:n,...o}){return(0,R.jsxs)(ei,{theme:r,...o,children:[(0,R.jsx)(aA,{value:null==n?void 0:n.defaultOptions,children:t}),(0,R.jsx)(a_,{...n})]})},aT=aF(iI);aF(iz);var aN=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function aP(e){return!!(0,e6.Kn)(e)&&aN.every(t=>Object.prototype.hasOwnProperty.call(e,t))}var aB=r(38554);function aj(e){return"function"==typeof e}function aM(...e){return t=>e.reduce((e,t)=>t(e),t)}var aO=e=>function(...t){let r=[...t],n=t[t.length-1];return aP(n)&&r.length>1?r=r.slice(0,r.length-1):n=e,aM(...r.map(e=>t=>aj(e)?e(t):aI(t,e)))(n)},aL=aO(iI);function aI(...e){return aB({},...e,az)}function az(e,t,r,n){if((aj(e)||aj(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>aB({},aj(e)?e(...r):e,aj(t)?t(...r):t,az)}aO(iz);var a$={styles:{global:{":root":{},body:{fontFamily:"Mona Sans","--default-font-family":"Mona Sans",fontWeight:"400",color:"#FFFFFF",background:"#0C1116"}}}},aV=["light","dark"],aU="(prefers-color-scheme: dark)",aW="undefined"==typeof window,aH=L.createContext(void 0),aq={setTheme:e=>{},themes:[]},aG=()=>{var e;return null!=(e=L.useContext(aH))?e:aq},aK=e=>L.useContext(aH)?e.children:L.createElement(aY,{...e}),aZ=["light","dark"],aY=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:n=!0,storageKey:o="theme",themes:i=aZ,defaultTheme:a=r?"system":"light",attribute:s="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=L.useState(()=>aJ(o,a)),[p,h]=L.useState(()=>aJ(o)),m=l?Object.values(l):i,g=L.useCallback(e=>{let o=e;if(!o)return;"system"===e&&r&&(o=a0());let i=l?l[o]:o,u=t?aQ():null,c=document.documentElement;if("class"===s?(c.classList.remove(...m),i&&c.classList.add(i)):i?c.setAttribute(s,i):c.removeAttribute(s),n){let e=aV.includes(a)?a:null,t=aV.includes(o)?o:e;c.style.colorScheme=t}null==u||u()},[]),v=L.useCallback(e=>{let t="function"==typeof e?e(e):e;f(t);try{localStorage.setItem(o,t)}catch(e){}},[e]),y=L.useCallback(t=>{h(a0(t)),"system"===d&&r&&!e&&g("system")},[d,e]);L.useEffect(()=>{let e=window.matchMedia(aU);return e.addListener(y),y(e),()=>e.removeListener(y)},[y]),L.useEffect(()=>{let e=e=>{e.key===o&&v(e.newValue||a)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[v]),L.useEffect(()=>{g(null!=e?e:d)},[e,d]);let b=L.useMemo(()=>({theme:d,setTheme:v,forcedTheme:e,resolvedTheme:"system"===d?p:d,themes:r?[...i,"system"]:i,systemTheme:r?p:void 0}),[d,v,e,p,r,i]);return L.createElement(aH.Provider,{value:b},L.createElement(aX,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:r,enableColorScheme:n,storageKey:o,themes:i,defaultTheme:a,attribute:s,value:l,children:u,attrs:m,nonce:c}),u)},aX=L.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:o,defaultTheme:i,value:a,attrs:s,nonce:l})=>{let u="system"===i,c="class"===r?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${r}',s='setAttribute';`,d=o?(aV.includes(i)?i:null)?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(e,t=!1,n=!0)=>{let i=a?a[e]:e,s=t?e+"|| ''":`'${i}'`,l="";return o&&n&&!t&&aV.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===r?t||i?l+=`c.add(${s})`:l+="null":i&&(l+=`d[s](n,${s})`),l},p=e?`!function(){${c}${f(e)}}()`:n?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${aU}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${d}}catch(t){}}();`;return L.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})}),aJ=(e,t)=>{let r;if(!aW){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},aQ=()=>{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)}},a0=e=>(e||(e=window.matchMedia(aU)),e.matches?"dark":"light"),a1=r(48039);function a2(e){let{children:t}=e,{theme:r,resolvedTheme:n,setTheme:o}=aG(),{colorMode:i,toggleColorMode:a}=(0,O.If)(),[s,l]=(0,L.useState)(i);(0,L.useEffect)(()=>{i!=n&&a(),l(n)},[r,n]);let u=i,c=e=>{["light","dark","system"].includes(e)||(console.error('Invalid color mode "'.concat(e,'". Defaulting to "').concat(a1.defaultColorMode,'".')),e=a1.defaultColorMode),o(e)};return(0,R.jsx)(a1.ColorModeContext.Provider,{value:{rawColorMode:u,resolvedColorMode:s,toggleColorMode:a,setColorMode:c},children:t})}function a5(e){let{children:t}=e,{theme:r,resolvedTheme:n,setTheme:o}=aG(),[i,a]=(0,L.useState)(a1.defaultColorMode),[s,l]=(0,L.useState)("dark");(0,L.useEffect)(()=>{if(a1.isDevMode){let e=localStorage.getItem("last_compiled_time");if(e&&e!==a1.lastCompiledTimeStamp){o(a1.defaultColorMode),localStorage.setItem("last_compiled_time",a1.lastCompiledTimeStamp);return}}a(r),l(n)},[r,n]);let u=()=>{o("light"===n?"dark":"light")},c=e=>{["light","dark","system"].includes(e)||(console.error('Invalid color mode "'.concat(e,'". Defaulting to "').concat(a1.defaultColorMode,'".')),e=a1.defaultColorMode),o(e)};return(0,R.jsx)(a1.ColorModeContext.Provider,{value:{rawColorMode:i,resolvedColorMode:s,toggleColorMode:u,setColorMode:c},children:t})}var a9=r(26526),a8=r(41664),a3=r(59654);function a4(e){let{children:t}=e;return(0,k.tZ)(aT,{theme:aL(a$),children:(0,k.tZ)(a2,{children:(0,k.tZ)(a5,{children:(0,k.tZ)(a9.Theme,{accentColor:"blue",css:{...a$.styles.global[":root"],...a$.styles.global.body},children:(0,k.tZ)(L.Fragment,{children:t})})})})})}function a6(e){let{Component:t,pageProps:r}=e;return L.useEffect(()=>{let e={react:I,"@emotion/react":A,"@radix-ui/themes":a9,"next/link":a8,"$/utils/context":a1,"$/utils/state":a3};window.__reflex=e},[]),(0,k.tZ)(aK,{defaultTheme:a1.defaultColorMode,attribute:"class",children:(0,k.tZ)(a4,{children:(0,k.tZ)(a1.StateProvider,{children:(0,k.tZ)(a1.EventLoopProvider,{children:(0,k.tZ)(t,{...r})})})})})}},48039:function(e,t,r){"use strict";r.r(t),r.d(t,{ColorModeContext:function(){return l},DispatchContext:function(){return c},EventLoopContext:function(){return f},EventLoopProvider:function(){return C},StateContexts:function(){return d},StateProvider:function(){return x},UploadFilesContext:function(){return u},UploadFilesProvider:function(){return w},clientStorage:function(){return p},defaultColorMode:function(){return s},exception_state_name:function(){return m},initialEvents:function(){return v},initialState:function(){return a},isDevMode:function(){return y},lastCompiledTimeStamp:function(){return b},onLoadInternalEvent:function(){return g},state_name:function(){return h}});var n=r(85893),o=r(67294),i=r(59654);let a={},s="system",l=(0,o.createContext)(null),u=(0,o.createContext)(null),c=(0,o.createContext)(null),d={},f=(0,o.createContext)(null),p={},h=void 0,m=void 0,g=()=>[],v=()=>[],y=!0,b="2024-12-26 01:33:33.159387";function w(e){let{children:t}=e,[r,a]=(0,o.useState)({});return i.refs.__clear_selected_files=e=>a(t=>{let r={...t};return delete r[e],r}),(0,n.jsx)(u.Provider,{value:[r,a],children:t})}function C(e){let{children:t}=e,r=(0,o.useContext)(c),[a,s]=(0,i.useEventLoop)(r,v,p);return(0,n.jsx)(f.Provider,{value:[a,s],children:t})}function x(e){let{children:t}=e,r=(0,o.useMemo)(()=>({}),[]);return(0,n.jsx)(c.Provider,{value:r,children:t})}},68060:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});let n={};function o(e,t,r){let o="".concat(e,"__").concat(r);clearTimeout(n[o]),n[o]=setTimeout(()=>{t(),delete n[o]},r)}},92779:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});let n={};function o(e,t){let r="".concat(e,"__").concat(t);return!n[r]&&(n[r]=!0,setTimeout(()=>{delete n[r]},t),!0)}},59654:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";let token;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Event:function(){return Event},applyDelta:function(){return applyDelta},applyEvent:function(){return applyEvent},applyRestEvent:function(){return applyRestEvent},connect:function(){return connect},evalReactComponent:function(){return evalReactComponent},generateUUID:function(){return generateUUID},getBackendURL:function(){return getBackendURL},getRefValue:function(){return getRefValue},getRefValues:function(){return getRefValues},getToken:function(){return getToken},hydrateClientStorage:function(){return hydrateClientStorage},isStateful:function(){return isStateful},isTrue:function(){return isTrue},processEvent:function(){return processEvent},queueEventIfSocketExists:function(){return queueEventIfSocketExists},queueEvents:function(){return queueEvents},refs:function(){return refs},spreadArraysOrObjects:function(){return spreadArraysOrObjects},uploadFiles:function(){return uploadFiles},useEventLoop:function(){return useEventLoop}});var axios__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(87066),socket_io_client__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(67642),json5__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(11142),json5__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(json5__WEBPACK_IMPORTED_MODULE_1__),$_env_json__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(73954),universal_cookie__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(23059),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(67294),next_router__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(11163),next_router__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_4__),$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(48039),$_utils_helpers_debounce__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(68060),$_utils_helpers_throttle__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(92779);let EVENTURL=$_env_json__WEBPACK_IMPORTED_MODULE_2__.Ks,UPLOADURL=$_env_json__WEBPACK_IMPORTED_MODULE_2__.uk,SAME_DOMAIN_HOSTNAMES=["localhost","0.0.0.0","::","0:0:0:0:0:0:0:0"],TOKEN_KEY="token",cookies=new universal_cookie__WEBPACK_IMPORTED_MODULE_8__.Z,refs={},event_processing=!1,event_queue=[],upload_controllers={},generateUUID=()=>{let e=new Date().getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(t+n)%16|0,t=Math.floor(t/16)),("x"==r?n:7&n|8).toString(16)})},getToken=()=>token||(window.sessionStorage.getItem(TOKEN_KEY)||window.sessionStorage.setItem(TOKEN_KEY,generateUUID()),token=window.sessionStorage.getItem(TOKEN_KEY)),getBackendURL=e=>{let t=new URL(e);if(SAME_DOMAIN_HOSTNAMES.includes(t.hostname)){let e=window.location.hostname;t.hostname=e,"https:"===window.location.protocol&&("ws:"===t.protocol?t.protocol="wss:":"http:"===t.protocol&&(t.protocol="https:"),t.port="")}return t},isStateful=()=>0!==event_queue.length&&event_queue.some(e=>e.name.startsWith("reflex___state")),applyDelta=(e,t)=>({...e,...t}),evalReactComponent=async component=>{!window.React&&window.__reflex&&(window.React=window.__reflex.react);let encodedJs=encodeURIComponent(component),dataUri="data:text/javascript;charset=utf-8,"+encodedJs,module=await eval("import(dataUri)");return module.default},queueEventIfSocketExists=async(e,t)=>{t&&await queueEvents(e,t)},applyEvent=async(event,socket)=>{var _window,_window1;if("_redirect"==event.name)return event.payload.external?window.open(event.payload.path,"_blank"):event.payload.replace?next_router__WEBPACK_IMPORTED_MODULE_4___default().replace(event.payload.path):next_router__WEBPACK_IMPORTED_MODULE_4___default().push(event.payload.path),!1;if("_remove_cookie"==event.name)return cookies.remove(event.payload.key,{...event.payload.options}),queueEventIfSocketExists((0,$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.initialEvents)(),socket),!1;if("_clear_local_storage"==event.name)return localStorage.clear(),queueEventIfSocketExists((0,$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.initialEvents)(),socket),!1;if("_remove_local_storage"==event.name)return localStorage.removeItem(event.payload.key),queueEventIfSocketExists((0,$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.initialEvents)(),socket),!1;if("_clear_session_storage"==event.name)return sessionStorage.clear(),queueEvents((0,$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.initialEvents)(),socket),!1;if("_remove_session_storage"==event.name)return sessionStorage.removeItem(event.payload.key),queueEvents((0,$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.initialEvents)(),socket),!1;if("_download"==event.name){let a=document.createElement("a");return a.hidden=!0,a.href=event.payload.url.replace("${getBackendURL(env.UPLOAD)}",getBackendURL($_env_json__WEBPACK_IMPORTED_MODULE_2__.uk)),a.download=event.payload.filename,a.click(),a.remove(),!1}if("_set_focus"==event.name)return(event.payload.ref in refs?refs[event.payload.ref]:event.payload.ref).current.focus(),!1;if("_set_value"==event.name){let ref=event.payload.ref in refs?refs[event.payload.ref]:event.payload.ref;return ref.current&&(ref.current.value=event.payload.value),!1}if("_call_function"==event.name&&"string"!=typeof event.payload.function){try{let eval_result=event.payload.function();event.payload.callback&&(eval_result&&"function"==typeof eval_result.then?event.payload.callback(await eval_result):event.payload.callback(eval_result))}catch(e){console.log("_call_function",e),window&&(null===(_window=window)||void 0===_window?void 0:_window.onerror)&&window.onerror(e.message,null,null,null,e)}return!1}if("_call_script"==event.name||"_call_function"==event.name){try{let eval_result="_call_script"==event.name?eval(event.payload.javascript_code):eval(event.payload.function)();event.payload.callback&&(eval_result&&"function"==typeof eval_result.then?eval(event.payload.callback)(await eval_result):eval(event.payload.callback)(eval_result))}catch(e){console.log("_call_script",e),window&&(null===(_window1=window)||void 0===_window1?void 0:_window1.onerror)&&window.onerror(e.message,null,null,null,e)}return!1}return event.token=getToken(),(void 0===event.router_data||0===Object.keys(event.router_data).length)&&(event.router_data=(e=>{let{pathname:t,query:r,asPath:n}=e;return{pathname:t,query:r,asPath:n}})(next_router__WEBPACK_IMPORTED_MODULE_4___default())),!!socket&&(socket.emit("event",JSON.stringify(event,(e,t)=>void 0===t?null:t)),!0)},applyRestEvent=async(e,t)=>{let r=!1;return"uploadFiles"===e.handler?void 0===e.payload.files||0===e.payload.files.length?await applyEvent(Event(e.name),t):(uploadFiles(e.name,e.payload.files,e.payload.upload_id,e.payload.on_upload_progress,t),!1):r},queueEvents=async(e,t)=>{event_queue.push(...e),await processEvent(t.current)},processEvent=async e=>{if(!e&&isStateful()||0===event_queue.length||event_processing)return;event_processing=!0;let t=event_queue.shift(),r=!1;(r=t.handler?await applyRestEvent(t,e):await applyEvent(t,e))||(event_processing=!1,await processEvent(e))},connect=async function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=getBackendURL(EVENTURL);function a(){"visible"===document.visibilityState&&(e.current.connected?console.log("Socket is reconnected "):(console.log("Socket is disconnected, attempting to reconnect "),e.current.connect()))}e.current=(0,socket_io_client__WEBPACK_IMPORTED_MODULE_0__.ZP)(i.href,{path:i.pathname,transports:r,autoUnref:!1});let s=t=>{var r;t.persisted&&(null===(r=e.current)||void 0===r?void 0:r.connected)&&(console.log("Disconnect backend before bfcache on navigation"),e.current.disconnect())};e.current.on("connect",()=>{n([]),window.addEventListener("pagehide",s)}),e.current.on("connect_error",e=>{n(t=>[t.slice(-9),e])}),e.current.on("disconnect",()=>{event_processing=!1,window.removeEventListener("pagehide",s)}),e.current.on("event",async r=>{let n=json5__WEBPACK_IMPORTED_MODULE_1___default().parse(r);for(let e in n.delta)t[e](n.delta[e]);applyClientStorageDelta(o,n.delta),event_processing=!n.final,n.events&&queueEvents(n.events,e)}),document.addEventListener("visibilitychange",a)},uploadFiles=async(e,t,r,n,o)=>{if(void 0===t||0===t.length)return!1;if(upload_controllers[r])return console.log("Upload already in progress for ",r),!1;let i=0,a=e=>{e.event.target.responseText.trim().split("\n").slice(i).map(t=>{try{o._callbacks.$event.map(e=>{e(t)}),i+=1}catch(r){1===e.progress&&console.log("Error parsing chunk",t,r);return}})},s=new AbortController,l={headers:{"Reflex-Client-Token":getToken(),"Reflex-Event-Handler":e},signal:s.signal,onDownloadProgress:a};n&&(l.onUploadProgress=n);let u=new FormData;t.forEach(e=>{u.append("files",e,e.path||e.name)}),upload_controllers[r]=s;try{return await axios__WEBPACK_IMPORTED_MODULE_9__.Z.post(getBackendURL(UPLOADURL),u,l)}catch(e){return e.response?console.log(e.response.data):e.request?console.log(e.request):console.log(e.message),!1}finally{delete upload_controllers[r]}},Event=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{name:e,payload:t,handler:n,event_actions:r}},hydrateClientStorage=e=>{let t={};if(e.cookies)for(let r in e.cookies){let n=e.cookies[r].name||r;void 0!==cookies.get(n)&&(t[r]=cookies.get(n))}if(e.local_storage)for(let r in e.local_storage){let n=e.local_storage[r],o=localStorage.getItem(n.name||r);null!==o&&(t[r]=o)}if(e.session_storage)for(let r in e.session_storage){let n=e.session_storage[r],o=sessionStorage.getItem(n.name||r);null!=o&&(t[r]=o)}return e.cookies||e.local_storage||e.session_storage?t:{}},applyClientStorageDelta=(e,t)=>{let r=Object.keys(t).filter(e=>1===e.split(".").length);if(1===r.length){let e=t[r[0]];if(void 0!==e.is_hydrated&&!e.is_hydrated)return}for(let r in t)for(let n in t[r]){let o="".concat(r,".").concat(n);if(e.cookies&&o in e.cookies){let i={...e.cookies[o]},a=i.name||o;delete i.name,cookies.set(a,t[r][n],i)}else if(e.local_storage&&o in e.local_storage){let i=e.local_storage[o];localStorage.setItem(i.name||o,t[r][n])}else if(e.session_storage&&o in e.session_storage){let i=e.session_storage[o];sessionStorage.setItem(i.name||o,t[r][n])}}},useEventLoop=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null),o=(0,next_router__WEBPACK_IMPORTED_MODULE_4__.useRouter)(),[i,a]=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),s=(e,t,r)=>{t instanceof Array||(t=[t]),r=e.reduce((e,t)=>({...e,...t.event_actions}),null!=r?r:{});let o=t.filter(e=>(null==e?void 0:e.preventDefault)!==void 0)[0];(null==r?void 0:r.preventDefault)&&(null==o?void 0:o.preventDefault)&&o.preventDefault(),(null==r?void 0:r.stopPropagation)&&(null==o?void 0:o.stopPropagation)&&o.stopPropagation();let i=e.map(e=>e.name).join("+++");(null==r||!r.throttle||(0,$_utils_helpers_throttle__WEBPACK_IMPORTED_MODULE_7__.Z)(i,r.throttle))&&((null==r?void 0:r.debounce)?(0,$_utils_helpers_debounce__WEBPACK_IMPORTED_MODULE_6__.Z)(i,()=>queueEvents(e,n),r.debounce):queueEvents(e,n))},l=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(!1);return(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{o.isReady&&!l.current&&(s(t().map(e=>({...e,router_data:(e=>{let{pathname:t,query:r,asPath:n}=e;return{pathname:t,query:r,asPath:n}})(o)}))),l.current=!0)},[o.isReady]),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{window.onerror=function(e,t,r,n,o){return s([Event("".concat($_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.exception_state_name,".handle_frontend_exception"),{stack:o.stack,component_stack:""})]),!1},window.onunhandledrejection=function(e){return s([Event("".concat($_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.exception_state_name,".handle_frontend_exception"),{stack:e.reason.stack,component_stack:""})]),!1}},[]),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{o.isReady&&Object.keys($_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.initialState).length>1&&(n.current||connect(n,e,["websocket","polling"],a,r),(async()=>{for(;event_queue.length>0&&!event_processing;)await processEvent(n.current)})())}),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{let e={};if(r.local_storage)for(let t in r.local_storage){let n=r.local_storage[t];n.sync&&(e[n.name||t]=t)}let t=t=>{if(e[t.key]){let r={};r[e[t.key]]=t.newValue,s([Event("".concat($_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.state_name,".reflex___state____update_vars_internal_state.update_vars_internal"),{vars:r})],t)}};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{let t=()=>{let t=e.reflex___state____state;void 0!==t&&t({is_hydrated:!1})},r=()=>s((0,$_utils_context_js__WEBPACK_IMPORTED_MODULE_5__.onLoadInternalEvent)());return o.events.on("routeChangeStart",t),o.events.on("routeChangeComplete",r),()=>{o.events.off("routeChangeStart",t),o.events.off("routeChangeComplete",r)}},[o]),[s,i]},isTrue=e=>Array.isArray(e)?e.length>0:e===Object(e)?Object.keys(e).length>0:!!e,getRefValue=e=>{var t,r,n,o,i;if(e&&e.current)return"checkbox"==e.current.type?e.current.checked:(null===(t=e.current.className)||void 0===t?void 0:t.includes("rt-CheckboxRoot"))||(null===(r=e.current.className)||void 0===r?void 0:r.includes("rt-SwitchRoot"))?"true"==e.current.ariaChecked:(null===(n=e.current.className)||void 0===n?void 0:n.includes("rt-SliderRoot"))?null===(o=e.current.querySelector(".rt-SliderThumb"))||void 0===o?void 0:o.ariaValueNow:e.current.value||e.current.querySelector&&e.current.querySelector(":checked")&&(null===(i=e.current.querySelector(":checked"))||void 0===i?void 0:i.value)},getRefValues=e=>{if(e)return e.map(e=>e.current?e.current.value||e.current.getAttribute("aria-valuenow"):null)},spreadArraysOrObjects=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return[...e,...t];if("object"==typeof e&&"object"==typeof t)return{...e,...t};throw Error("Both parameters must be either arrays or objects.")}},21876:function(e){var t="/";!function(){var r={675:function(e,t){"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=h;for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)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]}function u(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n}function c(e,t,r){return(t+r)*3/4-r}function d(e){var t,r,i=l(e),a=i[0],s=i[1],u=new o(c(e,a,s)),d=0,f=s>0?a-4:a;for(r=0;r>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[d++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,r){for(var n=[],o=t;ol?l:s+a));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(){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}}function l(e){if(e>a)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(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 p(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return h(e,t);if(ArrayBuffer.isView(e))return m(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(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return g(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);var o=v(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e,t,r){return(d(e),e<=0)?l(e):void 0!==t?"string"==typeof r?l(e).fill(t,r):l(e).fill(t):l(e)}function p(e){return d(e),l(e<0?0:0|y(e))}function h(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|w(e,t),n=l(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function m(e){for(var t=e.length<0?0:0|y(e.length),r=l(t),n=0;n=a)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function w(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(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 o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Z(e).length;default:if(o)return n?-1:q(e).length;t=(""+t).toLowerCase(),o=!0}}function C(e,t,r){var n=!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 O(this,t,r);case"utf8":case"utf-8":return N(this,t,r);case"ascii":return j(this,t,r);case"latin1":case"binary":return M(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,r);default:if(n)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function x(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function E(e,t,r,n,o){if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:D(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):D(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function D(e,t,r,n,o){var i,a=1,s=e.length,l=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;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=r;is&&(r=s-l),i=r;i>=0;i--){for(var d=!0,f=0;fo&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a239?4:u>223?3:u>191?2:1;if(o+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return B(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=s(),u.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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return f(e,t,r)},u.allocUnsafe=function(e){return p(e)},u.allocUnsafeSlow=function(e){return p(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.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,o=0,i=Math.min(r,n);or&&(e+=" ... "),""},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.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===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,s=Math.min(i,a),l=this.slice(n,o),c=e.slice(t,r),d=0;d>>=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 o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return S(this,e,t,r);case"utf8":case"utf-8":return k(this,e,t,r);case"ascii":return A(this,e,t,r);case"latin1":case"binary":return R(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,t,r);default:if(i)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function B(e){var t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn)&&(r=n);for(var o="",i=t;ir)throw RangeError("Trying to access beyond buffer length")}function z(e,t,r,n,o,i){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function $(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function V(e,t,r,n,i){return t=+t,r>>>=0,i||$(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function U(e,t,r,n,i){return t=+t,r>>>=0,i||$(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}u.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||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return(e>>>=0,t||I(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;z(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;z(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||z(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},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||z(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},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);z(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);z(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||z(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},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||z(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},u.prototype.writeFloatLE=function(e,t,r){return V(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return V(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.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;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},u.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&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}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(o=t;o55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function G(e){for(var t=[],r=0;r>8,o.push(r%256),o.push(n);return o}function Z(e){return n.toByteArray(H(e))}function Y(e,t,r,n){for(var o=0;o=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}var Q=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,l=(1<>1,c=-7,d=r?o-1:0,f=r?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-c)-1,p>>=-c,c+=s;c>0;i=256*i+e[t+d],d+=f,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=u}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,l,u=8*i-o-1,c=(1<>1,f=23===o?5960464477539062e-23:0,p=n?0:i-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(a=a<0;e[r+p]=255&a,p+=h,a/=256,u-=8);e[r+p-h]|=128*m}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}},a=!0;try{r[e](i,i.exports,o),a=!1}finally{a&&delete n[e]}return i.exports}o.ab=t+"/";var i=o(72);e.exports=i}()},80981:function(){},77663:function(e){var t="/";!function(){var r={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],c=!1,d=-1;function f(){c&&n&&(c=!1,n.length?u=n.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(n=u,u=[];++d1)for(var r=1;r{let{as:r,viewBox:n,color:u="currentColor",focusable:c=!1,children:d,className:f,__css:p,...h}=e,m=(0,a.cx)("chakra-icon",f),g=(0,o.mq)("Icon",e),v={ref:t,focusable:c,className:m,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:u,...p,...g}},y=null!=n?n:l.viewBox;if(r&&"string"!=typeof r)return(0,s.jsx)(i.m.svg,{as:r,...v,...h});let b=null!=d?d:l.path;return(0,s.jsx)(i.m.svg,{verticalAlign:"middle",viewBox:y,...v,...h,children:b})});u.displayName="Icon"},55227:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(67294);function o(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function i(e={}){let{name:t,strict:r=!0,hookName:i="useContext",providerName:a="Provider",errorMessage:s,defaultValue:l}=e,u=(0,n.createContext)(l);function c(){var e;let t=(0,n.useContext)(u);if(!t&&r){let t=Error(null!=s?s:o(i,a));throw t.name="ContextError",null==(e=Error.captureStackTrace)||e.call(Error,t,c),t}return t}return u.displayName=t,[u.Provider,c,u]}},35155:function(e,t,r){"use strict";r.d(t,{W:function(){return o}});var n=r(67294);function o(e,t=[]){let r=(0,n.useRef)(e);return(0,n.useEffect)(()=>{r.current=e}),(0,n.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}},25432:function(e,t,r){"use strict";r.d(t,{Kn:function(){return i},Pu:function(){return s},ZK:function(){return a},cx:function(){return n},v0:function(){return u}});var n=(...e)=>e.filter(Boolean).join(" ");function o(){return!1}function i(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var a=e=>{let{condition:t,message:r}=e;t&&o()&&console.warn(r)};function s(e,...t){return l(e)?e(...t):e}var l=e=>"function"==typeof e;function u(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}},33179:function(e,t,r){"use strict";r.d(t,{D:function(){return tn},Lr:function(){return tl},Ud:function(){return ts},ZR:function(){return e5},_6:function(){return eg},c0:function(){return eQ},cC:function(){return e1},fj:function(){return tr},gJ:function(){return em},iv:function(){return te},k0:function(){return tt}});var n=r(25432),o=r(38554),i=e=>/!(important)?$/.test(e),a=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,s=(e,t)=>r=>{let o=String(t),s=i(o),l=a(o),u=e?`${e}.${l}`:l,c=(0,n.Kn)(r.__cssMap)&&u in r.__cssMap?r.__cssMap[u].varRef:t;return c=a(c),s?`${c} !important`:c};function l(e){let{scale:t,transform:r,compose:n}=e;return(e,o)=>{var i;let a=s(t,e)(o),l=null!=(i=null==r?void 0:r(a,o))?i:a;return n&&(l=n(l,o)),l}}var u=(...e)=>t=>e.reduce((e,t)=>t(e),t);function c(e,t){return r=>{let n={property:r,scale:e};return n.transform=l({scale:e,transform:t}),n}}var d=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t;function f(e){let{property:t,scale:r,transform:n}=e;return{scale:r,property:d(t),transform:r?l({scale:r,compose:n}):n}}var p=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function h(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...p].join(" ")}function m(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...p].join(" ")}var g={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},v={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function y(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}}var b={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},w={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},C=new Set(Object.values(w)),x=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),E=e=>e.trim();function D(e,t){if(null==e||x.has(e))return e;if(!(S(e)||x.has(e)))return`url('${e}')`;let r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;let i=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=o.split(",").map(E).filter(Boolean);if((null==s?void 0:s.length)===0)return e;let l=a in w?w[a]:a;s.unshift(l);let u=s.map(e=>{if(C.has(e))return e;let r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=S(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s});return`${i}(${u.join(", ")})`}var S=e=>"string"==typeof e&&e.includes("(")&&e.includes(")");function k(e){return/^var\(--.+\)$/.test(e)}var A=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},R=e=>t=>`${e}(${t})`,_={filter:e=>"auto"!==e?e:g,backdropFilter:e=>"auto"!==e?e:v,ring:e=>y(_.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?h():"auto-gpu"===e?m():e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:t}=A(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float(e,t){let r={left:"right",right:"left"};return"rtl"===t.direction?r[e]:e},degree(e){if(k(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>D(e,null!=t?t:{}),blur:R("blur"),opacity:R("opacity"),brightness:R("brightness"),contrast:R("contrast"),dropShadow:R("drop-shadow"),grayscale:R("grayscale"),hueRotate:R("hue-rotate"),invert:R("invert"),saturate:R("saturate"),sepia:R("sepia"),bgImage:e=>null==e?e:S(e)||x.has(e)?e:`url(${e})`,outline(e){let t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:n}=null!=(t=b[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},F={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),gradients:c("gradients",_.gradient),radii:c("radii",_.px),space:c("space",u(_.vh,_.px)),spaceT:c("space",u(_.vh,_.px)),degreeT:e=>({property:e,transform:_.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:l({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",u(_.vh,_.px)),sizesT:c("sizes",u(_.vh,_.fraction)),shadows:c("shadows"),logical:f,blur:c("blur",_.blur)},T={background:F.colors("background"),backgroundColor:F.colors("backgroundColor"),backgroundImage:F.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:_.bgClip},bgSize:F.prop("backgroundSize"),bgPosition:F.prop("backgroundPosition"),bg:F.colors("background"),bgColor:F.colors("backgroundColor"),bgPos:F.prop("backgroundPosition"),bgRepeat:F.prop("backgroundRepeat"),bgAttachment:F.prop("backgroundAttachment"),bgGradient:F.gradients("backgroundImage"),bgClip:{transform:_.bgClip}};Object.assign(T,{bgImage:T.backgroundImage,bgImg:T.backgroundImage});var N={border:F.borders("border"),borderWidth:F.borderWidths("borderWidth"),borderStyle:F.borderStyles("borderStyle"),borderColor:F.colors("borderColor"),borderRadius:F.radii("borderRadius"),borderTop:F.borders("borderTop"),borderBlockStart:F.borders("borderBlockStart"),borderTopLeftRadius:F.radii("borderTopLeftRadius"),borderStartStartRadius:F.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:F.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:F.radii("borderTopRightRadius"),borderStartEndRadius:F.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:F.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:F.borders("borderRight"),borderInlineEnd:F.borders("borderInlineEnd"),borderBottom:F.borders("borderBottom"),borderBlockEnd:F.borders("borderBlockEnd"),borderBottomLeftRadius:F.radii("borderBottomLeftRadius"),borderBottomRightRadius:F.radii("borderBottomRightRadius"),borderLeft:F.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:F.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:F.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:F.borders(["borderLeft","borderRight"]),borderInline:F.borders("borderInline"),borderY:F.borders(["borderTop","borderBottom"]),borderBlock:F.borders("borderBlock"),borderTopWidth:F.borderWidths("borderTopWidth"),borderBlockStartWidth:F.borderWidths("borderBlockStartWidth"),borderTopColor:F.colors("borderTopColor"),borderBlockStartColor:F.colors("borderBlockStartColor"),borderTopStyle:F.borderStyles("borderTopStyle"),borderBlockStartStyle:F.borderStyles("borderBlockStartStyle"),borderBottomWidth:F.borderWidths("borderBottomWidth"),borderBlockEndWidth:F.borderWidths("borderBlockEndWidth"),borderBottomColor:F.colors("borderBottomColor"),borderBlockEndColor:F.colors("borderBlockEndColor"),borderBottomStyle:F.borderStyles("borderBottomStyle"),borderBlockEndStyle:F.borderStyles("borderBlockEndStyle"),borderLeftWidth:F.borderWidths("borderLeftWidth"),borderInlineStartWidth:F.borderWidths("borderInlineStartWidth"),borderLeftColor:F.colors("borderLeftColor"),borderInlineStartColor:F.colors("borderInlineStartColor"),borderLeftStyle:F.borderStyles("borderLeftStyle"),borderInlineStartStyle:F.borderStyles("borderInlineStartStyle"),borderRightWidth:F.borderWidths("borderRightWidth"),borderInlineEndWidth:F.borderWidths("borderInlineEndWidth"),borderRightColor:F.colors("borderRightColor"),borderInlineEndColor:F.colors("borderInlineEndColor"),borderRightStyle:F.borderStyles("borderRightStyle"),borderInlineEndStyle:F.borderStyles("borderInlineEndStyle"),borderTopRadius:F.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:F.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:F.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:F.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(N,{rounded:N.borderRadius,roundedTop:N.borderTopRadius,roundedTopLeft:N.borderTopLeftRadius,roundedTopRight:N.borderTopRightRadius,roundedTopStart:N.borderStartStartRadius,roundedTopEnd:N.borderStartEndRadius,roundedBottom:N.borderBottomRadius,roundedBottomLeft:N.borderBottomLeftRadius,roundedBottomRight:N.borderBottomRightRadius,roundedBottomStart:N.borderEndStartRadius,roundedBottomEnd:N.borderEndEndRadius,roundedLeft:N.borderLeftRadius,roundedRight:N.borderRightRadius,roundedStart:N.borderInlineStartRadius,roundedEnd:N.borderInlineEndRadius,borderStart:N.borderInlineStart,borderEnd:N.borderInlineEnd,borderTopStartRadius:N.borderStartStartRadius,borderTopEndRadius:N.borderStartEndRadius,borderBottomStartRadius:N.borderEndStartRadius,borderBottomEndRadius:N.borderEndEndRadius,borderStartRadius:N.borderInlineStartRadius,borderEndRadius:N.borderInlineEndRadius,borderStartWidth:N.borderInlineStartWidth,borderEndWidth:N.borderInlineEndWidth,borderStartColor:N.borderInlineStartColor,borderEndColor:N.borderInlineEndColor,borderStartStyle:N.borderInlineStartStyle,borderEndStyle:N.borderInlineEndStyle});var P={color:F.colors("color"),textColor:F.colors("color"),fill:F.colors("fill"),stroke:F.colors("stroke")},B={boxShadow:F.shadows("boxShadow"),mixBlendMode:!0,blendMode:F.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:F.prop("backgroundBlendMode"),opacity:!0};Object.assign(B,{shadow:B.boxShadow});var j={filter:{transform:_.filter},blur:F.blur("--chakra-blur"),brightness:F.propT("--chakra-brightness",_.brightness),contrast:F.propT("--chakra-contrast",_.contrast),hueRotate:F.degreeT("--chakra-hue-rotate"),invert:F.propT("--chakra-invert",_.invert),saturate:F.propT("--chakra-saturate",_.saturate),dropShadow:F.propT("--chakra-drop-shadow",_.dropShadow),backdropFilter:{transform:_.backdropFilter},backdropBlur:F.blur("--chakra-backdrop-blur"),backdropBrightness:F.propT("--chakra-backdrop-brightness",_.brightness),backdropContrast:F.propT("--chakra-backdrop-contrast",_.contrast),backdropHueRotate:F.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:F.propT("--chakra-backdrop-invert",_.invert),backdropSaturate:F.propT("--chakra-backdrop-saturate",_.saturate)},M={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:_.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:F.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:F.space("gap"),rowGap:F.space("rowGap"),columnGap:F.space("columnGap")};Object.assign(M,{flexDir:M.flexDirection});var O={gridGap:F.space("gridGap"),gridColumnGap:F.space("gridColumnGap"),gridRowGap:F.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},L={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:_.outline},outlineOffset:!0,outlineColor:F.colors("outlineColor")},I={width:F.sizesT("width"),inlineSize:F.sizesT("inlineSize"),height:F.sizes("height"),blockSize:F.sizes("blockSize"),boxSize:F.sizes(["width","height"]),minWidth:F.sizes("minWidth"),minInlineSize:F.sizes("minInlineSize"),minHeight:F.sizes("minHeight"),minBlockSize:F.sizes("minBlockSize"),maxWidth:F.sizes("maxWidth"),maxInlineSize:F.sizes("maxInlineSize"),maxHeight:F.sizes("maxHeight"),maxBlockSize:F.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;let i=null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?o:e;return{[`@media screen and (min-width: ${i})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;let i=null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?o:e;return{[`@media screen and (max-width: ${i})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:F.propT("float",_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(I,{w:I.width,h:I.height,minW:I.minWidth,maxW:I.maxWidth,minH:I.minHeight,maxH:I.maxHeight,overscroll:I.overscrollBehavior,overscrollX:I.overscrollBehaviorX,overscrollY:I.overscrollBehaviorY});var z={listStyleType:!0,listStylePosition:!0,listStylePos:F.prop("listStylePosition"),listStyleImage:!0,listStyleImg:F.prop("listStyleImage")},$=(e=>{let t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){let o="string"==typeof t?t.split("."):[t];for(n=0;n{let n={},o=$(e,t,{});for(let e in o)e in r&&null!=r[e]||(n[e]=o[e]);return n},H={srOnly:{transform:e=>!0===e?V:"focusable"===e?U:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>W(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>W(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>W(t,e,r)}},q={position:!0,pos:F.prop("position"),zIndex:F.prop("zIndex","zIndices"),inset:F.spaceT("inset"),insetX:F.spaceT(["left","right"]),insetInline:F.spaceT("insetInline"),insetY:F.spaceT(["top","bottom"]),insetBlock:F.spaceT("insetBlock"),top:F.spaceT("top"),insetBlockStart:F.spaceT("insetBlockStart"),bottom:F.spaceT("bottom"),insetBlockEnd:F.spaceT("insetBlockEnd"),left:F.spaceT("left"),insetInlineStart:F.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:F.spaceT("right"),insetInlineEnd:F.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(q,{insetStart:q.insetInlineStart,insetEnd:q.insetInlineEnd});var G={ring:{transform:_.ring},ringColor:F.colors("--chakra-ring-color"),ringOffset:F.prop("--chakra-ring-offset-width"),ringOffsetColor:F.colors("--chakra-ring-offset-color"),ringInset:F.prop("--chakra-ring-inset")},K={margin:F.spaceT("margin"),marginTop:F.spaceT("marginTop"),marginBlockStart:F.spaceT("marginBlockStart"),marginRight:F.spaceT("marginRight"),marginInlineEnd:F.spaceT("marginInlineEnd"),marginBottom:F.spaceT("marginBottom"),marginBlockEnd:F.spaceT("marginBlockEnd"),marginLeft:F.spaceT("marginLeft"),marginInlineStart:F.spaceT("marginInlineStart"),marginX:F.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:F.spaceT("marginInline"),marginY:F.spaceT(["marginTop","marginBottom"]),marginBlock:F.spaceT("marginBlock"),padding:F.space("padding"),paddingTop:F.space("paddingTop"),paddingBlockStart:F.space("paddingBlockStart"),paddingRight:F.space("paddingRight"),paddingBottom:F.space("paddingBottom"),paddingBlockEnd:F.space("paddingBlockEnd"),paddingLeft:F.space("paddingLeft"),paddingInlineStart:F.space("paddingInlineStart"),paddingInlineEnd:F.space("paddingInlineEnd"),paddingX:F.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:F.space("paddingInline"),paddingY:F.space(["paddingTop","paddingBottom"]),paddingBlock:F.space("paddingBlock")};Object.assign(K,{m:K.margin,mt:K.marginTop,mr:K.marginRight,me:K.marginInlineEnd,marginEnd:K.marginInlineEnd,mb:K.marginBottom,ml:K.marginLeft,ms:K.marginInlineStart,marginStart:K.marginInlineStart,mx:K.marginX,my:K.marginY,p:K.padding,pt:K.paddingTop,py:K.paddingY,px:K.paddingX,pb:K.paddingBottom,pl:K.paddingLeft,ps:K.paddingInlineStart,paddingStart:K.paddingInlineStart,pr:K.paddingRight,pe:K.paddingInlineEnd,paddingEnd:K.paddingInlineEnd});var Z={textDecorationColor:F.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:F.shadows("textShadow")},Y={clipPath:!0,transform:F.propT("transform",_.transform),transformOrigin:!0,translateX:F.spaceT("--chakra-translate-x"),translateY:F.spaceT("--chakra-translate-y"),skewX:F.degreeT("--chakra-skew-x"),skewY:F.degreeT("--chakra-skew-y"),scaleX:F.prop("--chakra-scale-x"),scaleY:F.prop("--chakra-scale-y"),scale:F.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:F.degreeT("--chakra-rotate")},X={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:F.prop("transitionDuration","transition.duration"),transitionProperty:F.prop("transitionProperty","transition.property"),transitionTimingFunction:F.prop("transitionTimingFunction","transition.easing")},J={fontFamily:F.prop("fontFamily","fonts"),fontSize:F.prop("fontSize","fontSizes",_.px),fontWeight:F.prop("fontWeight","fontWeights"),lineHeight:F.prop("lineHeight","lineHeights"),letterSpacing:F.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},Q={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:F.spaceT("scrollMargin"),scrollMarginTop:F.spaceT("scrollMarginTop"),scrollMarginBottom:F.spaceT("scrollMarginBottom"),scrollMarginLeft:F.spaceT("scrollMarginLeft"),scrollMarginRight:F.spaceT("scrollMarginRight"),scrollMarginX:F.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:F.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:F.spaceT("scrollPadding"),scrollPaddingTop:F.spaceT("scrollPaddingTop"),scrollPaddingBottom:F.spaceT("scrollPaddingBottom"),scrollPaddingLeft:F.spaceT("scrollPaddingLeft"),scrollPaddingRight:F.spaceT("scrollPaddingRight"),scrollPaddingX:F.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:F.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function ee(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var et=(e,...t)=>t.map(ee).join(` ${e} `).replace(/calc/g,""),er=(...e)=>`calc(${et("+",...e)})`,en=(...e)=>`calc(${et("-",...e)})`,eo=(...e)=>`calc(${et("*",...e)})`,ei=(...e)=>`calc(${et("/",...e)})`,ea=e=>{let t=ee(e);return null==t||Number.isNaN(parseFloat(t))?eo(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},es=Object.assign(e=>({add:(...t)=>es(er(e,...t)),subtract:(...t)=>es(en(e,...t)),multiply:(...t)=>es(eo(e,...t)),divide:(...t)=>es(ei(e,...t)),negate:()=>es(ea(e)),toString:()=>e.toString()}),{add:er,subtract:en,multiply:eo,divide:ei,negate:ea});function el(e,t="-"){return e.replace(/\s+/g,t)}function eu(e){return ed(ec(el(e.toString())))}function ec(e){return e.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}function ed(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function ef(e,t=""){return[t,e].filter(Boolean).join("-")}function ep(e,t){return`var(${e}${t?`, ${t}`:""})`}function eh(e,t=""){return eu(`--${ef(e,t)}`)}function em(e,t,r){let n=eh(e,r);return{variable:n,reference:ep(n,t)}}function eg(e,t){let r={};for(let n of t){if(Array.isArray(n)){let[t,o]=n;r[t]=em(`${e}-${t}`,o);continue}r[n]=em(`${e}-${n}`)}return r}function ev(e){let t=null==e?0:e.length;return t?e[t-1]:void 0}function ey(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function eb(e){if(null==e)return e;let{unitless:t}=ey(e);return t||"number"==typeof e?`${e}px`:e}var ew=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,eC=e=>Object.fromEntries(Object.entries(e).sort(ew));function ex(e){let t=eC(e);return Object.assign(Object.values(t),t)}function eE(e){return new Set(Object.keys(eC(e)))}function eD(e){var t;if(!e)return e;e=null!=(t=eb(e))?t:e;let r=-.02;return"number"==typeof e?`${e+r}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+r}`)}function eS(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${eb(e)})`),t&&r.push("and",`(max-width: ${eb(t)})`),r.join(" ")}function ek(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let r=ex(e),o=Object.entries(e).sort(ew).map(([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?eD(i):void 0,{_minW:eD(t),breakpoint:e,minW:t,maxW:i,maxWQuery:eS(null,i),minWQuery:eS(t),minMaxQuery:eS(t,i)}}),i=eE(e),a=Array.from(i.values());return{keys:i,normalized:r,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>i.has(e))},asObject:eC(e),asArray:ex(e),details:o,get:e=>o.find(t=>t.breakpoint===e),media:[null,...r.map(e=>eS(e)).slice(1)],toArrayValue(e){if(!(0,n.Kn)(e))throw Error("toArrayValue: value must be an object");let t=a.map(t=>{var r;return null!=(r=e[t])?r:null});for(;null===ev(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{let n=a[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}var eA=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,eR=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,e_=(e,t)=>`${e}:focus-visible ${t}`,eF=(e,t)=>`${e}:focus-within ${t}`,eT=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,eN=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,eP=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,eB=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,ej=(e,t)=>`${e}:placeholder-shown ${t}`,eM=e=>eL(t=>e(t,"&"),"[role=group]","[data-group]",".group"),eO=e=>eL(t=>e(t,"~ &"),"[data-peer]",".peer"),eL=(e,...t)=>t.map(e).join(", "),eI={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:eM(eA),_peerHover:eO(eA),_groupFocus:eM(eR),_peerFocus:eO(eR),_groupFocusVisible:eM(e_),_peerFocusVisible:eO(e_),_groupActive:eM(eT),_peerActive:eO(eT),_groupDisabled:eM(eN),_peerDisabled:eO(eN),_groupInvalid:eM(eP),_peerInvalid:eO(eP),_groupChecked:eM(eB),_peerChecked:eO(eB),_groupFocusWithin:eM(eF),_peerFocusWithin:eO(eF),_peerPlaceholderShown:eO(ej),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},ez=Object.keys(eI);function e$(e,t){return em(String(e).replace(/\./g,"-"),void 0,t)}function eV(e,t){let r={},i={};for(let[a,s]of Object.entries(e)){let{isSemantic:l,value:u}=s,{variable:c,reference:d}=e$(a,null==t?void 0:t.cssVarPrefix);if(!l){if(a.startsWith("space")){let[e,...t]=a.split("."),r=`${e}.-${t.join(".")}`,n=es.negate(u),o=es.negate(d);i[r]={value:n,var:c,varRef:o}}r[c]=u,i[a]={value:u,var:c,varRef:d};continue}let f=r=>{let n=[String(a).split(".")[0],r].join(".");if(!e[n])return r;let{reference:o}=e$(n,null==t?void 0:t.cssVarPrefix);return o};r=o(r,Object.entries((0,n.Kn)(u)?u:{default:u}).reduce((e,[t,r])=>{var n,o;if(!r)return e;let i=f(`${r}`);return"default"===t?e[c]=i:e[null!=(o=null==(n=eI)?void 0:n[t])?o:t]={[c]:i},e},{})),i[a]={value:d,var:c,varRef:d}}return{cssVars:r,cssMap:i}}function eU(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function eW(e,t){let r={};for(let n of t)n in e&&(r[n]=e[n]);return r}function eH(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}function eq(e,t,r={}){let{stop:n,getKey:o}=r;function i(e,r=[]){var a;if(eH(e)||Array.isArray(e)){let s={};for(let[l,u]of Object.entries(e)){let c=null!=(a=null==o?void 0:o(l))?a:l,d=[...r,c];if(null==n?void 0:n(e,d))return t(e,r);s[c]=i(u,d)}return s}return t(e,r)}return i(e)}var eG=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function eK(e){return eW(e,eG)}function eZ(e){return e.semanticTokens}function eY(e){let{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}var eX=e=>ez.includes(e)||"default"===e;function eJ({tokens:e,semanticTokens:t}){let r={};return eq(e,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})}),eq(t,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(eX)}),r}function eQ(e){var t;let r=eY(e),{cssMap:n,cssVars:o}=eV(eJ({tokens:eK(r),semanticTokens:eZ(r)}),{cssVarPrefix:null==(t=r.config)?void 0:t.cssVarPrefix});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...o},__cssMap:n,__breakpoints:ek(r.breakpoints)}),r}var e0=o({},T,N,P,M,I,j,G,L,O,H,q,B,K,Q,J,Z,Y,z,X);Object.keys(Object.assign({},K,I,M,O,q));var e1=[...Object.keys(e0),...ez],e2={...e0,...eI},e5=e=>e in e2,e9=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:o,media:i}=t.__breakpoints,a={};for(let s in e){let l=(0,n.Pu)(e[s],t);if(null==l)continue;if(!Array.isArray(l=(0,n.Kn)(l)&&r(l)?o(l):l)){a[s]=l;continue}let u=l.slice(0,i.length).length;for(let e=0;ee.startsWith("--")&&"string"==typeof t&&!e3(t),e6=(e,t)=>{var r,n;if(null==t)return t;let o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,s]=e8(t);return t=null!=(n=null!=(r=o(a))?r:i(s))?n:i(t)};function e7(e){let{configs:t={},pseudos:r={},theme:i}=e,a=(e,s=!1)=>{var l,u,c;let d=(0,n.Pu)(e,i),f=e9(d)(i),p={};for(let e in f){let h=f[e],m=(0,n.Pu)(h,i);e in r&&(e=r[e]),e4(e,m)&&(m=e6(i,m));let g=t[e];if(!0===g&&(g={property:e}),(0,n.Kn)(m)){p[e]=null!=(l=p[e])?l:{},p[e]=o({},p[e],a(m,!0));continue}let v=null!=(c=null==(u=null==g?void 0:g.transform)?void 0:u.call(g,m,i,d))?c:m;v=(null==g?void 0:g.processResult)?a(v,!0):v;let y=(0,n.Pu)(null==g?void 0:g.property,i);if(!s&&(null==g?void 0:g.static)&&(p=o({},p,(0,n.Pu)(g.static,i))),y&&Array.isArray(y)){for(let e of y)p[e]=v;continue}if(y){"&"===y&&(0,n.Kn)(v)?p=o({},p,v):p[y]=v;continue}if((0,n.Kn)(v)){p=o({},p,v);continue}p[e]=v}return p};return a}var te=e=>t=>e7({theme:t,pseudos:eI,configs:e0})(e);function tt(e){return e}function tr(e){return e}function tn(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function to(e,t){return Array.isArray(e)?e:(0,n.Kn)(e)?t(e):null!=e?[e]:void 0}function ti(e,t){for(let r=t+1;r{o(u,{[e]:f?g[e]:{[m]:g[e]}})});continue}if(!p){f?o(u,g):u[m]=g;continue}u[m]=g}}return u}}function ts(e){return t=>{var r;let{variant:i,size:a,theme:s}=t,l=ta(s);return o({},(0,n.Pu)(null!=(r=e.baseStyle)?r:{},t),l(e,"sizes",a,t),l(e,"variants",i,t))}}function tl(e){return eU(e,["styleConfig","size","variant","colorScheme"])}},51337:function(e,t,r){"use strict";r.d(t,{m:function(){return N}});var n,o=r(33179),i=new Set([...o.cC,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),a=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function s(e){return a.has(e)||!i.has(e)}var l=r(12498),u=r(21759),c=r(36597);function d(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");let r={...e};for(let e of t)if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in r&&delete r[t],r[t]=e[t]);return r}var f=r(87462),p=r(1976),h=r(85662),m=r(27278),g=r(70444),v=r(67294),y=r(45042),b=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|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)-.*))$/,w=(0,y.Z)(function(e){return b.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),C=!1,x=w,E=function(e){return"theme"!==e},D=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?x:E},S=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},k=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,g.hC)(t,r,n),(0,m.L)(function(){return(0,g.My)(t,r,n)}),null},A=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],R=(function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=S(t,r,i),l=s||D(a),u=!l("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{var m=c[0];d.push(m[0]);for(var y=c.length,b=1;bt=>{let{theme:r,css:n,__css:i,sx:a,...s}=t,l=(0,u.lw)(s,(e,t)=>(0,o.ZR)(t)),f=d({},i,(0,c.Pu)(e,t),(0,u.YU)(l),a),p=(0,o.iv)(f)(t.theme);return n?[p,n]:p};function T(e,t){let{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=s);let o=F({baseStyle:r}),i=_(e,n)(o);return v.forwardRef(function(e,t){let{colorMode:r,forced:n}=(0,l.If)();return v.createElement(i,{ref:t,"data-theme":n?r:void 0,...e})})}var N=function(){let e=new Map;return new Proxy(T,{apply:(e,t,r)=>T(...r),get:(t,r)=>(e.has(r)||e.set(r,T(r)),e.get(r))})}()},34629:function(e,t,r){"use strict";r.d(t,{LP:function(){return l},uP:function(){return i}});var n=r(75119),o=r(12498);function i(){let e=(0,o.If)(),t=(0,n.F)();return{...e,theme:t}}function a(e,t,r){var n,o;if(null==t)return t;let i=t=>{var r,n;return null==(n=null==(r=e.__breakpoints)?void 0:r.asArray)?void 0:n[t]};return null!=(o=null!=(n=i(t))?n:i(r))?o:r}function s(e,t,r){var n,o;if(null==t)return t;let i=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.value};return null!=(o=null!=(n=i(t))?n:i(r))?o:r}function l(e,t,r){let n=Array.isArray(t)?t:[t],o=Array.isArray(r)?r:[r];return r=>{let i=o.filter(Boolean),l=n.map((t,n)=>{var o,l;return"breakpoints"===e?a(r,t,null!=(o=i[n])?o:t):s(r,`${e}.${t}`,null!=(l=i[n])?l:t)});return Array.isArray(t)?l:l[0]}}},75119:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(1976),o=r(67294);function i(){let e=(0,o.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}},35059:function(e,t,r){"use strict";r.d(t,{G:function(){return o}});var n=r(67294);function o(e){return(0,n.forwardRef)(e)}},91639:function(e,t,r){"use strict";r.d(t,{jC:function(){return d},mq:function(){return c}});var n=r(34629),o=r(33179),i=r(21759),a=r(38554),s=r(67294),l=r(69590);function u(e,t={}){var r;let{styleConfig:u,...c}=t,{theme:d,colorMode:f}=(0,n.uP)(),p=e?(0,i.Wf)(d,`components.${e}`):void 0,h=u||p,m=a({theme:d,colorMode:f},null!=(r=null==h?void 0:h.defaultProps)?r:{},(0,i.YU)((0,i.CE)(c,["children"]))),g=(0,s.useRef)({});if(h){let e=(0,o.Ud)(h)(m);l(g.current,e)||(g.current=e)}return g.current}function c(e,t={}){return u(e,t)}function d(e,t={}){return u(e,t)}},36597:function(e,t,r){"use strict";function n(e){return"function"==typeof e}function o(e,...t){return n(e)?e(...t):e}r.d(t,{Pu:function(){return o}})},21759:function(e,t,r){"use strict";function n(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}r.d(t,{CE:function(){return n},Wf:function(){return o},YU:function(){return a},lw:function(){return i}}),r(38554);var o=(e=>{let t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){let o="string"==typeof t?t.split("."):[t];for(n=0;n{let o=e[n];t(o,n,e)&&(r[n]=o)}),r}var a=e=>i(e,e=>null!=e)},26526:function(e,t,r){"use strict";r.r(t),r.d(t,{AccessibleIcon:function(){return U},AlertDialog:function(){return a},AspectRatio:function(){return ak},Avatar:function(){return aH},Badge:function(){return aY},Blockquote:function(){return aX},Box:function(){return a6},Button:function(){return sx},Callout:function(){return s},Card:function(){return sF},Checkbox:function(){return lJ},CheckboxCards:function(){return l},CheckboxGroup:function(){return u},ChevronDownIcon:function(){return lB},Code:function(){return l2},Container:function(){return l7},ContextMenu:function(){return c},DataList:function(){return d},Dialog:function(){return f},DropdownMenu:function(){return p},Em:function(){return pT},Flex:function(){return sd},Grid:function(){return lT},Heading:function(){return ny},HoverCard:function(){return h},IconButton:function(){return p3},Inset:function(){return hr},Kbd:function(){return hi},Link:function(){return hu},Popover:function(){return m},Portal:function(){return eT},Progress:function(){return mr},Quote:function(){return mo},Radio:function(){return mq},RadioCards:function(){return g},RadioGroup:function(){return v},Reset:function(){return mG},ScrollArea:function(){return d4},Section:function(){return gc},SegmentedControl:function(){return y},Select:function(){return b},Separator:function(){return vB},Skeleton:function(){return vM},Slider:function(){return yp},Slot:function(){return T},Slottable:function(){return P},Spinner:function(){return sh},Strong:function(){return ym},Switch:function(){return y_},TabNav:function(){return w},Table:function(){return C},Tabs:function(){return x},Text:function(){return nC},TextArea:function(){return b2},TextField:function(){return E},Theme:function(){return ah},ThemeContext:function(){return af},ThemePanel:function(){return b4},ThickCheckIcon:function(){return lP},ThickChevronRightIcon:function(){return lj},ThickDividerHorizontalIcon:function(){return lN},Tooltip:function(){return wn},VisuallyHidden:function(){return z},useThemeContext:function(){return ap}});var n,o,i,a={};r.r(a),r.d(a,{Action:function(){return aE},Cancel:function(){return aD},Content:function(){return aw},Description:function(){return ax},Root:function(){return ay},Title:function(){return aC},Trigger:function(){return ab}});var s={};r.r(s),r.d(s,{Icon:function(){return sS},Root:function(){return sD},Text:function(){return sk}});var l={};r.r(l),r.d(l,{Item:function(){return lV},Root:function(){return l$}});var u={};r.r(u),r.d(u,{Item:function(){return lY},Root:function(){return lZ}});var c={};r.r(c),r.d(c,{CheckboxItem:function(){return fd},Content:function(){return fi},Group:function(){return fl},Item:function(){return fs},Label:function(){return fa},RadioGroup:function(){return fu},RadioItem:function(){return fc},Root:function(){return fr},Separator:function(){return fm},Sub:function(){return ff},SubContent:function(){return fh},SubTrigger:function(){return fp},Trigger:function(){return fn}});var d={};r.r(d),r.d(d,{Item:function(){return fC},Label:function(){return fx},Root:function(){return fw},Value:function(){return fE}});var f={};r.r(f),r.d(f,{Close:function(){return f_},Content:function(){return fk},Description:function(){return fR},Root:function(){return fD},Title:function(){return fA},Trigger:function(){return fS}});var p={};r.r(p),r.d(p,{CheckboxItem:function(){return pS},Content:function(){return pb},Group:function(){return px},Item:function(){return pC},Label:function(){return pw},RadioGroup:function(){return pE},RadioItem:function(){return pD},Root:function(){return pg},Separator:function(){return p_},Sub:function(){return pk},SubContent:function(){return pR},SubTrigger:function(){return pA},Trigger:function(){return pv},TriggerIcon:function(){return lB}});var h={};r.r(h),r.d(h,{Content:function(){return p8},Root:function(){return p5},Trigger:function(){return p9}});var m={};r.r(m),r.d(m,{Anchor:function(){return hq},Close:function(){return hH},Content:function(){return hW},Root:function(){return hV},Trigger:function(){return hU}});var g={};r.r(g),r.d(g,{Item:function(){return mP},Root:function(){return mN}});var v={};r.r(v),r.d(v,{Item:function(){return mU},Root:function(){return mV}});var y={};r.r(y),r.d(y,{Item:function(){return gi},Root:function(){return go}});var b={};r.r(b),r.d(b,{Content:function(){return vR},Group:function(){return vF},Item:function(){return v_},Label:function(){return vT},Root:function(){return vk},Separator:function(){return vN},Trigger:function(){return vA}});var w={};r.r(w),r.d(w,{Link:function(){return bb},Root:function(){return by}});var C={};r.r(C),r.d(C,{Body:function(){return bA},Cell:function(){return b_},ColumnHeaderCell:function(){return bF},Header:function(){return bk},Root:function(){return bS},Row:function(){return bR},RowHeaderCell:function(){return bT}});var x={};r.r(x),r.d(x,{Content:function(){return b0},List:function(){return bJ},Root:function(){return bX},Trigger:function(){return bQ}});var E={};r.r(E),r.d(E,{Root:function(){return b8},Slot:function(){return b3}});var D=r(67294),S=r.t(D,2),k=r(73935);function A(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function R(...e){return t=>e.forEach(e=>A(e,t))}function _(...e){return D.useCallback(R(...e),e)}var F=r(85893),T=D.forwardRef((e,t)=>{let{children:r,...n}=e,o=D.Children.toArray(r),i=o.find(B);if(i){let e=i.props.children,r=o.map(t=>t!==i?t:D.Children.count(e)>1?D.Children.only(null):D.isValidElement(e)?e.props.children:null);return(0,F.jsx)(N,{...n,ref:t,children:D.isValidElement(e)?D.cloneElement(e,void 0,r):null})}return(0,F.jsx)(N,{...n,ref:t,children:r})});T.displayName="Slot";var N=D.forwardRef((e,t)=>{let{children:r,...n}=e;if(D.isValidElement(r)){let e=M(r);return D.cloneElement(r,{...j(n,r.props),ref:t?R(t,e):e})}return D.Children.count(r)>1?D.Children.only(null):null});N.displayName="SlotClone";var P=({children:e})=>(0,F.jsx)(F.Fragment,{children:e});function B(e){return D.isValidElement(e)&&e.type===P}function j(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function M(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}var O=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=D.forwardRef((e,r)=>{let{asChild:n,...o}=e,i=n?T:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,F.jsx)(i,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function L(e,t){e&&k.flushSync(()=>e.dispatchEvent(t))}var I="VisuallyHidden",z=D.forwardRef((e,t)=>(0,F.jsx)(O.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));z.displayName=I;var $=z,V="AccessibleIcon",U=({children:e,label:t})=>{let r=D.Children.only(e);return(0,F.jsxs)(F.Fragment,{children:[D.cloneElement(r,{"aria-hidden":"true",focusable:"false"}),(0,F.jsx)($,{children:t})]})};U.displayName=V;var W=r(94184);function H(e,t){let r=D.createContext(t);function n(e){let{children:t,...n}=e,o=D.useMemo(()=>n,Object.values(n));return(0,F.jsx)(r.Provider,{value:o,children:t})}function o(n){let o=D.useContext(r);if(o)return o;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function q(e,t=[]){let r=[];function n(t,n){let o=D.createContext(n),i=r.length;function a(t){let{scope:r,children:n,...a}=t,s=r?.[e][i]||o,l=D.useMemo(()=>a,Object.values(a));return(0,F.jsx)(s.Provider,{value:l,children:n})}function s(r,a){let s=a?.[e][i]||o,l=D.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}return r=[...r,n],a.displayName=t+"Provider",[a,s]}let o=()=>{let t=r.map(e=>D.createContext(e));return function(r){let n=r?.[e]||t;return D.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return o.scopeName=e,[n,G(o,...t)]}function G(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return D.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}function K(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var Z=globalThis?.document?D.useLayoutEffect:()=>{},Y=S["useId".toString()]||(()=>void 0),X=0;function J(e){let[t,r]=D.useState(Y());return Z(()=>{e||r(e=>e??String(X++))},[e]),e||(t?`radix-${t}`:"")}function Q(e){let t=D.useRef(e);return D.useEffect(()=>{t.current=e}),D.useMemo(()=>(...e)=>t.current?.(...e),[])}function ee({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=et({defaultProp:t,onChange:r}),i=void 0!==e,a=i?e:n,s=Q(r);return[a,D.useCallback(t=>{if(i){let r=t,n="function"==typeof t?r(e):t;n!==e&&s(n)}else o(t)},[i,e,o,s])]}function et({defaultProp:e,onChange:t}){let r=D.useState(e),[n]=r,o=D.useRef(n),i=Q(t);return D.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}function er(e,t=globalThis?.document){let r=Q(e);D.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}var en="DismissableLayer",eo="dismissableLayer.update",ei="dismissableLayer.pointerDownOutside",ea="dismissableLayer.focusOutside",es=D.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),el=D.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,c=D.useContext(es),[d,f]=D.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=D.useState({}),m=_(t,e=>f(e)),g=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),b=d?g.indexOf(d):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,C=b>=y,x=ec(e=>{let t=e.target,r=[...c.branches].some(e=>e.contains(t));!C||r||(i?.(e),s?.(e),e.defaultPrevented||l?.())},p),E=ed(e=>{let t=e.target;[...c.branches].some(e=>e.contains(t))||(a?.(e),s?.(e),e.defaultPrevented||l?.())},p);return er(e=>{b!==c.layers.size-1||(o?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},p),D.useEffect(()=>{if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(n=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),ef(),()=>{r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=n)}},[d,p,r,c]),D.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ef())},[d,c]),D.useEffect(()=>{let e=()=>h({});return document.addEventListener(eo,e),()=>document.removeEventListener(eo,e)},[]),(0,F.jsx)(O.div,{...u,ref:m,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:K(e.onFocusCapture,E.onFocusCapture),onBlurCapture:K(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:K(e.onPointerDownCapture,x.onPointerDownCapture)})});el.displayName=en;var eu="DismissableLayerBranch";function ec(e,t=globalThis?.document){let r=Q(e),n=D.useRef(!1),o=D.useRef(()=>{});return D.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){ep(ei,r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function ed(e,t=globalThis?.document){let r=Q(e),n=D.useRef(!1);return D.useEffect(()=>{let e=e=>{e.target&&!n.current&&ep(ea,r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ef(){let e=new CustomEvent(eo);document.dispatchEvent(e)}function ep(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?L(o,i):o.dispatchEvent(i)}D.forwardRef((e,t)=>{let r=D.useContext(es),n=D.useRef(null),o=_(t,n);return D.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,F.jsx)(O.div,{...e,ref:o})}).displayName=eu;var eh="focusScope.autoFocusOnMount",em="focusScope.autoFocusOnUnmount",eg={bubbles:!1,cancelable:!0},ev="FocusScope",ey=D.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=D.useState(null),u=Q(o),c=Q(i),d=D.useRef(null),f=_(t,e=>l(e)),p=D.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;D.useEffect(()=>{if(n){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:eS(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||eS(d.current,{select:!0})},r=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&eS(s)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(r);return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[n,s,p.paused]),D.useEffect(()=>{if(s){ek.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(eh,eg);s.addEventListener(eh,u),s.dispatchEvent(t),t.defaultPrevented||(eb(e_(eC(s)),{select:!0}),document.activeElement===e&&eS(s))}return()=>{s.removeEventListener(eh,u),setTimeout(()=>{let t=new CustomEvent(em,eg);s.addEventListener(em,c),s.dispatchEvent(t),t.defaultPrevented||eS(e??document.body,{select:!0}),s.removeEventListener(em,c),ek.remove(p)},0)}}},[s,u,c,p]);let h=D.useCallback(e=>{if(!r&&!n||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,i]=ew(t);n&&i?e.shiftKey||o!==i?e.shiftKey&&o===n&&(e.preventDefault(),r&&eS(i,{select:!0})):(e.preventDefault(),r&&eS(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,p.paused]);return(0,F.jsx)(O.div,{tabIndex:-1,...a,ref:f,onKeyDown:h})});function eb(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(eS(n,{select:t}),document.activeElement!==r)return}function ew(e){let t=eC(e);return[ex(t,e),ex(t.reverse(),e)]}function eC(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ex(e,t){for(let r of e)if(!eE(r,{upTo:t}))return r}function eE(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function eD(e){return e instanceof HTMLInputElement&&"select"in e}function eS(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&eD(e)&&t&&e.select()}}ey.displayName=ev;var ek=eA();function eA(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=eR(e,t)).unshift(t)},remove(t){e=eR(e,t),e[0]?.resume()}}}function eR(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}function e_(e){return e.filter(e=>"A"!==e.tagName)}var eF="Portal",eT=D.forwardRef((e,t)=>{let{container:r,...n}=e,[o,i]=D.useState(!1);Z(()=>i(!0),[]);let a=r||o&&globalThis?.document?.body;return a?k.createPortal((0,F.jsx)(O.div,{...n,ref:t}),a):null});function eN(e,t){return D.useReducer((e,r)=>t[e][r]??e,e)}eT.displayName=eF;var eP=e=>{let{present:t,children:r}=e,n=eB(t),o="function"==typeof r?r({present:n.isPresent}):D.Children.only(r),i=_(n.ref,eM(o));return"function"==typeof r||n.isPresent?D.cloneElement(o,{ref:i}):null};function eB(e){let[t,r]=D.useState(),n=D.useRef({}),o=D.useRef(e),i=D.useRef("none"),[a,s]=eN(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return D.useEffect(()=>{let e=ej(n.current);i.current="mounted"===a?e:"none"},[a]),Z(()=>{let t=n.current,r=o.current;if(r!==e){let n=i.current,a=ej(t);if(e)s("MOUNT");else if("none"===a||t?.display==="none")s("UNMOUNT");else{let e=n!==a;r&&e?s("ANIMATION_OUT"):s("UNMOUNT")}o.current=e}},[e,s]),Z(()=>{if(t){let e=e=>{let r=ej(n.current).includes(e.animationName);e.target===t&&r&&k.flushSync(()=>s("ANIMATION_END"))},r=e=>{e.target===t&&(i.current=ej(n.current))};return t.addEventListener("animationstart",r),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",r),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:D.useCallback(e=>{e&&(n.current=getComputedStyle(e)),r(e)},[])}}function ej(e){return e?.animationName||"none"}function eM(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}eP.displayName="Presence";var eO=0;function eL(){D.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eI()),document.body.insertAdjacentElement("beforeend",e[1]??eI()),eO++,()=>{1===eO&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),eO--}},[])}function eI(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var ez=function(){return(ez=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function eV(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o