diff --git a/.goreleaser.yml b/.goreleaser.yml index 8f23e14..b2b306f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -55,6 +55,19 @@ checksum: name_template: 'checksums.txt' snapshot: name_template: "{{ incpatch .Version }}-next" +# # For docker release +# dockers: +# - +# image_templates: +# - "kenriortega/ngonx:{{ .Tag }}" +# - "kenriortega/ngonx:v{{ .Major }}" +# - "kenriortega/ngonx:v{{ .Major }}.{{ .Minor }}" +# - "kenriortega/ngonx:latest" +# skip_push: true + +# # Path to the Dockerfile (from the project root). +# dockerfile: Dockerfile.goreleaser +# use: docker changelog: sort: asc filters: diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser new file mode 100644 index 0000000..73f757f --- /dev/null +++ b/Dockerfile.goreleaser @@ -0,0 +1,5 @@ +FROM alpine:latest +ENTRYPOINT ["/ngonxctl"] +COPY ngonxctl / +COPY ngonx.yaml ngonx.yaml +CMD ["proxy"] \ No newline at end of file diff --git a/cmd/cli/ui/assets/index.06768155.js b/cmd/cli/ui/assets/index.06768155.js new file mode 100644 index 0000000..c79f831 --- /dev/null +++ b/cmd/cli/ui/assets/index.06768155.js @@ -0,0 +1 @@ +var E=Object.defineProperty,F=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var v=(t,r,n)=>r in t?E(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,p=(t,r)=>{for(var n in r||(r={}))w.call(r,n)&&v(t,n,r[n]);if(u)for(var n of u(r))b.call(r,n)&&v(t,n,r[n]);return t},f=(t,r)=>F(t,B(r));var y=(t,r)=>{var n={};for(var l in t)w.call(t,l)&&r.indexOf(l)<0&&(n[l]=t[l]);if(t!=null&&u)for(var l of u(t))r.indexOf(l)<0&&b.call(t,l)&&(n[l]=t[l]);return n};import{j as e,B as h,T as S,r as d,u as I,a as A,R as k,b as W,c as i,S as C,I as O,F as Z,d as j,e as D,C as L,f as m,g as P,h as R,i as M,k as V,l as $,m as x,n as q,o as J,H as z,p as K,q as Q,s as U,t as Y,v as _}from"./vendor.50dc3954.js";import T from"https://cdn.skypack.dev/url-parse";const G=function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&l(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerpolicy&&(o.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?o.credentials="include":s.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function l(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}};G();function X(t){return e(h,f(p({},t),{children:e(S,{as:"span",fontSize:"sm",fontWeight:"bold",children:"ngonx"})}))}const ee=t=>{const[r,n]=d.exports.useState(null),[l,s]=d.exports.useState(null),o=d.exports.useMemo(()=>new WebSocket(`ws://localhost:10001/${t}`),[]);o.onopen=d.exports.useCallback(c=>{o.send("endpoints")},[o]),o.onmessage=d.exports.useCallback(c=>{console.log("Socket message: ",r);let g=JSON.parse(c.data);return n(g)},[o]),o.onerror=d.exports.useCallback(c=>{console.log("Socket error: ",c),s(c)},[o]),o.onclose=d.exports.useCallback(c=>{c.wasClean?s(`Connection closed cleanly, code=${c.code} reason=${c.reason}`):s("Connection died")},[o]);const a=d.exports.useCallback((c,g)=>{o.close(c,g)},[o]);return d.exports.useEffect(()=>a(1e3,"Clean up"),[]),{data:r,error:l,close:a}},N=()=>{const t=I("#282828","#fff"),[r]=A("(max-width: 600px)");return{border:t,isMobileDevice:r}},te=t=>{const[r,n]=k.useState(!1),l=()=>n(!r),{border:s}=N(),{colorMode:o,toggleColorMode:a}=W();return i(se,f(p({},t),{children:[e(X,{w:"50px"}),e(oe,{toggle:l,isOpen:r,colorFill:s}),e(le,{isOpen:r,colorMode:o,toggleColorMode:a})]}))},ne=({fill:t})=>i("svg",{width:"24",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Close"}),e("path",{fill:t,d:"M9.00023 7.58599L13.9502 2.63599L15.3642 4.04999L10.4142 8.99999L15.3642 13.95L13.9502 15.364L9.00023 10.414L4.05023 15.364L2.63623 13.95L7.58623 8.99999L2.63623 4.04999L4.05023 2.63599L9.00023 7.58599Z"})]}),re=({fill:t})=>i("svg",{width:"24px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:t,children:[e("title",{children:"Menu"}),e("path",{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"})]}),oe=({toggle:t,isOpen:r,colorFill:n})=>e(h,{display:{base:"block",md:"none"},onClick:t,children:r?e(ne,{fill:n}):e(re,{fill:n})}),le=({isOpen:t,colorMode:r,toggleColorMode:n})=>e(h,{display:{base:t?"block":"none",md:"block"},flexBasis:{base:"100%",md:"auto"},children:e(C,{spacing:8,align:"center",justify:["center","space-between","flex-end","flex-end"],direction:["column","row","row","row"],pt:[4,4,0,0],children:e(O,{"aria-label":"",mr:"4",className:"icon-button-name",size:"sm",icon:r==="light"?e(Z,{}):e(j,{}),isRound:!0,onClick:n,alignSelf:"flex-end"})})}),se=n=>{var l=n,{children:t}=l,r=y(l,["children"]);return e(D,f(p({as:"nav",align:"center",justify:"space-between",wrap:"wrap",w:"100%",p:8},r),{children:t}))};function ae(){const{border:t,colorBase:r}=N();return e(h,{pt:"20",color:t,children:e(L,{children:e(C,{spacing:6,children:i(S,{fontSize:"sm",children:["\xA9 ",new Date().getFullYear()," @kenriortega web page. All rights reserved"]})})})})}const ie=({id:t,path_url:r,status:n})=>{const{pathname:l,hostname:s,protocol:o}=new T(r);return e(m,{children:e("span",{className:"card",children:i(h,{w:"500",children:[e("h1",{children:n?"\u2620\uFE0F Down":"\u2705 UP"}),i("h3",{children:["Path: ",l]}),i("h4",{children:["Host: ",s]})]})})})},ce=({endpoints:t,onSelectedRow:r})=>e(m,{children:i(P,{variant:"simple",children:[e(R,{children:e(M,{children:Object.keys(t[0]).map(n=>e(V,{children:n},n))})}),e($,{children:t.map(n=>i(M,{onClick:()=>r(n),children:[e(x,{cursor:"pointer",color:"green",children:e(q,{label:"go to ...",placement:"left",children:n.id.split("-")[0]})}),e(x,{children:T(n.path_url).pathname}),e(x,{children:n.status?"\u2620\uFE0F down":"\u2705 up"})]},n.id))})]})});function H({primary:t="",border:r="",width:n,height:l}){return i("svg",{id:"b21613c9-2bf0-4d37-bef0-3b193d34fc5d","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:n,height:l,viewBox:"0 0 647.63626 632.17383",children:[e("path",{d:"M687.3279,276.08691H512.81813a15.01828,15.01828,0,0,0-15,15v387.85l-2,.61005-42.81006,13.11a8.00676,8.00676,0,0,1-9.98974-5.31L315.678,271.39691a8.00313,8.00313,0,0,1,5.31006-9.99l65.97022-20.2,191.25-58.54,65.96972-20.2a7.98927,7.98927,0,0,1,9.99024,5.3l32.5498,106.32Z",transform:"translate(-276.18187 -133.91309)",fill:"#f2f2f2"}),e("path",{d:"M725.408,274.08691l-39.23-128.14a16.99368,16.99368,0,0,0-21.23-11.28l-92.75,28.39L380.95827,221.60693l-92.75,28.4a17.0152,17.0152,0,0,0-11.28028,21.23l134.08008,437.93a17.02661,17.02661,0,0,0,16.26026,12.03,16.78926,16.78926,0,0,0,4.96972-.75l63.58008-19.46,2-.62v-2.09l-2,.61-64.16992,19.65a15.01489,15.01489,0,0,1-18.73-9.95l-134.06983-437.94a14.97935,14.97935,0,0,1,9.94971-18.73l92.75-28.4,191.24024-58.54,92.75-28.4a15.15551,15.15551,0,0,1,4.40966-.66,15.01461,15.01461,0,0,1,14.32032,10.61l39.0498,127.56.62012,2h2.08008Z",transform:"translate(-276.18187 -133.91309)",fill:"#3f3d56"}),e("path",{d:"M398.86279,261.73389a9.0157,9.0157,0,0,1-8.61133-6.3667l-12.88037-42.07178a8.99884,8.99884,0,0,1,5.9712-11.24023l175.939-53.86377a9.00867,9.00867,0,0,1,11.24072,5.9707l12.88037,42.07227a9.01029,9.01029,0,0,1-5.9707,11.24072L401.49219,261.33887A8.976,8.976,0,0,1,398.86279,261.73389Z",transform:"translate(-276.18187 -133.91309)",fill:"#6c63ff"}),e("circle",{cx:"190.15351",cy:"24.95465",r:"20",fill:"#6c63ff"}),e("circle",{cx:"190.15351",cy:"24.95465",r:"12.66462",fill:"#fff"}),e("path",{d:"M878.81836,716.08691h-338a8.50981,8.50981,0,0,1-8.5-8.5v-405a8.50951,8.50951,0,0,1,8.5-8.5h338a8.50982,8.50982,0,0,1,8.5,8.5v405A8.51013,8.51013,0,0,1,878.81836,716.08691Z",transform:"translate(-276.18187 -133.91309)",fill:"#e6e6e6"}),e("path",{d:"M723.31813,274.08691h-210.5a17.02411,17.02411,0,0,0-17,17v407.8l2-.61v-407.19a15.01828,15.01828,0,0,1,15-15H723.93825Zm183.5,0h-394a17.02411,17.02411,0,0,0-17,17v458a17.0241,17.0241,0,0,0,17,17h394a17.0241,17.0241,0,0,0,17-17v-458A17.02411,17.02411,0,0,0,906.81813,274.08691Zm15,475a15.01828,15.01828,0,0,1-15,15h-394a15.01828,15.01828,0,0,1-15-15v-458a15.01828,15.01828,0,0,1,15-15h394a15.01828,15.01828,0,0,1,15,15Z",transform:"translate(-276.18187 -133.91309)",fill:"#3f3d56"}),e("path",{d:"M801.81836,318.08691h-184a9.01015,9.01015,0,0,1-9-9v-44a9.01016,9.01016,0,0,1,9-9h184a9.01016,9.01016,0,0,1,9,9v44A9.01015,9.01015,0,0,1,801.81836,318.08691Z",transform:"translate(-276.18187 -133.91309)",fill:"#6c63ff"}),e("circle",{cx:"433.63626",cy:"105.17383",r:"20",fill:"#6c63ff"}),e("circle",{cx:"433.63626",cy:"105.17383",r:"12.18187",fill:"#fff"})]})}const de=()=>{const[t,r]=d.exports.useState(!1),{data:n,error:l}=ee("api/v1/mngt/wss"),s=()=>{r(!t)},o=a=>{console.log(a)};return l?"An error has occurred: "+l:e(m,{children:i(J,{maxW:"container.1sm",px:[0,4],children:[e(z,{as:"h2",m:8,size:"md",children:"Ngonx Proxy!!"}),e(z,{as:"h1",m:8,size:"2xl",children:"Service Discovery"}),e(h,{onClick:s,cursor:"pointer",children:t?e(K,{size:23}):e(Q,{size:23})}),t?e(h,{p:23,children:n.length>0?e(ce,{endpoints:n,onSelectedRow:o}):e(H,{width:"300",height:"300"})}):e("div",{children:(n==null?void 0:n.length)>0?e("div",{className:"grid",children:n.map(a=>d.exports.createElement(ie,f(p({},a),{key:a.id})))}):e(L,{children:e(H,{width:"300",height:"300"})})})]})})};function he(){return i(m,{children:[e(te,{}),e("main",{className:"main",children:e(de,{})}),e(ae,{})]})}const pe=U({styles:{global:t=>({"html, body":{fontSize:"sm",color:t.colorMode==="dark"?"white":"spotify.700",lineHeight:"tall",bg:t.colorMode==="dark"?"spotify.700":"white"}})},config:{initialColorMode:"system",useSystemColorMode:!0},colors:{spotify:{700:"#282828"}},sizes:{container:{sectionLanding:"1250px",desktop:"1250px",desktopInput:"450px","1sm":"700px","2sm":"850px","1xl":"1250px","2xl":"1440px"}},textStyles:{filterListItem:{fontSize:["18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%",paddingLeft:"23px"},brandName:{fontSize:["18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%"},linkName:{fontSize:["12px","14px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%",justifyContent:"center",padding:"4px 16px"},cardText:{fontSize:["14px","16px","18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%"},cardTextSmall:{fontSize:["10px","12px","12px","14px"],fontWeight:"500",lineHeight:"110%",letterSpacing:"-1%"},cardTextVerySmall:{fontSize:["10px","10px"],fontWeight:"500",letterSpacing:"-1%"}}});Y.render(e(k.StrictMode,{children:e(_,{theme:pe,children:e(he,{})})}),document.getElementById("root")); diff --git a/cmd/cli/ui/assets/index.a1a76be5.js b/cmd/cli/ui/assets/index.a1a76be5.js new file mode 100644 index 0000000..204d6d2 --- /dev/null +++ b/cmd/cli/ui/assets/index.a1a76be5.js @@ -0,0 +1 @@ +var H=Object.defineProperty,E=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var b=(t,n,r)=>n in t?H(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,p=(t,n)=>{for(var r in n||(n={}))x.call(n,r)&&b(t,r,n[r]);if(u)for(var r of u(n))w.call(n,r)&&b(t,r,n[r]);return t},f=(t,n)=>E(t,F(n));var v=(t,n)=>{var r={};for(var o in t)x.call(t,o)&&n.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&u)for(var o of u(t))n.indexOf(o)<0&&w.call(t,o)&&(r[o]=t[o]);return r};import{j as e,B as d,T as y,u as B,r as c,a as I,b as A,R as S,c as W,d as i,S as C,I as O,F as Z,e as j,f as D,C as k,g as m,h as P,i as R,k as L,l as V,m as q,n as g,o as _,p as $,H as M,q as J,s as K,t as Q,v as U,w as Y}from"./vendor.84c755d5.js";import z from"https://cdn.skypack.dev/url-parse";const G=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function r(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerpolicy&&(a.referrerPolicy=l.referrerpolicy),l.crossorigin==="use-credentials"?a.credentials="include":l.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(l){if(l.ep)return;l.ep=!0;const a=r(l);fetch(l.href,a)}};G();function X(t){return e(d,f(p({},t),{children:e(y,{as:"span",fontSize:"sm",fontWeight:"bold",children:"ngonx"})}))}const ee=t=>{const n=B(),[r,o]=c.exports.useState(null),[l,a]=c.exports.useState(null),s=c.exports.useMemo(()=>new WebSocket(`ws://0.0.0.0:10001/${t}`),[]);return s.onopen=c.exports.useCallback(h=>{n({title:"Conected",description:`ws://0.0.0.0:10001/${t}`,status:"success",duration:5e3,position:"top-right",isClosable:!0}),s.send("endpoints")},[s]),s.onmessage=c.exports.useCallback(h=>{if(h.data!==null)return o(JSON.parse(h.data))},[s]),s.onerror=c.exports.useCallback(h=>{n({title:"Error",description:"error",status:"error",duration:5e3,position:"top-right",variant:"subtle",isClosable:!0}),a(h)},[s]),s.onclose=c.exports.useCallback(h=>{n({title:"Closed",description:"Closed Socket",status:"error",duration:5e3,position:"top-right",isClosable:!0})},[s]),{data:r,error:l}},T=()=>{const t=I("#282828","#fff"),[n]=A("(max-width: 600px)");return{border:t,isMobileDevice:n}},te=t=>{const[n,r]=S.useState(!1),o=()=>r(!n),{border:l}=T(),{colorMode:a,toggleColorMode:s}=W();return i(se,f(p({},t),{children:[e(X,{w:"50px"}),e(oe,{toggle:o,isOpen:n,colorFill:l}),e(le,{isOpen:n,colorMode:a,toggleColorMode:s})]}))},re=({fill:t})=>i("svg",{width:"24",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Close"}),e("path",{fill:t,d:"M9.00023 7.58599L13.9502 2.63599L15.3642 4.04999L10.4142 8.99999L15.3642 13.95L13.9502 15.364L9.00023 10.414L4.05023 15.364L2.63623 13.95L7.58623 8.99999L2.63623 4.04999L4.05023 2.63599L9.00023 7.58599Z"})]}),ne=({fill:t})=>i("svg",{width:"24px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:t,children:[e("title",{children:"Menu"}),e("path",{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"})]}),oe=({toggle:t,isOpen:n,colorFill:r})=>e(d,{display:{base:"block",md:"none"},onClick:t,children:n?e(re,{fill:r}):e(ne,{fill:r})}),le=({isOpen:t,colorMode:n,toggleColorMode:r})=>e(d,{display:{base:t?"block":"none",md:"block"},flexBasis:{base:"100%",md:"auto"},children:e(C,{spacing:8,align:"center",justify:["center","space-between","flex-end","flex-end"],direction:["column","row","row","row"],pt:[4,4,0,0],children:e(O,{"aria-label":"",mr:"4",className:"icon-button-name",size:"sm",icon:n==="light"?e(Z,{}):e(j,{}),isRound:!0,onClick:r,alignSelf:"flex-end"})})}),se=r=>{var o=r,{children:t}=o,n=v(o,["children"]);return e(D,f(p({as:"nav",align:"center",justify:"space-between",wrap:"wrap",w:"100%",p:8},n),{children:t}))};function ae(){const{border:t,colorBase:n}=T();return e(d,{pt:"20",color:t,children:e(k,{children:e(C,{spacing:6,children:i(y,{fontSize:"sm",children:["\xA9 ",new Date().getFullYear()," @kenriortega web page. All rights reserved"]})})})})}const ie=({id:t,path_url:n,status:r})=>{const{pathname:o,hostname:l,protocol:a}=new z(n);return e(m,{children:e("span",{className:"card",children:i(d,{w:"500",color:r==="down"?"red":"green",children:[e("h1",{children:r==="down"?"\u2620\uFE0F Down":"\u2705 UP"}),i("h3",{children:["Path: ",o]}),i("h4",{children:["Host: ",l]})]})})})},ce=({endpoints:t,onSelectedRow:n})=>e(m,{children:i(P,{variant:"simple",children:[e(R,{children:e(L,{children:Object.keys(t[0]).map(r=>e(V,{children:r},r))})}),e(q,{children:t.map(r=>i(L,{onClick:()=>n(r),children:[e(g,{cursor:"pointer",color:r.status==="down"?"red":"green",children:e(_,{label:r.path_url,placement:"left",children:r.id.split("-")[0]})}),e(g,{children:z(r.path_url).pathname}),e(g,{children:r.status==="down"?"\u2620\uFE0F down":"\u2705 up"})]},r.id))})]})});function N({primary:t="",border:n="",width:r,height:o}){return i("svg",{id:"b21613c9-2bf0-4d37-bef0-3b193d34fc5d","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 647.63626 632.17383",children:[e("path",{d:"M687.3279,276.08691H512.81813a15.01828,15.01828,0,0,0-15,15v387.85l-2,.61005-42.81006,13.11a8.00676,8.00676,0,0,1-9.98974-5.31L315.678,271.39691a8.00313,8.00313,0,0,1,5.31006-9.99l65.97022-20.2,191.25-58.54,65.96972-20.2a7.98927,7.98927,0,0,1,9.99024,5.3l32.5498,106.32Z",transform:"translate(-276.18187 -133.91309)",fill:"#f2f2f2"}),e("path",{d:"M725.408,274.08691l-39.23-128.14a16.99368,16.99368,0,0,0-21.23-11.28l-92.75,28.39L380.95827,221.60693l-92.75,28.4a17.0152,17.0152,0,0,0-11.28028,21.23l134.08008,437.93a17.02661,17.02661,0,0,0,16.26026,12.03,16.78926,16.78926,0,0,0,4.96972-.75l63.58008-19.46,2-.62v-2.09l-2,.61-64.16992,19.65a15.01489,15.01489,0,0,1-18.73-9.95l-134.06983-437.94a14.97935,14.97935,0,0,1,9.94971-18.73l92.75-28.4,191.24024-58.54,92.75-28.4a15.15551,15.15551,0,0,1,4.40966-.66,15.01461,15.01461,0,0,1,14.32032,10.61l39.0498,127.56.62012,2h2.08008Z",transform:"translate(-276.18187 -133.91309)",fill:"#3f3d56"}),e("path",{d:"M398.86279,261.73389a9.0157,9.0157,0,0,1-8.61133-6.3667l-12.88037-42.07178a8.99884,8.99884,0,0,1,5.9712-11.24023l175.939-53.86377a9.00867,9.00867,0,0,1,11.24072,5.9707l12.88037,42.07227a9.01029,9.01029,0,0,1-5.9707,11.24072L401.49219,261.33887A8.976,8.976,0,0,1,398.86279,261.73389Z",transform:"translate(-276.18187 -133.91309)",fill:"#6c63ff"}),e("circle",{cx:"190.15351",cy:"24.95465",r:"20",fill:"#6c63ff"}),e("circle",{cx:"190.15351",cy:"24.95465",r:"12.66462",fill:"#fff"}),e("path",{d:"M878.81836,716.08691h-338a8.50981,8.50981,0,0,1-8.5-8.5v-405a8.50951,8.50951,0,0,1,8.5-8.5h338a8.50982,8.50982,0,0,1,8.5,8.5v405A8.51013,8.51013,0,0,1,878.81836,716.08691Z",transform:"translate(-276.18187 -133.91309)",fill:"#e6e6e6"}),e("path",{d:"M723.31813,274.08691h-210.5a17.02411,17.02411,0,0,0-17,17v407.8l2-.61v-407.19a15.01828,15.01828,0,0,1,15-15H723.93825Zm183.5,0h-394a17.02411,17.02411,0,0,0-17,17v458a17.0241,17.0241,0,0,0,17,17h394a17.0241,17.0241,0,0,0,17-17v-458A17.02411,17.02411,0,0,0,906.81813,274.08691Zm15,475a15.01828,15.01828,0,0,1-15,15h-394a15.01828,15.01828,0,0,1-15-15v-458a15.01828,15.01828,0,0,1,15-15h394a15.01828,15.01828,0,0,1,15,15Z",transform:"translate(-276.18187 -133.91309)",fill:"#3f3d56"}),e("path",{d:"M801.81836,318.08691h-184a9.01015,9.01015,0,0,1-9-9v-44a9.01016,9.01016,0,0,1,9-9h184a9.01016,9.01016,0,0,1,9,9v44A9.01015,9.01015,0,0,1,801.81836,318.08691Z",transform:"translate(-276.18187 -133.91309)",fill:"#6c63ff"}),e("circle",{cx:"433.63626",cy:"105.17383",r:"20",fill:"#6c63ff"}),e("circle",{cx:"433.63626",cy:"105.17383",r:"12.18187",fill:"#fff"})]})}const de=()=>{const[t,n]=c.exports.useState(!1),{data:r,error:o}=ee("api/v1/mngt/wss"),l=()=>{n(!t)},a=s=>{console.log(s)};return o?"An error has occurred: "+o:e(m,{children:i($,{maxW:"container.1sm",px:[0,4],children:[e(M,{as:"h2",m:8,size:"md",children:"Ngonx Proxy!!"}),e(M,{as:"h1",m:8,size:"2xl",children:"Service Discovery"}),e(d,{onClick:l,cursor:"pointer",children:t?e(J,{size:23}):e(K,{size:23})}),t?e(d,{p:23,children:r.length>0?e(ce,{endpoints:r,onSelectedRow:a}):e(N,{width:"300",height:"300"})}):e("div",{children:(r==null?void 0:r.length)>0?e("div",{className:"grid",children:r.map(s=>c.exports.createElement(ie,f(p({},s),{key:s.id})))}):e(k,{children:e(N,{width:"300",height:"300"})})})]})})};function he(){return i(m,{children:[e(te,{}),e("main",{className:"main",children:e(de,{})}),e(ae,{})]})}const pe=Q({styles:{global:t=>({"html, body":{fontSize:"sm",color:t.colorMode==="dark"?"white":"spotify.700",lineHeight:"tall",bg:t.colorMode==="dark"?"spotify.700":"white"}})},config:{initialColorMode:"system",useSystemColorMode:!0},colors:{spotify:{700:"#282828"}},sizes:{container:{sectionLanding:"1250px",desktop:"1250px",desktopInput:"450px","1sm":"700px","2sm":"850px","1xl":"1250px","2xl":"1440px"}},textStyles:{filterListItem:{fontSize:["18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%",paddingLeft:"23px"},brandName:{fontSize:["18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%"},linkName:{fontSize:["12px","14px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%",justifyContent:"center",padding:"4px 16px"},cardText:{fontSize:["14px","16px","18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%"},cardTextSmall:{fontSize:["10px","12px","12px","14px"],fontWeight:"500",lineHeight:"110%",letterSpacing:"-1%"},cardTextVerySmall:{fontSize:["10px","10px"],fontWeight:"500",letterSpacing:"-1%"}}});U.render(e(S.StrictMode,{children:e(Y,{theme:pe,children:e(he,{})})}),document.getElementById("root")); diff --git a/cmd/cli/ui/assets/index.ef35fb12.js b/cmd/cli/ui/assets/index.ef35fb12.js new file mode 100644 index 0000000..4bc9abf --- /dev/null +++ b/cmd/cli/ui/assets/index.ef35fb12.js @@ -0,0 +1 @@ +var E=Object.defineProperty,F=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var b=(t,r,n)=>r in t?E(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,p=(t,r)=>{for(var n in r||(r={}))x.call(r,n)&&b(t,n,r[n]);if(u)for(var n of u(r))w.call(r,n)&&b(t,n,r[n]);return t},f=(t,r)=>F(t,B(r));var v=(t,r)=>{var n={};for(var o in t)x.call(t,o)&&r.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&u)for(var o of u(t))r.indexOf(o)<0&&w.call(t,o)&&(n[o]=t[o]);return n};import{j as e,B as h,T as y,r as d,u as I,a as A,R as S,b as W,c as i,S as k,I as Z,F as j,d as O,e as D,C,f as m,g as P,h as R,i as L,k as V,l as $,m as g,n as q,o as K,H as M,p as Q,q as U,s as Y,t as _,v as G}from"./vendor.50dc3954.js";import z from"https://cdn.skypack.dev/url-parse";const J=function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function n(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerpolicy&&(a.referrerPolicy=l.referrerpolicy),l.crossorigin==="use-credentials"?a.credentials="include":l.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(l){if(l.ep)return;l.ep=!0;const a=n(l);fetch(l.href,a)}};J();function X(t){return e(h,f(p({},t),{children:e(y,{as:"span",fontSize:"sm",fontWeight:"bold",children:"ngonx"})}))}const ee=t=>{const[r,n]=d.exports.useState(null),[o,l]=d.exports.useState(null),a=d.exports.useMemo(()=>new WebSocket(`ws://localhost:10001/${t}`),[]);a.onmessage=d.exports.useCallback(c=>(console.log("Socket message: ",r),n(c.data)),[a]),a.onerror=d.exports.useCallback(c=>{console.log("Socket error: ",c),l(c)},[a]),a.onclose=d.exports.useCallback(c=>{c.wasClean?l(`Connection closed cleanly, code=${c.code} reason=${c.reason}`):l("Connection died")},[a]);const s=d.exports.useCallback((c,N)=>{a.close(c,N)},[a]);return d.exports.useEffect(()=>s(1e3,"Clean up"),[]),{data:r,error:o,close:s}},T=()=>{const t=I("#282828","#fff"),[r]=A("(max-width: 600px)");return{border:t,isMobileDevice:r}},te=t=>{const[r,n]=S.useState(!1),o=()=>n(!r),{border:l}=T(),{colorMode:a,toggleColorMode:s}=W();return i(ae,f(p({},t),{children:[e(X,{w:"50px"}),e(oe,{toggle:o,isOpen:r,colorFill:l}),e(le,{isOpen:r,colorMode:a,toggleColorMode:s})]}))},ne=({fill:t})=>i("svg",{width:"24",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Close"}),e("path",{fill:t,d:"M9.00023 7.58599L13.9502 2.63599L15.3642 4.04999L10.4142 8.99999L15.3642 13.95L13.9502 15.364L9.00023 10.414L4.05023 15.364L2.63623 13.95L7.58623 8.99999L2.63623 4.04999L4.05023 2.63599L9.00023 7.58599Z"})]}),re=({fill:t})=>i("svg",{width:"24px",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:t,children:[e("title",{children:"Menu"}),e("path",{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"})]}),oe=({toggle:t,isOpen:r,colorFill:n})=>e(h,{display:{base:"block",md:"none"},onClick:t,children:r?e(ne,{fill:n}):e(re,{fill:n})}),le=({isOpen:t,colorMode:r,toggleColorMode:n})=>e(h,{display:{base:t?"block":"none",md:"block"},flexBasis:{base:"100%",md:"auto"},children:e(k,{spacing:8,align:"center",justify:["center","space-between","flex-end","flex-end"],direction:["column","row","row","row"],pt:[4,4,0,0],children:e(Z,{"aria-label":"",mr:"4",className:"icon-button-name",size:"sm",icon:r==="light"?e(j,{}):e(O,{}),isRound:!0,onClick:n,alignSelf:"flex-end"})})}),ae=n=>{var o=n,{children:t}=o,r=v(o,["children"]);return e(D,f(p({as:"nav",align:"center",justify:"space-between",wrap:"wrap",w:"100%",p:8},r),{children:t}))};function se(){const{border:t,colorBase:r}=T();return e(h,{pt:"20",color:t,children:e(C,{children:e(k,{spacing:6,children:i(y,{fontSize:"sm",children:["\xA9 ",new Date().getFullYear()," @kenriortega web page. All rights reserved"]})})})})}const ie=({id:t,path_url:r,status:n})=>{const{pathname:o,hostname:l,protocol:a}=new z(r);return e(m,{children:e("span",{className:"card",children:i(h,{w:"500",children:[e("h1",{children:n?"\u2620\uFE0F Down":"\u2705 UP"}),i("h3",{children:["Path: ",o]}),i("h4",{children:["Host: ",l]})]})})})},ce=({endpoints:t,onSelectedRow:r})=>e(m,{children:i(P,{variant:"simple",children:[e(R,{children:e(L,{children:Object.keys(t[0]).map(n=>e(V,{children:n},n))})}),e($,{children:t.map(n=>i(L,{onClick:()=>r(n),children:[e(g,{cursor:"pointer",color:"green",children:e(q,{label:"go to ...",placement:"left",children:n.id.split("-")[0]})}),e(g,{children:z(n.path_url).pathname}),e(g,{children:n.status?"\u2620\uFE0F down":"\u2705 up"})]},n.id))})]})});function H({primary:t="",border:r="",width:n,height:o}){return i("svg",{id:"b21613c9-2bf0-4d37-bef0-3b193d34fc5d","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 647.63626 632.17383",children:[e("path",{d:"M687.3279,276.08691H512.81813a15.01828,15.01828,0,0,0-15,15v387.85l-2,.61005-42.81006,13.11a8.00676,8.00676,0,0,1-9.98974-5.31L315.678,271.39691a8.00313,8.00313,0,0,1,5.31006-9.99l65.97022-20.2,191.25-58.54,65.96972-20.2a7.98927,7.98927,0,0,1,9.99024,5.3l32.5498,106.32Z",transform:"translate(-276.18187 -133.91309)",fill:"#f2f2f2"}),e("path",{d:"M725.408,274.08691l-39.23-128.14a16.99368,16.99368,0,0,0-21.23-11.28l-92.75,28.39L380.95827,221.60693l-92.75,28.4a17.0152,17.0152,0,0,0-11.28028,21.23l134.08008,437.93a17.02661,17.02661,0,0,0,16.26026,12.03,16.78926,16.78926,0,0,0,4.96972-.75l63.58008-19.46,2-.62v-2.09l-2,.61-64.16992,19.65a15.01489,15.01489,0,0,1-18.73-9.95l-134.06983-437.94a14.97935,14.97935,0,0,1,9.94971-18.73l92.75-28.4,191.24024-58.54,92.75-28.4a15.15551,15.15551,0,0,1,4.40966-.66,15.01461,15.01461,0,0,1,14.32032,10.61l39.0498,127.56.62012,2h2.08008Z",transform:"translate(-276.18187 -133.91309)",fill:"#3f3d56"}),e("path",{d:"M398.86279,261.73389a9.0157,9.0157,0,0,1-8.61133-6.3667l-12.88037-42.07178a8.99884,8.99884,0,0,1,5.9712-11.24023l175.939-53.86377a9.00867,9.00867,0,0,1,11.24072,5.9707l12.88037,42.07227a9.01029,9.01029,0,0,1-5.9707,11.24072L401.49219,261.33887A8.976,8.976,0,0,1,398.86279,261.73389Z",transform:"translate(-276.18187 -133.91309)",fill:"#6c63ff"}),e("circle",{cx:"190.15351",cy:"24.95465",r:"20",fill:"#6c63ff"}),e("circle",{cx:"190.15351",cy:"24.95465",r:"12.66462",fill:"#fff"}),e("path",{d:"M878.81836,716.08691h-338a8.50981,8.50981,0,0,1-8.5-8.5v-405a8.50951,8.50951,0,0,1,8.5-8.5h338a8.50982,8.50982,0,0,1,8.5,8.5v405A8.51013,8.51013,0,0,1,878.81836,716.08691Z",transform:"translate(-276.18187 -133.91309)",fill:"#e6e6e6"}),e("path",{d:"M723.31813,274.08691h-210.5a17.02411,17.02411,0,0,0-17,17v407.8l2-.61v-407.19a15.01828,15.01828,0,0,1,15-15H723.93825Zm183.5,0h-394a17.02411,17.02411,0,0,0-17,17v458a17.0241,17.0241,0,0,0,17,17h394a17.0241,17.0241,0,0,0,17-17v-458A17.02411,17.02411,0,0,0,906.81813,274.08691Zm15,475a15.01828,15.01828,0,0,1-15,15h-394a15.01828,15.01828,0,0,1-15-15v-458a15.01828,15.01828,0,0,1,15-15h394a15.01828,15.01828,0,0,1,15,15Z",transform:"translate(-276.18187 -133.91309)",fill:"#3f3d56"}),e("path",{d:"M801.81836,318.08691h-184a9.01015,9.01015,0,0,1-9-9v-44a9.01016,9.01016,0,0,1,9-9h184a9.01016,9.01016,0,0,1,9,9v44A9.01015,9.01015,0,0,1,801.81836,318.08691Z",transform:"translate(-276.18187 -133.91309)",fill:"#6c63ff"}),e("circle",{cx:"433.63626",cy:"105.17383",r:"20",fill:"#6c63ff"}),e("circle",{cx:"433.63626",cy:"105.17383",r:"12.18187",fill:"#fff"})]})}const de=()=>{const[t,r]=d.exports.useState(!1),{data:n,error:o}=ee("api/v1/mngt/wss"),l=()=>{r(!t)},a=s=>{console.log(s)};return o?"An error has occurred: "+o:e(m,{children:i(K,{maxW:"container.1sm",px:[0,4],children:[e(M,{as:"h2",m:8,size:"md",children:"Ngonx Proxy!!"}),e(M,{as:"h1",m:8,size:"2xl",children:"Service Discovery"}),e(h,{onClick:l,cursor:"pointer",children:t?e(Q,{size:23}):e(U,{size:23})}),t?e(h,{p:23,children:n.length>0?e(ce,{endpoints:n,onSelectedRow:a}):e(H,{width:"300",height:"300"})}):e("div",{children:(n==null?void 0:n.length)>0?e("div",{className:"grid",children:n.map(s=>d.exports.createElement(ie,f(p({},s),{key:s.id})))}):e(C,{children:e(H,{width:"300",height:"300"})})})]})})};function he(){return i(m,{children:[e(te,{}),e("main",{className:"main",children:e(de,{})}),e(se,{})]})}const pe=Y({styles:{global:t=>({"html, body":{fontSize:"sm",color:t.colorMode==="dark"?"white":"spotify.700",lineHeight:"tall",bg:t.colorMode==="dark"?"spotify.700":"white"}})},config:{initialColorMode:"system",useSystemColorMode:!0},colors:{spotify:{700:"#282828"}},sizes:{container:{sectionLanding:"1250px",desktop:"1250px",desktopInput:"450px","1sm":"700px","2sm":"850px","1xl":"1250px","2xl":"1440px"}},textStyles:{filterListItem:{fontSize:["18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%",paddingLeft:"23px"},brandName:{fontSize:["18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%"},linkName:{fontSize:["12px","14px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%",justifyContent:"center",padding:"4px 16px"},cardText:{fontSize:["14px","16px","18px","24px"],fontWeight:"semibold",lineHeight:"110%",letterSpacing:"-1%"},cardTextSmall:{fontSize:["10px","12px","12px","14px"],fontWeight:"500",lineHeight:"110%",letterSpacing:"-1%"},cardTextVerySmall:{fontSize:["10px","10px"],fontWeight:"500",letterSpacing:"-1%"}}});_.render(e(S.StrictMode,{children:e(G,{theme:pe,children:e(he,{})})}),document.getElementById("root")); diff --git a/cmd/cli/ui/assets/vendor.50dc3954.js b/cmd/cli/ui/assets/vendor.50dc3954.js new file mode 100644 index 0000000..d20bd36 --- /dev/null +++ b/cmd/cli/ui/assets/vendor.50dc3954.js @@ -0,0 +1,352 @@ +var gw=Object.defineProperty;var uv=Object.getOwnPropertySymbols;var yw=Object.prototype.hasOwnProperty,bw=Object.prototype.propertyIsEnumerable;var cv=(e,t,r)=>t in e?gw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fv=(e,t)=>{for(var r in t||(t={}))yw.call(t,r)&&cv(e,r,t[r]);if(uv)for(var r of uv(t))bw.call(t,r)&&cv(e,r,t[r]);return e};var zi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},x={exports:{}},te={};/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var dv=Object.getOwnPropertySymbols,xw=Object.prototype.hasOwnProperty,ww=Object.prototype.propertyIsEnumerable;function Sw(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Cw(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var pv=Cw()?Object.assign:function(e,t){for(var r,n=Sw(e),a,o=1;o=m},a=function(){},e.unstable_forceFrameRate=function(z){0>z||125>>1,q=z[Y];if(q!==void 0&&0A(He,$))Ue!==void 0&&0>A(Ue,He)?(z[Y]=Ue,z[Re]=$,Y=Re):(z[Y]=He,z[Ae]=$,Y=Ae);else if(Ue!==void 0&&0>A(Ue,$))z[Y]=Ue,z[Re]=$,Y=Re;else break e}}return F}return null}function A(z,F){var $=z.sortIndex-F.sortIndex;return $!==0?$:z.id-F.id}var _=[],R=[],D=1,K=null,W=3,Q=!1,ee=!1,U=!1;function oe(z){for(var F=C(R);F!==null;){if(F.callback===null)T(R);else if(F.startTime<=z)T(R),F.sortIndex=F.expirationTime,P(_,F);else break;F=C(R)}}function de(z){if(U=!1,oe(z),!ee)if(C(_)!==null)ee=!0,t(Te);else{var F=C(R);F!==null&&r(de,F.startTime-z)}}function Te(z,F){ee=!1,U&&(U=!1,n()),Q=!0;var $=W;try{for(oe(F),K=C(_);K!==null&&(!(K.expirationTime>F)||z&&!e.unstable_shouldYield());){var Y=K.callback;if(typeof Y=="function"){K.callback=null,W=K.priorityLevel;var q=Y(K.expirationTime<=F);F=e.unstable_now(),typeof q=="function"?K.callback=q:K===C(_)&&T(_),oe(F)}else T(_);K=C(_)}if(K!==null)var Ae=!0;else{var He=C(R);He!==null&&r(de,He.startTime-F),Ae=!1}return Ae}finally{K=null,W=$,Q=!1}}var Ce=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){ee||Q||(ee=!0,t(Te))},e.unstable_getCurrentPriorityLevel=function(){return W},e.unstable_getFirstCallbackNode=function(){return C(_)},e.unstable_next=function(z){switch(W){case 1:case 2:case 3:var F=3;break;default:F=W}var $=W;W=F;try{return z()}finally{W=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Ce,e.unstable_runWithPriority=function(z,F){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var $=W;W=z;try{return F()}finally{W=$}},e.unstable_scheduleCallback=function(z,F,$){var Y=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?Y+$:Y):$=Y,z){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=$+q,z={id:D++,callback:F,priorityLevel:z,startTime:$,expirationTime:q,sortIndex:-1},$>Y?(z.sortIndex=$,P(R,z),C(_)===null&&z===C(R)&&(U?n():U=!0,r(de,$-Y))):(z.sortIndex=q,P(_,z),ee||Q||(ee=!0,t(Te))),z},e.unstable_wrapCallback=function(z){var F=W;return function(){var $=W;W=F;try{return z.apply(this,arguments)}finally{W=$}}}})(Av);_v.exports=Av;/** @license React v17.0.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Di=x.exports,be=pv,ze=_v.exports;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rt}return!1}function qe(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){De[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Au=/[\-:]([a-z])/g;function Ru(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Au,Ru);De[t]=new qe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Au,Ru);De[t]=new qe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Au,Ru);De[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Mu(e,t,r,n){var a=De.hasOwnProperty(t)?De[t]:null,o=a!==null?a.type===0:n?!1:!(!(2l||a[i]!==o[l])return` +`+a[i].replace(" at new "," at ");while(1<=i&&0<=l);break}}}finally{Vu=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Fa(e):""}function Lw(e){switch(e.tag){case 5:return Fa(e.type);case 16:return Fa("Lazy");case 13:return Fa("Suspense");case 19:return Fa("SuspenseList");case 0:case 2:case 15:return e=Wi(e.type,!1),e;case 11:return e=Wi(e.type.render,!1),e;case 22:return e=Wi(e.type._render,!1),e;case 1:return e=Wi(e.type,!0),e;default:return""}}function Bn(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Cr:return"Fragment";case on:return"Portal";case Ba:return"Profiler";case Lu:return"StrictMode";case Ia:return"Suspense";case Ni:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zu:return(e.displayName||"Context")+".Consumer";case ju:return(e._context.displayName||"Context")+".Provider";case Fi:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Vi:return Bn(e.type);case Bu:return Bn(e._render);case $u:t=e._payload,e=e._init;try{return Bn(e(t))}catch{}}return null}function Er(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Bv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jw(e){var t=Bv(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hi(e){e._valueTracker||(e._valueTracker=jw(e))}function Iv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Bv(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Ui(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wu(e,t){var r=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Dv(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Er(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Fv(e,t){t=t.checked,t!=null&&Mu(e,"checked",t,!1)}function Hu(e,t){Fv(e,t);var r=Er(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Uu(e,t.type,r):t.hasOwnProperty("defaultValue")&&Uu(e,t.type,Er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nv(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Uu(e,t,r){(t!=="number"||Ui(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function zw(e){var t="";return Di.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function Ku(e,t){return e=be({children:void 0},t),(t=zw(t.children))&&(e.children=t),e}function In(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a=r.length))throw Error(B(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Er(r)}}function Wv(e,t){var r=Er(t.value),n=Er(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function Hv(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Gu={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Uv(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Xu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Uv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ki,Kv=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,a)})}:e}(function(e,t){if(e.namespaceURI!==Gu.svg||"innerHTML"in e)e.innerHTML=t;else{for(Ki=Ki||document.createElement("div"),Ki.innerHTML=""+t.valueOf().toString()+"",t=Ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Na(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Va={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$w=["Webkit","ms","Moz","O"];Object.keys(Va).forEach(function(e){$w.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Va[t]=Va[e]})});function Yv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Va.hasOwnProperty(e)&&Va[e]?(""+t).trim():t+"px"}function Gv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=Yv(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var Bw=be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Qu(e,t){if(t){if(Bw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function qu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Zu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ju=null,Dn=null,Fn=null;function Xv(e){if(e=lo(e)){if(typeof Ju!="function")throw Error(B(280));var t=e.stateNode;t&&(t=cl(t),Ju(e.stateNode,e.type,t))}}function Qv(e){Dn?Fn?Fn.push(e):Fn=[e]:Dn=e}function qv(){if(Dn){var e=Dn,t=Fn;if(Fn=Dn=null,Xv(e),t)for(e=0;en?0:1<r;r++)t.push(e);return t}function Ji(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Or(t),e[t]=r}var Or=Math.clz32?Math.clz32:Jw,qw=Math.log,Zw=Math.LN2;function Jw(e){return e===0?32:31-(qw(e)/Zw|0)|0}var eS=ze.unstable_UserBlockingPriority,tS=ze.unstable_runWithPriority,el=!0;function rS(e,t,r,n){ln||tc();var a=pc,o=ln;ln=!0;try{Zv(a,e,t,r,n)}finally{(ln=o)||nc()}}function nS(e,t,r,n){tS(eS,pc.bind(null,e,t,r,n))}function pc(e,t,r,n){if(el){var a;if((a=(t&4)==0)&&0=eo),Em=String.fromCharCode(32),Pm=!1;function km(e,t){switch(e){case"keyup":return kS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Un=!1;function OS(e,t){switch(e){case"compositionend":return Tm(t);case"keypress":return t.which!==32?null:(Pm=!0,Em);case"textInput":return e=t.data,e===Em&&Pm?null:e;default:return null}}function _S(e,t){if(Un)return e==="compositionend"||!wc&&km(e,t)?(e=ym(),tl=mc=_r=null,Un=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=jm(r)}}function $m(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$m(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bm(){for(var e=window,t=Ui();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Ui(e.document)}return t}function Ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var DS=lr&&"documentMode"in document&&11>=document.documentMode,Kn=null,Pc=null,ao=null,kc=!1;function Im(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;kc||Kn==null||Kn!==Ui(n)||(n=Kn,"selectionStart"in n&&Ec(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ao&&no(ao,n)||(ao=n,n=il(Pc,"onSelect"),0qn||(e.current=Lc[qn],Lc[qn]=null,qn--)}function Ee(e,t){qn++,Lc[qn]=e.current,e.current=t}var Mr={},Ke=Rr(Mr),nt=Rr(!1),cn=Mr;function Zn(e,t){var r=e.type.contextTypes;if(!r)return Mr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function at(e){return e=e.childContextTypes,e!=null}function fl(){me(nt),me(Ke)}function eh(e,t,r){if(Ke.current!==Mr)throw Error(B(168));Ee(Ke,t),Ee(nt,r)}function th(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in e))throw Error(B(108,Bn(t)||"Unknown",a));return be({},r,n)}function dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,cn=Ke.current,Ee(Ke,e),Ee(nt,nt.current),!0}function rh(e,t,r){var n=e.stateNode;if(!n)throw Error(B(169));r?(e=th(e,t,cn),n.__reactInternalMemoizedMergedChildContext=e,me(nt),me(Ke),Ee(Ke,e)):me(nt),Ee(nt,r)}var jc=null,fn=null,VS=ze.unstable_runWithPriority,zc=ze.unstable_scheduleCallback,$c=ze.unstable_cancelCallback,WS=ze.unstable_shouldYield,nh=ze.unstable_requestPaint,Bc=ze.unstable_now,HS=ze.unstable_getCurrentPriorityLevel,pl=ze.unstable_ImmediatePriority,ah=ze.unstable_UserBlockingPriority,oh=ze.unstable_NormalPriority,ih=ze.unstable_LowPriority,lh=ze.unstable_IdlePriority,Ic={},US=nh!==void 0?nh:function(){},sr=null,vl=null,Dc=!1,sh=Bc(),Ye=1e4>sh?Bc:function(){return Bc()-sh};function Jn(){switch(HS()){case pl:return 99;case ah:return 98;case oh:return 97;case ih:return 96;case lh:return 95;default:throw Error(B(332))}}function uh(e){switch(e){case 99:return pl;case 98:return ah;case 97:return oh;case 96:return ih;case 95:return lh;default:throw Error(B(332))}}function dn(e,t){return e=uh(e),VS(e,t)}function so(e,t,r){return e=uh(e),zc(e,t,r)}function Wt(){if(vl!==null){var e=vl;vl=null,$c(e)}ch()}function ch(){if(!Dc&&sr!==null){Dc=!0;var e=0;try{var t=sr;dn(99,function(){for(;eT?(A=C,C=null):A=C.sibling;var _=p(f,C,m[T],w);if(_===null){C===null&&(C=A);break}e&&C&&_.alternate===null&&t(f,C),d=o(_,d,T),P===null?S=_:P.sibling=_,P=_,C=A}if(T===m.length)return r(f,C),S;if(C===null){for(;TT?(A=C,C=null):A=C.sibling;var R=p(f,C,_.value,w);if(R===null){C===null&&(C=A);break}e&&C&&R.alternate===null&&t(f,C),d=o(R,d,T),P===null?S=R:P.sibling=R,P=R,C=A}if(_.done)return r(f,C),S;if(C===null){for(;!_.done;T++,_=m.next())_=v(f,_.value,w),_!==null&&(d=o(_,d,T),P===null?S=_:P.sibling=_,P=_);return S}for(C=n(f,C);!_.done;T++,_=m.next())_=y(C,f,T,_.value,w),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?T:_.key),d=o(_,d,T),P===null?S=_:P.sibling=_,P=_);return e&&C.forEach(function(D){return t(f,D)}),S}return function(f,d,m,w){var S=typeof m=="object"&&m!==null&&m.type===Cr&&m.key===null;S&&(m=m.props.children);var P=typeof m=="object"&&m!==null;if(P)switch(m.$$typeof){case $a:e:{for(P=m.key,S=d;S!==null;){if(S.key===P){switch(S.tag){case 7:if(m.type===Cr){r(f,S.sibling),d=a(S,m.props.children),d.return=f,f=d;break e}break;default:if(S.elementType===m.type){r(f,S.sibling),d=a(S,m.props),d.ref=co(f,S,m),d.return=f,f=d;break e}}r(f,S);break}else t(f,S);S=S.sibling}m.type===Cr?(d=ua(m.props.children,f.mode,w,m.key),d.return=f,f=d):(w=Dl(m.type,m.key,m.props,null,f.mode,w),w.ref=co(f,d,m),w.return=f,f=w)}return i(f);case on:e:{for(S=m.key;d!==null;){if(d.key===S)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){r(f,d.sibling),d=a(d,m.children||[]),d.return=f,f=d;break e}else{r(f,d);break}else t(f,d);d=d.sibling}d=Tf(m,f.mode,w),d.return=f,f=d}return i(f)}if(typeof m=="string"||typeof m=="number")return m=""+m,d!==null&&d.tag===6?(r(f,d.sibling),d=a(d,m),d.return=f,f=d):(r(f,d),d=kf(m,f.mode,w),d.return=f,f=d),i(f);if(xl(m))return h(f,d,m,w);if(Da(m))return b(f,d,m,w);if(P&&wl(f,m),typeof m=="undefined"&&!S)switch(f.tag){case 1:case 22:case 0:case 11:case 15:throw Error(B(152,Bn(f.type)||"Component"))}return r(f,d)}}var Sl=bh(!0),xh=bh(!1),fo={},Ht=Rr(fo),po=Rr(fo),vo=Rr(fo);function pn(e){if(e===fo)throw Error(B(174));return e}function Hc(e,t){switch(Ee(vo,t),Ee(po,e),Ee(Ht,fo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xu(t,e)}me(Ht),Ee(Ht,t)}function ra(){me(Ht),me(po),me(vo)}function wh(e){pn(vo.current);var t=pn(Ht.current),r=Xu(t,e.type);t!==r&&(Ee(po,e),Ee(Ht,r))}function Uc(e){po.current===e&&(me(Ht),me(po))}var Pe=Rr(0);function Cl(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!=0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ur=null,$r=null,Ut=!1;function Sh(e,t){var r=Pt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Ch(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Kc(e){if(Ut){var t=$r;if(t){var r=t;if(!Ch(e,t)){if(t=Gn(r.nextSibling),!t||!Ch(e,t)){e.flags=e.flags&-1025|2,Ut=!1,ur=e;return}Sh(ur,r)}ur=e,$r=Gn(t.firstChild)}else e.flags=e.flags&-1025|2,Ut=!1,ur=e}}function Eh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ur=e}function El(e){if(e!==ur)return!1;if(!Ut)return Eh(e),Ut=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Ac(t,e.memoizedProps))for(t=$r;t;)Sh(e,t),t=Gn(t.nextSibling);if(Eh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(B(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){$r=Gn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}$r=null}}else $r=ur?Gn(e.stateNode.nextSibling):null;return!0}function Yc(){$r=ur=null,Ut=!1}var na=[];function Gc(){for(var e=0;eo))throw Error(B(301));o+=1,Fe=Ge=null,t.updateQueue=null,mo.current=QS,e=r(n,a)}while(go)}if(mo.current=_l,t=Ge!==null&&Ge.next!==null,ho=0,Fe=Ge=_e=null,Pl=!1,t)throw Error(B(300));return e}function vn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?_e.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function mn(){if(Ge===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=Ge.next;var t=Fe===null?_e.memoizedState:Fe.next;if(t!==null)Fe=t,Ge=e;else{if(e===null)throw Error(B(310));Ge=e,e={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},Fe===null?_e.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Kt(e,t){return typeof t=="function"?t(e):t}function yo(e){var t=mn(),r=t.queue;if(r===null)throw Error(B(311));r.lastRenderedReducer=e;var n=Ge,a=n.baseQueue,o=r.pending;if(o!==null){if(a!==null){var i=a.next;a.next=o.next,o.next=i}n.baseQueue=a=o,r.pending=null}if(a!==null){a=a.next,n=n.baseState;var l=i=o=null,s=a;do{var u=s.lane;if((ho&u)===u)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(i=l=c,o=n):l=l.next=c,_e.lanes|=u,So|=u}s=s.next}while(s!==null&&s!==a);l===null?o=n:l.next=i,wt(n,t.memoizedState)||(Lt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function bo(e){var t=mn(),r=t.queue;if(r===null)throw Error(B(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(a!==null){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);wt(o,t.memoizedState)||(Lt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function Ph(e,t,r){var n=t._getVersion;n=n(t._source);var a=t._workInProgressVersionPrimary;if(a!==null?e=a===n:(e=e.mutableReadLanes,(e=(ho&e)===e)&&(t._workInProgressVersionPrimary=n,na.push(t))),e)return r(t._source);throw na.push(t),Error(B(350))}function kh(e,t,r,n){var a=Ze;if(a===null)throw Error(B(349));var o=t._getVersion,i=o(t._source),l=mo.current,s=l.useState(function(){return Ph(a,t,r)}),u=s[1],c=s[0];s=Fe;var v=e.memoizedState,p=v.refs,y=p.getSnapshot,h=v.source;v=v.subscribe;var b=_e;return e.memoizedState={refs:p,source:t,subscribe:n},l.useEffect(function(){p.getSnapshot=r,p.setSnapshot=u;var f=o(t._source);if(!wt(i,f)){f=r(t._source),wt(c,f)||(u(f),f=Ir(b),a.mutableReadLanes|=f&a.pendingLanes),f=a.mutableReadLanes,a.entangledLanes|=f;for(var d=a.entanglements,m=f;0r?98:r,function(){e(!0)}),dn(97<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Ar]=t,e[ul]=n,Yh(e,t,!1,!1),t.stateNode=e,i=qu(r,n),r){case"dialog":ve("cancel",e),ve("close",e),a=n;break;case"iframe":case"object":case"embed":ve("load",e),a=n;break;case"video":case"audio":for(a=0;agf&&(t.flags|=64,o=!0,wo(n,!1),t.lanes=33554432)}else{if(!o)if(e=Cl(i),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),wo(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!Ut)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ye()-n.renderingStartTime>gf&&r!==1073741824&&(t.flags|=64,o=!0,wo(n,!1),t.lanes=33554432);n.isBackwards?(i.sibling=t.child,t.child=i):(r=n.last,r!==null?r.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Ye(),r.sibling=null,t=Pe.current,Ee(Pe,o?t&1|2:t&1),r):null;case 23:case 24:return Cf(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(B(156,t.tag))}function JS(e){switch(e.tag){case 1:at(e.type)&&fl();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(ra(),me(nt),me(Ke),Gc(),t=e.flags,(t&64)!=0)throw Error(B(285));return e.flags=t&-4097|64,e;case 5:return Uc(e),null;case 13:return me(Pe),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return me(Pe),null;case 4:return ra(),null;case 10:return Nc(e),null;case 23:case 24:return Cf(),null;default:return null}}function lf(e,t){try{var r="",n=t;do r+=Lw(n),n=n.return;while(n);var a=r}catch(o){a=` +Error generating stack: `+o.message+` +`+o.stack}return{value:e,source:t,stack:a}}function sf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var e2=typeof WeakMap=="function"?WeakMap:Map;function Qh(e,t,r){r=jr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Ll||(Ll=!0,yf=n),sf(e,t)},r}function qh(e,t,r){r=jr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return sf(e,t),n(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Yt===null?Yt=new Set([this]):Yt.add(this),sf(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}var t2=typeof WeakSet=="function"?WeakSet:Set;function Zh(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Nr(e,r)}else t.current=null}function r2(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Mt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Rc(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(B(163))}function n2(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)==3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var a=e;n=a.next,a=a.tag,(a&4)!=0&&(a&1)!=0&&(p0(r,e),f2(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Mt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&vh(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}vh(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Xm(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&cm(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(B(163))}function Jh(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var a=r.memoizedProps.style;a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=Yv("display",a)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function e0(e,t){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(jc,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,a=n.destroy;if(n=n.tag,a!==void 0)if((n&4)!=0)p0(t,r);else{n=t;try{a()}catch(o){Nr(n,o)}}r=r.next}while(r!==e)}break;case 1:if(Zh(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Nr(t,o)}break;case 5:Zh(t);break;case 4:a0(e,t)}}function t0(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function r0(e){return e.tag===5||e.tag===3||e.tag===4}function n0(e){e:{for(var t=e.return;t!==null;){if(r0(t))break e;t=t.return}throw Error(B(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(B(161))}r.flags&16&&(Na(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||r0(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?uf(e,r,t):cf(e,r,t)}function uf(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ll));else if(n!==4&&(e=e.child,e!==null))for(uf(e,t,r),e=e.sibling;e!==null;)uf(e,t,r),e=e.sibling}function cf(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(cf(e,t,r),e=e.sibling;e!==null;)cf(e,t,r),e=e.sibling}function a0(e,t){for(var r=t,n=!1,a,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(B(160));switch(a=n.stateNode,n.tag){case 5:o=!1;break e;case 3:a=a.containerInfo,o=!0;break e;case 4:a=a.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var i=e,l=r,s=l;;)if(e0(i,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(i=a,l=r.stateNode,i.nodeType===8?i.parentNode.removeChild(l):i.removeChild(l)):a.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){a=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(e0(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function ff(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)==3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var a=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[ul]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Fv(r,n),qu(e,a),t=qu(e,n),a=0;aa&&(a=i),r&=~o}if(r=a,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*o2(r/1960))-r,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Ne!==5&&(Ne=2),s=lf(s,l),p=i;do{switch(p.tag){case 3:o=s,p.flags|=4096,t&=-t,p.lanes|=t;var P=Qh(p,o,t);ph(p,P);break e;case 1:o=s;var C=p.type,T=p.stateNode;if((p.flags&64)==0&&(typeof C.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(Yt===null||!Yt.has(T)))){p.flags|=4096,t&=-t,p.lanes|=t;var A=qh(p,o,t);ph(p,A);break e}}p=p.return}while(p!==null)}d0(r)}catch(_){t=_,Le===r&&r!==null&&(Le=r=r.return);continue}break}while(1)}function c0(){var e=Rl.current;return Rl.current=_l,e===null?_l:e}function To(e,t){var r=G;G|=16;var n=c0();Ze===e&&Xe===t||sa(e,t);do try{l2();break}catch(a){u0(e,a)}while(1);if(Fc(),G=r,Rl.current=n,Le!==null)throw Error(B(261));return Ze=null,Xe=0,Ne}function l2(){for(;Le!==null;)f0(Le)}function s2(){for(;Le!==null&&!WS();)f0(Le)}function f0(e){var t=m0(e.alternate,e,hn);e.memoizedProps=e.pendingProps,t===null?d0(e):Le=t,df.current=null}function d0(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)==0){if(r=ZS(r,t,hn),r!==null){Le=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(hn&1073741824)!=0||(r.mode&4)==0){for(var n=0,a=r.child;a!==null;)n|=a.lanes|a.childLanes,a=a.sibling;r.childLanes=n}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1i&&(l=i,i=P,P=l),l=zm(m,P),o=zm(m,i),l&&o&&(S.rangeCount!==1||S.anchorNode!==l.node||S.anchorOffset!==l.offset||S.focusNode!==o.node||S.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(l.node,l.offset),S.removeAllRanges(),P>i?(S.addRange(w),S.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),S.addRange(w)))))),w=[],S=m;S=S.parentNode;)S.nodeType===1&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;mYe()-hf?sa(e,0):vf|=r),Et(e,t)}function v2(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)==0?t=1:(t&4)==0?t=Jn()===99?1:2:(dr===0&&(dr=aa),t=Wn(62914560&~dr),t===0&&(t=4194304))),r=pt(),e=Bl(e,t),e!==null&&(Ji(e,t,r),Et(e,r))}var m0;m0=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||nt.current)Lt=!0;else if((r&n)!=0)Lt=(e.flags&16384)!=0;else{switch(Lt=!1,t.tag){case 3:Fh(t),Yc();break;case 5:wh(t);break;case 1:at(t.type)&&dl(t);break;case 4:Hc(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var a=t.type._context;Ee(ml,a._currentValue),a._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!=0?Nh(e,t,r):(Ee(Pe,Pe.current&1),t=cr(e,t,r),t!==null?t.sibling:null);Ee(Pe,Pe.current&1);break;case 19:if(n=(r&t.childLanes)!=0,(e.flags&64)!=0){if(n)return Kh(e,t,r);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ee(Pe,Pe.current),n)break;return null;case 23:case 24:return t.lanes=0,tf(e,t,r)}return cr(e,t,r)}else Lt=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=Zn(t,Ke.current),ta(t,r),a=Qc(null,t,n,e,a,r),t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,at(n)){var o=!0;dl(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Vc(t);var i=n.getDerivedStateFromProps;typeof i=="function"&&yl(t,n,i,e),a.updater=bl,t.stateNode=a,a._reactInternals=t,Wc(t,n,e,r),t=nf(null,t,n,!0,o,r)}else t.tag=0,it(null,t,a,r),t=t.child;return t;case 16:a=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=h2(a),e=Mt(a,e),o){case 0:t=rf(null,t,a,e,r);break e;case 1:t=Dh(null,t,a,e,r);break e;case 11:t=zh(null,t,a,e,r);break e;case 14:t=$h(null,t,a,Mt(a.type,e),n,r);break e}throw Error(B(306,a,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Mt(n,a),rf(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Mt(n,a),Dh(e,t,n,a,r);case 3:if(Fh(t),n=t.updateQueue,e===null||n===null)throw Error(B(282));if(n=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,dh(e,t),uo(t,n,null,r),n=t.memoizedState.element,n===a)Yc(),t=cr(e,t,r);else{if(a=t.stateNode,(o=a.hydrate)&&($r=Gn(t.stateNode.containerInfo.firstChild),ur=t,o=Ut=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a0?lt(fa,--st):0,ca--,Me===10&&(ca=1,Kl--),Me}function vt(){return Me=st2||Lo(Me)>3?"":" "}function j2(e,t){for(;--t&&vt()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return Mo(e,Gl()+(t<6&&Xt()==32&&vt()==32))}function zf(e){for(;vt();)switch(Me){case e:return st;case 34:case 39:return zf(e===34||e===39?e:Me);case 40:e===41&&zf(e);break;case 92:vt();break}return st}function z2(e,t){for(;vt()&&e+Me!==47+10;)if(e+Me===42+42&&Xt()===47)break;return"/*"+Mo(t,st-1)+"*"+Hl(e===47?e:vt())}function $2(e){for(;!Lo(Xt());)vt();return Mo(e,st)}function B2(e){return P0(Xl("",null,null,null,[""],e=E0(e),0,[0],e))}function Xl(e,t,r,n,a,o,i,l,s){for(var u=0,c=0,v=i,p=0,y=0,h=0,b=1,f=1,d=1,m=0,w="",S=a,P=o,C=n,T=w;f;)switch(h=m,m=vt()){case 34:case 39:case 91:case 40:T+=jf(m);break;case 9:case 10:case 13:case 32:T+=L2(h);break;case 92:T+=j2(Gl()-1,7);continue;case 47:switch(Xt()){case 42:case 47:Ul(I2(z2(vt(),Gl()),t,r),s);break;default:T+="/"}break;case 123*b:l[u++]=Gt(T)*d;case 125*b:case 59:case 0:switch(m){case 0:case 125:f=0;case 59+c:y>0&&Gt(T)-v&&Ul(y>32?T0(T+";",n,r,v-1):T0(ie(T," ","")+";",n,r,v-2),s);break;case 59:T+=";";default:if(Ul(C=k0(T,t,r,u,c,a,l,w,S=[],P=[],v),o),m===123)if(c===0)Xl(T,t,C,C,S,o,v,l,P);else switch(p){case 100:case 109:case 115:Xl(e,C,C,n&&Ul(k0(e,C,C,0,0,a,l,w,a,S=[],v),P),a,P,v,l,n?S:P);break;default:Xl(T,C,C,C,[""],P,v,l,P)}}u=c=y=0,b=d=1,w=T="",v=i;break;case 58:v=1+Gt(T),y=h;default:if(b<1){if(m==123)--b;else if(m==125&&b++==0&&M2()==125)continue}switch(T+=Hl(m),m*b){case 38:d=c>0?1:(T+="\f",-1);break;case 44:l[u++]=(Gt(T)-1)*d,d=1;break;case 64:Xt()===45&&(T+=jf(vt())),p=Xt(),c=Gt(w=T+=$2(Gl())),m++;break;case 45:h===45&&Gt(T)==2&&(b=0)}}return o}function k0(e,t,r,n,a,o,i,l,s,u,c){for(var v=a-1,p=a===0?o:[""],y=Lf(p),h=0,b=0,f=0;h0?p[d]+" "+m:ie(m,/&\f/g,p[d])))&&(s[f++]=w);return Yl(e,t,r,a===0?Rf:l,s,u,c)}function I2(e,t,r){return Yl(e,t,r,x0,Hl(R2()),Ao(e,2,-2),0)}function T0(e,t,r,n){return Yl(e,t,r,Mf,Ao(e,0,n),Ao(e,n+1,-1),n)}function O0(e,t){switch(O2(e,t)){case 5103:return ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ne+e+Wl+e+Qe+e+e;case 6828:case 4268:return ne+e+Qe+e+e;case 6165:return ne+e+Qe+"flex-"+e+e;case 5187:return ne+e+ie(e,/(\w+).+(:[^]+)/,ne+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return ne+e+Qe+"flex-item-"+ie(e,/flex-|-self/,"")+e;case 4675:return ne+e+Qe+"flex-line-pack"+ie(e,/align-content|flex-|-self/,"")+e;case 5548:return ne+e+Qe+ie(e,"shrink","negative")+e;case 5292:return ne+e+Qe+ie(e,"basis","preferred-size")+e;case 6060:return ne+"box-"+ie(e,"-grow","")+ne+e+Qe+ie(e,"grow","positive")+e;case 4554:return ne+ie(e,/([^-])(transform)/g,"$1"+ne+"$2")+e;case 6187:return ie(ie(ie(e,/(zoom-|grab)/,ne+"$1"),/(image-set)/,ne+"$1"),e,"")+e;case 5495:case 3959:return ie(e,/(image-set\([^]*)/,ne+"$1$`$1");case 4968:return ie(ie(e,/(.+:)(flex-)?(.*)/,ne+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ne+e+e;case 4095:case 3583:case 4068:case 2532:return ie(e,/(.+)-inline(.+)/,ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gt(e)-1-t>6)switch(lt(e,t+1)){case 109:if(lt(e,t+4)!==45)break;case 102:return ie(e,/(.+:)(.+)-([^]+)/,"$1"+ne+"$2-$3$1"+Wl+(lt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~S0(e,"stretch")?O0(ie(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(lt(e,t+1)!==115)break;case 6444:switch(lt(e,Gt(e)-3-(~S0(e,"!important")&&10))){case 107:return ie(e,":",":"+ne)+e;case 101:return ie(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ne+(lt(e,14)===45?"inline-":"")+"box$3$1"+ne+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(lt(e,t+11)){case 114:return ne+e+Qe+ie(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ne+e+Qe+ie(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ne+e+Qe+ie(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ne+e+Qe+e+e}return e}function jo(e,t){for(var r="",n=Lf(e),a=0;a=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var iC={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},lC=/[A-Z]|^ms/g,sC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,B0=function(t){return t.charCodeAt(1)===45},I0=function(t){return t!=null&&typeof t!="boolean"},Df=A0(function(e){return B0(e)?e:e.replace(lC,"-$&").toLowerCase()}),D0=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(sC,function(n,a,o){return Qt={name:a,styles:o,next:Qt},a})}return iC[t]!==1&&!B0(t)&&typeof r=="number"&&r!==0?r+"px":r};function zo(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Qt={name:r.name,styles:r.styles,next:Qt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Qt={name:n.name,styles:n.styles,next:Qt},n=n.next;var a=r.styles+";";return a}return uC(e,t,r)}case"function":{if(e!==void 0){var o=Qt,i=r(e);return Qt=o,zo(e,t,i)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function uC(e,t,r){var n="";if(Array.isArray(r))for(var a=0;ax.exports.createElement(Nf,{styles:` + html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + font-family: system-ui, sans-serif; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + -moz-osx-font-smoothing: grayscale; + touch-action: manipulation; + } + + body { + position: relative; + min-height: 100%; + font-feature-settings: 'kern'; + } + + *, + *::before, + *::after { + border-width: 0; + border-style: solid; + box-sizing: border-box; + } + + main { + display: block; + } + + hr { + border-top-width: 1px; + box-sizing: content-box; + height: 0; + overflow: visible; + } + + pre, + code, + kbd, + samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 1em; + } + + a { + background-color: transparent; + color: inherit; + text-decoration: inherit; + } + + abbr[title] { + border-bottom: none; + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + } + + b, + strong { + font-weight: bold; + } + + small { + font-size: 80%; + } + + sub, + sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + sub { + bottom: -0.25em; + } + + sup { + top: -0.5em; + } + + img { + border-style: none; + } + + button, + input, + optgroup, + select, + textarea { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; + } + + button, + input { + overflow: visible; + } + + button, + select { + text-transform: none; + } + + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; + } + + fieldset { + padding: 0.35em 0.75em 0.625em; + } + + legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; + } + + progress { + vertical-align: baseline; + } + + textarea { + overflow: auto; + } + + [type="checkbox"], + [type="radio"] { + box-sizing: border-box; + padding: 0; + } + + [type="number"]::-webkit-inner-spin-button, + [type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none !important; + } + + input[type="number"] { + -moz-appearance: textfield; + } + + [type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; + } + + [type="search"]::-webkit-search-decoration { + -webkit-appearance: none !important; + } + + ::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; + } + + details { + display: block; + } + + summary { + display: list-item; + } + + template { + display: none; + } + + [hidden] { + display: none !important; + } + + body, + blockquote, + dl, + dd, + h1, + h2, + h3, + h4, + h5, + h6, + hr, + figure, + p, + pre { + margin: 0; + } + + button { + background: transparent; + padding: 0; + } + + fieldset { + margin: 0; + padding: 0; + } + + ol, + ul { + margin: 0; + padding: 0; + } + + textarea { + resize: vertical; + } + + button, + [role="button"] { + cursor: pointer; + } + + button::-moz-focus-inner { + border: 0 !important; + } + + table { + border-collapse: collapse; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + font-size: inherit; + font-weight: inherit; + } + + button, + input, + optgroup, + select, + textarea { + padding: 0; + line-height: inherit; + color: inherit; + } + + img, + svg, + video, + canvas, + audio, + iframe, + embed, + object { + display: block; + vertical-align: middle; + } + + img, + video { + max-width: 100%; + height: auto; + } + + [data-js-focus-visible] :focus:not([data-focus-visible-added]) { + outline: none; + box-shadow: none; + } + + select::-ms-expand { + display: none; + } + `}),mC=vC;function hC(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Bo(e){return typeof e=="number"}function Vf(e){return Array.isArray(e)}function yn(e){return typeof e=="function"}function kt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Vf(e)}function gC(e){return kt(e)&&Object.keys(e).length===0}function ls(e){return Object.prototype.toString.call(e)==="[object String]"}function H0(e){return/^var\(--.+\)$/.test(e)}var yC=!1,Wf={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",a=800,o=16,i=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",v="[object Date]",p="[object Error]",y="[object Function]",h="[object GeneratorFunction]",b="[object Map]",f="[object Number]",d="[object Null]",m="[object Object]",w="[object Proxy]",S="[object RegExp]",P="[object Set]",C="[object String]",T="[object Undefined]",A="[object WeakMap]",_="[object ArrayBuffer]",R="[object DataView]",D="[object Float32Array]",K="[object Float64Array]",W="[object Int8Array]",Q="[object Int16Array]",ee="[object Int32Array]",U="[object Uint8Array]",oe="[object Uint8ClampedArray]",de="[object Uint16Array]",Te="[object Uint32Array]",Ce=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,$={};$[D]=$[K]=$[W]=$[Q]=$[ee]=$[U]=$[oe]=$[de]=$[Te]=!0,$[l]=$[s]=$[_]=$[c]=$[R]=$[v]=$[p]=$[y]=$[b]=$[f]=$[m]=$[S]=$[P]=$[C]=$[A]=!1;var Y=typeof zi=="object"&&zi&&zi.Object===Object&&zi,q=typeof self=="object"&&self&&self.Object===Object&&self,Ae=Y||q||Function("return this")(),He=t&&!t.nodeType&&t,Re=He&&!0&&e&&!e.nodeType&&e,Ue=Re&&Re.exports===He,Nt=Ue&&Y.process,Zr=function(){try{var g=Re&&Re.require&&Re.require("util").types;return g||Nt&&Nt.binding&&Nt.binding("util")}catch{}}(),Jr=Zr&&Zr.isTypedArray;function xr(g,E,O){switch(O.length){case 0:return g.call(E);case 1:return g.call(E,O[0]);case 2:return g.call(E,O[0],O[1]);case 3:return g.call(E,O[0],O[1],O[2])}return g.apply(E,O)}function H(g,E){for(var O=-1,N=Array(g);++O-1}function Tx(g,E){var O=this.__data__,N=Ri(O,g);return N<0?(++this.size,O.push([g,E])):O[N][1]=E,this}or.prototype.clear=Cx,or.prototype.delete=Ex,or.prototype.get=Px,or.prototype.has=kx,or.prototype.set=Tx;function Mn(g){var E=-1,O=g==null?0:g.length;for(this.clear();++E1?O[J-1]:void 0,ge=J>2?O[2]:void 0;for(ce=g.length>3&&typeof ce=="function"?(J--,ce):void 0,ge&&rw(O[0],O[1],ge)&&(ce=J<3?void 0:ce,J=1),E=Object(E);++N-1&&g%1==0&&g0){if(++E>=a)return arguments[0]}else E=0;return g.apply(void 0,arguments)}}function cw(g){if(g!=null){try{return ar.call(g)}catch{}try{return g+""}catch{}}return""}function ji(g,E){return g===E||g!==g&&E!==E}var yu=Jp(function(){return arguments}())?Jp:function(g){return Ma(g)&&rt.call(g,"callee")&&!px.call(g,"callee")},bu=Array.isArray;function xu(g){return g!=null&&av(g.length)&&!wu(g)}function fw(g){return Ma(g)&&xu(g)}var nv=mx||hw;function wu(g){if(!rn(g))return!1;var E=Mi(g);return E==y||E==h||E==u||E==w}function av(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=i}function rn(g){var E=typeof g;return g!=null&&(E=="object"||E=="function")}function Ma(g){return g!=null&&typeof g=="object"}function dw(g){if(!Ma(g)||Mi(g)!=m)return!1;var E=Xp(g);if(E===null)return!0;var O=rt.call(E,"constructor")&&E.constructor;return typeof O=="function"&&O instanceof O&&ar.call(O)==fx}var ov=Jr?j(Jr):Vx;function pw(g){return qx(g,iv(g))}function iv(g){return xu(g)?Ix(g,!0):Wx(g)}var vw=Zx(function(g,E,O,N){ev(g,E,O,N)});function mw(g){return function(){return g}}function lv(g){return g}function hw(){return!1}e.exports=vw})(Wf,Wf.exports);var qt=Wf.exports;function Hf(e,t){var r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function U0(e,t){var r={};return t.forEach(n=>{n in e&&(r[n]=e[n])}),r}function bC(e,t,r,n){var a=typeof t=="string"?t.split("."):[t];for(n=0;n{var t=new WeakMap,r=(n,a,o,i)=>{if(typeof n=="undefined")return e(n,a,o);t.has(n)||t.set(n,new Map);var l=t.get(n);if(l.has(a))return l.get(a);var s=e(n,a,o,i);return l.set(a,s),s};return r},ss=xC(bC);function K0(e,t){var r={};return Object.keys(e).forEach(n=>{var a=e[n],o=t(a,n,e);o&&(r[n]=a)}),r}var Uf=e=>K0(e,t=>t!=null),Kf=e=>Object.keys(e),wC=e=>e.reduce((t,r)=>{var[n,a]=r;return t[n]=a,t},{}),SC=(e,t,r)=>{var n,a;return(n=(a=e.__cssMap[t+"."+r])==null?void 0:a.varRef)!=null?n:r};function CC(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function us(e){if(e==null)return e;var{unitless:t}=CC(e);return t||Bo(e)?e+"px":e}var Y0=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Yf=e=>wC(Object.entries(e).sort(Y0));function G0(e){var t=Yf(e);return Object.assign(Object.values(t),t)}function EC(e){var t=Object.keys(Yf(e));return new Set(t)}function PC(e){var t;if(!e)return e;e=(t=us(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Bo(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,n=>""+(parseFloat(n)+r))}function cs(e,t){var r=[];return e&&r.push("@media screen and (min-width: "+us(e)+")"),r.length>0&&t&&r.push("and"),t&&r.push("@media screen and (max-width: "+us(t)+")"),r.join(" ")}function kC(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=G0(e),n=Object.entries(e).sort(Y0).map((i,l,s)=>{var u,[c,v]=i,[,p]=(u=s[l+1])!=null?u:[];return p=parseFloat(p)>0?PC(p):void 0,{breakpoint:c,minW:v,maxW:p,maxWQuery:cs(null,p),minWQuery:cs(v),minMaxQuery:cs(v,p)}}),a=EC(e),o=Array.from(a.values());return{keys:a,normalized:r,isResponsive(i){var l=Object.keys(i);return l.length>0&&l.every(s=>a.has(s))},asObject:Yf(e),asArray:G0(e),details:n,media:[null,...r.map(i=>cs(i)).slice(1)],toArrayValue(i){if(!kt(i))throw new Error("toArrayValue: value must be an object");for(var l=o.map(s=>{var u;return(u=i[s])!=null?u:null});hC(l)===null;)l.pop();return l},toObjectValue(i){if(!Array.isArray(i))throw new Error("toObjectValue: value must be an array");return i.reduce((l,s,u)=>{var c=o[u];return c!=null&&s!=null&&(l[c]=s),l},{})}}}function TC(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Wr=TC(),X0=e=>e?"":void 0,pr=function(){for(var t=arguments.length,r=new Array(t),n=0;n1?t-1:0),n=1;n(o==null||o(a),a==null?void 0:a.defaultPrevented))}}function OC(e){var t;return function(){if(e){for(var n=arguments.length,a=new Array(n),o=0;o{},_C=OC(e=>()=>{var{condition:t,message:r}=e;t&&yC&&console.warn(r)}),AC=function(){for(var t=arguments.length,r=new Array(t),n=0;nr.reduce((o,i)=>i(o),a)},Q0=1/60*1e3,RC=typeof performance!="undefined"?function(){return performance.now()}:function(){return Date.now()},q0=typeof window!="undefined"?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout(function(){return e(RC())},Q0)};function MC(e){var t=[],r=[],n=0,a=!1,o=new WeakSet,i={schedule:function(l,s,u){s===void 0&&(s=!1),u===void 0&&(u=!1);var c=u&&a,v=c?t:r;return s&&o.add(l),v.indexOf(l)===-1&&(v.push(l),c&&a&&(n=t.length)),l},cancel:function(l){var s=r.indexOf(l);s!==-1&&r.splice(s,1),o.delete(l)},process:function(l){var s;if(a=!0,s=[r,t],t=s[0],r=s[1],r.length=0,n=t.length,n)for(var u=0;ur===null?null:t(r)):kt(e)?Kf(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):e!=null?t(e):null}function $C(e,t){function r(n,a){return a===void 0&&(a=[]),Vf(n)?n.map((o,i)=>r(o,[...a,String(i)])):kt(n)?Object.fromEntries(Object.entries(n).map(o=>{var[i,l]=o;return[i,r(l,[...a,i])]})):t(n,a)}return r(e)}function BC(e,t){if(e!=null){if(yn(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Qf(){for(var e=arguments.length,t=new Array(e),r=0;r{t.forEach(a=>BC(a,n))}}function ps(e){e===void 0&&(e={});var{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,a=x.exports.createContext(void 0);a.displayName=n;function o(){var i=x.exports.useContext(a);if(!i&&t){var l=new Error(r);throw l.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(l,o),l}return i}return[a.Provider,o,a]}function IC(e){return x.exports.Children.toArray(e).filter(t=>x.exports.isValidElement(t))}var[DC,FC]=ps({strict:!1,name:"PortalManagerContext"});function NC(e){var{children:t,zIndex:r}=e;return x.exports.createElement(DC,{value:{zIndex:r}},t)}var vs=Wr?x.exports.useLayoutEffect:x.exports.useEffect;function VC(e,t){t===void 0&&(t=[]);var r=x.exports.useRef(e);return vs(()=>{r.current=e}),x.exports.useCallback(function(){for(var n=arguments.length,a=new Array(n),o=0;o{var{children:t}=e,r=x.exports.useContext(qf),n=r===eg,a=x.exports.useMemo(()=>({prefix:n?0:++r.prefix,current:0}),[n,r]);return x.exports.createElement(qf.Provider,{value:a},t)});function tg(e,t){var r=x.exports.useContext(qf);return x.exports.useMemo(()=>e||[t,r.prefix,++r.current].filter(Boolean).join("-"),[e,t])}function ms(){return ms=Object.assign||function(e){for(var t=1;t{l||i(!1),t==null||t()},[l,t]),v=x.exports.useCallback(()=>{l||i(!0),r==null||r()},[l,r]),p=x.exports.useCallback(()=>{var y=s?c:v;y()},[s,v,c]);return{isOpen:!!s,onOpen:v,onClose:c,onToggle:p,isControlled:l,getButtonProps:function(h){return h===void 0&&(h={}),ms({},h,{"aria-expanded":"true","aria-controls":u,onClick:da(h.onClick,p)})},getDisclosureProps:function(h){return h===void 0&&(h={}),ms({},h,{hidden:!s,id:u})}}}function rg(e,t,r,n){var a=VC(t);return x.exports.useEffect(()=>{var o,i=(o=Tt(r))!=null?o:document;return i.addEventListener(e,a,n),()=>{i.removeEventListener(e,a,n)}},[e,r,n,a]),()=>{var o,i=(o=Tt(r))!=null?o:document;i.removeEventListener(e,a,n)}}function KC(e,t){return t===void 0&&(t=[]),x.exports.useEffect(()=>()=>e(),t)}function ng(){var e=x.exports.useRef(!1),[t,r]=x.exports.useState(0);return KC(()=>{e.current=!0}),x.exports.useCallback(()=>{e.current||r(t+1)},[t])}function YC(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function GC(){for(var e=arguments.length,t=new Array(e),r=0;rt.every(n=>n==null)?null:n=>{t.forEach(a=>{a&&YC(a,n)})},t)}function Zf(){return Zf=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var[ag,QC]=ps({strict:!1,name:"PortalContext"}),Jf="chakra-portal",qC=".chakra-portal",ZC=e=>x.exports.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),JC=e=>{var{appendToParentPortal:t,children:r}=e,n=x.exports.useRef(null),a=x.exports.useRef(null),o=ng(),i=QC(),l=FC();vs(()=>{if(!!n.current){var u=n.current.ownerDocument,c=t&&i!=null?i:u.body;if(!!c){a.current=u.createElement("div"),a.current.className=Jf,c.appendChild(a.current),o();var v=a.current;return()=>{c.contains(v)&&c.removeChild(v)}}}},[]);var s=l!=null&&l.zIndex?x.exports.createElement(ZC,{zIndex:l==null?void 0:l.zIndex},r):r;return a.current?Ii.exports.createPortal(x.exports.createElement(ag,{value:a.current},s),a.current):x.exports.createElement("span",{ref:n})},eE=e=>{var{children:t,containerRef:r,appendToParentPortal:n}=e,a=r.current,o=a!=null?a:Wr?document.body:void 0,i=x.exports.useMemo(()=>{var s=a==null?void 0:a.ownerDocument.createElement("div");return s&&(s.className=Jf),s},[a]),l=ng();return vs(()=>{l()},[]),vs(()=>{if(!(!i||!o))return o.appendChild(i),()=>{o.removeChild(i)}},[i,o]),o&&i?Ii.exports.createPortal(x.exports.createElement(ag,{value:n?i:null},t),i):null};function hs(e){var{containerRef:t}=e,r=XC(e,["containerRef"]);return t?x.exports.createElement(eE,Zf({containerRef:t},r)):x.exports.createElement(JC,r)}hs.defaultProps={appendToParentPortal:!0};hs.className=Jf;hs.selector=qC;var gs={light:"chakra-ui-light",dark:"chakra-ui-dark"},tE={classList:{add:Io,remove:Io}},rE=()=>Wr?document.body:tE;function nE(e){var t=rE();t.classList.add(e?gs.dark:gs.light),t.classList.remove(e?gs.light:gs.dark)}function aE(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var og={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function oE(e){var t,r=(t=aE(og.dark))!=null?t:e==="dark";return r?"dark":"light"}function iE(e){if(!("matchMedia"in window))return Io;var t=window.matchMedia(og.dark),r=()=>{e(t.matches?"dark":"light")};return r(),t.addListener(r),()=>{t.removeListener(r)}}var ig={get:()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),set:e=>{Wr&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)}},lg=()=>typeof Storage!="undefined",sg="chakra-ui-color-mode",lE={get(e){if(!lg())return e;try{var t=localStorage.getItem(sg);return t!=null?t:e}catch{return e}},set(e){if(!!lg())try{localStorage.setItem(sg,e)}catch{}},type:"localStorage"},ug=x.exports.createContext({}),ed=()=>{var e=x.exports.useContext(ug);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function sE(e){var{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:a},colorModeManager:o=lE}=e,[i,l]=x.exports.useState(o.type==="cookie"?o.get(a):a);x.exports.useEffect(()=>{if(Wr&&o.type==="localStorage"){var v=n?oE(a):ig.get()||o.get();v&&l(v)}},[o,n,a]),x.exports.useEffect(()=>{var v=i==="dark";nE(v),ig.set(v?"dark":"light")},[i]);var s=x.exports.useCallback(v=>{o.set(v),l(v)},[o]),u=x.exports.useCallback(()=>{s(i==="light"?"dark":"light")},[i,s]);x.exports.useEffect(()=>{var v;return n&&(v=iE(s)),()=>{v&&n&&v()}},[s,n]);var c=x.exports.useMemo(()=>({colorMode:t!=null?t:i,toggleColorMode:t?Io:u,setColorMode:t?Io:s}),[i,s,u,t]);return x.exports.createElement(ug.Provider,{value:c},r)}function i8(e,t){var{colorMode:r}=ed();return r==="dark"?t:e}var uE=(e,t)=>r=>{var n=String(t),a=e?e+"."+n:n;return kt(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t};function Vo(e){var{scale:t,transform:r,compose:n}=e,a=(o,i)=>{var l,s=uE(t,o)(i),u=(l=r==null?void 0:r(s,i))!=null?l:s;return n&&(u=n(u,i)),u};return a}function jt(e,t){return r=>{var n={property:r,scale:e};return n.transform=Vo({scale:e,transform:t}),n}}var cE=e=>{var{rtl:t,ltr:r}=e;return n=>n.direction==="rtl"?t:r};function fE(e){var{property:t,scale:r,transform:n}=e;return{scale:r,property:cE(t),transform:r?Vo({scale:r,compose:n}):n}}var cg=["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 dE(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...cg].join(" ")}function pE(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...cg].join(" ")}var vE={"--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)"].join(" ")},mE={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)"].join(" "),"--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 hE(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)"].join(", ")}}var gE={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},fg="& > :not(style) ~ :not(style)",yE={[fg]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},bE={[fg]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}};function td(e,t){td=function(s,u){return new o(s,void 0,u)};var r=rd(RegExp),n=RegExp.prototype,a=new WeakMap;function o(l,s,u){var c=r.call(this,l,s);return a.set(c,u||a.get(l)),c}xE(o,r),o.prototype.exec=function(l){var s=n.exec.call(this,l);return s&&(s.groups=i(s,this)),s},o.prototype[Symbol.replace]=function(l,s){if(typeof s=="string"){var u=a.get(this);return n[Symbol.replace].call(this,l,s.replace(/\$<([^>]+)>/g,function(v,p){return"$"+u[p]}))}else if(typeof s=="function"){var c=this;return n[Symbol.replace].call(this,l,function(){var v=[];return v.push.apply(v,arguments),typeof v[v.length-1]!="object"&&v.push(i(v,c)),s.apply(this,v)})}else return n[Symbol.replace].call(this,l,s)};function i(l,s){var u=a.get(s);return Object.keys(u).reduce(function(c,v){return c[v]=l[u[v]],c},Object.create(null))}return td.apply(this,arguments)}function xE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wo(e,t)}function rd(e){var t=typeof Map=="function"?new Map:void 0;return rd=function(n){if(n===null||!SE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return ys(n,arguments,nd(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Wo(a,n)},rd(e)}function ys(e,t,r){return wE()?ys=Reflect.construct:ys=function(a,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(a,l),u=new s;return i&&Wo(u,i.prototype),u},ys.apply(null,arguments)}function wE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function SE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Wo(e,t){return Wo=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Wo(e,t)}function nd(e){return nd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nd(e)}var ad={"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"},CE=new Set(Object.values(ad)),dg=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),EE=e=>e.trim();function PE(e,t){var r,n;if(e==null||dg.has(e))return e;var a=td(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:o,values:i}=(r=(n=a.exec(e))==null?void 0:n.groups)!=null?r:{};if(!o||!i)return e;var l=o.includes("-gradient")?o:o+"-gradient",[s,...u]=i.split(",").map(EE).filter(Boolean);if((u==null?void 0:u.length)===0)return e;var c=s in ad?ad[s]:s;u.unshift(c);var v=u.map(p=>{if(CE.has(p))return p;var y=p.indexOf(" "),[h,b]=y!==-1?[p.substr(0,y),p.substr(y+1)]:[p],f=pg(b)?b:b&&b.split(" "),d="colors."+h,m=d in t.__cssMap?t.__cssMap[d].varRef:h;return f?[m,f].join(" "):m});return l+"("+v.join(", ")+")"}var pg=e=>ls(e)&&e.includes("(")&&e.includes(")"),kE=(e,t)=>PE(e,t!=null?t:{}),TE=e=>{var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},Jt=e=>t=>e+"("+t+")",se={filter(e){return e!=="auto"?e:vE},backdropFilter(e){return e!=="auto"?e:mE},ring(e){return hE(se.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?dE():e==="auto-gpu"?pE():e},px(e){if(e==null)return e;var{unitless:t}=TE(e);return t||Bo(e)?e+"px":e},fraction(e){return!Bo(e)||e>1?e:e*100+"%"},float(e,t){var r={left:"right",right:"left"};return t.direction==="rtl"?r[e]:e},degree(e){if(H0(e)||e==null)return e;var t=ls(e)&&!e.endsWith("deg");return Bo(e)||t?e+"deg":e},gradient:kE,blur:Jt("blur"),opacity:Jt("opacity"),brightness:Jt("brightness"),contrast:Jt("contrast"),dropShadow:Jt("drop-shadow"),grayscale:Jt("grayscale"),hueRotate:Jt("hue-rotate"),invert:Jt("invert"),saturate:Jt("saturate"),sepia:Jt("sepia"),bgImage(e){if(e==null)return e;var t=pg(e)||dg.has(e);return t?e:"url("+e+")"},outline(e){var t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t,{space:r,divide:n}=(t=gE[e])!=null?t:{},a={flexDirection:e};return r&&(a[r]=1),n&&(a[n]=1),a}};function od(){return od=Object.assign||function(e){for(var t=1;te!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:bE,transform:Vo({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:k.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(xs,{flexDir:xs.flexDirection});var vg={gridGap:k.space("gridGap"),gridColumnGap:k.space("gridColumnGap"),gridRowGap:k.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},AE={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:se.outline},outlineOffset:!0,outlineColor:k.colors("outlineColor")},Ot={width:k.sizesT("width"),inlineSize:k.sizesT("inlineSize"),height:k.sizes("height"),blockSize:k.sizes("blockSize"),boxSize:k.sizes(["width","height"]),minWidth:k.sizes("minWidth"),minInlineSize:k.sizes("minInlineSize"),minHeight:k.sizes("minHeight"),minBlockSize:k.sizes("minBlockSize"),maxWidth:k.sizes("maxWidth"),maxInlineSize:k.sizes("maxInlineSize"),maxHeight:k.sizes("maxHeight"),maxBlockSize:k.sizes("maxBlockSize"),d:k.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:k.propT("float",se.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ot,{w:Ot.width,h:Ot.height,minW:Ot.minWidth,maxW:Ot.maxWidth,minH:Ot.minHeight,maxH:Ot.maxHeight,overscroll:Ot.overscrollBehavior,overscrollX:Ot.overscrollBehaviorX,overscrollY:Ot.overscrollBehaviorY});var RE={listStyleType:!0,listStylePosition:!0,listStylePos:k.prop("listStylePosition"),listStyleImage:!0,listStyleImg:k.prop("listStyleImage")},ME={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},LE={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},ld=(e,t,r)=>{var n={},a=ss(e,t,{});for(var o in a){var i=o in r&&r[o]!=null;i||(n[o]=a[o])}return n},jE={srOnly:{transform(e){return e===!0?ME:e==="focusable"?LE:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>ld(t,"layerStyles."+e,r)},textStyle:{processResult:!0,transform:(e,t,r)=>ld(t,"textStyles."+e,r)},apply:{processResult:!0,transform:(e,t,r)=>ld(t,e,r)}},Ho={position:!0,pos:k.prop("position"),zIndex:k.prop("zIndex","zIndices"),inset:k.spaceT(["top","right","bottom","left"]),insetX:k.spaceT(["left","right"]),insetInline:k.spaceT("insetInline"),insetY:k.spaceT(["top","bottom"]),insetBlock:k.spaceT("insetBlock"),top:k.spaceT("top"),insetBlockStart:k.spaceT("insetBlockStart"),bottom:k.spaceT("bottom"),insetBlockEnd:k.spaceT("insetBlockEnd"),left:k.spaceT("left"),insetInlineStart:k.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:k.spaceT("right"),insetInlineEnd:k.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ho,{insetStart:Ho.insetInlineStart,insetEnd:Ho.insetInlineEnd});var zE={ring:{transform:se.ring},ringColor:k.colors("--chakra-ring-color"),ringOffset:k.prop("--chakra-ring-offset-width"),ringOffsetColor:k.colors("--chakra-ring-offset-color"),ringInset:k.prop("--chakra-ring-inset")},he={margin:k.spaceT("margin"),marginTop:k.spaceT("marginTop"),marginBlockStart:k.spaceT("marginBlockStart"),marginRight:k.spaceT("marginRight"),marginInlineEnd:k.spaceT("marginInlineEnd"),marginBottom:k.spaceT("marginBottom"),marginBlockEnd:k.spaceT("marginBlockEnd"),marginLeft:k.spaceT("marginLeft"),marginInlineStart:k.spaceT("marginInlineStart"),marginX:k.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:k.spaceT("marginInline"),marginY:k.spaceT(["marginTop","marginBottom"]),marginBlock:k.spaceT("marginBlock"),padding:k.space("padding"),paddingTop:k.space("paddingTop"),paddingBlockStart:k.space("paddingBlockStart"),paddingRight:k.space("paddingRight"),paddingBottom:k.space("paddingBottom"),paddingBlockEnd:k.space("paddingBlockEnd"),paddingLeft:k.space("paddingLeft"),paddingInlineStart:k.space("paddingInlineStart"),paddingInlineEnd:k.space("paddingInlineEnd"),paddingX:k.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:k.space("paddingInline"),paddingY:k.space(["paddingTop","paddingBottom"]),paddingBlock:k.space("paddingBlock")};Object.assign(he,{m:he.margin,mt:he.marginTop,mr:he.marginRight,me:he.marginInlineEnd,marginEnd:he.marginInlineEnd,mb:he.marginBottom,ml:he.marginLeft,ms:he.marginInlineStart,marginStart:he.marginInlineStart,mx:he.marginX,my:he.marginY,p:he.padding,pt:he.paddingTop,py:he.paddingY,px:he.paddingX,pb:he.paddingBottom,pl:he.paddingLeft,ps:he.paddingInlineStart,paddingStart:he.paddingInlineStart,pr:he.paddingRight,pe:he.paddingInlineEnd,paddingEnd:he.paddingInlineEnd});var $E={textDecorationColor:k.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:k.shadows("textShadow")},BE={clipPath:!0,transform:k.propT("transform",se.transform),transformOrigin:!0,translateX:k.spaceT("--chakra-translate-x"),translateY:k.spaceT("--chakra-translate-y"),skewX:k.degreeT("--chakra-skew-x"),skewY:k.degreeT("--chakra-skew-y"),scaleX:k.prop("--chakra-scale-x"),scaleY:k.prop("--chakra-scale-y"),scale:k.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:k.degreeT("--chakra-rotate")},IE={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:k.prop("transitionDuration","transition.duration"),transitionProperty:k.prop("transitionProperty","transition.property"),transitionTimingFunction:k.prop("transitionTimingFunction","transition.easing")},DE={fontFamily:k.prop("fontFamily","fonts"),fontSize:k.prop("fontSize","fontSizes",se.px),fontWeight:k.prop("fontWeight","fontWeights"),lineHeight:k.prop("lineHeight","lineHeights"),letterSpacing:k.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},ma={hover:e=>e+":hover &, "+e+"[data-hover] &",focus:e=>e+":focus &, "+e+"[data-focus] &",active:e=>e+":active &, "+e+"[data-active] &",disabled:e=>e+":disabled &, "+e+"[data-disabled] &",invalid:e=>e+":invalid &, "+e+"[data-invalid] &",checked:e=>e+":checked &, "+e+"[data-checked] &",indeterminate:e=>e+":indeterminate &, "+e+"[aria-checked=mixed] &, "+e+"[data-indeterminate] &",readOnly:e=>e+":read-only &, "+e+"[readonly] &, "+e+"[data-read-only] &",expanded:e=>e+":read-only &, "+e+"[aria-expanded=true] &, "+e+"[data-expanded] &"},ha=e=>FE(e,"[role=group]","[data-group]",".group"),FE=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;ae in WE,UE=e=>t=>{if(!t.__breakpoints)return e;var{isResponsive:r,toArrayValue:n,media:a}=t.__breakpoints,o={};for(var i in e){var l=Tt(e[i],t);if(l!=null){if(l=kt(l)&&r(l)?n(l):l,!Array.isArray(l)){o[i]=l;continue}for(var s=l.slice(0,a.length).length,u=0;ue.startsWith("--")&&ls(t)&&!H0(t),YE=(e,t)=>{var r,n;if(t==null)return t;var a=u=>{var c,v;return(c=e.__cssMap)==null||(v=c[u])==null?void 0:v.varRef},o=u=>{var c;return(c=a(u))!=null?c:u},i=t.split(",").map(u=>u.trim()),[l,s]=i;return t=(r=(n=a(l))!=null?n:o(s))!=null?r:o(t),t};function GE(e){var{configs:t={},pseudos:r={},theme:n}=e,a=function o(i,l){l===void 0&&(l=!1);var s=Tt(i,n),u=UE(s)(n),c={};for(var v in u){var p,y,h,b,f,d=u[v],m=Tt(d,n);v in r&&(v=r[v]),KE(v,m)&&(m=YE(n,m));var w=t[v];if(w===!0&&(w={property:v}),kt(m)){var S;c[v]=(S=c[v])!=null?S:{},c[v]=qt({},c[v],o(m,!0));continue}var P=(p=(y=w)==null||y.transform==null?void 0:y.transform(m,n,s))!=null?p:m;P=(h=w)!=null&&h.processResult?o(P,!0):P;var C=Tt((b=w)==null?void 0:b.property,n);if(!l&&(f=w)!=null&&f.static){var T=Tt(w.static,n);c=qt({},c,T)}if(C&&Array.isArray(C)){for(var A of C)c[A]=P;continue}if(C){C==="&"&&kt(P)?c=qt({},c,P):c[C]=P;continue}if(kt(P)){c=qt({},c,P);continue}c[v]=P}return c};return a}var mg=e=>t=>{var r=GE({theme:t,pseudos:sd,configs:cd});return r(e)};function hg(e){return kt(e)&&e.reference?e.reference:String(e)}var ws=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{var t=hg(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):"-"+t:fd(t,-1)},bn=Object.assign(e=>({add:function(){for(var r=arguments.length,n=new Array(r),a=0;abn(xg(e)),toString:()=>e.toString()}),{add:gg,subtract:yg,multiply:fd,divide:bg,negate:xg});function XE(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function wg(e){var t=XE(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function QE(e,t){return t===void 0&&(t=""),[t,wg(e)].filter(Boolean).join("-")}function qE(e,t){return"var("+wg(e)+(t?", "+t:"")+")"}function ZE(e,t){return t===void 0&&(t=""),"--"+QE(e,t)}function Sg(e,t,r){var n=ZE(e,r);return{variable:n,reference:qE(n,t)}}function dd(){return dd=Object.assign||function(e){for(var t=1;t{var o,[i]=a,l=(o=pd[i])!=null?o:pd.defaultHandler,{cssVars:s,cssMap:u}=l(a,n,t);Object.assign(r.cssVars,s),Object.assign(r.cssMap,u)}),r}var pd={space:(e,t,r)=>{var n=pd.defaultHandler(e,t,r),[a,...o]=e,i=a+".-"+o.join("."),l=e.join("-"),{variable:s,reference:u}=Sg(l,void 0,r.cssVarPrefix),c=bn.negate(t),v=bn.negate(u);return{cssVars:n.cssVars,cssMap:dd({},n.cssMap,{[i]:{value:""+c,var:""+s,varRef:v}})}},defaultHandler:(e,t,r)=>{var n=e.join("."),a=e.join("-"),{variable:o,reference:i}=Sg(a,void 0,r.cssVarPrefix);return{cssVars:{[o]:t},cssMap:{[n]:{value:t,var:o,varRef:i}}}}};function eP(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var tP=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function rP(e){var t=tP;return U0(e,t)}function nP(e){var t=eP(e,["__cssMap","__cssVars","__breakpoints"]);return t}function vd(){return vd=Object.assign||function(e){for(var t=1;t{var{cssVarsRoot:t=":host, :root",theme:r,children:n}=e,a=x.exports.useMemo(()=>aP(r),[r]);return x.exports.createElement(dC,{theme:a},x.exports.createElement(Nf,{styles:o=>({[t]:o.__cssVars})}),n)};function Cg(){var e=x.exports.useContext($o);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}var[fP,Uo]=ps({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "}),dP=()=>{var{colorMode:e}=ed();return x.exports.createElement(Nf,{styles:t=>{var r=ss(t,"styles.global"),n=Tt(r,{theme:t,colorMode:e});if(!!n){var a=mg(n)(t);return a}}})},pP=["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"];function xn(e){return Hf(e,["styleConfig","size","variant","colorScheme"])}function md(){return md=Object.assign||function(e){for(var t=1;t96?gP:yP},Pg=function(t,r,n){var a;if(r){var o=r.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},bP=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var l=Pg(t,r,n),s=l||Eg(a),u=!s("as");return function(){var c=arguments,v=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&v.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)v.push.apply(v,c);else{v.push(c[0][0]);for(var p=c.length,y=1;ySP.has(e)||!wP.has(e);function kg(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var EP=e=>{var{baseStyle:t}=e;return r=>{var{css:n,__css:a,sx:o}=r,i=kg(r,["theme","css","__css","sx"]),l=K0(i,(v,p)=>HE(p)),s=Tt(t,r),u=Object.assign({},a,s,Uf(l),o),c=mg(u)(r.theme);return n?[c,n]:c}};function PP(e,t){var r=t!=null?t:{},{baseStyle:n}=r,a=kg(r,["baseStyle"]);a.shouldForwardProp||(a.shouldForwardProp=CP);var o=EP({baseStyle:n});return hd(e,a)(o)}var ue=PP;pP.forEach(e=>{ue[e]=ue(e)});function Je(e){return x.exports.forwardRef(e)}function kP(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function wn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var{styleConfig:a}=t,o=kP(t,["styleConfig"]),{theme:i,colorMode:l}=vP(),s=ss(i,"components."+e),u=a||s,c=qt({theme:i,colorMode:l},(n=u==null?void 0:u.defaultProps)!=null?n:{},Uf(Hf(o,["children"]))),v=x.exports.useRef({});if(u){var p,y,h,b,f,d,m=Tt((p=u.baseStyle)!=null?p:{},c),w=Tt((y=(h=u.variants)==null?void 0:h[c.variant])!=null?y:{},c),S=Tt((b=(f=u.sizes)==null?void 0:f[c.size])!=null?b:{},c),P=qt({},m,S,w);(d=r)!=null&&d.isMultiPart&&u.parts&&u.parts.forEach(T=>{var A;P[T]=(A=P[T])!=null?A:{}});var C=uP(v.current,P);C||(v.current=P)}return v.current}function TP(e,t){return wn(e,t,{isMultiPart:!0})}var OP={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},Tg=OP,ga=()=>{},_P={document:Tg,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:ga,removeEventListener:ga,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:ga,removeListener:ga}},requestAnimationFrame(e){return typeof setTimeout=="undefined"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout!="undefined"&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:ga,setInterval:()=>0,clearInterval:ga},AP=_P,Cs={exports:{}},Ko={};/** @license React v17.0.2 + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var RP=x.exports,Og=60103;Ko.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var _g=Symbol.for;Og=_g("react.element"),Ko.Fragment=_g("react.fragment")}var MP=RP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,LP=Object.prototype.hasOwnProperty,jP={key:!0,ref:!0,__self:!0,__source:!0};function Ag(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)LP.call(t,n)&&!jP.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:Og,type:e,key:o,ref:i,props:a,_owner:MP.current}}Ko.jsx=Ag;Ko.jsxs=Ag;Cs.exports=Ko;const Rg=Cs.exports.jsx,zP=Cs.exports.jsxs,l8=Cs.exports.Fragment;var $P={window:AP,document:Tg},Mg=Wr?{window,document}:$P,Lg=x.exports.createContext(Mg);function BP(){return x.exports.useContext(Lg)}function IP(e){var{children:t,environment:r}=e,[n,a]=x.exports.useState(null),o=x.exports.useMemo(()=>{var l,s=n==null?void 0:n.ownerDocument,u=n==null?void 0:n.ownerDocument.defaultView,c=s?{document:s,window:u}:void 0,v=(l=r!=null?r:c)!=null?l:Mg;return v},[n,r]),i=!n&&!r;return zP(Lg.Provider,{value:o,children:[t,i&&Rg("span",{ref:l=>{l&&a(l)}})]})}var DP=e=>{var{children:t,colorModeManager:r,portalZIndex:n,resetCSS:a=!0,theme:o={},environment:i,cssVarsRoot:l}=e,s=x.exports.createElement(IP,{environment:i},t);return x.exports.createElement(HC,null,x.exports.createElement(cP,{theme:o,cssVarsRoot:l},x.exports.createElement(sE,{colorModeManager:r,options:o.config},a&&x.exports.createElement(mC,null),x.exports.createElement(dP,null),n?x.exports.createElement(NC,{zIndex:n},s):s)))};function Ve(e,t){FP(e)&&(e="100%");var r=NP(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Es(e){return Math.min(1,Math.max(0,e))}function FP(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function NP(e){return typeof e=="string"&&e.indexOf("%")!==-1}function jg(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ps(e){return e<=1?Number(e)*100+"%":e}function Sn(e){return e.length===1?"0"+e:String(e)}function VP(e,t,r){return{r:Ve(e,255)*255,g:Ve(t,255)*255,b:Ve(r,255)*255}}function zg(e,t,r){e=Ve(e,255),t=Ve(t,255),r=Ve(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=0,l=(n+a)/2;if(n===a)i=0,o=0;else{var s=n-a;switch(i=l>.5?s/(2-n-a):s/(n+a),n){case e:o=(t-r)/s+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function WP(e,t,r){var n,a,o;if(e=Ve(e,360),t=Ve(t,100),r=Ve(r,100),t===0)a=r,o=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=gd(l,i,e+1/3),a=gd(l,i,e),o=gd(l,i,e-1/3)}return{r:n*255,g:a*255,b:o*255}}function $g(e,t,r){e=Ve(e,255),t=Ve(t,255),r=Ve(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=n,l=n-a,s=n===0?0:l/n;if(n===a)o=0;else{switch(n){case e:o=(t-r)/l+(t>16,g:(e&65280)>>8,b:e&255}}var yd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function GP(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,l=!1;return typeof e=="string"&&(e=qP(e)),typeof e=="object"&&(vr(e.r)&&vr(e.g)&&vr(e.b)?(t=VP(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):vr(e.h)&&vr(e.s)&&vr(e.v)?(n=Ps(e.s),a=Ps(e.v),t=HP(e.h,n,a),i=!0,l="hsv"):vr(e.h)&&vr(e.s)&&vr(e.l)&&(n=Ps(e.s),o=Ps(e.l),t=WP(e.h,n,o),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=jg(r),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var XP="[-\\+]?\\d+%?",QP="[-\\+]?\\d*\\.\\d+%?",Hr="(?:"+QP+")|(?:"+XP+")",bd="[\\s|\\(]+("+Hr+")[,|\\s]+("+Hr+")[,|\\s]+("+Hr+")\\s*\\)?",xd="[\\s|\\(]+("+Hr+")[,|\\s]+("+Hr+")[,|\\s]+("+Hr+")[,|\\s]+("+Hr+")\\s*\\)?",zt={CSS_UNIT:new RegExp(Hr),rgb:new RegExp("rgb"+bd),rgba:new RegExp("rgba"+xd),hsl:new RegExp("hsl"+bd),hsla:new RegExp("hsla"+xd),hsv:new RegExp("hsv"+bd),hsva:new RegExp("hsva"+xd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function qP(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(yd[e])e=yd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=zt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=zt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=zt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=zt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=zt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=zt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=zt.hex8.exec(e),r?{r:ht(r[1]),g:ht(r[2]),b:ht(r[3]),a:Ig(r[4]),format:t?"name":"hex8"}:(r=zt.hex6.exec(e),r?{r:ht(r[1]),g:ht(r[2]),b:ht(r[3]),format:t?"name":"hex"}:(r=zt.hex4.exec(e),r?{r:ht(r[1]+r[1]),g:ht(r[2]+r[2]),b:ht(r[3]+r[3]),a:Ig(r[4]+r[4]),format:t?"name":"hex8"}:(r=zt.hex3.exec(e),r?{r:ht(r[1]+r[1]),g:ht(r[2]+r[2]),b:ht(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function vr(e){return Boolean(zt.CSS_UNIT.exec(String(e)))}var Yo=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=YP(t)),this.originalInput=t;var a=GP(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,a,o=t.r/255,i=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=jg(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=$g(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=$g(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv("+r+", "+n+"%, "+a+"%)":"hsva("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=zg(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=zg(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl("+r+", "+n+"%, "+a+"%)":"hsla("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Bg(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),UP(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb("+t+", "+r+", "+n+")":"rgba("+t+", "+r+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(r){return Math.round(Ve(r,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Ve(r,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Bg(this.r,this.g,this.b,!1),r=0,n=Object.entries(yd);r=0,o=!r&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Es(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Es(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Es(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Es(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),a=new e(t).toRgb(),o=r/100,i={r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),a=360/r,o=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,a=r.s,o=r.v,i=[],l=1/t;t--;)i.push(new e({h:n,s:a,v:o})),o=(o+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,a=[this],o=360/t,i=1;ir.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Dg(e));return e.count=t,r}var n=ZP(e.hue,e.seed),a=JP(n,e),o=ek(n,a,e),i={h:n,s:a,v:o};return e.alpha!==void 0&&(i.a=e.alpha),new Yo(i)}function ZP(e,t){var r=rk(e),n=ks(r,t);return n<0&&(n=360+n),n}function JP(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return ks([0,100],t.seed);var r=Fg(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55;break}return ks([n,a],t.seed)}function ek(e,t,r){var n=tk(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100;break}return ks([n,a],r.seed)}function tk(e,t){for(var r=Fg(e).lowerBounds,n=0;n=a&&t<=i){var s=(l-o)/(i-a),u=o-s*a;return s*t+u}}return 0}function rk(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Vg.find(function(i){return i.name===e});if(r){var n=Ng(r);if(n.hueRange)return n.hueRange}var a=new Yo(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}function Fg(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Vg;t=a.hueRange[0]&&e<=a.hueRange[1])return a}throw Error("Color not found")}function ks(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var a=t/233280;return Math.floor(n+a*(r-n))}function Ng(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var Vg=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],je=(e,t,r)=>{var n=ss(e,"colors."+t,t),{isValid:a}=new Yo(n);return a?n:r},nk=e=>t=>{var r=je(t,e),n=new Yo(r).isDark();return n?"dark":"light"},ak=e=>t=>nk(e)(t)==="dark",ya=(e,t)=>r=>{var n=je(r,e);return new Yo(n).setAlpha(t).toRgbString()};function Wg(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient( + 45deg, + `+t+` 25%, + transparent 25%, + transparent 50%, + `+t+` 50%, + `+t+` 75%, + transparent 75%, + transparent + )`,backgroundSize:e+" "+e}}function ok(e){var t=Dg().toHexString();return!e||gC(e)?t:e.string&&e.colors?lk(e.string,e.colors):e.string&&!e.colors?ik(e.string):e.colors&&!e.string?sk(e.colors):t}function ik(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r>a*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function lk(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;nr.colorMode==="dark"?t:e}function Go(e){var{orientation:t,vertical:r,horizontal:n}=e;return t?t==="vertical"?r:n:{}}function wd(){return wd=Object.assign||function(e){for(var t=1;t(_C({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),wd({base:"0em"},e));function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ck{constructor(t){var r=this;this.name=t,Cn(this,"map",{}),Cn(this,"called",!1),Cn(this,"assert",()=>{if(!this.called){this.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}),Cn(this,"parts",function(){r.assert();for(var n=arguments.length,a=new Array(n),o=0;o{var a=["container","root"].includes(n!=null?n:"")?[this.name]:[this.name,n],o=a.filter(Boolean).join("__"),i="chakra-"+o,l={className:i,selector:"."+i,toString:()=>n};return l}),Cn(this,"__type",{})}get selectors(){var t=Object.fromEntries(Object.entries(this.map).map(r=>{var[n,a]=r;return[n,a.selector]}));return t}get classNames(){var t=Object.fromEntries(Object.entries(this.map).map(r=>{var[n,a]=r;return[n,a.className]}));return t}get keys(){return Object.keys(this.map)}}function fe(e){return new ck(e)}function Hg(e){return kt(e)&&e.reference?e.reference:String(e)}var Ts=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{var t=Hg(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):"-"+t:Sd(t,-1)},mr=Object.assign(e=>({add:function(){for(var r=arguments.length,n=new Array(r),a=0;amr(Gg(e)),toString:()=>e.toString()}),{add:Ug,subtract:Kg,multiply:Sd,divide:Yg,negate:Gg});function fk(e){return!Number.isInteger(parseFloat(e.toString()))}function dk(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Xg(e){var t=dk(e.toString());return t.includes("\\.")?e:fk(e)?t.replace(".","\\."):e}function pk(e,t){return t===void 0&&(t=""),[t,Xg(e)].filter(Boolean).join("-")}function vk(e,t){return"var("+Xg(e)+(t?", "+t:"")+")"}function mk(e,t){return t===void 0&&(t=""),"--"+pk(e,t)}function gt(e,t){var r=mk(e,t==null?void 0:t.prefix);return{variable:r,reference:vk(r,hk(t==null?void 0:t.fallback))}}function hk(e){return typeof e=="string"?e:e==null?void 0:e.reference}var gk=fe("accordion").parts("container","item","button","panel").extend("icon"),yk=fe("alert").parts("title","description","container").extend("icon"),bk=fe("avatar").parts("label","badge","container").extend("excessLabel","group"),xk=fe("breadcrumb").parts("link","item","container").extend("separator");fe("button").parts();var wk=fe("checkbox").parts("control","icon","container").extend("label");fe("progress").parts("track","filledTrack").extend("label");var Sk=fe("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ck=fe("editable").parts("preview","input"),Ek=fe("form").parts("container","requiredIndicator","helperText"),Pk=fe("formError").parts("text","icon"),kk=fe("input").parts("addon","field","element"),Tk=fe("list").parts("container","item","icon"),Ok=fe("menu").parts("button","list","item").extend("groupTitle","command","divider"),_k=fe("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ak=fe("numberinput").parts("root","field","stepperGroup","stepper");fe("pininput").parts("field");var Rk=fe("popover").parts("content","header","body","footer").extend("popper","arrow"),Mk=fe("progress").parts("label","filledTrack","track"),Lk=fe("radio").parts("container","control","label"),jk=fe("select").parts("field","icon"),zk=fe("slider").parts("container","track","thumb","filledTrack"),$k=fe("stat").parts("container","label","helpText","number","icon"),Bk=fe("switch").parts("container","track","thumb"),Ik=fe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Dk=fe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Fk=fe("tag").parts("container","label","closeButton"),Nk={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Vk={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},Wk={pt:2,px:4,pb:5},Hk={fontSize:"1.25em"},Uk={container:Nk,button:Vk,panel:Wk,icon:Hk},Kk={parts:gk.keys,baseStyle:Uk},Yk={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function Cd(e){var{theme:t,colorScheme:r}=e,n=je(t,r+".100",r),a=ya(r+".200",.16)(t);return M(n,a)(e)}var Gk=e=>{var{colorScheme:t}=e;return{container:{bg:Cd(e)},icon:{color:M(t+".500",t+".200")(e)}}},Xk=e=>{var{colorScheme:t}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:M(t+".500",t+".200")(e),bg:Cd(e)},icon:{color:M(t+".500",t+".200")(e)}}},Qk=e=>{var{colorScheme:t}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:M(t+".500",t+".200")(e),bg:Cd(e)},icon:{color:M(t+".500",t+".200")(e)}}},qk=e=>{var{colorScheme:t}=e;return{container:{bg:M(t+".500",t+".200")(e),color:M("white","gray.900")(e)}}},Zk={subtle:Gk,"left-accent":Xk,"top-accent":Qk,solid:qk},Jk={variant:"subtle",colorScheme:"blue"},eT={parts:yk.keys,baseStyle:Yk,variants:Zk,defaultProps:Jk},Qg={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function Ed(){return Ed=Object.assign||function(e){for(var t=1;t({transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:M("white","gray.800")(e)}),oT=e=>({bg:M("gray.200","whiteAlpha.400")(e)}),iT=e=>{var{name:t,theme:r}=e,n=t?ok({string:t}):"gray.400",a=ak(n)(r),o="white";a||(o="gray.800");var i=M("white","gray.800")(e);return{bg:n,color:o,borderColor:i,verticalAlign:"top"}},lT=e=>({badge:aT(e),excessLabel:oT(e),container:iT(e)});function Ur(e){var t=qg[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var sT={"2xs":Ur("4"),xs:Ur("6"),sm:Ur("8"),md:Ur("12"),lg:Ur("16"),xl:Ur("24"),"2xl":Ur("32"),full:Ur("100%")},uT={size:"md"},cT={parts:bk.keys,baseStyle:lT,sizes:sT,defaultProps:uT},fT={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},dT=e=>{var{colorScheme:t,theme:r}=e,n=ya(t+".500",.6)(r);return{bg:M(t+".500",n)(e),color:M("white","whiteAlpha.800")(e)}},pT=e=>{var{colorScheme:t,theme:r}=e,n=ya(t+".200",.16)(r);return{bg:M(t+".100",n)(e),color:M(t+".800",t+".200")(e)}},vT=e=>{var{colorScheme:t,theme:r}=e,n=ya(t+".200",.8)(r),a=je(r,t+".500"),o=M(a,n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}},mT={solid:dT,subtle:pT,outline:vT},hT={variant:"subtle",colorScheme:"gray"},Xo={baseStyle:fT,variants:mT,defaultProps:hT},gT={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},yT={link:gT},bT={parts:xk.keys,baseStyle:yT};function Pd(){return Pd=Object.assign||function(e){for(var t=1;t{var{colorScheme:t,theme:r}=e;if(t==="gray")return{color:M("inherit","whiteAlpha.900")(e),_hover:{bg:M("gray.100","whiteAlpha.200")(e)},_active:{bg:M("gray.200","whiteAlpha.300")(e)}};var n=ya(t+".200",.12)(r),a=ya(t+".200",.24)(r);return{color:M(t+".600",t+".200")(e),bg:"transparent",_hover:{bg:M(t+".50",n)(e)},_active:{bg:M(t+".100",a)(e)}}},wT=e=>{var{colorScheme:t}=e,r=M("gray.200","whiteAlpha.300")(e);return Pd({border:"1px solid",borderColor:t==="gray"?r:"currentColor"},Zg(e))},ST={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},CT=e=>{var t,{colorScheme:r}=e;if(r==="gray"){var n=M("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:M("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:M("gray.300","whiteAlpha.400")(e)}}}var{bg:a=r+".500",color:o="white",hoverBg:i=r+".600",activeBg:l=r+".700"}=(t=ST[r])!=null?t:{},s=M(a,r+".200")(e);return{bg:s,color:M(o,"gray.800")(e),_hover:{bg:M(i,r+".300")(e),_disabled:{bg:s}},_active:{bg:M(l,r+".400")(e)}}},ET=e=>{var{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:M(t+".500",t+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:M(t+".700",t+".500")(e)}}},PT={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},kT={ghost:Zg,outline:wT,solid:CT,link:ET,unstyled:PT},TT={lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},OT={variant:"solid",size:"md",colorScheme:"gray"},_T={baseStyle:xT,variants:kT,sizes:TT,defaultProps:OT},AT=e=>{var{colorScheme:t}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:M(t+".500",t+".200")(e),borderColor:M(t+".500",t+".200")(e),color:M("white","gray.900")(e),_hover:{bg:M(t+".600",t+".300")(e),borderColor:M(t+".600",t+".300")(e)},_disabled:{borderColor:M("gray.200","transparent")(e),bg:M("gray.200","whiteAlpha.300")(e),color:M("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:M(t+".500",t+".200")(e),borderColor:M(t+".500",t+".200")(e),color:M("white","gray.900")(e)},_disabled:{bg:M("gray.100","whiteAlpha.100")(e),borderColor:M("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:M("red.500","red.300")(e)}}},RT={userSelect:"none",_disabled:{opacity:.4}},MT={transitionProperty:"transform",transitionDuration:"normal"},LT=e=>({icon:MT,control:AT(e),label:RT}),jT={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},zT={size:"md",colorScheme:"blue"},kd={parts:wk.keys,baseStyle:LT,sizes:jT,defaultProps:zT},Qo=gt("close-button-size"),$T=e=>{var t=M("blackAlpha.100","whiteAlpha.100")(e),r=M("blackAlpha.200","whiteAlpha.200")(e);return{w:[Qo.reference],h:[Qo.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:t},_active:{bg:r},_focus:{boxShadow:"outline"}}},BT={lg:{[Qo.variable]:"40px",fontSize:"16px"},md:{[Qo.variable]:"32px",fontSize:"12px"},sm:{[Qo.variable]:"24px",fontSize:"10px"}},IT={size:"md"},DT={baseStyle:$T,sizes:BT,defaultProps:IT},{variants:FT,defaultProps:NT}=Xo,VT={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},WT={baseStyle:VT,variants:FT,defaultProps:NT},HT={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},UT={baseStyle:HT},KT={opacity:.6,borderColor:"inherit"},YT={borderStyle:"solid"},GT={borderStyle:"dashed"},XT={solid:YT,dashed:GT},QT={variant:"solid"},qT={baseStyle:KT,variants:XT,defaultProps:QT};function Td(){return Td=Object.assign||function(e){for(var t=1;t{var{isFullHeight:t}=e;return Td({},t&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:M("white","gray.700")(e),color:"inherit",boxShadow:M("lg","dark-lg")(e)})},t5={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},r5={position:"absolute",top:2,insetEnd:3},n5={px:6,py:2,flex:1,overflow:"auto"},a5={px:6,py:4},o5=e=>({overlay:ZT,dialogContainer:JT,dialog:e5(e),header:t5,closeButton:r5,body:n5,footer:a5}),i5={xs:ba("xs"),sm:ba("md"),md:ba("lg"),lg:ba("2xl"),xl:ba("4xl"),full:ba("full")},l5={size:"xs"},s5={parts:Sk.keys,baseStyle:o5,sizes:i5,defaultProps:l5},u5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},c5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},f5={preview:u5,input:c5},d5={parts:Ck.keys,baseStyle:f5},p5=e=>({marginStart:1,color:M("red.500","red.300")(e)}),v5=e=>({mt:2,color:M("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}),m5=e=>({container:{width:"100%",position:"relative"},requiredIndicator:p5(e),helperText:v5(e)}),h5={parts:Ek.keys,baseStyle:m5},g5={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},y5={baseStyle:g5},b5={fontFamily:"heading",fontWeight:"bold"},x5={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},w5={size:"xl"},S5={baseStyle:b5,sizes:x5,defaultProps:w5},C5={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},Kr={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},E5={lg:{field:Kr.lg,addon:Kr.lg},md:{field:Kr.md,addon:Kr.md},sm:{field:Kr.sm,addon:Kr.sm},xs:{field:Kr.xs,addon:Kr.xs}};function Od(e){var{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||M("blue.500","blue.300")(e),errorBorderColor:r||M("red.500","red.300")(e)}}var P5=e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Od(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:M("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(t,n),boxShadow:"0 0 0 1px "+je(t,n)},_focus:{zIndex:1,borderColor:je(t,r),boxShadow:"0 0 0 1px "+je(t,r)}},addon:{border:"1px solid",borderColor:M("inherit","whiteAlpha.50")(e),bg:M("gray.100","whiteAlpha.300")(e)}}},k5=e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Od(e);return{field:{border:"2px solid",borderColor:"transparent",bg:M("gray.100","whiteAlpha.50")(e),_hover:{bg:M("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(t,n)},_focus:{bg:"transparent",borderColor:je(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:M("gray.100","whiteAlpha.50")(e)}}},T5=e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Od(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:je(t,n),boxShadow:"0px 1px 0px 0px "+je(t,n)},_focus:{borderColor:je(t,r),boxShadow:"0px 1px 0px 0px "+je(t,r)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},O5={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},_5={outline:P5,filled:k5,flushed:T5,unstyled:O5},A5={size:"md",variant:"outline"},xe={parts:kk.keys,baseStyle:C5,sizes:E5,variants:_5,defaultProps:A5},R5=e=>({bg:M("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),M5={baseStyle:R5},L5={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},j5={baseStyle:L5},z5={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},$5={container:{},item:{},icon:z5},B5={parts:Tk.keys,baseStyle:$5},I5=e=>({bg:M("#fff","gray.700")(e),boxShadow:M("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}),D5=e=>({py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:M("gray.100","whiteAlpha.100")(e)},_active:{bg:M("gray.200","whiteAlpha.200")(e)},_expanded:{bg:M("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}),F5={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},N5={opacity:.6},V5={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},W5={transitionProperty:"common",transitionDuration:"normal"},H5=e=>({button:W5,list:I5(e),item:D5(e),groupTitle:F5,command:N5,divider:V5}),U5={parts:Ok.keys,baseStyle:H5},K5={bg:"blackAlpha.600",zIndex:"modal"},Y5=e=>{var{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:r==="inside"?"hidden":"auto"}},G5=e=>{var{scrollBehavior:t}=e;return{borderRadius:"md",bg:M("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:M("lg","dark-lg")(e)}},X5={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Q5={position:"absolute",top:2,insetEnd:3},q5=e=>{var{scrollBehavior:t}=e;return{px:6,py:2,flex:1,overflow:t==="inside"?"auto":void 0}},Z5={px:6,py:4},J5=e=>({overlay:K5,dialogContainer:Y5(e),dialog:G5(e),header:X5,closeButton:Q5,body:q5(e),footer:Z5});function $t(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh",my:0}}:{dialog:{maxW:e}}}var eO={xs:$t("xs"),sm:$t("sm"),md:$t("md"),lg:$t("lg"),xl:$t("xl"),"2xl":$t("2xl"),"3xl":$t("3xl"),"4xl":$t("4xl"),"5xl":$t("5xl"),"6xl":$t("6xl"),full:$t("full")},tO={size:"md"},rO={parts:_k.keys,baseStyle:J5,sizes:eO,defaultProps:tO},nO={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2","3":".75rem","4":"1rem","5":"1.25rem","6":"1.5rem","7":"1.75rem","8":"2rem","9":"2.25rem","10":"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},Jg=nO,ey,ty;function _d(){return _d=Object.assign||function(e){for(var t=1;t({borderStart:"1px solid",borderStartColor:M("inherit","whiteAlpha.300")(e),color:M("inherit","whiteAlpha.800")(e),_active:{bg:M("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}),fO=e=>({root:lO,field:sO,stepperGroup:uO,stepper:cO(e)});function Os(e){var t,r,n=xe.sizes[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",i=Jg.fontSizes[o.toString()];return{field:_d({},n.field,{paddingInlineEnd:ry.reference,verticalAlign:"top"}),stepper:{fontSize:mr(i).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}}}var dO={xs:Os("xs"),sm:Os("sm"),md:Os("md"),lg:Os("lg")},pO={parts:Ak.keys,baseStyle:fO,sizes:dO,variants:aO,defaultProps:oO},ny;function Rd(){return Rd=Object.assign||function(e){for(var t=1;t{var t;return(t=xe.variants.outline(e).field)!=null?t:{}},flushed:e=>{var t;return(t=xe.variants.flushed(e).field)!=null?t:{}},filled:e=>{var t;return(t=xe.variants.filled(e).field)!=null?t:{}},unstyled:(ny=xe.variants.unstyled.field)!=null?ny:{}},gO=xe.defaultProps,yO={baseStyle:vO,sizes:mO,variants:hO,defaultProps:gO},Md=gt("popper-bg"),bO=gt("popper-arrow-bg"),xO=gt("popper-arrow-shadow-color"),wO={zIndex:10},SO=e=>{var t=M("white","gray.700")(e),r=M("gray.200","whiteAlpha.300")(e);return{[Md.variable]:"colors."+t,bg:Md.reference,[bO.variable]:Md.reference,[xO.variable]:"colors."+r,width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}},CO={px:3,py:2,borderBottomWidth:"1px"},EO={px:3,py:2},PO={px:3,py:2,borderTopWidth:"1px"},kO=e=>({popper:wO,content:SO(e),header:CO,body:EO,footer:PO,arrow:{}}),TO={parts:Rk.keys,baseStyle:kO};function _s(){return _s=Object.assign||function(e){for(var t=1;t({bg:M("gray.100","whiteAlpha.300")(e)}),RO=e=>_s({transitionProperty:"common",transitionDuration:"slow"},OO(e)),MO=e=>({label:_O,filledTrack:RO(e),track:AO(e)}),LO={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},jO={size:"md",colorScheme:"blue"},zO={parts:Mk.keys,sizes:LO,baseStyle:MO,defaultProps:jO};function As(){return As=Object.assign||function(e){for(var t=1;t{var{control:t={}}=kd.baseStyle(e);return As({},t,{borderRadius:"full",_checked:As({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},BO=e=>({label:kd.baseStyle(e).label,control:$O(e)}),IO={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},DO={size:"md",colorScheme:"blue"},FO={parts:Lk.keys,baseStyle:BO,sizes:IO,defaultProps:DO};function qo(){return qo=Object.assign||function(e){for(var t=1;tqo({},xe.baseStyle.field,{bg:M("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:M("white","gray.700")(e)}}),VO={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},WO=e=>({field:NO(e),icon:VO}),HO=qo({},xe.sizes,{xs:qo({},xe.sizes.xs,{icon:{insetEnd:"0.25rem"}})}),UO={parts:jk.keys,baseStyle:WO,sizes:HO,variants:xe.variants,defaultProps:xe.defaultProps},KO=(e,t)=>W0({from:{borderColor:e,background:e},to:{borderColor:t,background:t}}),YO=e=>{var t=M("gray.100","gray.800")(e),r=M("gray.400","gray.600")(e),{startColor:n=t,endColor:a=r,speed:o,theme:i}=e,l=je(i,n),s=je(i,a);return{opacity:.7,borderRadius:"2px",borderColor:l,background:s,animation:o+"s linear infinite alternate "+KO(l,s)}},GO={baseStyle:YO},XO=e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:M("white","gray.700")(e)}}),QO={baseStyle:XO};function Rs(){return Rs=Object.assign||function(e){for(var t=1;t{var{orientation:t}=e;return Rs({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Go({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}}))},JO=e=>({overflow:"hidden",borderRadius:"sm",bg:M("gray.200","whiteAlpha.200")(e),_disabled:{bg:M("gray.300","whiteAlpha.300")(e)}}),e_=e=>Rs({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",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},qO(e)),t_=e=>{var{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:M(t+".500",t+".200")(e)}},r_=e=>({container:ZO(e),track:JO(e),thumb:e_(e),filledTrack:t_(e)}),n_=e=>({thumb:{w:"16px",h:"16px"},track:Go({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),a_=e=>({thumb:{w:"14px",h:"14px"},track:Go({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),o_=e=>({thumb:{w:"10px",h:"10px"},track:Go({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}),i_={lg:n_,md:a_,sm:o_},l_={size:"md",colorScheme:"blue"},s_={parts:zk.keys,sizes:i_,baseStyle:r_,defaultProps:l_},En=gt("spinner-size"),u_={width:[En.reference],height:[En.reference]},c_={xs:{[En.variable]:"0.75rem"},sm:{[En.variable]:"1rem"},md:{[En.variable]:"1.5rem"},lg:{[En.variable]:"2rem"},xl:{[En.variable]:"3rem"}},f_={size:"md"},d_={baseStyle:u_,sizes:c_,defaultProps:f_},p_={fontWeight:"medium"},v_={opacity:.8,marginBottom:2},m_={verticalAlign:"baseline",fontWeight:"semibold"},h_={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},g_={container:{},label:p_,helpText:v_,number:m_,icon:h_},y_={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},b_={size:"md"},x_={parts:$k.keys,baseStyle:g_,sizes:y_,defaultProps:b_},Zo=gt("switch-track-width"),Pn=gt("switch-track-height"),Ld=gt("switch-track-diff"),w_=mr.subtract(Zo,Pn),jd=gt("switch-thumb-x"),S_=e=>{var{colorScheme:t}=e;return{borderRadius:"full",p:"2px",width:[Zo.reference],height:[Pn.reference],transitionProperty:"common",transitionDuration:"fast",bg:M("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:M(t+".500",t+".200")(e)}}},C_={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Pn.reference],height:[Pn.reference],_checked:{transform:"translateX("+jd.reference+")"}},E_=e=>({container:{[Ld.variable]:w_,[jd.variable]:Ld.reference,_rtl:{[jd.variable]:mr(Ld).negate().toString()}},track:S_(e),thumb:C_}),P_={sm:{container:{[Zo.variable]:"1.375rem",[Pn.variable]:"0.75rem"}},md:{container:{[Zo.variable]:"1.875rem",[Pn.variable]:"1rem"}},lg:{container:{[Zo.variable]:"2.875rem",[Pn.variable]:"1.5rem"}}},k_={size:"md",colorScheme:"blue"},T_={parts:Bk.keys,baseStyle:E_,sizes:P_,defaultProps:k_};function xa(){return xa=Object.assign||function(e){for(var t=1;t{var{colorScheme:t}=e;return{th:xa({color:M("gray.600","gray.400")(e),borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ms),td:xa({borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ms),caption:{color:M("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},A_=e=>{var{colorScheme:t}=e;return{th:xa({color:M("gray.600","gray.400")(e),borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ms),td:xa({borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ms),caption:{color:M("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:M(t+".100",t+".700")(e)},td:{background:M(t+".100",t+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},R_={simple:__,striped:A_,unstyled:{}},M_={sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},L_={variant:"simple",size:"md",colorScheme:"gray"},j_={parts:Ik.keys,baseStyle:O_,variants:R_,sizes:M_,defaultProps:L_},z_=e=>{var{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},$_=e=>{var{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},B_=e=>{var{align:t="start",orientation:r}=e,n={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:n[t],flexDirection:r==="vertical"?"column":"row"}},I_={p:4},D_=e=>({root:z_(e),tab:$_(e),tablist:B_(e),tabpanel:I_}),F_={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},N_=e=>{var{colorScheme:t,orientation:r}=e,n=r==="vertical",a=r==="vertical"?"borderStart":"borderBottom",o=n?"marginStart":"marginBottom";return{tablist:{[a]:"2px solid",borderColor:"inherit"},tab:{[a]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{color:M(t+".600",t+".300")(e),borderColor:"currentColor"},_active:{bg:M("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},V_=e=>{var{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:M(t+".600",t+".300")(e),borderColor:"inherit",borderBottomColor:M("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},W_=e=>{var{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:M("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:M("#fff","gray.800")(e),color:M(t+".600",t+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},H_=e=>{var{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:je(r,t+".700"),bg:je(r,t+".100")}}}},U_=e=>{var{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:M("gray.600","inherit")(e),_selected:{color:M("#fff","gray.800")(e),bg:M(t+".600",t+".300")(e)}}}},K_={},Y_={line:N_,enclosed:V_,"enclosed-colored":W_,"soft-rounded":H_,"solid-rounded":U_,unstyled:K_},G_={size:"md",variant:"line",colorScheme:"blue"},X_={parts:Dk.keys,baseStyle:D_,sizes:F_,variants:Y_,defaultProps:G_},Q_={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},q_={lineHeight:1.2,overflow:"visible"},Z_={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},J_={container:Q_,label:q_,closeButton:Z_},e3={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},t3={subtle:e=>({container:Xo.variants.subtle(e)}),solid:e=>({container:Xo.variants.solid(e)}),outline:e=>({container:Xo.variants.outline(e)})},r3={size:"md",variant:"subtle",colorScheme:"gray"},n3={parts:Fk.keys,variants:t3,baseStyle:J_,sizes:e3,defaultProps:r3},ay,oy,iy,ly,sy;function zd(){return zd=Object.assign||function(e){for(var t=1;t{var t;return(t=xe.variants.outline(e).field)!=null?t:{}},flushed:e=>{var t;return(t=xe.variants.flushed(e).field)!=null?t:{}},filled:e=>{var t;return(t=xe.variants.filled(e).field)!=null?t:{}},unstyled:(ay=xe.variants.unstyled.field)!=null?ay:{}},i3={xs:(oy=xe.sizes.xs.field)!=null?oy:{},sm:(iy=xe.sizes.sm.field)!=null?iy:{},md:(ly=xe.sizes.md.field)!=null?ly:{},lg:(sy=xe.sizes.lg.field)!=null?sy:{}},l3={size:"md",variant:"outline"},s3={baseStyle:a3,sizes:i3,variants:o3,defaultProps:l3},$d=gt("tooltip-bg"),u3=gt("popper-arrow-bg"),c3=e=>{var t=M("gray.700","gray.300")(e);return{[$d.variable]:"colors."+t,px:"8px",py:"2px",bg:[$d.reference],[u3.variable]:[$d.reference],color:M("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}},f3={baseStyle:c3},d3=e=>({color:M("red.500","red.300")(e),mt:2,fontSize:"sm"}),p3=e=>({marginEnd:"0.5em",color:M("red.500","red.300")(e)}),v3=e=>({text:d3(e),icon:p3(e)}),m3={parts:Pk.keys,baseStyle:v3},h3={Accordion:Kk,Alert:eT,Avatar:cT,Badge:Xo,Breadcrumb:bT,Button:_T,Checkbox:kd,CloseButton:DT,Code:WT,Container:UT,Divider:qT,Drawer:s5,Editable:d5,Form:h5,FormLabel:y5,Heading:S5,Input:xe,Kbd:M5,Link:j5,List:B5,Menu:U5,Modal:rO,NumberInput:pO,PinInput:yO,Popover:TO,Progress:zO,Radio:FO,Select:UO,Skeleton:GO,SkipLink:QO,Slider:s_,Spinner:d_,Stat:x_,Switch:T_,Table:j_,Tabs:X_,Tag:n3,Textarea:s3,Tooltip:f3,FormError:m3},g3={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},y3=g3,b3=uk({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),x3=b3,w3={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},S3=w3,C3={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},E3=C3,P3={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},k3=P3,T3={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},O3={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},_3={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},A3={property:T3,easing:O3,duration:_3},R3=A3,M3={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},L3=M3,j3={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},z3=j3;function Bd(){return Bd=Object.assign||function(e){for(var t=1;t({body:{fontFamily:"body",color:M("gray.800","whiteAlpha.900")(e),bg:M("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:M("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:M("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})},D3=I3,F3=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function N3(e){return kt(e)?F3.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}function Id(){return Id=Object.assign||function(e){for(var t=1;t1?n=n.slice(0,n.length-1):a=uy,AC(...n.map(o=>i=>yn(o)?o(i):K3(i,o)))(a)}function K3(){for(var e=arguments.length,t=new Array(e),r=0;r0)&&!(a=n.next()).done;)o.push(a.value)}catch(l){i={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function et(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n-1||/[A-Z]/.test(e))}var ni={};function dA(e){for(var t in e)ni[t]=e[t]}var pA=["","X","Y","Z"],vA=["translate","scale","rotate","skew"],ai=["transformPerspective","x","y","z"];vA.forEach(function(e){return pA.forEach(function(t){return ai.push(e+t)})});function mA(e,t){return ai.indexOf(e)-ai.indexOf(t)}var hA=new Set(ai);function Bs(e){return hA.has(e)}var gA=new Set(["originX","originY","originZ"]);function xy(e){return gA.has(e)}function wy(e,t){var r=t.layout,n=t.layoutId;return Bs(e)||xy(e)||(r||n!==void 0)&&(!!ni[e]||e==="opacity")}var Yr=function(e){return e!==null&&typeof e=="object"&&e.getVelocity},yA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function bA(e,t,r,n){var a=e.transform,o=e.transformKeys,i=t.enableHardwareAcceleration,l=i===void 0?!0:i,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(mA);for(var v=!1,p=o.length,y=0;y5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}var Kd={test:Hd("#"),parse:kA,transform:Ca.transform},tt={test:function(e){return Ca.test(e)||Kd.test(e)||Sa.test(e)},parse:function(e){return Ca.test(e)?Ca.parse(e):Sa.test(e)?Sa.parse(e):Kd.parse(e)},transform:function(e){return li(e)?e:e.hasOwnProperty("red")?Ca.transform(e):Sa.transform(e)}},ky="${c}",Ty="${n}";function TA(e){var t,r,n,a;return isNaN(e)&&li(e)&&((r=(t=e.match(ii))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((a=(n=e.match(Wd))===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)>0}function Oy(e){var t=[],r=0,n=e.match(Wd);n&&(r=n.length,e=e.replace(Wd,ky),t.push.apply(t,n.map(tt.parse)));var a=e.match(ii);return a&&(e=e.replace(ii,Ty),t.push.apply(t,a.map(kn.parse))),{values:t,numColors:r,tokenised:e}}function _y(e){return Oy(e).values}function Ay(e){var t=Oy(e),r=t.values,n=t.numColors,a=t.tokenised,o=r.length;return function(i){for(var l=a,s=0;s0?-1:1;return C*((m-w)*S)/P}):(u=function(b){var f=Math.exp(-b*r),d=(b-i)*r+1;return-ap+f*d},c=function(b){var f=Math.exp(-b*r),d=(i-b)*(r*r);return f*d});var p=5/r,y=b4(u,c,p);if(r=r*1e3,isNaN(y))return{stiffness:100,damping:10,duration:r};var h=Math.pow(y,2)*s;return{stiffness:h,damping:v*2*Math.sqrt(s*h),duration:r}}var y4=12;function b4(e,t,r){for(var n=r,a=1;a=b;else{var C=m(S)*1e3,T=Math.abs(C)<=i,A=Math.abs(a-P)<=l;u.done=T&&A}return u.value=u.done?a:P,u},flipTarget:function(){var S;h=-h,S=[a,r],r=S[0],a=S[1],w()}}}ip.needsInterpolation=function(e,t){return typeof e=="string"||typeof t=="string"};var r1=function(e){return 0},fi=function(e,t,r){var n=t-e;return n===0?1:(r-e)/n},ut=function(e,t,r){return-r*e+r*t+e},C4=function(e,t,r){var n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},E4=[Kd,Ca,Sa],n1=function(e){return E4.find(function(t){return t.test(e)})},a1=function(e,t){var r=n1(e),n=n1(t);Jo(r.transform===n.transform);var a=r.parse(e),o=n.parse(t),i=L({},a),l=r===Sa?ut:C4;return function(s){for(var u in i)u!=="alpha"&&(i[u]=l(a[u],o[u],s));return i.alpha=ut(a.alpha,o.alpha,s),r.transform(i)}},lp=function(e){return typeof e=="number"},P4=function(e,t){return function(r){return t(e(r))}},di=function(){for(var e=[],t=0;t=e[n]&&(o=n-1,i=!0),!i){for(var l=1;la||l===n);l++);o=l-1}var s=fi(e[o],e[o+1],a);return t[o](s)}}function u1(e,t,r){var n=r===void 0?{}:r,a=n.clamp,o=a===void 0?!0:a,i=n.ease,l=n.mixer,s=e.length;Jo(s===t.length),Jo(!i||!Array.isArray(i)||i.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var u=_4(t,i,l),c=s===2?A4(e,u):R4(e,u);return o?function(v){return c(Ns(e[0],e[s-1],v))}:c}var Vs=function(e){return function(t){return 1-e(1-t)}},sp=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},M4=function(e){return function(t){return Math.pow(t,e)}},c1=function(e){return function(t){return t*t*((e+1)*t-e)}},L4=function(e){var t=c1(e);return function(r){return(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))}},f1=1.525,j4=4/11,z4=8/11,$4=9/10,d1=function(e){return e},up=M4(2),B4=Vs(up),p1=sp(up),v1=function(e){return 1-Math.sin(Math.acos(e))},m1=Vs(v1),I4=sp(m1),cp=c1(f1),D4=Vs(cp),F4=sp(cp),N4=L4(f1),V4=4356/361,W4=35442/1805,H4=16061/1805,Ws=function(e){if(e===1||e===0)return e;var t=e*e;return e=s,u},flipTarget:function(){c.reverse(),y=p()}}}function Q4(e){var t=e.velocity,r=t===void 0?0:t,n=e.from,a=n===void 0?0:n,o=e.power,i=o===void 0?.8:o,l=e.timeConstant,s=l===void 0?350:l,u=e.restDelta,c=u===void 0?.5:u,v=e.modifyTarget,p={done:!1,value:a},y=i*r,h=a+y,b=v===void 0?h:v(h);return b!==h&&(y=b-a),{next:function(f){var d=-y*Math.exp(-f/s);return p.done=!(d>c||d<-c),p.value=p.done?b:b+d,p},flipTarget:function(){}}}var h1={keyframes:Hs,spring:ip,decay:Q4};function q4(e){if(Array.isArray(e.to))return Hs;if(h1[e.type])return h1[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Hs:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?ip:Hs}function g1(e,t,r){return r===void 0&&(r=0),e-t-r}function Z4(e,t,r,n){return r===void 0&&(r=0),n===void 0&&(n=!0),n?g1(t+-e,t,r):t-(e-t)+r}function J4(e,t,r,n){return n?e>=t+r:e<=-r}var eR=function(e){var t=function(r){var n=r.delta;return e(n)};return{start:function(){return Zt.update(t,!0)},stop:function(){return No.update(t)}}};function y1(e){var t,r,n=e.from,a=e.autoplay,o=a===void 0?!0:a,i=e.driver,l=i===void 0?eR:i,s=e.elapsed,u=s===void 0?0:s,c=e.repeat,v=c===void 0?0:c,p=e.repeatType,y=p===void 0?"loop":p,h=e.repeatDelay,b=h===void 0?0:h,f=e.onPlay,d=e.onStop,m=e.onComplete,w=e.onRepeat,S=e.onUpdate,P=yt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),C=P.to,T,A=0,_=P.duration,R,D=!1,K=!0,W,Q=q4(P);((r=(t=Q).needsInterpolation)===null||r===void 0?void 0:r.call(t,n,C))&&(W=u1([0,100],[n,C],{clamp:!1}),n=0,C=100);var ee=Q(L(L({},P),{from:n,to:C}));function U(){A++,y==="reverse"?(K=A%2==0,u=Z4(u,_,b,K)):(u=g1(u,_,b),y==="mirror"&&ee.flipTarget()),D=!1,w&&w()}function oe(){T.stop(),m&&m()}function de(Ce){if(K||(Ce=-Ce),u+=Ce,!D){var z=ee.next(Math.max(0,u));R=z.value,W&&(R=W(R)),D=K?z.done:u<=0}S==null||S(R),D&&(A===0&&(_!=null||(_=u)),Ai}function T(U){return o===void 0?i:i===void 0||Math.abs(o-U)D||K===-1&&U0?r=i:t=i;while(Math.abs(o)>rR&&++l=iR?lR(l,p,e,r):y===0?p:aR(l,s,s+Gs,e,r)}return function(l){return l===0||l===1?l:Ks(i(l),t,n)}}function uR(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,o=e.visualElement,i=t||r||n||a,l=x.exports.useRef(!1),s=x.exports.useRef(null);function u(){var h;(h=s.current)===null||h===void 0||h.call(s),s.current=null}function c(){var h;return u(),l.current=!1,(h=o.animationState)===null||h===void 0||h.setActive(ke.Tap,!1),!Zy()}function v(h,b){!c()||(e1(o.getInstance(),h.target)?t==null||t(h,b):n==null||n(h,b))}function p(h,b){!c()||n==null||n(h,b)}function y(h,b){var f;u(),!l.current&&(l.current=!0,s.current=di(Ea(window,"pointerup",v),Ea(window,"pointercancel",p)),r==null||r(h,b),(f=o.animationState)===null||f===void 0||f.setActive(ke.Tap,!0))}Fs(o,"pointerdown",i?y:void 0),np(u)}var Tn=function(e){return function(t){return e(t),null}},cR={tap:Tn(uR),focus:Tn(t4),hover:Tn(d4)};function k1(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n-1&&e.splice(r,1)}var Zs=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return M1(this.subscriptions,t),function(){return L1(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var a=this.subscriptions.length;if(!!a)if(a===1)this.subscriptions[0](t,r,n);else for(var o=0;om&&D,ee=Array.isArray(R)?R:[R],U=ee.reduce(o,{});K===!1&&(U={});var oe=_.prevResolvedValues,de=oe===void 0?{}:oe,Te=L(L({},de),U),Ce=function(Y){Q=!0,f.delete(Y),_.needsAnimating[Y]=!0};for(var z in Te){var F=U[z],$=de[z];d.hasOwnProperty(z)||(F!==$?ci(F)&&ci($)?k1(F,$)?_.protectedKeys[z]=!0:Ce(z):F!==void 0?Ce(z):f.add(z):F!==void 0&&f.has(z)?Ce(z):_.protectedKeys[z]=!0)}_.prevProp=R,_.prevResolvedValues=U,_.isActive&&(d=L(L({},d),U)),a&&e.blockInitialAnimation&&(Q=!1),Q&&!W&&b.push.apply(b,et([],Se(ee.map(function(Y){return{animation:Y,options:L({type:A},c)}}))))},S=0;S=3;if(!(!y&&!h)){var b=p.point,f=ds().timestamp;a.history.push(L(L({},b),{timestamp:f}));var d=a.handlers,m=d.onStart,w=d.onMove;y||(m&&m(a.lastMoveEvent,p),a.startEvent=a.lastMoveEvent),w&&w(a.lastMoveEvent,p)}}},this.handlePointerMove=function(p,y){if(a.lastMoveEvent=p,a.lastMoveEventInfo=yp(y,a.transformPagePoint),Hy(p)&&p.buttons===0){a.handlePointerUp(p,y);return}Zt.update(a.updatePoint,!0)},this.handlePointerUp=function(p,y){a.end();var h=a.handlers,b=h.onEnd,f=h.onSessionEnd,d=bp(yp(y,a.transformPagePoint),a.history);a.startEvent&&b&&b(p,d),f&&f(p,d)},!(Uy(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=i;var l=rp(t),s=yp(l,this.transformPagePoint),u=s.point,c=ds().timestamp;this.history=[L(L({},u),{timestamp:c})];var v=r.onSessionStart;v&&v(t,bp(s,this.history)),this.removeListeners=di(Ea(window,"pointermove",this.handlePointerMove),Ea(window,"pointerup",this.handlePointerUp),Ea(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),No.update(this.updatePoint)},e}();function yp(e,t){return t?{point:t(e.point)}:e}function I1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bp(e,t){var r=e.point;return{point:r,delta:I1(r,D1(t)),offset:I1(r,HR(t)),velocity:UR(t,.1)}}function HR(e){return e[0]}function D1(e){return e[e.length-1]}function UR(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=D1(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Xs(t)));)r--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function KR(e){return e}function F1(e){var t=e.top,r=e.left,n=e.right,a=e.bottom;return{x:{min:r,max:n},y:{min:t,max:a}}}function YR(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}function GR(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right;t===void 0&&(t=KR);var i=t({x:n,y:r}),l=t({x:o,y:a});return{top:i.y,left:i.x,bottom:l.y,right:l.x}}function Xr(){return{x:{min:0,max:1},y:{min:0,max:1}}}function XR(e){return{x:L({},e.x),y:L({},e.y)}}var N1={translate:0,scale:1,origin:0,originPoint:0};function V1(){return{x:L({},N1),y:L({},N1)}}function ct(e){return[e("x"),e("y")]}function W1(e,t,r){var n=t.min,a=t.max;return n!==void 0&&ea&&(e=r?ut(a,e,r.max):Math.min(e,a)),e}function QR(e,t,r,n,a){var o=e-t*r;return n?W1(o,n,a):o}function H1(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function qR(e,t){var r=t.top,n=t.left,a=t.bottom,o=t.right;return{x:H1(e.x,n,o),y:H1(e.y,r,a)}}function U1(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.minn?r=fi(t.min,t.max-n,e.min):n>a&&(r=fi(e.min,e.max-a,t.min)),r6(r)}function q1(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=ut(t.min,t.max,e.origin),e.scale=pi(r)/pi(t),Q1(e.scale,1,1e-4)&&(e.scale=1),e.translate=ut(r.min,r.max,e.origin)-e.originPoint,Q1(e.translate)&&(e.translate=0)}function Z1(e,t,r,n){q1(e.x,t.x,r.x,J1(n.originX)),q1(e.y,t.y,r.y,J1(n.originY))}function J1(e){return typeof e=="number"?e:.5}function eb(e,t,r){e.min=r.min+t.min,e.max=e.min+pi(t)}function a6(e,t){eb(e.target.x,e.relativeTarget.x,t.target.x),eb(e.target.y,e.relativeTarget.y,t.target.y)}var xp=function(e,t){return e.depth-t.depth};function tb(e){var t=e.projection.isEnabled;return t||e.shouldResetTransform()}function eu(e,t){t===void 0&&(t=[]);var r=e.parent;return r&&eu(r,t),tb(e)&&t.push(e),t}function o6(e){var t=[],r=function(n){tb(n)&&t.push(n),n.children.forEach(r)};return e.children.forEach(r),t.sort(xp)}function tu(e){if(!e.shouldResetTransform()){var t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=XR(t.layout),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),Zt.update(function(){return e.rebaseProjectionTarget()})}}function i6(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function l6(e,t,r,n){e.min=ut(t.min,r.min,n),e.max=ut(t.max,r.max,n)}function rb(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ka(e,t){return{x:rb(e.x,t.x),y:rb(e.y,t.y)}}function s6(e,t){var r=e.getLayoutId(),n=t.getLayoutId();return r!==n||n===void 0&&e!==t}function nb(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function ab(e,t){e.min=t.min,e.max=t.max}function u6(e,t){ab(e.x,t.x),ab(e.y,t.y)}function ru(e,t,r){var n=e-r,a=t*n;return r+a}function ob(e,t,r,n,a){return a!==void 0&&(e=ru(e,a,n)),ru(e,r,n)+t}function wp(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),e.min=ob(e.min,t,r,n,a),e.max=ob(e.max,t,r,n,a)}function c6(e,t){var r=t.x,n=t.y;wp(e.x,r.translate,r.scale,r.originPoint),wp(e.y,n.translate,n.scale,n.originPoint)}function ib(e,t,r,n){var a=Se(n,3),o=a[0],i=a[1],l=a[2];e.min=t.min,e.max=t.max;var s=r[l]!==void 0?r[l]:.5,u=ut(t.min,t.max,s);wp(e,r[o],r[i],u,r.scale)}var lb=["x","scaleX","originX"],sb=["y","scaleY","originY"];function Sp(e,t,r){ib(e.x,t.x,r,lb),ib(e.y,t.y,r,sb)}function ub(e,t,r,n,a){return e-=t,e=ru(e,1/r,n),a!==void 0&&(e=ru(e,1/a,n)),e}function f6(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5);var o=ut(e.min,e.max,n)-t;e.min=ub(e.min,t,r,o,a),e.max=ub(e.max,t,r,o,a)}function cb(e,t,r){var n=Se(r,3),a=n[0],o=n[1],i=n[2];f6(e,t[a],t[o],t[i],t.scale)}function fb(e,t){cb(e.x,t,lb),cb(e.y,t,sb)}function d6(e,t,r){var n=r.length;if(!!n){t.x=t.y=1;for(var a,o,i=0;it?r="y":Math.abs(e.x)>t&&(r="x"),r}function g6(e){var t=e.dragControls,r=e.visualElement,n=x.exports.useContext(Ls).transformPagePoint,a=ti(function(){return new m6({visualElement:r})});a.setProps(L(L({},e),{transformPagePoint:n})),x.exports.useEffect(function(){return t&&t.subscribe(a)},[a]),x.exports.useEffect(function(){return a.mount(r)},[])}function y6(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,o=e.visualElement,i=t||r||n||a,l=x.exports.useRef(null),s=x.exports.useContext(Ls).transformPagePoint,u={onSessionStart:a,onStart:r,onMove:t,onEnd:function(v,p){l.current=null,n&&n(v,p)}};x.exports.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(v){l.current=new B1(v,u,{transformPagePoint:s})}Fs(o,"pointerdown",i&&c),np(function(){return l.current&&l.current.end()})}var b6={pan:Tn(y6),drag:Tn(g6)},mi;(function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"})(mi||(mi={}));var Pp;(function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"})(Pp||(Pp={}));function kp(e){return typeof e=="string"&&e.startsWith("var(--")}var mb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function x6(e){var t=mb.exec(e);if(!t)return[,];var r=Se(t,3),n=r[1],a=r[2];return[n,a]}function Tp(e,t,r){var n=Se(x6(e),2),a=n[0],o=n[1];if(!!a){var i=window.getComputedStyle(t).getPropertyValue(a);return i?i.trim():kp(o)?Tp(o,t):o}}function w6(e,t,r){var n,a=yt(t,[]),o=e.getInstance();if(!(o instanceof HTMLElement))return{target:a,transitionEnd:r};r&&(r=L({},r)),e.forEachValue(function(u){var c=u.get();if(!!kp(c)){var v=Tp(c,o);v&&u.set(v)}});for(var i in a){var l=a[i];if(!!kp(l)){var s=Tp(l,o);!s||(a[i]=s,r&&((n=r[i])!==null&&n!==void 0||(r[i]=l)))}}return{target:a,transitionEnd:r}}function hb(e,t){return e/(t.max-t.min)*100}function S6(e,t,r){var n=r.target;if(typeof e=="string")if(X.test(e))e=parseFloat(e);else return e;var a=hb(e,n.x),o=hb(e,n.y);return a+"% "+o+"%"}var gb="_$css";function C6(e,t){var r=t.delta,n=t.treeScale,a=e,o=e.includes("var("),i=[];o&&(e=e.replace(mb,function(b){return i.push(b),gb}));var l=gr.parse(e);if(l.length>5)return a;var s=gr.createTransformer(e),u=typeof l[0]!="number"?1:0,c=r.x.scale*n.x,v=r.y.scale*n.y;l[0+u]/=c,l[1+u]/=v;var p=ut(c,v,.5);typeof l[2+u]=="number"&&(l[2+u]/=p),typeof l[3+u]=="number"&&(l[3+u]/=p);var y=s(l);if(o){var h=0;y=y.replace(gb,function(){var b=i[h];return h++,b})}return y}var hi={process:S6},E6={borderRadius:L(L({},hi),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:hi,borderTopRightRadius:hi,borderBottomLeftRadius:hi,borderBottomRightRadius:hi,boxShadow:{process:C6}},yb=1e3,P6=function(e){fy(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.frameTarget=Xr(),r.currentAnimationTarget=Xr(),r.isAnimating={x:!1,y:!1},r.stopAxisAnimation={x:void 0,y:void 0},r.isAnimatingTree=!1,r.animate=function(n,a,o){o===void 0&&(o={});var i=o.originBox,l=o.targetBox,s=o.visibilityAction,u=o.shouldStackAnimate,c=o.onComplete,v=o.prevParent,p=yt(o,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),y=r.props,h=y.visualElement,b=y.layout;if(u===!1)return r.isAnimatingTree=!1,r.safeToRemove();if(!(r.isAnimatingTree&&u!==!0)){u&&(r.isAnimatingTree=!0),a=i||a,n=l||n;var f=!1,d=h.getProjectionParent();if(d){var m=d.prevViewportBox,w=d.getLayoutState().layout;v&&(l&&(w=v.getLayoutState().layout),i&&!s6(v,d)&&v.prevViewportBox&&(m=v.prevViewportBox)),m&&_6(v,i,l)&&(f=!0,a=ka(m,a),n=ka(w,n))}var S=T6(a,n),P=ct(function(C){var T,A;if(b==="position"){var _=n[C].max-n[C].min;a[C].max=a[C].min+_}if(!h.projection.isTargetLocked)if(s!==void 0)h.setVisibility(s===Pp.Show);else return S?r.animateAxis(C,n[C],a[C],L(L({},p),{isRelative:f})):((A=(T=r.stopAxisAnimation)[C])===null||A===void 0||A.call(T),h.setProjectionTargetAxis(C,n[C].min,n[C].max,f))});return h.syncRender(),Promise.all(P).then(function(){r.isAnimatingTree=!1,c&&c(),h.notifyLayoutAnimationComplete()})}},r}return t.prototype.componentDidMount=function(){var r=this,n=this.props.visualElement;n.animateMotionValue=qs,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return r.safeToRemove()},dA(E6)},t.prototype.componentWillUnmount=function(){var r=this;this.unsubLayoutReady(),ct(function(n){var a,o;return(o=(a=r.stopAxisAnimation)[n])===null||o===void 0?void 0:o.call(a)})},t.prototype.animateAxis=function(r,n,a,o){var i=this,l,s,u=o===void 0?{}:o,c=u.transition,v=u.isRelative;if(!(this.isAnimating[r]&&gi(n,this.currentAnimationTarget[r]))){(s=(l=this.stopAxisAnimation)[r])===null||s===void 0||s.call(l),this.isAnimating[r]=!0;var p=this.props.visualElement,y=this.frameTarget[r],h=p.getProjectionAnimationProgress()[r];h.clearListeners(),h.set(0),h.set(0);var b=function(){var w=h.get()/yb;l6(y,a,n,w),p.setProjectionTargetAxis(r,y.min,y.max,v)};b();var f=h.onChange(b);this.stopAxisAnimation[r]=function(){i.isAnimating[r]=!1,h.stop(),f()},this.currentAnimationTarget[r]=n;var d=c||p.getDefaultTransition()||O6,m=qs(r==="x"?"layoutX":"layoutY",h,yb,d&&mp(d,"layout")).then(this.stopAxisAnimation[r]);return m}},t.prototype.safeToRemove=function(){var r,n;(n=(r=this.props).safeToRemove)===null||n===void 0||n.call(r)},t.prototype.render=function(){return null},t}(x.exports.Component);function k6(e){var t=Se(vy(),2),r=t[1];return x.exports.createElement(P6,L({},e,{safeToRemove:r}))}function T6(e,t){return!xb(e)&&!xb(t)&&(!gi(e.x,t.x)||!gi(e.y,t.y))}var bb={min:0,max:0};function xb(e){return gi(e.x,bb)&&gi(e.y,bb)}function gi(e,t){return e.min===t.min&&e.max===t.max}var O6={duration:.45,ease:[.4,0,.1,1]};function _6(e,t,r){return e||!e&&!(t||r)}var A6={layoutReady:function(e){return e.notifyLayoutReady()}};function wb(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=t===void 0?A6:t,n=r.layoutReady,a=r.parent;Cp(function(o,i){var l=Array.from(e).sort(xp),s=a?eu(a):[];i(function(){var u=et(et([],Se(s)),Se(l));u.forEach(function(c){return c.resetTransform()})}),o(function(){l.forEach(tu)}),i(function(){s.forEach(function(u){return u.restoreTransform()}),l.forEach(n)}),o(function(){l.forEach(function(u){u.isPresent&&(u.presence=mi.Present)})}),i(function(){va.preRender(),va.render()}),o(function(){Zt.postRender(function(){return l.forEach(R6)}),e.clear()})}),Ep()}}}function R6(e){e.prevViewportBox=e.projection.target}var Sb=x.exports.createContext(wb()),M6=x.exports.createContext(wb());function An(e){return!!e.forceUpdate}var L6=function(e){fy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this.props,n=r.syncLayout,a=r.framerSyncLayout,o=r.visualElement;An(n)&&n.register(o),An(a)&&a.register(o),o.onUnmount(function(){An(n)&&n.remove(o),An(a)&&a.remove(o)})},t.prototype.getSnapshotBeforeUpdate=function(){var r=this.props,n=r.syncLayout,a=r.visualElement;return An(n)?n.syncUpdate():(i6(a),n.add(a)),null},t.prototype.componentDidUpdate=function(){var r=this.props.syncLayout;An(r)||r.flush()},t.prototype.render=function(){return null},t}(Sr.Component);function j6(e){var t=x.exports.useContext(Sb),r=x.exports.useContext(M6);return Rg(L6,fv({},L({},e,{syncLayout:t,framerSyncLayout:r})))}var z6={measureLayout:j6,layoutAnimation:k6},$6=function(){return{isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:Xr(),targetFinal:Xr()}};function Cb(){return{isHydrated:!1,layout:Xr(),layoutCorrected:Xr(),treeScale:{x:1,y:1},delta:V1(),deltaFinal:V1(),deltaTransform:""}}var Eb=Cb();function au(e,t,r){var n=e.x,a=e.y,o=n.translate/t.x,i=a.translate/t.y,l="translate3d("+o+"px, "+i+"px, 0) ";if(r){var s=r.rotate,u=r.rotateX,c=r.rotateY;s&&(l+="rotate("+s+") "),u&&(l+="rotateX("+u+") "),c&&(l+="rotateY("+c+") ")}return l+="scale("+n.scale+", "+a.scale+")",!r&&l===B6?"":l}function Pb(e){var t=e.deltaFinal;return t.x.origin*100+"% "+t.y.origin*100+"% 0"}var B6=au(Eb.delta,Eb.treeScale,{x:1,y:1}),ou=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function I6(){var e=ou.map(function(){return new Zs}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){return ou.forEach(function(a){var o;(o=t[a])===null||o===void 0||o.call(t);var i="on"+a,l=n[i];l&&(t[a]=r[i](l))})}};return e.forEach(function(n,a){r["on"+ou[a]]=function(o){return n.add(o)},r["notify"+ou[a]]=function(){for(var o=[],i=0;i=0;I--){var re=H.path[I];if(re.projection.isEnabled){j=re;break}}R=j}return R},resolveRelativeTargetBox:function(){var j=H.getProjectionParent();if(!(!_.relativeTarget||!j)&&(a6(_,j.projection),nb(j))){var I=_.target;Sp(I,I,j.getLatestValues())}},shouldResetTransform:function(){return Boolean(d._layoutResetTransform)},pointTo:function(j){D=j.projection,K=j.getLatestValues(),W==null||W(),W=di(j.onSetAxisTarget(H.scheduleUpdateLayoutProjection),j.onLayoutAnimationComplete(function(){var I;H.isPresent?H.presence=mi.Present:(I=H.layoutSafeToRemove)===null||I===void 0||I.call(H)}))},isPresent:!0,presence:mi.Entering});return H}};function W6(e){e.resolveRelativeTargetBox()}function H6(e){e.updateLayoutProjection()}var Tb=et(["initial"],Se(gp)),U6=Tb.length,K6=new Set(["width","height","top","left","right","bottom","x","y"]),Ob=function(e){return K6.has(e)},Y6=function(e){return Object.keys(e).some(Ob)},_b=function(e,t){e.set(t,!1),e.set(t)},Ab=function(e){return e===kn||e===X},Rb;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Rb||(Rb={}));var Mb=function(e,t){return parseFloat(e.split(", ")[t])},Lb=function(e,t){return function(r,n){var a=n.transform;if(a==="none"||!a)return 0;var o=a.match(/^matrix3d\((.+)\)$/);if(o)return Mb(o[1],t);var i=a.match(/^matrix\((.+)\)$/);return i?Mb(i[1],e):0}},G6=new Set(["x","y","z"]),X6=ai.filter(function(e){return!G6.has(e)});function Q6(e){var t=[];return X6.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var jb={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Lb(4,13),y:Lb(5,14)},q6=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),o=getComputedStyle(a),i=o.display,l=o.top,s=o.left,u=o.bottom,c=o.right,v=o.transform,p={top:l,left:s,bottom:u,right:c,transform:v};i==="none"&&t.setStaticValue("display",e.display||"block"),t.syncRender();var y=t.measureViewportBox();return r.forEach(function(h){var b=t.getValue(h);_b(b,jb[h](n,p)),e[h]=jb[h](y,o)}),e},Z6=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=L({},t),n=L({},n);var a=Object.keys(t).filter(Ob),o=[],i=!1,l=[];if(a.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var v=r[u],p=t[u],y=Js(v),h;if(ci(p))for(var b=p.length,f=p[0]===null?1:0;f=0)&&(r[a]=e[a]);return r}var mM=W0({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),hM=Je((e,t)=>{var r=wn("Spinner",e),n=xn(e),{label:a="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:l="transparent",className:s}=n,u=vM(n,["label","thickness","speed","emptyColor","className"]),c=pr("chakra-spinner",s),v=iu({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:l,borderLeftColor:l,animation:mM+" "+i+" linear infinite"},r);return x.exports.createElement(ue.div,iu({ref:t,__css:v,className:c},u),a&&x.exports.createElement(Ib,null,a))});function lu(){return lu=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Db=e=>{var{label:t,placement:r,children:n=x.exports.createElement(hM,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:o}=e,i=gM(e,["label","placement","spacing","children","className","__css"]),l=pr("chakra-button__spinner",a),s=r==="start"?"marginEnd":"marginStart",u=x.exports.useMemo(()=>lu({display:"flex",alignItems:"center",position:t?"relative":"absolute",[s]:t?"0.5rem":0,fontSize:"1em",lineHeight:"normal"},o),[o,t,s]);return x.exports.createElement(ue.div,lu({className:l},i,{__css:u}),n)};function _p(){return _p=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Fb=e=>{var{children:t,className:r}=e,n=yM(e,["children","className"]),a=x.exports.isValidElement(t)?x.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=pr("chakra-button__icon",r);return x.exports.createElement(ue.span,_p({display:"inline-flex",alignSelf:"center",flexShrink:0},n,{className:o}),a)};function bM(e){var[t,r]=x.exports.useState(!e),n=x.exports.useCallback(o=>{!o||r(o.tagName==="BUTTON")},[]),a=t?"button":void 0;return{ref:n,type:a}}function xM(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function yi(){return yi=Object.assign||function(e){for(var t=1;t{var r=pM(),n=wn("Button",yi({},r,e)),a=xn(e),{isDisabled:o=r==null?void 0:r.isDisabled,isLoading:i,isActive:l,isFullWidth:s,children:u,leftIcon:c,rightIcon:v,loadingText:p,iconSpacing:y="0.5rem",type:h,spinner:b,spinnerPlacement:f="start",className:d,as:m}=a,w=xM(a,["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"]),S=x.exports.useMemo(()=>{var A,_=qt({},(A=n==null?void 0:n._focus)!=null?A:{},{zIndex:1});return yi({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:s?"100%":"auto"},n,!!r&&{_focus:_})},[n,r,s]),{ref:P,type:C}=bM(m),T={rightIcon:v,leftIcon:c,iconSpacing:y,children:u};return x.exports.createElement(ue.button,yi({disabled:o||i,ref:GC(t,P),as:m,type:h!=null?h:C,"data-active":X0(l),"data-loading":X0(i),__css:S,className:pr("chakra-button",d)},w),i&&f==="start"&&x.exports.createElement(Db,{className:"chakra-button__spinner--start",label:p,placement:"start"},b),i?p||x.exports.createElement(ue.span,{opacity:0},x.exports.createElement(Nb,T)):x.exports.createElement(Nb,T),i&&f==="end"&&x.exports.createElement(Db,{className:"chakra-button__spinner--end",label:p,placement:"end"},b))});function Nb(e){var{leftIcon:t,rightIcon:r,children:n,iconSpacing:a}=e;return x.exports.createElement(x.exports.Fragment,null,t&&x.exports.createElement(Fb,{marginEnd:a},t),n,r&&x.exports.createElement(Fb,{marginStart:a},r))}function Ap(){return Ap=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var c8=Je((e,t)=>{var{icon:r,children:n,isRound:a,"aria-label":o}=e,i=SM(e,["icon","children","isRound","aria-label"]),l=r||n,s=x.exports.isValidElement(l)?x.exports.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null;return x.exports.createElement(wM,Ap({padding:"0",borderRadius:a?"full":void 0,ref:t,"aria-label":o},i),s)}),f8=ue("div"),d8=ue("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});function su(){return su=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var p8=Je((e,t)=>{var r=xn(e),{className:n,centerContent:a}=r,o=CM(r,["className","centerContent"]),i=wn("Container",e);return x.exports.createElement(ue.div,su({ref:t,className:pr("chakra-container",n)},o,{__css:su({},i,a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))});function Rp(){return Rp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var v8=Je((e,t)=>{var{direction:r,align:n,justify:a,wrap:o,basis:i,grow:l,shrink:s}=e,u=EM(e,["direction","align","justify","wrap","basis","grow","shrink"]),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:o,flexBasis:i,flexGrow:l,flexShrink:s};return x.exports.createElement(ue.div,Rp({ref:t,__css:c},u))});function Mp(){return Mp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var m8=Je((e,t)=>{var r=wn("Heading",e),n=xn(e),a=PM(n,["className"]);return x.exports.createElement(ue.h2,Mp({ref:t,className:pr("chakra-heading",e.className)},a,{__css:r}))}),Lp="& > *:not(style) ~ *:not(style)";function kM(e){var{spacing:t,direction:r}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:r,[Lp]:J0(r,a=>n[a])}}function TM(e){var{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":J0(r,a=>n[a])}}function OM(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function bi(){return bi=Object.assign||function(e){for(var t=1;tx.exports.createElement(ue.div,bi({className:"chakra-stack__item"},e,{__css:bi({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)})),h8=Je((e,t)=>{var{isInline:r,direction:n,align:a,justify:o,spacing:i="0.5rem",wrap:l,children:s,divider:u,className:c,shouldWrapChildren:v}=e,p=OM(e,["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"]),y=r?"row":n!=null?n:"column",h=x.exports.useMemo(()=>kM({direction:y,spacing:i}),[y,i]),b=x.exports.useMemo(()=>TM({spacing:i,direction:y}),[i,y]),f=!!u,d=!v&&!f,m=IC(s),w=d?m:m.map((P,C)=>{var T=typeof P.key!="undefined"?P.key:C,A=C+1===m.length,_=x.exports.createElement(_M,{key:T},P),R=v?_:P;if(!f)return R;var D=x.exports.cloneElement(u,{__css:b}),K=A?null:D;return x.exports.createElement(x.exports.Fragment,{key:T},R,K)}),S=pr("chakra-stack",c);return x.exports.createElement(ue.div,bi({ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:h.flexDirection,flexWrap:l,className:S,__css:f?{}:{[Lp]:h[Lp]}},p),w)});function jp(){return jp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var g8=Je((e,t)=>{var r=wn("Text",e),n=xn(e),a=AM(n,["className","align","decoration","casing"]),o=Uf({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return x.exports.createElement(ue.p,jp({ref:t,className:pr("chakra-text",e.className)},o,a,{__css:r}))}),RM=Wr?x.exports.useLayoutEffect:x.exports.useEffect;function y8(e){var t=BP(),r=Array.isArray(e)?e:[e],n=Wr&&"matchMedia"in t.window,[a,o]=x.exports.useState(r.map(i=>n?!!t.window.matchMedia(i).matches:!1));return RM(()=>{if(!!n){var i=r.map(s=>t.window.matchMedia(s)),l=i.map((s,u)=>{var c=()=>o(v=>v.map((p,y)=>u===y?!!s.matches:p));return s.addListener(c),c});return()=>{i.forEach((s,u)=>{s.removeListener(l[u])})}}},[e]),a}function Qr(){return Qr=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var b8=Je((e,t)=>{var r=TP("Table",e),n=xn(e),{className:a}=n,o=zp(n,["className"]);return x.exports.createElement(fP,{value:r},x.exports.createElement(ue.table,Qr({role:"table",ref:t,__css:r.table,className:pr("chakra-table",a)},o)))}),x8=Je((e,t)=>{var r=Uo();return x.exports.createElement(ue.thead,Qr({},e,{ref:t,__css:r.thead}))}),w8=Je((e,t)=>{var r=Uo();return x.exports.createElement(ue.tbody,Qr({},e,{ref:t,__css:r.tbody}))}),S8=Je((e,t)=>{var{isNumeric:r}=e,n=zp(e,["isNumeric"]),a=Uo();return x.exports.createElement(ue.th,Qr({},n,{ref:t,__css:a.th,"data-is-numeric":r}))}),C8=Je((e,t)=>{var r=Uo();return x.exports.createElement(ue.tr,Qr({role:"row"},e,{ref:t,__css:r.tr}))}),E8=Je((e,t)=>{var{isNumeric:r}=e,n=zp(e,["isNumeric"]),a=Uo();return x.exports.createElement(ue.td,Qr({role:"gridcell"},n,{ref:t,__css:a.td,"data-is-numeric":r}))});function xi(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function er(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView:window}return e}function $p(e){var t=er(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function wi(e){var t=er(e).Element;return e instanceof t||e instanceof Element}function tr(e){var t=er(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function MM(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function LM(e){return e===er(e)||!tr(e)?$p(e):MM(e)}function It(e){return e?(e.nodeName||"").toLowerCase():null}function yr(e){return(wi(e)?e.ownerDocument:e.document).documentElement}function Bp(e){return xi(yr(e)).left+$p(e).scrollLeft}function br(e){return er(e).getComputedStyle(e)}function Ip(e){var t=br(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function jM(e,t,r){r===void 0&&(r=!1);var n=yr(t),a=xi(e),o=tr(t),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((It(t)!=="body"||Ip(n))&&(i=LM(t)),tr(t)?(l=xi(t),l.x+=t.clientLeft,l.y+=t.clientTop):n&&(l.x=Bp(n))),{x:a.left+i.scrollLeft-l.x,y:a.top+i.scrollTop-l.y,width:a.width,height:a.height}}function Dp(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function uu(e){return It(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||yr(e)}function Vb(e){return["html","body","#document"].indexOf(It(e))>=0?e.ownerDocument.body:tr(e)&&Ip(e)?e:Vb(uu(e))}function Si(e,t){t===void 0&&(t=[]);var r=Vb(e),n=It(r)==="body",a=er(r),o=n?[a].concat(a.visualViewport||[],Ip(r)?r:[]):r,i=t.concat(o);return n?i:i.concat(Si(uu(o)))}function zM(e){return["table","td","th"].indexOf(It(e))>=0}function Wb(e){if(!tr(e)||br(e).position==="fixed")return null;var t=e.offsetParent;if(t){var r=yr(t);if(It(t)==="body"&&br(t).position==="static"&&br(r).position!=="static")return r}return t}function $M(e){for(var t=uu(e);tr(t)&&["html","body"].indexOf(It(t))<0;){var r=br(t);if(r.transform!=="none"||r.perspective!=="none"||r.willChange&&r.willChange!=="auto")return t;t=t.parentNode}return null}function Ci(e){for(var t=er(e),r=Wb(e);r&&zM(r)&&br(r).position==="static";)r=Wb(r);return r&&It(r)==="body"&&br(r).position==="static"?t:r||$M(e)||t}var _t="top",Dt="bottom",Ft="right",At="left",Fp="auto",Ei=[_t,Dt,Ft,At],Oa="start",Np="end",BM="clippingParents",Hb="viewport",Pi="popper",IM="reference",Ub=Ei.reduce(function(e,t){return e.concat([t+"-"+Oa,t+"-"+Np])},[]),Kb=[].concat(Ei,[Fp]).reduce(function(e,t){return e.concat([t,t+"-"+Oa,t+"-"+Np])},[]),DM="beforeRead",FM="read",NM="afterRead",VM="beforeMain",WM="main",HM="afterMain",UM="beforeWrite",KM="write",YM="afterWrite",GM=[DM,FM,NM,VM,WM,HM,UM,KM,YM];function XM(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function QM(e){var t=XM(e);return GM.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function qM(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function rr(e){return e.split("-")[0]}function ZM(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign(Object.assign(Object.assign({},a),n),{},{options:Object.assign(Object.assign({},a.options),n.options),data:Object.assign(Object.assign({},a.data),n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}function JM(e){var t=er(e),r=yr(e),n=t.visualViewport,a=r.clientWidth,o=r.clientHeight,i=0,l=0;return n&&(a=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,l=n.offsetTop)),{width:a,height:o,x:i+Bp(e),y:l}}function eL(e){var t=yr(e),r=$p(e),n=e.ownerDocument.body,a=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-r.scrollLeft+Bp(e),l=-r.scrollTop;return br(n||t).direction==="rtl"&&(i+=Math.max(t.clientWidth,n?n.clientWidth:0)-a),{width:a,height:o,x:i,y:l}}function Yb(e,t){var r=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(r){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Vp(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tL(e){var t=xi(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Gb(e,t){return t===Hb?Vp(JM(e)):tr(t)?tL(t):Vp(eL(yr(e)))}function rL(e){var t=Si(uu(e)),r=["absolute","fixed"].indexOf(br(e).position)>=0,n=r&&tr(e)?Ci(e):e;return wi(n)?t.filter(function(a){return wi(a)&&Yb(a,n)&&It(a)!=="body"}):[]}function nL(e,t,r){var n=t==="clippingParents"?rL(e):[].concat(t),a=[].concat(n,[r]),o=a[0],i=a.reduce(function(l,s){var u=Gb(e,s);return l.top=Math.max(u.top,l.top),l.right=Math.min(u.right,l.right),l.bottom=Math.min(u.bottom,l.bottom),l.left=Math.max(u.left,l.left),l},Gb(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function ki(e){return e.split("-")[1]}function Wp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xb(e){var t=e.reference,r=e.element,n=e.placement,a=n?rr(n):null,o=n?ki(n):null,i=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(a){case _t:s={x:i,y:t.y-r.height};break;case Dt:s={x:i,y:t.y+t.height};break;case Ft:s={x:t.x+t.width,y:l};break;case At:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=a?Wp(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case Oa:s[u]=Math.floor(s[u])-Math.floor(t[c]/2-r[c]/2);break;case Np:s[u]=Math.floor(s[u])+Math.ceil(t[c]/2-r[c]/2);break}}return s}function Qb(){return{top:0,right:0,bottom:0,left:0}}function qb(e){return Object.assign(Object.assign({},Qb()),e)}function Zb(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}function Ti(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.boundary,i=o===void 0?BM:o,l=r.rootBoundary,s=l===void 0?Hb:l,u=r.elementContext,c=u===void 0?Pi:u,v=r.altBoundary,p=v===void 0?!1:v,y=r.padding,h=y===void 0?0:y,b=qb(typeof h!="number"?h:Zb(h,Ei)),f=c===Pi?IM:Pi,d=e.elements.reference,m=e.rects.popper,w=e.elements[p?f:c],S=nL(wi(w)?w:w.contextElement||yr(e.elements.popper),i,s),P=xi(d),C=Xb({reference:P,element:m,strategy:"absolute",placement:a}),T=Vp(Object.assign(Object.assign({},m),C)),A=c===Pi?T:P,_={top:S.top-A.top+b.top,bottom:A.bottom-S.bottom+b.bottom,left:S.left-A.left+b.left,right:A.right-S.right+b.right},R=e.modifiersData.offset;if(c===Pi&&R){var D=R[a];Object.keys(_).forEach(function(K){var W=[Ft,Dt].indexOf(K)>=0?1:-1,Q=[_t,Dt].indexOf(K)>=0?"y":"x";_[K]+=D[Q]*W})}return _}var Jb={placement:"bottom",modifiers:[],strategy:"absolute"};function ex(){for(var e=arguments.length,t=new Array(e),r=0;r=0?-1:1,o=typeof r=="function"?r(Object.assign(Object.assign({},t),{},{placement:e})):r,i=o[0],l=o[1];return i=i||0,l=(l||0)*a,[At,Ft].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}function gL(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Kb.reduce(function(c,v){return c[v]=hL(v,t.rects,o),c},{}),l=i[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=i}var yL={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gL},bL={left:"right",right:"left",bottom:"top",top:"bottom"};function fu(e){return e.replace(/left|right|bottom|top/g,function(t){return bL[t]})}var xL={start:"end",end:"start"};function rx(e){return e.replace(/start|end/g,function(t){return xL[t]})}function wL(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?Kb:s,c=ki(n),v=c?l?Ub:Ub.filter(function(h){return ki(h)===c}):Ei,p=v.filter(function(h){return u.indexOf(h)>=0});p.length===0&&(p=v);var y=p.reduce(function(h,b){return h[b]=Ti(e,{placement:b,boundary:a,rootBoundary:o,padding:i})[rr(b)],h},{});return Object.keys(y).sort(function(h,b){return y[h]-y[b]})}function SL(e){if(rr(e)===Fp)return[];var t=fu(e);return[rx(e),t,rx(t)]}function CL(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,l=i===void 0?!0:i,s=r.fallbackPlacements,u=r.padding,c=r.boundary,v=r.rootBoundary,p=r.altBoundary,y=r.flipVariations,h=y===void 0?!0:y,b=r.allowedAutoPlacements,f=t.options.placement,d=rr(f),m=d===f,w=s||(m||!h?[fu(f)]:SL(f)),S=[f].concat(w).reduce(function(Y,q){return Y.concat(rr(q)===Fp?wL(t,{placement:q,boundary:c,rootBoundary:v,padding:u,flipVariations:h,allowedAutoPlacements:b}):q)},[]),P=t.rects.reference,C=t.rects.popper,T=new Map,A=!0,_=S[0],R=0;R=0,ee=Q?"width":"height",U=Ti(t,{placement:D,boundary:c,rootBoundary:v,altBoundary:p,padding:u}),oe=Q?W?Ft:At:W?Dt:_t;P[ee]>C[ee]&&(oe=fu(oe));var de=fu(oe),Te=[];if(o&&Te.push(U[K]<=0),l&&Te.push(U[oe]<=0,U[de]<=0),Te.every(function(Y){return Y})){_=D,A=!1;break}T.set(D,Te)}if(A)for(var Ce=h?3:1,z=function(q){var Ae=S.find(function(He){var Re=T.get(He);if(Re)return Re.slice(0,q).every(function(Ue){return Ue})});if(Ae)return _=Ae,"break"},F=Ce;F>0;F--){var $=z(F);if($==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var EL={name:"flip",enabled:!0,phase:"main",fn:CL,requiresIfExists:["offset"],data:{_skip:!1}};function PL(e){return e==="x"?"y":"x"}function du(e,t,r){return Math.max(e,Math.min(t,r))}function kL(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,l=i===void 0?!1:i,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,v=r.padding,p=r.tether,y=p===void 0?!0:p,h=r.tetherOffset,b=h===void 0?0:h,f=Ti(t,{boundary:s,rootBoundary:u,padding:v,altBoundary:c}),d=rr(t.placement),m=ki(t.placement),w=!m,S=Wp(d),P=PL(S),C=t.modifiersData.popperOffsets,T=t.rects.reference,A=t.rects.popper,_=typeof b=="function"?b(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):b,R={x:0,y:0};if(!!C){if(o){var D=S==="y"?_t:At,K=S==="y"?Dt:Ft,W=S==="y"?"height":"width",Q=C[S],ee=C[S]+f[D],U=C[S]-f[K],oe=y?-A[W]/2:0,de=m===Oa?T[W]:A[W],Te=m===Oa?-A[W]:-T[W],Ce=t.elements.arrow,z=y&&Ce?Dp(Ce):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Qb(),$=F[D],Y=F[K],q=du(0,T[W],z[W]),Ae=w?T[W]/2-oe-q-$-_:de-q-$-_,He=w?-T[W]/2+oe+q+Y+_:Te+q+Y+_,Re=t.elements.arrow&&Ci(t.elements.arrow),Ue=Re?S==="y"?Re.clientTop||0:Re.clientLeft||0:0,Nt=t.modifiersData.offset?t.modifiersData.offset[t.placement][S]:0,Zr=C[S]+Ae-Nt-Ue,Jr=C[S]+He-Nt,xr=du(y?Math.min(ee,Zr):ee,Q,y?Math.max(U,Jr):U);C[S]=xr,R[S]=xr-Q}if(l){var H=S==="x"?_t:At,j=S==="x"?Dt:Ft,I=C[P],re=I+f[H],we=I-f[j],Oe=du(re,I,we);C[P]=Oe,R[P]=Oe-I}t.modifiersData[n]=R}}var TL={name:"preventOverflow",enabled:!0,phase:"main",fn:kL,requiresIfExists:["offset"]};function OL(e){var t,r=e.state,n=e.name,a=r.elements.arrow,o=r.modifiersData.popperOffsets,i=rr(r.placement),l=Wp(i),s=[At,Ft].indexOf(i)>=0,u=s?"height":"width";if(!(!a||!o)){var c=r.modifiersData[n+"#persistent"].padding,v=Dp(a),p=l==="y"?_t:At,y=l==="y"?Dt:Ft,h=r.rects.reference[u]+r.rects.reference[l]-o[l]-r.rects.popper[u],b=o[l]-r.rects.reference[l],f=Ci(a),d=f?l==="y"?f.clientHeight||0:f.clientWidth||0:0,m=h/2-b/2,w=c[p],S=d-v[u]-c[y],P=d/2-v[u]/2+m,C=du(w,P,S),T=l;r.modifiersData[n]=(t={},t[T]=C,t.centerOffset=C-P,t)}}function _L(e){var t=e.state,r=e.options,n=e.name,a=r.element,o=a===void 0?"[data-popper-arrow]":a,i=r.padding,l=i===void 0?0:i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!Yb(t.elements.popper,o)||(t.elements.arrow=o,t.modifiersData[n+"#persistent"]={padding:qb(typeof l!="number"?l:Zb(l,Ei))}))}var AL={name:"arrow",enabled:!0,phase:"main",fn:OL,effect:_L,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nx(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ax(e){return[_t,Ft,Dt,At].some(function(t){return e[t]>=0})}function RL(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Ti(t,{elementContext:"reference"}),l=Ti(t,{altBoundary:!0}),s=nx(i,n),u=nx(l,a,o),c=ax(s),v=ax(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var ML={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:RL},LL=[iL,sL,dL,mL,yL,EL,TL,AL,ML],jL=aL({defaultModifiers:LL});function Hp(){return Hp=Object.assign||function(e){for(var t=1;t({var:e,varRef:t?"var("+e+", "+t+")":"var("+e+")"}),We={arrowShadowColor:_a("--popper-arrow-shadow-color"),arrowSize:_a("--popper-arrow-size","8px"),arrowSizeHalf:_a("--popper-arrow-size-half"),arrowBg:_a("--popper-arrow-bg"),transformOrigin:_a("--popper-transform-origin"),arrowOffset:_a("--popper-arrow-offset")};function zL(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var $L={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},BL=e=>$L[e],ox={scroll:!0,resize:!0};function IL(e){var t;return typeof e=="object"?t={enabled:!0,options:Hp({},ox,e)}:t={enabled:e,options:ox},t}var DL={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{var{state:t}=e;t.styles.popper.width=t.rects.reference.width+"px"},effect:e=>{var{state:t}=e;return()=>{var r=t.elements.reference;t.elements.popper.style.width=r.offsetWidth+"px"}}},FL={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{var{state:t}=e;ix(t)},effect:e=>{var{state:t}=e;return()=>{ix(t)}}},ix=e=>{e.elements.popper.style.setProperty(We.transformOrigin.var,BL(e.placement))},NL={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{var{state:t}=e;VL(t)}},VL=e=>{var t;if(!!e.placement){var r=WL(e.placement);if((t=e.elements)!=null&&t.arrow&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:We.arrowSize.varRef,height:We.arrowSize.varRef,zIndex:-1});var n={[We.arrowSizeHalf.var]:"calc("+We.arrowSize.varRef+" / 2)",[We.arrowOffset.var]:"calc("+We.arrowSizeHalf.varRef+" * -1)"};for(var a in n)e.elements.arrow.style.setProperty(a,n[a])}}},WL=e=>{if(e.startsWith("top"))return{property:"bottom",value:We.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:We.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:We.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:We.arrowOffset.varRef}},HL={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{var{state:t}=e;lx(t)},effect:e=>{var{state:t}=e;return()=>{lx(t)}}},lx=e=>{if(!!e.elements.arrow){var t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");!t||Object.assign(t.style,{transform:"rotate(45deg)",background:We.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:zL(e.placement)})}},UL={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},KL={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function YL(e,t){var r,n;t===void 0&&(t="ltr");var a=((r=UL[e])==null?void 0:r[t])||e;return t==="ltr"?a:(n=KL[e])!=null?n:a}function GL(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function nr(){return nr=Object.assign||function(e){for(var t=1;t{}),w=x.exports.useCallback(()=>{!t||!h.current||!b.current||(m.current==null||m.current(),f.current=jL(h.current,b.current,{placement:d,modifiers:[HL,NL,FL,nr({},DL,{enabled:!!p}),nr({name:"eventListeners"},IL(i)),{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:l!=null?l:[0,s]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!v,options:{boundary:c}},...r],strategy:a}),f.current.forceUpdate(),m.current=f.current.destroy)},[d,t,r,p,i,o,l,s,u,v,c,a]);x.exports.useEffect(()=>()=>{if(!h.current&&!b.current){var R;(R=f.current)==null||R.destroy(),f.current=null}},[]);var S=x.exports.useCallback(R=>{h.current=R,w()},[w]),P=x.exports.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),nr({},R,{ref:Qf(S,D)})},[S]),C=x.exports.useCallback(R=>{b.current=R,w()},[w]),T=x.exports.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),nr({},R,{ref:Qf(C,D),style:nr({},R.style,{position:a,minWidth:"max-content",inset:"0 auto auto 0"})})},[a,C]),A=x.exports.useCallback(function(R,D){R===void 0&&(R={}),D===void 0&&(D=null);var K=GL(R,["size","shadowColor","bg","style"]);return nr({},K,{ref:D,"data-popper-arrow":"",style:QL(R)})},[]),_=x.exports.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),nr({},R,{ref:D,"data-popper-arrow-inner":""})},[]);return{update(){var R;(R=f.current)==null||R.update()},forceUpdate(){var R;(R=f.current)==null||R.forceUpdate()},transformOrigin:We.transformOrigin.varRef,referenceRef:S,popperRef:C,getPopperProps:T,getArrowProps:A,getArrowInnerProps:_,getReferenceProps:P}}function QL(e){var{size:t,shadowColor:r,bg:n,style:a}=e,o=nr({},a,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}var qL={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function Rn(){return Rn=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function JL(e){e===void 0&&(e={});var{openDelay:t=0,closeDelay:r=0,closeOnClick:n=!0,closeOnMouseDown:a,onOpen:o,onClose:i,placement:l,id:s,isOpen:u,defaultIsOpen:c,arrowSize:v=10,arrowShadowColor:p,arrowPadding:y,modifiers:h,isDisabled:b,gutter:f,offset:d,direction:m}=e,w=ZL(e,["openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"]),{isOpen:S,onOpen:P,onClose:C}=UC({isOpen:u,defaultIsOpen:c,onOpen:o,onClose:i}),{referenceRef:T,getPopperProps:A,getArrowInnerProps:_,getArrowProps:R}=XL({enabled:S,placement:l,arrowPadding:y,modifiers:h,gutter:f,offset:d,direction:m}),D=tg(s,"tooltip"),K=x.exports.useRef(null),W=x.exports.useRef(),Q=x.exports.useRef(),ee=x.exports.useCallback(()=>{b||(W.current=window.setTimeout(P,t))},[b,P,t]),U=x.exports.useCallback(()=>{W.current&&clearTimeout(W.current),Q.current=window.setTimeout(C,r)},[r,C]),oe=x.exports.useCallback(()=>{n&&U()},[n,U]),de=x.exports.useCallback(()=>{a&&U()},[a,U]),Te=$=>{S&&$.key==="Escape"&&U()};rg("keydown",Te),x.exports.useEffect(()=>()=>{clearTimeout(W.current),clearTimeout(Q.current)},[]),rg("mouseleave",U,()=>K.current);var Ce=x.exports.useCallback(function($,Y){$===void 0&&($={}),Y===void 0&&(Y=null);var q=Rn({},$,{ref:Qf(K,Y,T),onMouseEnter:da($.onMouseEnter,ee),onClick:da($.onClick,oe),onMouseDown:da($.onMouseDown,de),onFocus:da($.onFocus,ee),onBlur:da($.onBlur,U),"aria-describedby":S?D:void 0});return q},[ee,U,de,S,D,oe,T]),z=x.exports.useCallback(function($,Y){return $===void 0&&($={}),Y===void 0&&(Y=null),A(Rn({},$,{style:Rn({},$.style,{[We.arrowSize.var]:v?us(v):void 0,[We.arrowShadowColor.var]:p})}),Y)},[A,v,p]),F=x.exports.useCallback(function($,Y){$===void 0&&($={}),Y===void 0&&(Y=null);var q=Rn({ref:Y},w,$,{id:D,role:"tooltip",style:Rn({},$.style,{position:"relative",transformOrigin:We.transformOrigin.varRef})});return q},[w,D]);return{isOpen:S,show:ee,hide:U,getTriggerProps:Ce,getTooltipProps:F,getTooltipPositionerProps:z,getArrowProps:R,getArrowInnerProps:_}}function Aa(){return Aa=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var t8=ue(iM.div),P8=Je((e,t)=>{var r=wn("Tooltip",e),n=xn(e),a=Cg(),{children:o,label:i,shouldWrapChildren:l,"aria-label":s,hasArrow:u,bg:c,portalProps:v}=n,p=e8(n,["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps"]);c&&(r.bg=c,r[We.arrowBg.var]=SC(a,"colors",c));var y=JL(Aa({},p,{direction:a.direction})),h=ls(o)||l,b;if(h)b=x.exports.createElement(ue.span,Aa({tabIndex:0},y.getTriggerProps()),o);else{var f=x.exports.Children.only(o);b=x.exports.cloneElement(f,y.getTriggerProps(f.props,f.ref))}var d=!!s,m=y.getTooltipProps({},t),w=d?Hf(m,["role","id"]):m,S=U0(m,["role","id"]);return i?x.exports.createElement(x.exports.Fragment,null,b,x.exports.createElement(dM,null,y.isOpen&&x.exports.createElement(hs,v,x.exports.createElement(ue.div,Aa({},y.getTooltipPositionerProps(),{__css:{zIndex:r.zIndex,pointerEvents:"none"}}),x.exports.createElement(t8,Aa({variants:qL},w,{initial:"exit",animate:"enter",exit:"exit",__css:r}),i,d&&x.exports.createElement(Ib,S,s),u&&x.exports.createElement(ue.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},x.exports.createElement(ue.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:r.bg}}))))))):x.exports.createElement(x.exports.Fragment,null,o)}),sx={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ux=Sr.createContext&&Sr.createContext(sx),qr=globalThis&&globalThis.__assign||function(){return qr=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt in e?eS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rv=(e,t)=>{for(var r in t||(t={}))tS.call(t,r)&&Av(e,r,t[r]);if(_v)for(var r of _v(t))rS.call(t,r)&&Av(e,r,t[r]);return e};var Qi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},h={exports:{}},re={};/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var Mv=Object.getOwnPropertySymbols,nS=Object.prototype.hasOwnProperty,aS=Object.prototype.propertyIsEnumerable;function oS(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function iS(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Lv=iS()?Object.assign:function(e,t){for(var r,n=oS(e),a,o=1;o=m},a=function(){},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<$?Math.floor(1e3/$):5};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(x!==null){var $=e.unstable_now();m=$+d;try{x(!0,$)?S.postMessage(null):(g=!1,x=null)}catch(F){throw S.postMessage(null),F}}else g=!1},t=function($){x=$,g||(g=!0,S.postMessage(null))},r=function($,F){f=p(function(){$(e.unstable_now())},F)},n=function(){v(f),f=-1}}function P($,F){var I=$.length;$.push(F);e:for(;;){var Y=I-1>>>1,q=$[Y];if(q!==void 0&&0A(Ue,I))Ke!==void 0&&0>A(Ke,Ue)?($[Y]=Ke,$[Re]=I,Y=Re):($[Y]=Ue,$[Ae]=I,Y=Ae);else if(Ke!==void 0&&0>A(Ke,I))$[Y]=Ke,$[Re]=I,Y=Re;else break e}}return F}return null}function A($,F){var I=$.sortIndex-F.sortIndex;return I!==0?I:$.id-F.id}var _=[],R=[],D=1,K=null,W=3,Q=!1,te=!1,U=!1;function ie($){for(var F=E(R);F!==null;){if(F.callback===null)k(R);else if(F.startTime<=$)k(R),F.sortIndex=F.expirationTime,P(_,F);else break;F=E(R)}}function de($){if(U=!1,ie($),!te)if(E(_)!==null)te=!0,t(ke);else{var F=E(R);F!==null&&r(de,F.startTime-$)}}function ke($,F){te=!1,U&&(U=!1,n()),Q=!0;var I=W;try{for(ie(F),K=E(_);K!==null&&(!(K.expirationTime>F)||$&&!e.unstable_shouldYield());){var Y=K.callback;if(typeof Y=="function"){K.callback=null,W=K.priorityLevel;var q=Y(K.expirationTime<=F);F=e.unstable_now(),typeof q=="function"?K.callback=q:K===E(_)&&k(_),ie(F)}else k(_);K=E(_)}if(K!==null)var Ae=!0;else{var Ue=E(R);Ue!==null&&r(de,Ue.startTime-F),Ae=!1}return Ae}finally{K=null,W=I,Q=!1}}var Ee=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){te||Q||(te=!0,t(ke))},e.unstable_getCurrentPriorityLevel=function(){return W},e.unstable_getFirstCallbackNode=function(){return E(_)},e.unstable_next=function($){switch(W){case 1:case 2:case 3:var F=3;break;default:F=W}var I=W;W=F;try{return $()}finally{W=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Ee,e.unstable_runWithPriority=function($,F){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var I=W;W=$;try{return F()}finally{W=I}},e.unstable_scheduleCallback=function($,F,I){var Y=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0Y?($.sortIndex=I,P(R,$),E(_)===null&&$===E(R)&&(U?n():U=!0,r(de,I-Y))):($.sortIndex=q,P(_,$),te||Q||(te=!0,t(ke))),$},e.unstable_wrapCallback=function($){var F=W;return function(){var I=W;W=F;try{return $.apply(this,arguments)}finally{W=I}}}})(Qv);Xv.exports=Qv;/** @license React v17.0.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ji=h.exports,be=Lv,Ie=Xv.exports;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rt}return!1}function Ze(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new Ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Ze(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fe[e]=new Ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ku=/[\-:]([a-z])/g;function Yu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ku,Yu);Fe[t]=new Ze(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ku,Yu);Fe[t]=new Ze(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ku,Yu);Fe[t]=new Ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Ze(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function Gu(e,t,r,n){var a=Fe.hasOwnProperty(t)?Fe[t]:null,o=a!==null?a.type===0:n?!1:!(!(2l||a[i]!==o[l])return` +`+a[i].replace(" at new "," at ");while(1<=i&&0<=l);break}}}finally{ac=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?qa(e):""}function hS(e){switch(e.tag){case 5:return qa(e.type);case 16:return qa("Lazy");case 13:return qa("Suspense");case 19:return qa("SuspenseList");case 0:case 2:case 15:return e=nl(e.type,!1),e;case 11:return e=nl(e.type.render,!1),e;case 22:return e=nl(e.type._render,!1),e;case 1:return e=nl(e.type,!0),e;default:return""}}function Hn(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ar:return"Fragment";case vn:return"Portal";case Ga:return"Profiler";case Xu:return"StrictMode";case Xa:return"Suspense";case tl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qu:return(e.displayName||"Context")+".Consumer";case Qu:return(e._context.displayName||"Context")+".Provider";case el:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case rl:return Hn(e.type);case Ju:return Hn(e._render);case Zu:t=e._payload,e=e._init;try{return Hn(e(t))}catch{}}return null}function Rr(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function nm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gS(e){var t=nm(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function al(e){e._valueTracker||(e._valueTracker=gS(e))}function am(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=nm(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ol(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function oc(e,t){var r=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function om(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Rr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function im(e,t){t=t.checked,t!=null&&Gu(e,"checked",t,!1)}function ic(e,t){im(e,t);var r=Rr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lc(e,t.type,r):t.hasOwnProperty("defaultValue")&&lc(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lm(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function lc(e,t,r){(t!=="number"||ol(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function yS(e){var t="";return Ji.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function sc(e,t){return e=be({children:void 0},t),(t=yS(t.children))&&(e.children=t),e}function Un(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a=r.length))throw Error(B(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Rr(r)}}function um(e,t){var r=Rr(t.value),n=Rr(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function cm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var cc={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function fm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?fm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var il,dm=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,a)})}:e}(function(e,t){if(e.namespaceURI!==cc.svg||"innerHTML"in e)e.innerHTML=t;else{for(il=il||document.createElement("div"),il.innerHTML=""+t.valueOf().toString()+"",t=il.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Za(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ja={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bS=["Webkit","ms","Moz","O"];Object.keys(Ja).forEach(function(e){bS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ja[t]=Ja[e]})});function pm(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ja.hasOwnProperty(e)&&Ja[e]?(""+t).trim():t+"px"}function vm(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=pm(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var xS=be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dc(e,t){if(t){if(xS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function pc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function vc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mc=null,Kn=null,Yn=null;function mm(e){if(e=bo(e)){if(typeof mc!="function")throw Error(B(280));var t=e.stateNode;t&&(t=Cl(t),mc(e.stateNode,e.type,t))}}function hm(e){Kn?Yn?Yn.push(e):Yn=[e]:Kn=e}function gm(){if(Kn){var e=Kn,t=Yn;if(Yn=Kn=null,mm(e),t)for(e=0;en?0:1<r;r++)t.push(e);return t}function pl(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-$r(t),e[t]=r}var $r=Math.clz32?Math.clz32:IS,jS=Math.log,$S=Math.LN2;function IS(e){return e===0?32:31-(jS(e)/$S|0)|0}var BS=Ie.unstable_UserBlockingPriority,zS=Ie.unstable_runWithPriority,vl=!0;function DS(e,t,r,n){mn||gc();var a=_c,o=mn;mn=!0;try{ym(a,e,t,r,n)}finally{(mn=o)||bc()}}function FS(e,t,r,n){zS(BS,_c.bind(null,e,t,r,n))}function _c(e,t,r,n){if(vl){var a;if((a=(t&4)==0)&&0=fo),Hm=String.fromCharCode(32),Um=!1;function Km(e,t){switch(e){case"keyup":return u2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ym(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zn=!1;function f2(e,t){switch(e){case"compositionend":return Ym(t);case"keypress":return t.which!==32?null:(Um=!0,Hm);case"textInput":return e=t.data,e===Hm&&Um?null:e;default:return null}}function d2(e,t){if(Zn)return e==="compositionend"||!Bc&&Km(e,t)?(e=zm(),ml=Rc=Ir=null,Zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=eh(r)}}function rh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nh(){for(var e=window,t=ol();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ol(e.document)}return t}function Fc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var S2=fr&&"documentMode"in document&&11>=document.documentMode,Jn=null,Nc=null,ho=null,Vc=!1;function ah(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Vc||Jn==null||Jn!==ol(n)||(n=Jn,"selectionStart"in n&&Fc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ho&&mo(ho,n)||(ho=n,n=xl(Nc,"onSelect"),0aa||(e.current=Xc[aa],Xc[aa]=null,aa--)}function Ce(e,t){aa++,Xc[aa]=e.current,e.current=t}var Dr={},Ye=zr(Dr),nt=zr(!1),yn=Dr;function oa(e,t){var r=e.type.contextTypes;if(!r)return Dr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function at(e){return e=e.childContextTypes,e!=null}function Pl(){me(nt),me(Ye)}function xh(e,t,r){if(Ye.current!==Dr)throw Error(B(168));Ce(Ye,t),Ce(nt,r)}function wh(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in e))throw Error(B(108,Hn(t)||"Unknown",a));return be({},r,n)}function Tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dr,yn=Ye.current,Ce(Ye,e),Ce(nt,nt.current),!0}function Sh(e,t,r){var n=e.stateNode;if(!n)throw Error(B(169));r?(e=wh(e,t,yn),n.__reactInternalMemoizedMergedChildContext=e,me(nt),me(Ye),Ce(Ye,e)):me(nt),Ce(nt,r)}var Qc=null,bn=null,P2=Ie.unstable_runWithPriority,qc=Ie.unstable_scheduleCallback,Zc=Ie.unstable_cancelCallback,T2=Ie.unstable_shouldYield,Eh=Ie.unstable_requestPaint,Jc=Ie.unstable_now,k2=Ie.unstable_getCurrentPriorityLevel,kl=Ie.unstable_ImmediatePriority,Ch=Ie.unstable_UserBlockingPriority,Ph=Ie.unstable_NormalPriority,Th=Ie.unstable_LowPriority,kh=Ie.unstable_IdlePriority,ef={},O2=Eh!==void 0?Eh:function(){},dr=null,Ol=null,tf=!1,Oh=Jc(),Ge=1e4>Oh?Jc:function(){return Jc()-Oh};function ia(){switch(k2()){case kl:return 99;case Ch:return 98;case Ph:return 97;case Th:return 96;case kh:return 95;default:throw Error(B(332))}}function _h(e){switch(e){case 99:return kl;case 98:return Ch;case 97:return Ph;case 96:return Th;case 95:return kh;default:throw Error(B(332))}}function xn(e,t){return e=_h(e),P2(e,t)}function xo(e,t,r){return e=_h(e),qc(e,t,r)}function Ut(){if(Ol!==null){var e=Ol;Ol=null,Zc(e)}Ah()}function Ah(){if(!tf&&dr!==null){tf=!0;var e=0;try{var t=dr;xn(99,function(){for(;ek?(A=E,E=null):A=E.sibling;var _=v(f,E,m[k],w);if(_===null){E===null&&(E=A);break}e&&E&&_.alternate===null&&t(f,E),d=o(_,d,k),P===null?S=_:P.sibling=_,P=_,E=A}if(k===m.length)return r(f,E),S;if(E===null){for(;kk?(A=E,E=null):A=E.sibling;var R=v(f,E,_.value,w);if(R===null){E===null&&(E=A);break}e&&E&&R.alternate===null&&t(f,E),d=o(R,d,k),P===null?S=R:P.sibling=R,P=R,E=A}if(_.done)return r(f,E),S;if(E===null){for(;!_.done;k++,_=m.next())_=p(f,_.value,w),_!==null&&(d=o(_,d,k),P===null?S=_:P.sibling=_,P=_);return S}for(E=n(f,E);!_.done;k++,_=m.next())_=b(E,f,k,_.value,w),_!==null&&(e&&_.alternate!==null&&E.delete(_.key===null?k:_.key),d=o(_,d,k),P===null?S=_:P.sibling=_,P=_);return e&&E.forEach(function(D){return t(f,D)}),S}return function(f,d,m,w){var S=typeof m=="object"&&m!==null&&m.type===Ar&&m.key===null;S&&(m=m.props.children);var P=typeof m=="object"&&m!==null;if(P)switch(m.$$typeof){case Ya:e:{for(P=m.key,S=d;S!==null;){if(S.key===P){switch(S.tag){case 7:if(m.type===Ar){r(f,S.sibling),d=a(S,m.props.children),d.return=f,f=d;break e}break;default:if(S.elementType===m.type){r(f,S.sibling),d=a(S,m.props),d.ref=So(f,S,m),d.return=f,f=d;break e}}r(f,S);break}else t(f,S);S=S.sibling}m.type===Ar?(d=ha(m.props.children,f.mode,w,m.key),d.return=f,f=d):(w=Jl(m.type,m.key,m.props,null,f.mode,w),w.ref=So(f,d,m),w.return=f,f=w)}return i(f);case vn:e:{for(S=m.key;d!==null;){if(d.key===S)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){r(f,d.sibling),d=a(d,m.children||[]),d.return=f,f=d;break e}else{r(f,d);break}else t(f,d);d=d.sibling}d=Wf(m,f.mode,w),d.return=f,f=d}return i(f)}if(typeof m=="string"||typeof m=="number")return m=""+m,d!==null&&d.tag===6?(r(f,d.sibling),d=a(d,m),d.return=f,f=d):(r(f,d),d=Vf(m,f.mode,w),d.return=f,f=d),i(f);if(jl(m))return g(f,d,m,w);if(Qa(m))return x(f,d,m,w);if(P&&$l(f,m),typeof m=="undefined"&&!S)switch(f.tag){case 1:case 22:case 0:case 11:case 15:throw Error(B(152,Hn(f.type)||"Component"))}return r(f,d)}}var Il=Dh(!0),Fh=Dh(!1),Eo={},Kt=zr(Eo),Co=zr(Eo),Po=zr(Eo);function wn(e){if(e===Eo)throw Error(B(174));return e}function lf(e,t){switch(Ce(Po,t),Ce(Co,e),Ce(Kt,Eo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fc(t,e)}me(Kt),Ce(Kt,t)}function ua(){me(Kt),me(Co),me(Po)}function Nh(e){wn(Po.current);var t=wn(Kt.current),r=fc(t,e.type);t!==r&&(Ce(Co,e),Ce(Kt,r))}function sf(e){Co.current===e&&(me(Kt),me(Co))}var Pe=zr(0);function Bl(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!=0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pr=null,Wr=null,Yt=!1;function Vh(e,t){var r=Tt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Wh(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function uf(e){if(Yt){var t=Wr;if(t){var r=t;if(!Wh(e,t)){if(t=ta(r.nextSibling),!t||!Wh(e,t)){e.flags=e.flags&-1025|2,Yt=!1,pr=e;return}Vh(pr,r)}pr=e,Wr=ta(t.firstChild)}else e.flags=e.flags&-1025|2,Yt=!1,pr=e}}function Hh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;pr=e}function zl(e){if(e!==pr)return!1;if(!Yt)return Hh(e),Yt=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Kc(t,e.memoizedProps))for(t=Wr;t;)Vh(e,t),t=ta(t.nextSibling);if(Hh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(B(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Wr=ta(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Wr=null}}else Wr=pr?ta(e.stateNode.nextSibling):null;return!0}function cf(){Wr=pr=null,Yt=!1}var ca=[];function ff(){for(var e=0;eo))throw Error(B(301));o+=1,Ne=Xe=null,t.updateQueue=null,To.current=L2,e=r(n,a)}while(Oo)}if(To.current=Wl,t=Xe!==null&&Xe.next!==null,ko=0,Ne=Xe=_e=null,Dl=!1,t)throw Error(B(300));return e}function Sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?_e.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function En(){if(Xe===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var t=Ne===null?_e.memoizedState:Ne.next;if(t!==null)Ne=t,Xe=e;else{if(e===null)throw Error(B(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},Ne===null?_e.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function Gt(e,t){return typeof t=="function"?t(e):t}function _o(e){var t=En(),r=t.queue;if(r===null)throw Error(B(311));r.lastRenderedReducer=e;var n=Xe,a=n.baseQueue,o=r.pending;if(o!==null){if(a!==null){var i=a.next;a.next=o.next,o.next=i}n.baseQueue=a=o,r.pending=null}if(a!==null){a=a.next,n=n.baseState;var l=i=o=null,s=a;do{var u=s.lane;if((ko&u)===u)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(i=l=c,o=n):l=l.next=c,_e.lanes|=u,Lo|=u}s=s.next}while(s!==null&&s!==a);l===null?o=n:l.next=i,St(n,t.memoizedState)||(jt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function Ao(e){var t=En(),r=t.queue;if(r===null)throw Error(B(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(a!==null){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);St(o,t.memoizedState)||(jt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function Uh(e,t,r){var n=t._getVersion;n=n(t._source);var a=t._workInProgressVersionPrimary;if(a!==null?e=a===n:(e=e.mutableReadLanes,(e=(ko&e)===e)&&(t._workInProgressVersionPrimary=n,ca.push(t))),e)return r(t._source);throw ca.push(t),Error(B(350))}function Kh(e,t,r,n){var a=Je;if(a===null)throw Error(B(349));var o=t._getVersion,i=o(t._source),l=To.current,s=l.useState(function(){return Uh(a,t,r)}),u=s[1],c=s[0];s=Ne;var p=e.memoizedState,v=p.refs,b=v.getSnapshot,g=p.source;p=p.subscribe;var x=_e;return e.memoizedState={refs:v,source:t,subscribe:n},l.useEffect(function(){v.getSnapshot=r,v.setSnapshot=u;var f=o(t._source);if(!St(i,f)){f=r(t._source),St(c,f)||(u(f),f=Ur(x),a.mutableReadLanes|=f&a.pendingLanes),f=a.mutableReadLanes,a.entangledLanes|=f;for(var d=a.entanglements,m=f;0r?98:r,function(){e(!0)}),xn(97<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Br]=t,e[El]=n,p0(e,t,!1,!1),t.stateNode=e,i=pc(r,n),r){case"dialog":ve("cancel",e),ve("close",e),a=n;break;case"iframe":case"object":case"embed":ve("load",e),a=n;break;case"video":case"audio":for(a=0;aLf&&(t.flags|=64,o=!0,Mo(n,!1),t.lanes=33554432)}else{if(!o)if(e=Bl(i),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Mo(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!Yt)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ge()-n.renderingStartTime>Lf&&r!==1073741824&&(t.flags|=64,o=!0,Mo(n,!1),t.lanes=33554432);n.isBackwards?(i.sibling=t.child,t.child=i):(r=n.last,r!==null?r.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Ge(),r.sibling=null,t=Pe.current,Ce(Pe,o?t&1|2:t&1),r):null;case 23:case 24:return Df(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(B(156,t.tag))}function I2(e){switch(e.tag){case 1:at(e.type)&&Pl();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(ua(),me(nt),me(Ye),ff(),t=e.flags,(t&64)!=0)throw Error(B(285));return e.flags=t&-4097|64,e;case 5:return sf(e),null;case 13:return me(Pe),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return me(Pe),null;case 4:return ua(),null;case 10:return nf(e),null;case 23:case 24:return Df(),null;default:return null}}function Ef(e,t){try{var r="",n=t;do r+=hS(n),n=n.return;while(n);var a=r}catch(o){a=` +Error generating stack: `+o.message+` +`+o.stack}return{value:e,source:t,stack:a}}function Cf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var B2=typeof WeakMap=="function"?WeakMap:Map;function h0(e,t,r){r=Nr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Yl||(Yl=!0,jf=n),Cf(e,t)},r}function g0(e,t,r){r=Nr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return Cf(e,t),n(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this),Cf(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}var z2=typeof WeakSet=="function"?WeakSet:Set;function y0(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Gr(e,r)}else t.current=null}function D2(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Lt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Yc(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(B(163))}function F2(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)==3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var a=e;n=a.next,a=a.tag,(a&4)!=0&&(a&1)!=0&&(L0(r,e),G2(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Lt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&jh(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}jh(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&mh(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&Am(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(B(163))}function b0(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var a=r.memoizedProps.style;a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=pm("display",a)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function x0(e,t){if(bn&&typeof bn.onCommitFiberUnmount=="function")try{bn.onCommitFiberUnmount(Qc,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,a=n.destroy;if(n=n.tag,a!==void 0)if((n&4)!=0)L0(t,r);else{n=t;try{a()}catch(o){Gr(n,o)}}r=r.next}while(r!==e)}break;case 1:if(y0(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Gr(t,o)}break;case 5:y0(t);break;case 4:C0(e,t)}}function w0(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function S0(e){return e.tag===5||e.tag===3||e.tag===4}function E0(e){e:{for(var t=e.return;t!==null;){if(S0(t))break e;t=t.return}throw Error(B(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(B(161))}r.flags&16&&(Za(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||S0(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?Pf(e,r,t):Tf(e,r,t)}function Pf(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=wl));else if(n!==4&&(e=e.child,e!==null))for(Pf(e,t,r),e=e.sibling;e!==null;)Pf(e,t,r),e=e.sibling}function Tf(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Tf(e,t,r),e=e.sibling;e!==null;)Tf(e,t,r),e=e.sibling}function C0(e,t){for(var r=t,n=!1,a,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(B(160));switch(a=n.stateNode,n.tag){case 5:o=!1;break e;case 3:a=a.containerInfo,o=!0;break e;case 4:a=a.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var i=e,l=r,s=l;;)if(x0(i,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(i=a,l=r.stateNode,i.nodeType===8?i.parentNode.removeChild(l):i.removeChild(l)):a.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){a=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(x0(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function kf(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)==3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var a=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[El]=n,e==="input"&&n.type==="radio"&&n.name!=null&&im(r,n),pc(e,a),t=pc(e,n),a=0;aa&&(a=i),r&=~o}if(r=a,r=Ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*V2(r/1960))-r,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Ve!==5&&(Ve=2),s=Ef(s,l),v=i;do{switch(v.tag){case 3:o=s,v.flags|=4096,t&=-t,v.lanes|=t;var P=h0(v,o,t);Lh(v,P);break e;case 1:o=s;var E=v.type,k=v.stateNode;if((v.flags&64)==0&&(typeof E.getDerivedStateFromError=="function"||k!==null&&typeof k.componentDidCatch=="function"&&(Xt===null||!Xt.has(k)))){v.flags|=4096,t&=-t,v.lanes|=t;var A=g0(v,o,t);Lh(v,A);break e}}v=v.return}while(v!==null)}M0(r)}catch(_){t=_,je===r&&r!==null&&(je=r=r.return);continue}break}while(1)}function A0(){var e=Ul.current;return Ul.current=Wl,e===null?Wl:e}function zo(e,t){var r=G;G|=16;var n=A0();Je===e&&Qe===t||ma(e,t);do try{H2();break}catch(a){_0(e,a)}while(1);if(rf(),G=r,Ul.current=n,je!==null)throw Error(B(261));return Je=null,Qe=0,Ve}function H2(){for(;je!==null;)R0(je)}function U2(){for(;je!==null&&!T2();)R0(je)}function R0(e){var t=$0(e.alternate,e,Cn);e.memoizedProps=e.pendingProps,t===null?M0(e):je=t,Of.current=null}function M0(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)==0){if(r=$2(r,t,Cn),r!==null){je=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Cn&1073741824)!=0||(r.mode&4)==0){for(var n=0,a=r.child;a!==null;)n|=a.lanes|a.childLanes,a=a.sibling;r.childLanes=n}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1i&&(l=i,i=P,P=l),l=th(m,P),o=th(m,i),l&&o&&(S.rangeCount!==1||S.anchorNode!==l.node||S.anchorOffset!==l.offset||S.focusNode!==o.node||S.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(l.node,l.offset),S.removeAllRanges(),P>i?(S.addRange(w),S.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),S.addRange(w)))))),w=[],S=m;S=S.parentNode;)S.nodeType===1&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;mGe()-Mf?ma(e,0):Af|=r),Pt(e,t)}function q2(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)==0?t=1:(t&4)==0?t=ia()===99?1:2:(hr===0&&(hr=fa),t=Qn(62914560&~hr),t===0&&(t=4194304))),r=vt(),e=ql(e,t),e!==null&&(pl(e,t,r),Pt(e,r))}var $0;$0=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||nt.current)jt=!0;else if((r&n)!=0)jt=(e.flags&16384)!=0;else{switch(jt=!1,t.tag){case 3:i0(t),cf();break;case 5:Nh(t);break;case 1:at(t.type)&&Tl(t);break;case 4:lf(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var a=t.type._context;Ce(_l,a._currentValue),a._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!=0?l0(e,t,r):(Ce(Pe,Pe.current&1),t=vr(e,t,r),t!==null?t.sibling:null);Ce(Pe,Pe.current&1);break;case 19:if(n=(r&t.childLanes)!=0,(e.flags&64)!=0){if(n)return d0(e,t,r);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ce(Pe,Pe.current),n)break;return null;case 23:case 24:return t.lanes=0,yf(e,t,r)}return vr(e,t,r)}else jt=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=oa(t,Ye.current),sa(t,r),a=pf(null,t,n,e,a,r),t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,at(n)){var o=!0;Tl(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,af(t);var i=n.getDerivedStateFromProps;typeof i=="function"&&Ml(t,n,i,e),a.updater=Ll,t.stateNode=a,a._reactInternals=t,of(t,n,e,r),t=xf(null,t,n,!0,o,r)}else t.tag=0,it(null,t,a,r),t=t.child;return t;case 16:a=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=J2(a),e=Lt(a,e),o){case 0:t=bf(null,t,a,e,r);break e;case 1:t=o0(null,t,a,e,r);break e;case 11:t=t0(null,t,a,e,r);break e;case 14:t=r0(null,t,a,Lt(a.type,e),n,r);break e}throw Error(B(306,a,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Lt(n,a),bf(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Lt(n,a),o0(e,t,n,a,r);case 3:if(i0(t),n=t.updateQueue,e===null||n===null)throw Error(B(282));if(n=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,Mh(e,t),wo(t,n,null,r),n=t.memoizedState.element,n===a)cf(),t=vr(e,t,r);else{if(a=t.stateNode,(o=a.hydrate)&&(Wr=ta(t.stateNode.containerInfo.firstChild),pr=t,o=Yt=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a0?lt(ya,--st):0,ga--,Me===10&&(ga=1,is--),Me}function mt(){return Me=st2||Ho(Me)>3?"":" "}function gE(e,t){for(;--t&&mt()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return Wo(e,ss()+(t<6&&qt()==32&&mt()==32))}function qf(e){for(;mt();)switch(Me){case e:return st;case 34:case 39:return qf(e===34||e===39?e:Me);case 40:e===41&&qf(e);break;case 92:mt();break}return st}function yE(e,t){for(;mt()&&e+Me!==47+10;)if(e+Me===42+42&&qt()===47)break;return"/*"+Wo(t,st-1)+"*"+as(e===47?e:mt())}function bE(e){for(;!Ho(qt());)mt();return Wo(e,st)}function xE(e){return U0(us("",null,null,null,[""],e=H0(e),0,[0],e))}function us(e,t,r,n,a,o,i,l,s){for(var u=0,c=0,p=i,v=0,b=0,g=0,x=1,f=1,d=1,m=0,w="",S=a,P=o,E=n,k=w;f;)switch(g=m,m=mt()){case 34:case 39:case 91:case 40:k+=Qf(m);break;case 9:case 10:case 13:case 32:k+=hE(g);break;case 92:k+=gE(ss()-1,7);continue;case 47:switch(qt()){case 42:case 47:os(wE(yE(mt(),ss()),t,r),s);break;default:k+="/"}break;case 123*x:l[u++]=Qt(k)*d;case 125*x:case 59:case 0:switch(m){case 0:case 125:f=0;case 59+c:b>0&&Qt(k)-p&&os(b>32?Y0(k+";",n,r,p-1):Y0(le(k," ","")+";",n,r,p-2),s);break;case 59:k+=";";default:if(os(E=K0(k,t,r,u,c,a,l,w,S=[],P=[],p),o),m===123)if(c===0)us(k,t,E,E,S,o,p,l,P);else switch(v){case 100:case 109:case 115:us(e,E,E,n&&os(K0(e,E,E,0,0,a,l,w,a,S=[],p),P),a,P,p,l,n?S:P);break;default:us(k,E,E,E,[""],P,p,l,P)}}u=c=b=0,x=d=1,w=k="",p=i;break;case 58:p=1+Qt(k),b=g;default:if(x<1){if(m==123)--x;else if(m==125&&x++==0&&mE()==125)continue}switch(k+=as(m),m*x){case 38:d=c>0?1:(k+="\f",-1);break;case 44:l[u++]=(Qt(k)-1)*d,d=1;break;case 64:qt()===45&&(k+=Qf(mt())),v=qt(),c=Qt(w=k+=bE(ss())),m++;break;case 45:g===45&&Qt(k)==2&&(x=0)}}return o}function K0(e,t,r,n,a,o,i,l,s,u,c){for(var p=a-1,v=a===0?o:[""],b=Xf(v),g=0,x=0,f=0;g0?v[d]+" "+m:le(m,/&\f/g,v[d])))&&(s[f++]=w);return ls(e,t,r,a===0?Yf:l,s,u,c)}function wE(e,t,r){return ls(e,t,r,F0,as(vE()),No(e,2,-2),0)}function Y0(e,t,r,n){return ls(e,t,r,Gf,No(e,0,n),No(e,n+1,-1),n)}function G0(e,t){switch(fE(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+ns+e+qe+e+e;case 6828:case 4268:return ae+e+qe+e+e;case 6165:return ae+e+qe+"flex-"+e+e;case 5187:return ae+e+le(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+qe+"flex-$1$2")+e;case 5443:return ae+e+qe+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return ae+e+qe+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return ae+e+qe+le(e,"shrink","negative")+e;case 5292:return ae+e+qe+le(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+le(e,"-grow","")+ae+e+qe+le(e,"grow","positive")+e;case 4554:return ae+le(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qt(e)-1-t>6)switch(lt(e,t+1)){case 109:if(lt(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+ns+(lt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~V0(e,"stretch")?G0(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(lt(e,t+1)!==115)break;case 6444:switch(lt(e,Qt(e)-3-(~V0(e,"!important")&&10))){case 107:return le(e,":",":"+ae)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(lt(e,14)===45?"inline-":"")+"box$3$1"+ae+"$2$3$1"+qe+"$2box$3")+e}break;case 5936:switch(lt(e,t+11)){case 114:return ae+e+qe+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+qe+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+qe+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+qe+e+e}return e}function Uo(e,t){for(var r="",n=Xf(e),a=0;a=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var WE={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},HE=/[A-Z]|^ms/g,UE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ng=function(t){return t.charCodeAt(1)===45},ag=function(t){return t!=null&&typeof t!="boolean"},td=Q0(function(e){return ng(e)?e:e.replace(HE,"-$&").toLowerCase()}),og=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(UE,function(n,a,o){return Zt={name:a,styles:o,next:Zt},a})}return WE[t]!==1&&!ng(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ko(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Zt={name:r.name,styles:r.styles,next:Zt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Zt={name:n.name,styles:n.styles,next:Zt},n=n.next;var a=r.styles+";";return a}return KE(e,t,r)}case"function":{if(e!==void 0){var o=Zt,i=r(e);return Zt=o,Ko(e,t,i)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function KE(e,t,r){var n="";if(Array.isArray(r))for(var a=0;ah.exports.createElement(nd,{styles:` + html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + font-family: system-ui, sans-serif; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + -moz-osx-font-smoothing: grayscale; + touch-action: manipulation; + } + + body { + position: relative; + min-height: 100%; + font-feature-settings: 'kern'; + } + + *, + *::before, + *::after { + border-width: 0; + border-style: solid; + box-sizing: border-box; + } + + main { + display: block; + } + + hr { + border-top-width: 1px; + box-sizing: content-box; + height: 0; + overflow: visible; + } + + pre, + code, + kbd, + samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 1em; + } + + a { + background-color: transparent; + color: inherit; + text-decoration: inherit; + } + + abbr[title] { + border-bottom: none; + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + } + + b, + strong { + font-weight: bold; + } + + small { + font-size: 80%; + } + + sub, + sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + sub { + bottom: -0.25em; + } + + sup { + top: -0.5em; + } + + img { + border-style: none; + } + + button, + input, + optgroup, + select, + textarea { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; + } + + button, + input { + overflow: visible; + } + + button, + select { + text-transform: none; + } + + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; + } + + fieldset { + padding: 0.35em 0.75em 0.625em; + } + + legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; + } + + progress { + vertical-align: baseline; + } + + textarea { + overflow: auto; + } + + [type="checkbox"], + [type="radio"] { + box-sizing: border-box; + padding: 0; + } + + [type="number"]::-webkit-inner-spin-button, + [type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none !important; + } + + input[type="number"] { + -moz-appearance: textfield; + } + + [type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; + } + + [type="search"]::-webkit-search-decoration { + -webkit-appearance: none !important; + } + + ::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; + } + + details { + display: block; + } + + summary { + display: list-item; + } + + template { + display: none; + } + + [hidden] { + display: none !important; + } + + body, + blockquote, + dl, + dd, + h1, + h2, + h3, + h4, + h5, + h6, + hr, + figure, + p, + pre { + margin: 0; + } + + button { + background: transparent; + padding: 0; + } + + fieldset { + margin: 0; + padding: 0; + } + + ol, + ul { + margin: 0; + padding: 0; + } + + textarea { + resize: vertical; + } + + button, + [role="button"] { + cursor: pointer; + } + + button::-moz-focus-inner { + border: 0 !important; + } + + table { + border-collapse: collapse; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + font-size: inherit; + font-weight: inherit; + } + + button, + input, + optgroup, + select, + textarea { + padding: 0; + line-height: inherit; + color: inherit; + } + + img, + svg, + video, + canvas, + audio, + iframe, + embed, + object { + display: block; + vertical-align: middle; + } + + img, + video { + max-width: 100%; + height: auto; + } + + [data-js-focus-visible] :focus:not([data-focus-visible-added]) { + outline: none; + box-shadow: none; + } + + select::-ms-expand { + display: none; + } + `}),ZE=qE;function JE(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Go(e){return typeof e=="number"}function ad(e){return Array.isArray(e)}function gr(e){return typeof e=="function"}function kt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!ad(e)}function eC(e){return kt(e)&&Object.keys(e).length===0}function ws(e){return Object.prototype.toString.call(e)==="[object String]"}function cg(e){return/^var\(--.+\)$/.test(e)}var tC=!1,od={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",a=800,o=16,i=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",v="[object Error]",b="[object Function]",g="[object GeneratorFunction]",x="[object Map]",f="[object Number]",d="[object Null]",m="[object Object]",w="[object Proxy]",S="[object RegExp]",P="[object Set]",E="[object String]",k="[object Undefined]",A="[object WeakMap]",_="[object ArrayBuffer]",R="[object DataView]",D="[object Float32Array]",K="[object Float64Array]",W="[object Int8Array]",Q="[object Int16Array]",te="[object Int32Array]",U="[object Uint8Array]",ie="[object Uint8ClampedArray]",de="[object Uint16Array]",ke="[object Uint32Array]",Ee=/[\\^$.*+?()[\]{}|]/g,$=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,I={};I[D]=I[K]=I[W]=I[Q]=I[te]=I[U]=I[ie]=I[de]=I[ke]=!0,I[l]=I[s]=I[_]=I[c]=I[R]=I[p]=I[v]=I[b]=I[x]=I[f]=I[m]=I[S]=I[P]=I[E]=I[A]=!1;var Y=typeof Qi=="object"&&Qi&&Qi.Object===Object&&Qi,q=typeof self=="object"&&self&&self.Object===Object&&self,Ae=Y||q||Function("return this")(),Ue=t&&!t.nodeType&&t,Re=Ue&&!0&&e&&!e.nodeType&&e,Ke=Re&&Re.exports===Ue,Wt=Ke&&Y.process,ln=function(){try{var y=Re&&Re.require&&Re.require("util").types;return y||Wt&&Wt.binding&&Wt.binding("util")}catch{}}(),sn=ln&&ln.isTypedArray;function kr(y,C,O){switch(O.length){case 0:return y.call(C);case 1:return y.call(C,O[0]);case 2:return y.call(C,O[0],O[1]);case 3:return y.call(C,O[0],O[1],O[2])}return y.apply(C,O)}function H(y,C){for(var O=-1,N=Array(y);++O-1}function cw(y,C){var O=this.__data__,N=Ki(O,y);return N<0?(++this.size,O.push([y,C])):O[N][1]=C,this}ur.prototype.clear=iw,ur.prototype.delete=lw,ur.prototype.get=sw,ur.prototype.has=uw,ur.prototype.set=cw;function zn(y){var C=-1,O=y==null?0:y.length;for(this.clear();++C1?O[ee-1]:void 0,ge=ee>2?O[2]:void 0;for(ce=y.length>3&&typeof ce=="function"?(ee--,ce):void 0,ge&&Dw(O[0],O[1],ge)&&(ce=ee<3?void 0:ce,ee=1),C=Object(C);++N-1&&y%1==0&&y0){if(++C>=a)return arguments[0]}else C=0;return y.apply(void 0,arguments)}}function Yw(y){if(y!=null){try{return sr.call(y)}catch{}try{return y+""}catch{}}return""}function Xi(y,C){return y===C||y!==y&&C!==C}var ju=bv(function(){return arguments}())?bv:function(y){return Wa(y)&&rt.call(y,"callee")&&!Qx.call(y,"callee")},$u=Array.isArray;function Iu(y){return y!=null&&Cv(y.length)&&!Bu(y)}function Gw(y){return Wa(y)&&Iu(y)}var Ev=Zx||Jw;function Bu(y){if(!fn(y))return!1;var C=Yi(y);return C==b||C==g||C==u||C==w}function Cv(y){return typeof y=="number"&&y>-1&&y%1==0&&y<=i}function fn(y){var C=typeof y;return y!=null&&(C=="object"||C=="function")}function Wa(y){return y!=null&&typeof y=="object"}function Xw(y){if(!Wa(y)||Yi(y)!=m)return!1;var C=mv(y);if(C===null)return!0;var O=rt.call(C,"constructor")&&C.constructor;return typeof O=="function"&&O instanceof O&&sr.call(O)==Gx}var Pv=sn?j(sn):Pw;function Qw(y){return jw(y,Tv(y))}function Tv(y){return Iu(y)?ww(y,!0):Tw(y)}var qw=$w(function(y,C,O,N){xv(y,C,O,N)});function Zw(y){return function(){return y}}function kv(y){return y}function Jw(){return!1}e.exports=qw})(od,od.exports);var Jt=od.exports;function id(e,t){var r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function fg(e,t){var r={};return t.forEach(n=>{n in e&&(r[n]=e[n])}),r}function rC(e,t,r,n){var a=typeof t=="string"?t.split("."):[t];for(n=0;n{var t=new WeakMap,r=(n,a,o,i)=>{if(typeof n=="undefined")return e(n,a,o);t.has(n)||t.set(n,new Map);var l=t.get(n);if(l.has(a))return l.get(a);var s=e(n,a,o,i);return l.set(a,s),s};return r},Ss=nC(rC);function dg(e,t){var r={};return Object.keys(e).forEach(n=>{var a=e[n],o=t(a,n,e);o&&(r[n]=a)}),r}var ld=e=>dg(e,t=>t!=null),Es=e=>Object.keys(e),aC=e=>e.reduce((t,r)=>{var[n,a]=r;return t[n]=a,t},{}),oC=(e,t,r)=>{var n,a;return(n=(a=e.__cssMap[t+"."+r])==null?void 0:a.varRef)!=null?n:r};function iC(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Cs(e){if(e==null)return e;var{unitless:t}=iC(e);return t||Go(e)?e+"px":e}var pg=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,sd=e=>aC(Object.entries(e).sort(pg));function vg(e){var t=sd(e);return Object.assign(Object.values(t),t)}function lC(e){var t=Object.keys(sd(e));return new Set(t)}function sC(e){var t;if(!e)return e;e=(t=Cs(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Go(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,n=>""+(parseFloat(n)+r))}function Ps(e,t){var r=[];return e&&r.push("@media screen and (min-width: "+Cs(e)+")"),r.length>0&&t&&r.push("and"),t&&r.push("@media screen and (max-width: "+Cs(t)+")"),r.join(" ")}function uC(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=vg(e),n=Object.entries(e).sort(pg).map((i,l,s)=>{var u,[c,p]=i,[,v]=(u=s[l+1])!=null?u:[];return v=parseFloat(v)>0?sC(v):void 0,{breakpoint:c,minW:p,maxW:v,maxWQuery:Ps(null,v),minWQuery:Ps(p),minMaxQuery:Ps(p,v)}}),a=lC(e),o=Array.from(a.values());return{keys:a,normalized:r,isResponsive(i){var l=Object.keys(i);return l.length>0&&l.every(s=>a.has(s))},asObject:sd(e),asArray:vg(e),details:n,media:[null,...r.map(i=>Ps(i)).slice(1)],toArrayValue(i){if(!kt(i))throw new Error("toArrayValue: value must be an object");for(var l=o.map(s=>{var u;return(u=i[s])!=null?u:null});JE(l)===null;)l.pop();return l},toObjectValue(i){if(!Array.isArray(i))throw new Error("toObjectValue: value must be an array");return i.reduce((l,s,u)=>{var c=o[u];return c!=null&&s!=null&&(l[c]=s),l},{})}}}function cC(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var yr=cC(),mg=e=>e?"":void 0,ut=function(){for(var t=arguments.length,r=new Array(t),n=0;n1?t-1:0),n=1;n(o==null||o(a),a==null?void 0:a.defaultPrevented))}}function fC(e){var t;return function(){if(e){for(var n=arguments.length,a=new Array(n),o=0;o{},dC=fC(e=>()=>{var{condition:t,message:r}=e;t&&tC&&console.warn(r)}),pC=function(){for(var t=arguments.length,r=new Array(t),n=0;nr.reduce((o,i)=>i(o),a)},hg=1/60*1e3,vC=typeof performance!="undefined"?function(){return performance.now()}:function(){return Date.now()},gg=typeof window!="undefined"?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout(function(){return e(vC())},hg)};function mC(e){var t=[],r=[],n=0,a=!1,o=new WeakSet,i={schedule:function(l,s,u){s===void 0&&(s=!1),u===void 0&&(u=!1);var c=u&&a,p=c?t:r;return s&&o.add(l),p.indexOf(l)===-1&&(p.push(l),c&&a&&(n=t.length)),l},cancel:function(l){var s=r.indexOf(l);s!==-1&&r.splice(s,1),o.delete(l)},process:function(l){var s;if(a=!0,s=[r,t],t=s[0],r=s[1],r.length=0,n=t.length,n)for(var u=0;ur===null?null:t(r)):kt(e)?Es(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):e!=null?t(e):null}function bC(e,t){function r(n,a){return a===void 0&&(a=[]),ad(n)?n.map((o,i)=>r(o,[...a,String(i)])):kt(n)?Object.fromEntries(Object.entries(n).map(o=>{var[i,l]=o;return[i,r(l,[...a,i])]})):t(n,a)}return r(e)}function xC(e,t){if(e!=null){if(gr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function fd(){for(var e=arguments.length,t=new Array(e),r=0;r{t.forEach(a=>xC(a,n))}}function Zo(e){e===void 0&&(e={});var{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,a=h.exports.createContext(void 0);a.displayName=n;function o(){var i=h.exports.useContext(a);if(!i&&t){var l=new Error(r);throw l.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(l,o),l}return i}return[a.Provider,o,a]}function wC(e){return h.exports.Children.toArray(e).filter(t=>h.exports.isValidElement(t))}var[SC,EC]=Zo({strict:!1,name:"PortalManagerContext"});function CC(e){var{children:t,zIndex:r}=e;return h.exports.createElement(SC,{value:{zIndex:r}},t)}var Os=yr?h.exports.useLayoutEffect:h.exports.useEffect;function xg(e,t){t===void 0&&(t=[]);var r=h.exports.useRef(e);return Os(()=>{r.current=e}),h.exports.useCallback(function(){for(var n=arguments.length,a=new Array(n),o=0;o{var{children:t}=e,r=h.exports.useContext(dd),n=r===wg,a=h.exports.useMemo(()=>({prefix:n?0:++r.prefix,current:0}),[n,r]);return h.exports.createElement(dd.Provider,{value:a},t)});function Sg(e,t){var r=h.exports.useContext(dd);return h.exports.useMemo(()=>e||[t,r.prefix,++r.current].filter(Boolean).join("-"),[e,t])}function _s(){return _s=Object.assign||function(e){for(var t=1;t{l||i(!1),t==null||t()},[l,t]),p=h.exports.useCallback(()=>{l||i(!0),r==null||r()},[l,r]),v=h.exports.useCallback(()=>{var b=s?c:p;b()},[s,p,c]);return{isOpen:!!s,onOpen:p,onClose:c,onToggle:v,isControlled:l,getButtonProps:function(g){return g===void 0&&(g={}),_s({},g,{"aria-expanded":"true","aria-controls":u,onClick:ba(g.onClick,v)})},getDisclosureProps:function(g){return g===void 0&&(g={}),_s({},g,{hidden:!s,id:u})}}}function Eg(e,t,r,n){var a=xg(t);return h.exports.useEffect(()=>{var o,i=(o=Ot(r))!=null?o:document;return i.addEventListener(e,a,n),()=>{i.removeEventListener(e,a,n)}},[e,r,n,a]),()=>{var o,i=(o=Ot(r))!=null?o:document;i.removeEventListener(e,a,n)}}var Cg=(e,t)=>{var r=h.exports.useRef(!1);return h.exports.useEffect(()=>{if(r.current)return e();r.current=!0},t),r.current};function OC(e,t){return t===void 0&&(t=[]),h.exports.useEffect(()=>()=>e(),t)}function Pg(){var e=h.exports.useRef(!1),[t,r]=h.exports.useState(0);return OC(()=>{e.current=!0}),h.exports.useCallback(()=>{e.current||r(t+1)},[t])}function _C(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function AC(){for(var e=arguments.length,t=new Array(e),r=0;rt.every(n=>n==null)?null:n=>{t.forEach(a=>{a&&_C(a,n)})},t)}function RC(e,t){var r=xg(e);h.exports.useEffect(()=>{if(t!=null){var n=null;return n=window.setTimeout(()=>{r()},t),()=>{n&&window.clearTimeout(n)}}},[t,r])}function pd(){return pd=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var[Tg,LC]=Zo({strict:!1,name:"PortalContext"}),vd="chakra-portal",jC=".chakra-portal",$C=e=>h.exports.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),IC=e=>{var{appendToParentPortal:t,children:r}=e,n=h.exports.useRef(null),a=h.exports.useRef(null),o=Pg(),i=LC(),l=EC();Os(()=>{if(!!n.current){var u=n.current.ownerDocument,c=t&&i!=null?i:u.body;if(!!c){a.current=u.createElement("div"),a.current.className=vd,c.appendChild(a.current),o();var p=a.current;return()=>{c.contains(p)&&c.removeChild(p)}}}},[]);var s=l!=null&&l.zIndex?h.exports.createElement($C,{zIndex:l==null?void 0:l.zIndex},r):r;return a.current?Vn.exports.createPortal(h.exports.createElement(Tg,{value:a.current},s),a.current):h.exports.createElement("span",{ref:n})},BC=e=>{var{children:t,containerRef:r,appendToParentPortal:n}=e,a=r.current,o=a!=null?a:yr?document.body:void 0,i=h.exports.useMemo(()=>{var s=a==null?void 0:a.ownerDocument.createElement("div");return s&&(s.className=vd),s},[a]),l=Pg();return Os(()=>{l()},[]),Os(()=>{if(!(!i||!o))return o.appendChild(i),()=>{o.removeChild(i)}},[i,o]),o&&i?Vn.exports.createPortal(h.exports.createElement(Tg,{value:n?i:null},t),i):null};function As(e){var{containerRef:t}=e,r=MC(e,["containerRef"]);return t?h.exports.createElement(BC,pd({containerRef:t},r)):h.exports.createElement(IC,r)}As.defaultProps={appendToParentPortal:!0};As.className=vd;As.selector=jC;var Rs={light:"chakra-ui-light",dark:"chakra-ui-dark"},zC={classList:{add:Tn,remove:Tn}},DC=()=>yr?document.body:zC;function FC(e){var t=DC();t.classList.add(e?Rs.dark:Rs.light),t.classList.remove(e?Rs.light:Rs.dark)}function NC(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var kg={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function VC(e){var t,r=(t=NC(kg.dark))!=null?t:e==="dark";return r?"dark":"light"}function WC(e){if(!("matchMedia"in window))return Tn;var t=window.matchMedia(kg.dark),r=()=>{e(t.matches?"dark":"light")};return r(),t.addListener(r),()=>{t.removeListener(r)}}var Og={get:()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),set:e=>{yr&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)}},_g=()=>typeof Storage!="undefined",Ag="chakra-ui-color-mode",HC={get(e){if(!_g())return e;try{var t=localStorage.getItem(Ag);return t!=null?t:e}catch{return e}},set(e){if(!!_g())try{localStorage.setItem(Ag,e)}catch{}},type:"localStorage"},md=h.exports.createContext({}),hd=()=>{var e=h.exports.useContext(md);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function UC(e){var{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:a},colorModeManager:o=HC}=e,[i,l]=h.exports.useState(o.type==="cookie"?o.get(a):a);h.exports.useEffect(()=>{if(yr&&o.type==="localStorage"){var p=n?VC(a):Og.get()||o.get();p&&l(p)}},[o,n,a]),h.exports.useEffect(()=>{var p=i==="dark";FC(p),Og.set(p?"dark":"light")},[i]);var s=h.exports.useCallback(p=>{o.set(p),l(p)},[o]),u=h.exports.useCallback(()=>{s(i==="light"?"dark":"light")},[i,s]);h.exports.useEffect(()=>{var p;return n&&(p=WC(s)),()=>{p&&n&&p()}},[s,n]);var c=h.exports.useMemo(()=>({colorMode:t!=null?t:i,toggleColorMode:t?Tn:u,setColorMode:t?Tn:s}),[i,s,u,t]);return h.exports.createElement(md.Provider,{value:c},r)}function xj(e,t){var{colorMode:r}=hd();return r==="dark"?t:e}var KC=(e,t)=>r=>{var n=String(t),a=e?e+"."+n:n;return kt(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t};function Jo(e){var{scale:t,transform:r,compose:n}=e,a=(o,i)=>{var l,s=KC(t,o)(i),u=(l=r==null?void 0:r(s,i))!=null?l:s;return n&&(u=n(u,i)),u};return a}function $t(e,t){return r=>{var n={property:r,scale:e};return n.transform=Jo({scale:e,transform:t}),n}}var YC=e=>{var{rtl:t,ltr:r}=e;return n=>n.direction==="rtl"?t:r};function GC(e){var{property:t,scale:r,transform:n}=e;return{scale:r,property:YC(t),transform:r?Jo({scale:r,compose:n}):n}}var Rg=["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 XC(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Rg].join(" ")}function QC(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Rg].join(" ")}var qC={"--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)"].join(" ")},ZC={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)"].join(" "),"--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 JC(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)"].join(", ")}}var eP={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Mg="& > :not(style) ~ :not(style)",tP={[Mg]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},rP={[Mg]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}};function gd(e,t){gd=function(s,u){return new o(s,void 0,u)};var r=yd(RegExp),n=RegExp.prototype,a=new WeakMap;function o(l,s,u){var c=r.call(this,l,s);return a.set(c,u||a.get(l)),c}nP(o,r),o.prototype.exec=function(l){var s=n.exec.call(this,l);return s&&(s.groups=i(s,this)),s},o.prototype[Symbol.replace]=function(l,s){if(typeof s=="string"){var u=a.get(this);return n[Symbol.replace].call(this,l,s.replace(/\$<([^>]+)>/g,function(p,v){return"$"+u[v]}))}else if(typeof s=="function"){var c=this;return n[Symbol.replace].call(this,l,function(){var p=[];return p.push.apply(p,arguments),typeof p[p.length-1]!="object"&&p.push(i(p,c)),s.apply(this,p)})}else return n[Symbol.replace].call(this,l,s)};function i(l,s){var u=a.get(s);return Object.keys(u).reduce(function(c,p){return c[p]=l[u[p]],c},Object.create(null))}return gd.apply(this,arguments)}function nP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ei(e,t)}function yd(e){var t=typeof Map=="function"?new Map:void 0;return yd=function(n){if(n===null||!oP(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return Ms(n,arguments,bd(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ei(a,n)},yd(e)}function Ms(e,t,r){return aP()?Ms=Reflect.construct:Ms=function(a,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(a,l),u=new s;return i&&ei(u,i.prototype),u},Ms.apply(null,arguments)}function aP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function oP(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ei(e,t){return ei=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},ei(e,t)}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bd(e)}var xd={"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"},iP=new Set(Object.values(xd)),Lg=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),lP=e=>e.trim();function sP(e,t){var r,n;if(e==null||Lg.has(e))return e;var a=gd(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:o,values:i}=(r=(n=a.exec(e))==null?void 0:n.groups)!=null?r:{};if(!o||!i)return e;var l=o.includes("-gradient")?o:o+"-gradient",[s,...u]=i.split(",").map(lP).filter(Boolean);if((u==null?void 0:u.length)===0)return e;var c=s in xd?xd[s]:s;u.unshift(c);var p=u.map(v=>{if(iP.has(v))return v;var b=v.indexOf(" "),[g,x]=b!==-1?[v.substr(0,b),v.substr(b+1)]:[v],f=jg(x)?x:x&&x.split(" "),d="colors."+g,m=d in t.__cssMap?t.__cssMap[d].varRef:g;return f?[m,f].join(" "):m});return l+"("+p.join(", ")+")"}var jg=e=>ws(e)&&e.includes("(")&&e.includes(")"),uP=(e,t)=>sP(e,t!=null?t:{}),cP=e=>{var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},tr=e=>t=>e+"("+t+")",ue={filter(e){return e!=="auto"?e:qC},backdropFilter(e){return e!=="auto"?e:ZC},ring(e){return JC(ue.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?XC():e==="auto-gpu"?QC():e},px(e){if(e==null)return e;var{unitless:t}=cP(e);return t||Go(e)?e+"px":e},fraction(e){return!Go(e)||e>1?e:e*100+"%"},float(e,t){var r={left:"right",right:"left"};return t.direction==="rtl"?r[e]:e},degree(e){if(cg(e)||e==null)return e;var t=ws(e)&&!e.endsWith("deg");return Go(e)||t?e+"deg":e},gradient:uP,blur:tr("blur"),opacity:tr("opacity"),brightness:tr("brightness"),contrast:tr("contrast"),dropShadow:tr("drop-shadow"),grayscale:tr("grayscale"),hueRotate:tr("hue-rotate"),invert:tr("invert"),saturate:tr("saturate"),sepia:tr("sepia"),bgImage(e){if(e==null)return e;var t=jg(e)||Lg.has(e);return t?e:"url("+e+")"},outline(e){var t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t,{space:r,divide:n}=(t=eP[e])!=null?t:{},a={flexDirection:e};return r&&(a[r]=1),n&&(a[n]=1),a}};function wd(){return wd=Object.assign||function(e){for(var t=1;te!==null?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:rP,transform:Jo({scale:"space",transform:e=>e!=null?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:T.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(js,{flexDir:js.flexDirection});var $g={gridGap:T.space("gridGap"),gridColumnGap:T.space("gridColumnGap"),gridRowGap:T.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},pP={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:ue.outline},outlineOffset:!0,outlineColor:T.colors("outlineColor")},_t={width:T.sizesT("width"),inlineSize:T.sizesT("inlineSize"),height:T.sizes("height"),blockSize:T.sizes("blockSize"),boxSize:T.sizes(["width","height"]),minWidth:T.sizes("minWidth"),minInlineSize:T.sizes("minInlineSize"),minHeight:T.sizes("minHeight"),minBlockSize:T.sizes("minBlockSize"),maxWidth:T.sizes("maxWidth"),maxInlineSize:T.sizes("maxInlineSize"),maxHeight:T.sizes("maxHeight"),maxBlockSize:T.sizes("maxBlockSize"),d:T.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:T.propT("float",ue.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(_t,{w:_t.width,h:_t.height,minW:_t.minWidth,maxW:_t.maxWidth,minH:_t.minHeight,maxH:_t.maxHeight,overscroll:_t.overscrollBehavior,overscrollX:_t.overscrollBehaviorX,overscrollY:_t.overscrollBehaviorY});var vP={listStyleType:!0,listStylePosition:!0,listStylePos:T.prop("listStylePosition"),listStyleImage:!0,listStyleImg:T.prop("listStyleImage")},mP={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},hP={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Ed=(e,t,r)=>{var n={},a=Ss(e,t,{});for(var o in a){var i=o in r&&r[o]!=null;i||(n[o]=a[o])}return n},gP={srOnly:{transform(e){return e===!0?mP:e==="focusable"?hP:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>Ed(t,"layerStyles."+e,r)},textStyle:{processResult:!0,transform:(e,t,r)=>Ed(t,"textStyles."+e,r)},apply:{processResult:!0,transform:(e,t,r)=>Ed(t,e,r)}},ti={position:!0,pos:T.prop("position"),zIndex:T.prop("zIndex","zIndices"),inset:T.spaceT(["top","right","bottom","left"]),insetX:T.spaceT(["left","right"]),insetInline:T.spaceT("insetInline"),insetY:T.spaceT(["top","bottom"]),insetBlock:T.spaceT("insetBlock"),top:T.spaceT("top"),insetBlockStart:T.spaceT("insetBlockStart"),bottom:T.spaceT("bottom"),insetBlockEnd:T.spaceT("insetBlockEnd"),left:T.spaceT("left"),insetInlineStart:T.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:T.spaceT("right"),insetInlineEnd:T.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(ti,{insetStart:ti.insetInlineStart,insetEnd:ti.insetInlineEnd});var yP={ring:{transform:ue.ring},ringColor:T.colors("--chakra-ring-color"),ringOffset:T.prop("--chakra-ring-offset-width"),ringOffsetColor:T.colors("--chakra-ring-offset-color"),ringInset:T.prop("--chakra-ring-inset")},he={margin:T.spaceT("margin"),marginTop:T.spaceT("marginTop"),marginBlockStart:T.spaceT("marginBlockStart"),marginRight:T.spaceT("marginRight"),marginInlineEnd:T.spaceT("marginInlineEnd"),marginBottom:T.spaceT("marginBottom"),marginBlockEnd:T.spaceT("marginBlockEnd"),marginLeft:T.spaceT("marginLeft"),marginInlineStart:T.spaceT("marginInlineStart"),marginX:T.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:T.spaceT("marginInline"),marginY:T.spaceT(["marginTop","marginBottom"]),marginBlock:T.spaceT("marginBlock"),padding:T.space("padding"),paddingTop:T.space("paddingTop"),paddingBlockStart:T.space("paddingBlockStart"),paddingRight:T.space("paddingRight"),paddingBottom:T.space("paddingBottom"),paddingBlockEnd:T.space("paddingBlockEnd"),paddingLeft:T.space("paddingLeft"),paddingInlineStart:T.space("paddingInlineStart"),paddingInlineEnd:T.space("paddingInlineEnd"),paddingX:T.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:T.space("paddingInline"),paddingY:T.space(["paddingTop","paddingBottom"]),paddingBlock:T.space("paddingBlock")};Object.assign(he,{m:he.margin,mt:he.marginTop,mr:he.marginRight,me:he.marginInlineEnd,marginEnd:he.marginInlineEnd,mb:he.marginBottom,ml:he.marginLeft,ms:he.marginInlineStart,marginStart:he.marginInlineStart,mx:he.marginX,my:he.marginY,p:he.padding,pt:he.paddingTop,py:he.paddingY,px:he.paddingX,pb:he.paddingBottom,pl:he.paddingLeft,ps:he.paddingInlineStart,paddingStart:he.paddingInlineStart,pr:he.paddingRight,pe:he.paddingInlineEnd,paddingEnd:he.paddingInlineEnd});var bP={textDecorationColor:T.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:T.shadows("textShadow")},xP={clipPath:!0,transform:T.propT("transform",ue.transform),transformOrigin:!0,translateX:T.spaceT("--chakra-translate-x"),translateY:T.spaceT("--chakra-translate-y"),skewX:T.degreeT("--chakra-skew-x"),skewY:T.degreeT("--chakra-skew-y"),scaleX:T.prop("--chakra-scale-x"),scaleY:T.prop("--chakra-scale-y"),scale:T.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:T.degreeT("--chakra-rotate")},wP={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:T.prop("transitionDuration","transition.duration"),transitionProperty:T.prop("transitionProperty","transition.property"),transitionTimingFunction:T.prop("transitionTimingFunction","transition.easing")},SP={fontFamily:T.prop("fontFamily","fonts"),fontSize:T.prop("fontSize","fontSizes",ue.px),fontWeight:T.prop("fontWeight","fontWeights"),lineHeight:T.prop("lineHeight","lineHeights"),letterSpacing:T.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},Sa={hover:e=>e+":hover &, "+e+"[data-hover] &",focus:e=>e+":focus &, "+e+"[data-focus] &",active:e=>e+":active &, "+e+"[data-active] &",disabled:e=>e+":disabled &, "+e+"[data-disabled] &",invalid:e=>e+":invalid &, "+e+"[data-invalid] &",checked:e=>e+":checked &, "+e+"[data-checked] &",indeterminate:e=>e+":indeterminate &, "+e+"[aria-checked=mixed] &, "+e+"[data-indeterminate] &",readOnly:e=>e+":read-only &, "+e+"[readonly] &, "+e+"[data-read-only] &",expanded:e=>e+":read-only &, "+e+"[aria-expanded=true] &, "+e+"[data-expanded] &"},Ea=e=>EP(e,"[role=group]","[data-group]",".group"),EP=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;ae in TP,OP=e=>t=>{if(!t.__breakpoints)return e;var{isResponsive:r,toArrayValue:n,media:a}=t.__breakpoints,o={};for(var i in e){var l=Ot(e[i],t);if(l!=null){if(l=kt(l)&&r(l)?n(l):l,!Array.isArray(l)){o[i]=l;continue}for(var s=l.slice(0,a.length).length,u=0;ue.startsWith("--")&&ws(t)&&!cg(t),AP=(e,t)=>{var r,n;if(t==null)return t;var a=u=>{var c,p;return(c=e.__cssMap)==null||(p=c[u])==null?void 0:p.varRef},o=u=>{var c;return(c=a(u))!=null?c:u},i=t.split(",").map(u=>u.trim()),[l,s]=i;return t=(r=(n=a(l))!=null?n:o(s))!=null?r:o(t),t};function RP(e){var{configs:t={},pseudos:r={},theme:n}=e,a=function o(i,l){l===void 0&&(l=!1);var s=Ot(i,n),u=OP(s)(n),c={};for(var p in u){var v,b,g,x,f,d=u[p],m=Ot(d,n);p in r&&(p=r[p]),_P(p,m)&&(m=AP(n,m));var w=t[p];if(w===!0&&(w={property:p}),kt(m)){var S;c[p]=(S=c[p])!=null?S:{},c[p]=Jt({},c[p],o(m,!0));continue}var P=(v=(b=w)==null||b.transform==null?void 0:b.transform(m,n,s))!=null?v:m;P=(g=w)!=null&&g.processResult?o(P,!0):P;var E=Ot((x=w)==null?void 0:x.property,n);if(!l&&(f=w)!=null&&f.static){var k=Ot(w.static,n);c=Jt({},c,k)}if(E&&Array.isArray(E)){for(var A of E)c[A]=P;continue}if(E){E==="&"&&kt(P)?c=Jt({},c,P):c[E]=P;continue}if(kt(P)){c=Jt({},c,P);continue}c[p]=P}return c};return a}var Ig=e=>t=>{var r=RP({theme:t,pseudos:Cd,configs:Td});return r(e)};function Bg(e){return kt(e)&&e.reference?e.reference:String(e)}var $s=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{var t=Bg(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):"-"+t:kd(t,-1)},kn=Object.assign(e=>({add:function(){for(var r=arguments.length,n=new Array(r),a=0;akn(Ng(e)),toString:()=>e.toString()}),{add:zg,subtract:Dg,multiply:kd,divide:Fg,negate:Ng});function MP(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Vg(e){var t=MP(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function LP(e,t){return t===void 0&&(t=""),[t,Vg(e)].filter(Boolean).join("-")}function jP(e,t){return"var("+Vg(e)+(t?", "+t:"")+")"}function $P(e,t){return t===void 0&&(t=""),"--"+LP(e,t)}function Wg(e,t,r){var n=$P(e,r);return{variable:n,reference:jP(n,t)}}function Od(){return Od=Object.assign||function(e){for(var t=1;t{var o,[i]=a,l=(o=_d[i])!=null?o:_d.defaultHandler,{cssVars:s,cssMap:u}=l(a,n,t);Object.assign(r.cssVars,s),Object.assign(r.cssMap,u)}),r}var _d={space:(e,t,r)=>{var n=_d.defaultHandler(e,t,r),[a,...o]=e,i=a+".-"+o.join("."),l=e.join("-"),{variable:s,reference:u}=Wg(l,void 0,r.cssVarPrefix),c=kn.negate(t),p=kn.negate(u);return{cssVars:n.cssVars,cssMap:Od({},n.cssMap,{[i]:{value:""+c,var:""+s,varRef:p}})}},defaultHandler:(e,t,r)=>{var n=e.join("."),a=e.join("-"),{variable:o,reference:i}=Wg(a,void 0,r.cssVarPrefix);return{cssVars:{[o]:t},cssMap:{[n]:{value:t,var:o,varRef:i}}}}};function BP(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var zP=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function DP(e){var t=zP;return fg(e,t)}function FP(e){var t=BP(e,["__cssMap","__cssVars","__breakpoints"]);return t}function Ad(){return Ad=Object.assign||function(e){for(var t=1;t{var{cssVarsRoot:t=":host, :root",theme:r,children:n}=e,a=h.exports.useMemo(()=>NP(r),[r]);return h.exports.createElement(XE,{theme:a},h.exports.createElement(nd,{styles:o=>({[t]:o.__cssVars})}),n)};function Ug(){var e=h.exports.useContext(Yo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}var[Kg,Qr]=Zo({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "}),YP=()=>{var{colorMode:e}=hd();return h.exports.createElement(nd,{styles:t=>{var r=Ss(t,"styles.global"),n=Ot(r,{theme:t,colorMode:e});if(!!n){var a=Ig(n)(t);return a}}})},GP=["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"];function br(e){return id(e,["styleConfig","size","variant","colorScheme"])}function Rd(){return Rd=Object.assign||function(e){for(var t=1;t96?qP:ZP},Xg=function(t,r,n){var a;if(r){var o=r.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},JP=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var l=Xg(t,r,n),s=l||Gg(a),u=!s("as");return function(){var c=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{p.push(c[0][0]);for(var v=c.length,b=1;brT.has(e)||!tT.has(e);function Qg(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var aT=e=>{var{baseStyle:t}=e;return r=>{var{css:n,__css:a,sx:o}=r,i=Qg(r,["theme","css","__css","sx"]),l=dg(i,(p,v)=>kP(v)),s=Ot(t,r),u=Object.assign({},a,s,ld(l),o),c=Ig(u)(r.theme);return n?[c,n]:c}};function oT(e,t){var r=t!=null?t:{},{baseStyle:n}=r,a=Qg(r,["baseStyle"]);a.shouldForwardProp||(a.shouldForwardProp=nT);var o=aT({baseStyle:n});return Md(e,a)(o)}var Z=oT;GP.forEach(e=>{Z[e]=Z(e)});function Le(e){return h.exports.forwardRef(e)}function iT(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function qr(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var{styleConfig:a}=t,o=iT(t,["styleConfig"]),{theme:i,colorMode:l}=Yg(),s=Ss(i,"components."+e),u=a||s,c=Jt({theme:i,colorMode:l},(n=u==null?void 0:u.defaultProps)!=null?n:{},ld(id(o,["children"]))),p=h.exports.useRef({});if(u){var v,b,g,x,f,d,m=Ot((v=u.baseStyle)!=null?v:{},c),w=Ot((b=(g=u.variants)==null?void 0:g[c.variant])!=null?b:{},c),S=Ot((x=(f=u.sizes)==null?void 0:f[c.size])!=null?x:{},c),P=Jt({},m,S,w);(d=r)!=null&&d.isMultiPart&&u.parts&&u.parts.forEach(k=>{var A;P[k]=(A=P[k])!=null?A:{}});var E=KP(p.current,P);E||(p.current=P)}return p.current}function qg(e,t){return qr(e,t,{isMultiPart:!0})}var lT={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}}},Zg=lT,Ca=()=>{},sT={document:Zg,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Ca,removeEventListener:Ca,getComputedStyle(){return{getPropertyValue(){return""}}},matchMedia(){return{matches:!1,addListener:Ca,removeListener:Ca}},requestAnimationFrame(e){return typeof setTimeout=="undefined"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout!="undefined"&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:Ca,setInterval:()=>0,clearInterval:Ca},uT=sT,Bs={exports:{}},ri={};/** @license React v17.0.2 + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cT=h.exports,Jg=60103;ri.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var ey=Symbol.for;Jg=ey("react.element"),ri.Fragment=ey("react.fragment")}var fT=cT.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dT=Object.prototype.hasOwnProperty,pT={key:!0,ref:!0,__self:!0,__source:!0};function ty(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)dT.call(t,n)&&!pT.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:Jg,type:e,key:o,ref:i,props:a,_owner:fT.current}}ri.jsx=ty;ri.jsxs=ty;Bs.exports=ri;const ry=Bs.exports.jsx,vT=Bs.exports.jsxs,wj=Bs.exports.Fragment;var mT={window:uT,document:Zg},ny=yr?{window,document}:mT,ay=h.exports.createContext(ny);function hT(){return h.exports.useContext(ay)}function gT(e){var{children:t,environment:r}=e,[n,a]=h.exports.useState(null),o=h.exports.useMemo(()=>{var l,s=n==null?void 0:n.ownerDocument,u=n==null?void 0:n.ownerDocument.defaultView,c=s?{document:s,window:u}:void 0,p=(l=r!=null?r:c)!=null?l:ny;return p},[n,r]),i=!n&&!r;return vT(ay.Provider,{value:o,children:[t,i&&ry("span",{ref:l=>{l&&a(l)}})]})}var yT=e=>{var{children:t,colorModeManager:r,portalZIndex:n,resetCSS:a=!0,theme:o={},environment:i,cssVarsRoot:l}=e,s=h.exports.createElement(gT,{environment:i},t);return h.exports.createElement(TC,null,h.exports.createElement(Hg,{theme:o,cssVarsRoot:l},h.exports.createElement(UC,{colorModeManager:r,options:o.config},a&&h.exports.createElement(ZE,null),h.exports.createElement(YP,null),n?h.exports.createElement(CC,{zIndex:n},s):s)))};function We(e,t){bT(e)&&(e="100%");var r=xT(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function zs(e){return Math.min(1,Math.max(0,e))}function bT(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function xT(e){return typeof e=="string"&&e.indexOf("%")!==-1}function oy(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ds(e){return e<=1?Number(e)*100+"%":e}function On(e){return e.length===1?"0"+e:String(e)}function wT(e,t,r){return{r:We(e,255)*255,g:We(t,255)*255,b:We(r,255)*255}}function iy(e,t,r){e=We(e,255),t=We(t,255),r=We(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=0,l=(n+a)/2;if(n===a)i=0,o=0;else{var s=n-a;switch(i=l>.5?s/(2-n-a):s/(n+a),n){case e:o=(t-r)/s+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ST(e,t,r){var n,a,o;if(e=We(e,360),t=We(t,100),r=We(r,100),t===0)a=r,o=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=Ld(l,i,e+1/3),a=Ld(l,i,e),o=Ld(l,i,e-1/3)}return{r:n*255,g:a*255,b:o*255}}function ly(e,t,r){e=We(e,255),t=We(t,255),r=We(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=n,l=n-a,s=n===0?0:l/n;if(n===a)o=0;else{switch(n){case e:o=(t-r)/l+(t>16,g:(e&65280)>>8,b:e&255}}var jd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function kT(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,l=!1;return typeof e=="string"&&(e=AT(e)),typeof e=="object"&&(xr(e.r)&&xr(e.g)&&xr(e.b)?(t=wT(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):xr(e.h)&&xr(e.s)&&xr(e.v)?(n=Ds(e.s),a=Ds(e.v),t=ET(e.h,n,a),i=!0,l="hsv"):xr(e.h)&&xr(e.s)&&xr(e.l)&&(n=Ds(e.s),o=Ds(e.l),t=ST(e.h,n,o),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=oy(r),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var OT="[-\\+]?\\d+%?",_T="[-\\+]?\\d*\\.\\d+%?",Zr="(?:"+_T+")|(?:"+OT+")",$d="[\\s|\\(]+("+Zr+")[,|\\s]+("+Zr+")[,|\\s]+("+Zr+")\\s*\\)?",Id="[\\s|\\(]+("+Zr+")[,|\\s]+("+Zr+")[,|\\s]+("+Zr+")[,|\\s]+("+Zr+")\\s*\\)?",It={CSS_UNIT:new RegExp(Zr),rgb:new RegExp("rgb"+$d),rgba:new RegExp("rgba"+Id),hsl:new RegExp("hsl"+$d),hsla:new RegExp("hsla"+Id),hsv:new RegExp("hsv"+$d),hsva:new RegExp("hsva"+Id),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function AT(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(jd[e])e=jd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=It.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=It.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=It.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=It.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=It.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=It.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=It.hex8.exec(e),r?{r:gt(r[1]),g:gt(r[2]),b:gt(r[3]),a:uy(r[4]),format:t?"name":"hex8"}:(r=It.hex6.exec(e),r?{r:gt(r[1]),g:gt(r[2]),b:gt(r[3]),format:t?"name":"hex"}:(r=It.hex4.exec(e),r?{r:gt(r[1]+r[1]),g:gt(r[2]+r[2]),b:gt(r[3]+r[3]),a:uy(r[4]+r[4]),format:t?"name":"hex8"}:(r=It.hex3.exec(e),r?{r:gt(r[1]+r[1]),g:gt(r[2]+r[2]),b:gt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function xr(e){return Boolean(It.CSS_UNIT.exec(String(e)))}var ni=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=TT(t)),this.originalInput=t;var a=kT(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,a,o=t.r/255,i=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=oy(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=ly(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=ly(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv("+r+", "+n+"%, "+a+"%)":"hsva("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=iy(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=iy(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl("+r+", "+n+"%, "+a+"%)":"hsla("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),sy(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),CT(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb("+t+", "+r+", "+n+")":"rgba("+t+", "+r+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(r){return Math.round(We(r,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(We(r,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+sy(this.r,this.g,this.b,!1),r=0,n=Object.entries(jd);r=0,o=!r&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=zs(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=zs(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=zs(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=zs(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),a=new e(t).toRgb(),o=r/100,i={r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),a=360/r,o=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,a=r.s,o=r.v,i=[],l=1/t;t--;)i.push(new e({h:n,s:a,v:o})),o=(o+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,a=[this],o=360/t,i=1;ir.length;)e.count=null,e.seed&&(e.seed+=1),r.push(cy(e));return e.count=t,r}var n=RT(e.hue,e.seed),a=MT(n,e),o=LT(n,a,e),i={h:n,s:a,v:o};return e.alpha!==void 0&&(i.a=e.alpha),new ni(i)}function RT(e,t){var r=$T(e),n=Fs(r,t);return n<0&&(n=360+n),n}function MT(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Fs([0,100],t.seed);var r=fy(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55;break}return Fs([n,a],t.seed)}function LT(e,t,r){var n=jT(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100;break}return Fs([n,a],r.seed)}function jT(e,t){for(var r=fy(e).lowerBounds,n=0;n=a&&t<=i){var s=(l-o)/(i-a),u=o-s*a;return s*t+u}}return 0}function $T(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=py.find(function(i){return i.name===e});if(r){var n=dy(r);if(n.hueRange)return n.hueRange}var a=new ni(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}function fy(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=py;t=a.hueRange[0]&&e<=a.hueRange[1])return a}throw Error("Color not found")}function Fs(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var a=t/233280;return Math.floor(n+a*(r-n))}function dy(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var py=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],$e=(e,t,r)=>{var n=Ss(e,"colors."+t,t),{isValid:a}=new ni(n);return a?n:r},IT=e=>t=>{var r=$e(t,e),n=new ni(r).isDark();return n?"dark":"light"},BT=e=>t=>IT(e)(t)==="dark",Pa=(e,t)=>r=>{var n=$e(r,e);return new ni(n).setAlpha(t).toRgbString()};function vy(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient( + 45deg, + `+t+` 25%, + transparent 25%, + transparent 50%, + `+t+` 50%, + `+t+` 75%, + transparent 75%, + transparent + )`,backgroundSize:e+" "+e}}function zT(e){var t=cy().toHexString();return!e||eC(e)?t:e.string&&e.colors?FT(e.string,e.colors):e.string&&!e.colors?DT(e.string):e.colors&&!e.string?NT(e.colors):t}function DT(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r>a*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function FT(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;nr.colorMode==="dark"?t:e}function ai(e){var{orientation:t,vertical:r,horizontal:n}=e;return t?t==="vertical"?r:n:{}}function Bd(){return Bd=Object.assign||function(e){for(var t=1;t(dC({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Bd({base:"0em"},e));function _n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class WT{constructor(t){var r=this;this.name=t,_n(this,"map",{}),_n(this,"called",!1),_n(this,"assert",()=>{if(!this.called){this.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}),_n(this,"parts",function(){r.assert();for(var n=arguments.length,a=new Array(n),o=0;o{var a=["container","root"].includes(n!=null?n:"")?[this.name]:[this.name,n],o=a.filter(Boolean).join("__"),i="chakra-"+o,l={className:i,selector:"."+i,toString:()=>n};return l}),_n(this,"__type",{})}get selectors(){var t=Object.fromEntries(Object.entries(this.map).map(r=>{var[n,a]=r;return[n,a.selector]}));return t}get classNames(){var t=Object.fromEntries(Object.entries(this.map).map(r=>{var[n,a]=r;return[n,a.className]}));return t}get keys(){return Object.keys(this.map)}}function fe(e){return new WT(e)}function my(e){return kt(e)&&e.reference?e.reference:String(e)}var Ns=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{var t=my(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):"-"+t:zd(t,-1)},wr=Object.assign(e=>({add:function(){for(var r=arguments.length,n=new Array(r),a=0;awr(by(e)),toString:()=>e.toString()}),{add:hy,subtract:gy,multiply:zd,divide:yy,negate:by});function HT(e){return!Number.isInteger(parseFloat(e.toString()))}function UT(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function xy(e){var t=UT(e.toString());return t.includes("\\.")?e:HT(e)?t.replace(".","\\."):e}function KT(e,t){return t===void 0&&(t=""),[t,xy(e)].filter(Boolean).join("-")}function YT(e,t){return"var("+xy(e)+(t?", "+t:"")+")"}function GT(e,t){return t===void 0&&(t=""),"--"+KT(e,t)}function yt(e,t){var r=GT(e,t==null?void 0:t.prefix);return{variable:r,reference:YT(r,XT(t==null?void 0:t.fallback))}}function XT(e){return typeof e=="string"?e:e==null?void 0:e.reference}var QT=fe("accordion").parts("container","item","button","panel").extend("icon"),qT=fe("alert").parts("title","description","container").extend("icon"),ZT=fe("avatar").parts("label","badge","container").extend("excessLabel","group"),JT=fe("breadcrumb").parts("link","item","container").extend("separator");fe("button").parts();var ek=fe("checkbox").parts("control","icon","container").extend("label");fe("progress").parts("track","filledTrack").extend("label");var tk=fe("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),rk=fe("editable").parts("preview","input"),nk=fe("form").parts("container","requiredIndicator","helperText"),ak=fe("formError").parts("text","icon"),ok=fe("input").parts("addon","field","element"),ik=fe("list").parts("container","item","icon"),lk=fe("menu").parts("button","list","item").extend("groupTitle","command","divider"),sk=fe("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),uk=fe("numberinput").parts("root","field","stepperGroup","stepper");fe("pininput").parts("field");var ck=fe("popover").parts("content","header","body","footer").extend("popper","arrow"),fk=fe("progress").parts("label","filledTrack","track"),dk=fe("radio").parts("container","control","label"),pk=fe("select").parts("field","icon"),vk=fe("slider").parts("container","track","thumb","filledTrack"),mk=fe("stat").parts("container","label","helpText","number","icon"),hk=fe("switch").parts("container","track","thumb"),gk=fe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),yk=fe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),bk=fe("tag").parts("container","label","closeButton"),xk={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},wk={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},Sk={pt:2,px:4,pb:5},Ek={fontSize:"1.25em"},Ck={container:xk,button:wk,panel:Sk,icon:Ek},Pk={parts:QT.keys,baseStyle:Ck},Tk={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function Dd(e){var{theme:t,colorScheme:r}=e,n=$e(t,r+".100",r),a=Pa(r+".200",.16)(t);return M(n,a)(e)}var kk=e=>{var{colorScheme:t}=e;return{container:{bg:Dd(e)},icon:{color:M(t+".500",t+".200")(e)}}},Ok=e=>{var{colorScheme:t}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:M(t+".500",t+".200")(e),bg:Dd(e)},icon:{color:M(t+".500",t+".200")(e)}}},_k=e=>{var{colorScheme:t}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:M(t+".500",t+".200")(e),bg:Dd(e)},icon:{color:M(t+".500",t+".200")(e)}}},Ak=e=>{var{colorScheme:t}=e;return{container:{bg:M(t+".500",t+".200")(e),color:M("white","gray.900")(e)}}},Rk={subtle:kk,"left-accent":Ok,"top-accent":_k,solid:Ak},Mk={variant:"subtle",colorScheme:"blue"},Lk={parts:qT.keys,baseStyle:Tk,variants:Rk,defaultProps:Mk},wy={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function Fd(){return Fd=Object.assign||function(e){for(var t=1;t({transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:M("white","gray.800")(e)}),zk=e=>({bg:M("gray.200","whiteAlpha.400")(e)}),Dk=e=>{var{name:t,theme:r}=e,n=t?zT({string:t}):"gray.400",a=BT(n)(r),o="white";a||(o="gray.800");var i=M("white","gray.800")(e);return{bg:n,color:o,borderColor:i,verticalAlign:"top"}},Fk=e=>({badge:Bk(e),excessLabel:zk(e),container:Dk(e)});function Jr(e){var t=Sy[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var Nk={"2xs":Jr("4"),xs:Jr("6"),sm:Jr("8"),md:Jr("12"),lg:Jr("16"),xl:Jr("24"),"2xl":Jr("32"),full:Jr("100%")},Vk={size:"md"},Wk={parts:ZT.keys,baseStyle:Fk,sizes:Nk,defaultProps:Vk},Hk={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},Uk=e=>{var{colorScheme:t,theme:r}=e,n=Pa(t+".500",.6)(r);return{bg:M(t+".500",n)(e),color:M("white","whiteAlpha.800")(e)}},Kk=e=>{var{colorScheme:t,theme:r}=e,n=Pa(t+".200",.16)(r);return{bg:M(t+".100",n)(e),color:M(t+".800",t+".200")(e)}},Yk=e=>{var{colorScheme:t,theme:r}=e,n=Pa(t+".200",.8)(r),a=$e(r,t+".500"),o=M(a,n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}},Gk={solid:Uk,subtle:Kk,outline:Yk},Xk={variant:"subtle",colorScheme:"gray"},oi={baseStyle:Hk,variants:Gk,defaultProps:Xk},Qk={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},qk={link:Qk},Zk={parts:JT.keys,baseStyle:qk};function Nd(){return Nd=Object.assign||function(e){for(var t=1;t{var{colorScheme:t,theme:r}=e;if(t==="gray")return{color:M("inherit","whiteAlpha.900")(e),_hover:{bg:M("gray.100","whiteAlpha.200")(e)},_active:{bg:M("gray.200","whiteAlpha.300")(e)}};var n=Pa(t+".200",.12)(r),a=Pa(t+".200",.24)(r);return{color:M(t+".600",t+".200")(e),bg:"transparent",_hover:{bg:M(t+".50",n)(e)},_active:{bg:M(t+".100",a)(e)}}},e5=e=>{var{colorScheme:t}=e,r=M("gray.200","whiteAlpha.300")(e);return Nd({border:"1px solid",borderColor:t==="gray"?r:"currentColor"},Ey(e))},t5={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},r5=e=>{var t,{colorScheme:r}=e;if(r==="gray"){var n=M("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:M("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:M("gray.300","whiteAlpha.400")(e)}}}var{bg:a=r+".500",color:o="white",hoverBg:i=r+".600",activeBg:l=r+".700"}=(t=t5[r])!=null?t:{},s=M(a,r+".200")(e);return{bg:s,color:M(o,"gray.800")(e),_hover:{bg:M(i,r+".300")(e),_disabled:{bg:s}},_active:{bg:M(l,r+".400")(e)}}},n5=e=>{var{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:M(t+".500",t+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:M(t+".700",t+".500")(e)}}},a5={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},o5={ghost:Ey,outline:e5,solid:r5,link:n5,unstyled:a5},i5={lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},l5={variant:"solid",size:"md",colorScheme:"gray"},s5={baseStyle:Jk,variants:o5,sizes:i5,defaultProps:l5},u5=e=>{var{colorScheme:t}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:M(t+".500",t+".200")(e),borderColor:M(t+".500",t+".200")(e),color:M("white","gray.900")(e),_hover:{bg:M(t+".600",t+".300")(e),borderColor:M(t+".600",t+".300")(e)},_disabled:{borderColor:M("gray.200","transparent")(e),bg:M("gray.200","whiteAlpha.300")(e),color:M("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:M(t+".500",t+".200")(e),borderColor:M(t+".500",t+".200")(e),color:M("white","gray.900")(e)},_disabled:{bg:M("gray.100","whiteAlpha.100")(e),borderColor:M("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:M("red.500","red.300")(e)}}},c5={userSelect:"none",_disabled:{opacity:.4}},f5={transitionProperty:"transform",transitionDuration:"normal"},d5=e=>({icon:f5,control:u5(e),label:c5}),p5={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},v5={size:"md",colorScheme:"blue"},Vd={parts:ek.keys,baseStyle:d5,sizes:p5,defaultProps:v5},ii=yt("close-button-size"),m5=e=>{var t=M("blackAlpha.100","whiteAlpha.100")(e),r=M("blackAlpha.200","whiteAlpha.200")(e);return{w:[ii.reference],h:[ii.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:t},_active:{bg:r},_focus:{boxShadow:"outline"}}},h5={lg:{[ii.variable]:"40px",fontSize:"16px"},md:{[ii.variable]:"32px",fontSize:"12px"},sm:{[ii.variable]:"24px",fontSize:"10px"}},g5={size:"md"},y5={baseStyle:m5,sizes:h5,defaultProps:g5},{variants:b5,defaultProps:x5}=oi,w5={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},S5={baseStyle:w5,variants:b5,defaultProps:x5},E5={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},C5={baseStyle:E5},P5={opacity:.6,borderColor:"inherit"},T5={borderStyle:"solid"},k5={borderStyle:"dashed"},O5={solid:T5,dashed:k5},_5={variant:"solid"},A5={baseStyle:P5,variants:O5,defaultProps:_5};function Wd(){return Wd=Object.assign||function(e){for(var t=1;t{var{isFullHeight:t}=e;return Wd({},t&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:M("white","gray.700")(e),color:"inherit",boxShadow:M("lg","dark-lg")(e)})},j5={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},$5={position:"absolute",top:2,insetEnd:3},I5={px:6,py:2,flex:1,overflow:"auto"},B5={px:6,py:4},z5=e=>({overlay:R5,dialogContainer:M5,dialog:L5(e),header:j5,closeButton:$5,body:I5,footer:B5}),D5={xs:Ta("xs"),sm:Ta("md"),md:Ta("lg"),lg:Ta("2xl"),xl:Ta("4xl"),full:Ta("full")},F5={size:"xs"},N5={parts:tk.keys,baseStyle:z5,sizes:D5,defaultProps:F5},V5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},W5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},H5={preview:V5,input:W5},U5={parts:rk.keys,baseStyle:H5},K5=e=>({marginStart:1,color:M("red.500","red.300")(e)}),Y5=e=>({mt:2,color:M("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}),G5=e=>({container:{width:"100%",position:"relative"},requiredIndicator:K5(e),helperText:Y5(e)}),X5={parts:nk.keys,baseStyle:G5},Q5={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},q5={baseStyle:Q5},Z5={fontFamily:"heading",fontWeight:"bold"},J5={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},eO={size:"xl"},tO={baseStyle:Z5,sizes:J5,defaultProps:eO},rO={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},en={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},nO={lg:{field:en.lg,addon:en.lg},md:{field:en.md,addon:en.md},sm:{field:en.sm,addon:en.sm},xs:{field:en.xs,addon:en.xs}};function Hd(e){var{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||M("blue.500","blue.300")(e),errorBorderColor:r||M("red.500","red.300")(e)}}var aO=e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Hd(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:M("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:$e(t,n),boxShadow:"0 0 0 1px "+$e(t,n)},_focus:{zIndex:1,borderColor:$e(t,r),boxShadow:"0 0 0 1px "+$e(t,r)}},addon:{border:"1px solid",borderColor:M("inherit","whiteAlpha.50")(e),bg:M("gray.100","whiteAlpha.300")(e)}}},oO=e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Hd(e);return{field:{border:"2px solid",borderColor:"transparent",bg:M("gray.100","whiteAlpha.50")(e),_hover:{bg:M("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:$e(t,n)},_focus:{bg:"transparent",borderColor:$e(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:M("gray.100","whiteAlpha.50")(e)}}},iO=e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Hd(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:$e(t,n),boxShadow:"0px 1px 0px 0px "+$e(t,n)},_focus:{borderColor:$e(t,r),boxShadow:"0px 1px 0px 0px "+$e(t,r)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},lO={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},sO={outline:aO,filled:oO,flushed:iO,unstyled:lO},uO={size:"md",variant:"outline"},xe={parts:ok.keys,baseStyle:rO,sizes:nO,variants:sO,defaultProps:uO},cO=e=>({bg:M("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),fO={baseStyle:cO},dO={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},pO={baseStyle:dO},vO={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},mO={container:{},item:{},icon:vO},hO={parts:ik.keys,baseStyle:mO},gO=e=>({bg:M("#fff","gray.700")(e),boxShadow:M("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}),yO=e=>({py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:M("gray.100","whiteAlpha.100")(e)},_active:{bg:M("gray.200","whiteAlpha.200")(e)},_expanded:{bg:M("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}),bO={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},xO={opacity:.6},wO={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},SO={transitionProperty:"common",transitionDuration:"normal"},EO=e=>({button:SO,list:gO(e),item:yO(e),groupTitle:bO,command:xO,divider:wO}),CO={parts:lk.keys,baseStyle:EO},PO={bg:"blackAlpha.600",zIndex:"modal"},TO=e=>{var{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:r==="inside"?"hidden":"auto"}},kO=e=>{var{scrollBehavior:t}=e;return{borderRadius:"md",bg:M("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:M("lg","dark-lg")(e)}},OO={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},_O={position:"absolute",top:2,insetEnd:3},AO=e=>{var{scrollBehavior:t}=e;return{px:6,py:2,flex:1,overflow:t==="inside"?"auto":void 0}},RO={px:6,py:4},MO=e=>({overlay:PO,dialogContainer:TO(e),dialog:kO(e),header:OO,closeButton:_O,body:AO(e),footer:RO});function Bt(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh",my:0}}:{dialog:{maxW:e}}}var LO={xs:Bt("xs"),sm:Bt("sm"),md:Bt("md"),lg:Bt("lg"),xl:Bt("xl"),"2xl":Bt("2xl"),"3xl":Bt("3xl"),"4xl":Bt("4xl"),"5xl":Bt("5xl"),"6xl":Bt("6xl"),full:Bt("full")},jO={size:"md"},$O={parts:sk.keys,baseStyle:MO,sizes:LO,defaultProps:jO},IO={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2","3":".75rem","4":"1rem","5":"1.25rem","6":"1.5rem","7":"1.75rem","8":"2rem","9":"2.25rem","10":"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},Cy=IO,Py,Ty;function Ud(){return Ud=Object.assign||function(e){for(var t=1;t({borderStart:"1px solid",borderStartColor:M("inherit","whiteAlpha.300")(e),color:M("inherit","whiteAlpha.800")(e),_active:{bg:M("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}),HO=e=>({root:FO,field:NO,stepperGroup:VO,stepper:WO(e)});function Vs(e){var t,r,n=xe.sizes[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",i=Cy.fontSizes[o.toString()];return{field:Ud({},n.field,{paddingInlineEnd:ky.reference,verticalAlign:"top"}),stepper:{fontSize:wr(i).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}}}var UO={xs:Vs("xs"),sm:Vs("sm"),md:Vs("md"),lg:Vs("lg")},KO={parts:uk.keys,baseStyle:HO,sizes:UO,variants:BO,defaultProps:zO},Oy;function Yd(){return Yd=Object.assign||function(e){for(var t=1;t{var t;return(t=xe.variants.outline(e).field)!=null?t:{}},flushed:e=>{var t;return(t=xe.variants.flushed(e).field)!=null?t:{}},filled:e=>{var t;return(t=xe.variants.filled(e).field)!=null?t:{}},unstyled:(Oy=xe.variants.unstyled.field)!=null?Oy:{}},QO=xe.defaultProps,qO={baseStyle:YO,sizes:GO,variants:XO,defaultProps:QO},Gd=yt("popper-bg"),ZO=yt("popper-arrow-bg"),JO=yt("popper-arrow-shadow-color"),e_={zIndex:10},t_=e=>{var t=M("white","gray.700")(e),r=M("gray.200","whiteAlpha.300")(e);return{[Gd.variable]:"colors."+t,bg:Gd.reference,[ZO.variable]:Gd.reference,[JO.variable]:"colors."+r,width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}},r_={px:3,py:2,borderBottomWidth:"1px"},n_={px:3,py:2},a_={px:3,py:2,borderTopWidth:"1px"},o_=e=>({popper:e_,content:t_(e),header:r_,body:n_,footer:a_,arrow:{}}),i_={parts:ck.keys,baseStyle:o_};function Ws(){return Ws=Object.assign||function(e){for(var t=1;t({bg:M("gray.100","whiteAlpha.300")(e)}),c_=e=>Ws({transitionProperty:"common",transitionDuration:"slow"},l_(e)),f_=e=>({label:s_,filledTrack:c_(e),track:u_(e)}),d_={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},p_={size:"md",colorScheme:"blue"},v_={parts:fk.keys,sizes:d_,baseStyle:f_,defaultProps:p_};function Hs(){return Hs=Object.assign||function(e){for(var t=1;t{var{control:t={}}=Vd.baseStyle(e);return Hs({},t,{borderRadius:"full",_checked:Hs({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},h_=e=>({label:Vd.baseStyle(e).label,control:m_(e)}),g_={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},y_={size:"md",colorScheme:"blue"},b_={parts:dk.keys,baseStyle:h_,sizes:g_,defaultProps:y_};function li(){return li=Object.assign||function(e){for(var t=1;tli({},xe.baseStyle.field,{bg:M("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:M("white","gray.700")(e)}}),w_={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},S_=e=>({field:x_(e),icon:w_}),E_=li({},xe.sizes,{xs:li({},xe.sizes.xs,{icon:{insetEnd:"0.25rem"}})}),C_={parts:pk.keys,baseStyle:S_,sizes:E_,variants:xe.variants,defaultProps:xe.defaultProps},P_=(e,t)=>ug({from:{borderColor:e,background:e},to:{borderColor:t,background:t}}),T_=e=>{var t=M("gray.100","gray.800")(e),r=M("gray.400","gray.600")(e),{startColor:n=t,endColor:a=r,speed:o,theme:i}=e,l=$e(i,n),s=$e(i,a);return{opacity:.7,borderRadius:"2px",borderColor:l,background:s,animation:o+"s linear infinite alternate "+P_(l,s)}},k_={baseStyle:T_},O_=e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:M("white","gray.700")(e)}}),__={baseStyle:O_};function Us(){return Us=Object.assign||function(e){for(var t=1;t{var{orientation:t}=e;return Us({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},ai({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}}))},M_=e=>({overflow:"hidden",borderRadius:"sm",bg:M("gray.200","whiteAlpha.200")(e),_disabled:{bg:M("gray.300","whiteAlpha.300")(e)}}),L_=e=>Us({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",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},A_(e)),j_=e=>{var{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:M(t+".500",t+".200")(e)}},$_=e=>({container:R_(e),track:M_(e),thumb:L_(e),filledTrack:j_(e)}),I_=e=>({thumb:{w:"16px",h:"16px"},track:ai({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),B_=e=>({thumb:{w:"14px",h:"14px"},track:ai({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),z_=e=>({thumb:{w:"10px",h:"10px"},track:ai({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}),D_={lg:I_,md:B_,sm:z_},F_={size:"md",colorScheme:"blue"},N_={parts:vk.keys,sizes:D_,baseStyle:$_,defaultProps:F_},An=yt("spinner-size"),V_={width:[An.reference],height:[An.reference]},W_={xs:{[An.variable]:"0.75rem"},sm:{[An.variable]:"1rem"},md:{[An.variable]:"1.5rem"},lg:{[An.variable]:"2rem"},xl:{[An.variable]:"3rem"}},H_={size:"md"},U_={baseStyle:V_,sizes:W_,defaultProps:H_},K_={fontWeight:"medium"},Y_={opacity:.8,marginBottom:2},G_={verticalAlign:"baseline",fontWeight:"semibold"},X_={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},Q_={container:{},label:K_,helpText:Y_,number:G_,icon:X_},q_={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},Z_={size:"md"},J_={parts:mk.keys,baseStyle:Q_,sizes:q_,defaultProps:Z_},si=yt("switch-track-width"),Rn=yt("switch-track-height"),Xd=yt("switch-track-diff"),eA=wr.subtract(si,Rn),Qd=yt("switch-thumb-x"),tA=e=>{var{colorScheme:t}=e;return{borderRadius:"full",p:"2px",width:[si.reference],height:[Rn.reference],transitionProperty:"common",transitionDuration:"fast",bg:M("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:M(t+".500",t+".200")(e)}}},rA={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Rn.reference],height:[Rn.reference],_checked:{transform:"translateX("+Qd.reference+")"}},nA=e=>({container:{[Xd.variable]:eA,[Qd.variable]:Xd.reference,_rtl:{[Qd.variable]:wr(Xd).negate().toString()}},track:tA(e),thumb:rA}),aA={sm:{container:{[si.variable]:"1.375rem",[Rn.variable]:"0.75rem"}},md:{container:{[si.variable]:"1.875rem",[Rn.variable]:"1rem"}},lg:{container:{[si.variable]:"2.875rem",[Rn.variable]:"1.5rem"}}},oA={size:"md",colorScheme:"blue"},iA={parts:hk.keys,baseStyle:nA,sizes:aA,defaultProps:oA};function ka(){return ka=Object.assign||function(e){for(var t=1;t{var{colorScheme:t}=e;return{th:ka({color:M("gray.600","gray.400")(e),borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ks),td:ka({borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ks),caption:{color:M("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},uA=e=>{var{colorScheme:t}=e;return{th:ka({color:M("gray.600","gray.400")(e),borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ks),td:ka({borderBottom:"1px",borderColor:M(t+".100",t+".700")(e)},Ks),caption:{color:M("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:M(t+".100",t+".700")(e)},td:{background:M(t+".100",t+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},cA={simple:sA,striped:uA,unstyled:{}},fA={sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},dA={variant:"simple",size:"md",colorScheme:"gray"},pA={parts:gk.keys,baseStyle:lA,variants:cA,sizes:fA,defaultProps:dA},vA=e=>{var{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},mA=e=>{var{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},hA=e=>{var{align:t="start",orientation:r}=e,n={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:n[t],flexDirection:r==="vertical"?"column":"row"}},gA={p:4},yA=e=>({root:vA(e),tab:mA(e),tablist:hA(e),tabpanel:gA}),bA={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},xA=e=>{var{colorScheme:t,orientation:r}=e,n=r==="vertical",a=r==="vertical"?"borderStart":"borderBottom",o=n?"marginStart":"marginBottom";return{tablist:{[a]:"2px solid",borderColor:"inherit"},tab:{[a]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{color:M(t+".600",t+".300")(e),borderColor:"currentColor"},_active:{bg:M("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},wA=e=>{var{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:M(t+".600",t+".300")(e),borderColor:"inherit",borderBottomColor:M("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},SA=e=>{var{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:M("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:M("#fff","gray.800")(e),color:M(t+".600",t+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},EA=e=>{var{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:$e(r,t+".700"),bg:$e(r,t+".100")}}}},CA=e=>{var{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:M("gray.600","inherit")(e),_selected:{color:M("#fff","gray.800")(e),bg:M(t+".600",t+".300")(e)}}}},PA={},TA={line:xA,enclosed:wA,"enclosed-colored":SA,"soft-rounded":EA,"solid-rounded":CA,unstyled:PA},kA={size:"md",variant:"line",colorScheme:"blue"},OA={parts:yk.keys,baseStyle:yA,sizes:bA,variants:TA,defaultProps:kA},_A={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},AA={lineHeight:1.2,overflow:"visible"},RA={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},MA={container:_A,label:AA,closeButton:RA},LA={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},jA={subtle:e=>({container:oi.variants.subtle(e)}),solid:e=>({container:oi.variants.solid(e)}),outline:e=>({container:oi.variants.outline(e)})},$A={size:"md",variant:"subtle",colorScheme:"gray"},IA={parts:bk.keys,variants:jA,baseStyle:MA,sizes:LA,defaultProps:$A},_y,Ay,Ry,My,Ly;function qd(){return qd=Object.assign||function(e){for(var t=1;t{var t;return(t=xe.variants.outline(e).field)!=null?t:{}},flushed:e=>{var t;return(t=xe.variants.flushed(e).field)!=null?t:{}},filled:e=>{var t;return(t=xe.variants.filled(e).field)!=null?t:{}},unstyled:(_y=xe.variants.unstyled.field)!=null?_y:{}},DA={xs:(Ay=xe.sizes.xs.field)!=null?Ay:{},sm:(Ry=xe.sizes.sm.field)!=null?Ry:{},md:(My=xe.sizes.md.field)!=null?My:{},lg:(Ly=xe.sizes.lg.field)!=null?Ly:{}},FA={size:"md",variant:"outline"},NA={baseStyle:BA,sizes:DA,variants:zA,defaultProps:FA},Zd=yt("tooltip-bg"),VA=yt("popper-arrow-bg"),WA=e=>{var t=M("gray.700","gray.300")(e);return{[Zd.variable]:"colors."+t,px:"8px",py:"2px",bg:[Zd.reference],[VA.variable]:[Zd.reference],color:M("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}},HA={baseStyle:WA},UA=e=>({color:M("red.500","red.300")(e),mt:2,fontSize:"sm"}),KA=e=>({marginEnd:"0.5em",color:M("red.500","red.300")(e)}),YA=e=>({text:UA(e),icon:KA(e)}),GA={parts:ak.keys,baseStyle:YA},XA={Accordion:Pk,Alert:Lk,Avatar:Wk,Badge:oi,Breadcrumb:Zk,Button:s5,Checkbox:Vd,CloseButton:y5,Code:S5,Container:C5,Divider:A5,Drawer:N5,Editable:U5,Form:X5,FormLabel:q5,Heading:tO,Input:xe,Kbd:fO,Link:pO,List:hO,Menu:CO,Modal:$O,NumberInput:KO,PinInput:qO,Popover:i_,Progress:v_,Radio:b_,Select:C_,Skeleton:k_,SkipLink:__,Slider:N_,Spinner:U_,Stat:J_,Switch:iA,Table:pA,Tabs:OA,Tag:IA,Textarea:NA,Tooltip:HA,FormError:GA},QA={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},qA=QA,ZA=VT({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),JA=ZA,e4={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},t4=e4,r4={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},n4=r4,a4={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},o4=a4,i4={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},l4={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},s4={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},u4={property:i4,easing:l4,duration:s4},c4=u4,f4={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},d4=f4,p4={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},v4=p4;function Jd(){return Jd=Object.assign||function(e){for(var t=1;t({body:{fontFamily:"body",color:M("gray.800","whiteAlpha.900")(e),bg:M("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:M("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:M("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})},y4=g4,b4=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function x4(e){return kt(e)?b4.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}function ep(){return ep=Object.assign||function(e){for(var t=1;t1?n=n.slice(0,n.length-1):a=tp,pC(...n.map(o=>i=>gr(o)?o(i):P4(i,o)))(a)}function P4(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}var $y={path:h.exports.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},h.exports.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),h.exports.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),h.exports.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Ys=Le((e,t)=>{var{as:r,viewBox:n,color:a="currentColor",focusable:o=!1,children:i,className:l,__css:s}=e,u=T4(e,["as","viewBox","color","focusable","children","className","__css"]),c=ut("chakra-icon",l),p=ui({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a},s),v={ref:t,focusable:o,className:c,__css:p},b=n!=null?n:$y.viewBox;if(r&&typeof r!="string")return h.exports.createElement(Z.svg,ui({as:r},v,u));var g=i!=null?i:$y.path;return h.exports.createElement(Z.svg,ui({verticalAlign:"middle",viewBox:b},v,u),g)});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var rp=function(e,t){return rp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},rp(e,t)};function Iy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");rp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var L=function(){return L=Object.assign||function(t){for(var r,n=1,a=arguments.length;n0)&&!(a=n.next()).done;)o.push(a.value)}catch(l){i={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function et(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n-1||/[A-Z]/.test(e))}var pi={};function K4(e){for(var t in e)pi[t]=e[t]}var Y4=["","X","Y","Z"],G4=["translate","scale","rotate","skew"],vi=["transformPerspective","x","y","z"];G4.forEach(function(e){return Y4.forEach(function(t){return vi.push(e+t)})});function X4(e,t){return vi.indexOf(e)-vi.indexOf(t)}var Q4=new Set(vi);function Zs(e){return Q4.has(e)}var q4=new Set(["originX","originY","originZ"]);function Ky(e){return q4.has(e)}function Yy(e,t){var r=t.layout,n=t.layoutId;return Zs(e)||Ky(e)||(r||n!==void 0)&&(!!pi[e]||e==="opacity")}var tn=function(e){return e!==null&&typeof e=="object"&&e.getVelocity},Z4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function J4(e,t,r,n){var a=e.transform,o=e.transformKeys,i=t.enableHardwareAcceleration,l=i===void 0?!0:i,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(X4);for(var p=!1,v=o.length,b=0;b5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}var up={test:lp("#"),parse:i3,transform:Ra.transform},tt={test:function(e){return Ra.test(e)||up.test(e)||Aa.test(e)},parse:function(e){return Ra.test(e)?Ra.parse(e):Aa.test(e)?Aa.parse(e):up.parse(e)},transform:function(e){return gi(e)?e:e.hasOwnProperty("red")?Ra.transform(e):Aa.transform(e)}},Zy="${c}",Jy="${n}";function l3(e){var t,r,n,a;return isNaN(e)&&gi(e)&&((r=(t=e.match(hi))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((a=(n=e.match(ip))===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)>0}function e1(e){var t=[],r=0,n=e.match(ip);n&&(r=n.length,e=e.replace(ip,Zy),t.push.apply(t,n.map(tt.parse)));var a=e.match(hi);return a&&(e=e.replace(hi,Jy),t.push.apply(t,a.map(Mn.parse))),{values:t,numColors:r,tokenised:e}}function t1(e){return e1(e).values}function r1(e){var t=e1(e),r=t.values,n=t.numColors,a=t.tokenised,o=r.length;return function(i){for(var l=a,s=0;s0?-1:1;return E*((m-w)*S)/P}):(u=function(x){var f=Math.exp(-x*r),d=(x-i)*r+1;return-wp+f*d},c=function(x){var f=Math.exp(-x*r),d=(i-x)*(r*r);return f*d});var v=5/r,b=J3(u,c,v);if(r=r*1e3,isNaN(b))return{stiffness:100,damping:10,duration:r};var g=Math.pow(b,2)*s;return{stiffness:g,damping:p*2*Math.sqrt(s*g),duration:r}}var Z3=12;function J3(e,t,r){for(var n=r,a=1;a=x;else{var E=m(S)*1e3,k=Math.abs(E)<=i,A=Math.abs(a-P)<=l;u.done=k&&A}return u.value=u.done?a:P,u},flipTarget:function(){var S;g=-g,S=[a,r],r=S[0],a=S[1],w()}}}Ep.needsInterpolation=function(e,t){return typeof e=="string"||typeof t=="string"};var O1=function(e){return 0},wi=function(e,t,r){var n=t-e;return n===0?1:(r-e)/n},ct=function(e,t,r){return-r*e+r*t+e},nR=function(e,t,r){var n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},aR=[up,Ra,Aa],_1=function(e){return aR.find(function(t){return t.test(e)})},A1=function(e,t){var r=_1(e),n=_1(t);ci(r.transform===n.transform);var a=r.parse(e),o=n.parse(t),i=L({},a),l=r===Aa?ct:nR;return function(s){for(var u in i)u!=="alpha"&&(i[u]=l(a[u],o[u],s));return i.alpha=ct(a.alpha,o.alpha,s),r.transform(i)}},Cp=function(e){return typeof e=="number"},oR=function(e,t){return function(r){return t(e(r))}},Si=function(){for(var e=[],t=0;t=e[n]&&(o=n-1,i=!0),!i){for(var l=1;la||l===n);l++);o=l-1}var s=wi(e[o],e[o+1],a);return t[o](s)}}function $1(e,t,r){var n=r===void 0?{}:r,a=n.clamp,o=a===void 0?!0:a,i=n.ease,l=n.mixer,s=e.length;ci(s===t.length),ci(!i||!Array.isArray(i)||i.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var u=uR(t,i,l),c=s===2?cR(e,u):fR(e,u);return o?function(p){return c(ru(e[0],e[s-1],p))}:c}var nu=function(e){return function(t){return 1-e(1-t)}},Pp=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},dR=function(e){return function(t){return Math.pow(t,e)}},I1=function(e){return function(t){return t*t*((e+1)*t-e)}},pR=function(e){var t=I1(e);return function(r){return(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))}},B1=1.525,vR=4/11,mR=8/11,hR=9/10,z1=function(e){return e},Tp=dR(2),gR=nu(Tp),D1=Pp(Tp),F1=function(e){return 1-Math.sin(Math.acos(e))},N1=nu(F1),yR=Pp(N1),kp=I1(B1),bR=nu(kp),xR=Pp(kp),wR=pR(B1),SR=4356/361,ER=35442/1805,CR=16061/1805,au=function(e){if(e===1||e===0)return e;var t=e*e;return e=s,u},flipTarget:function(){c.reverse(),b=v()}}}function AR(e){var t=e.velocity,r=t===void 0?0:t,n=e.from,a=n===void 0?0:n,o=e.power,i=o===void 0?.8:o,l=e.timeConstant,s=l===void 0?350:l,u=e.restDelta,c=u===void 0?.5:u,p=e.modifyTarget,v={done:!1,value:a},b=i*r,g=a+b,x=p===void 0?g:p(g);return x!==g&&(b=x-a),{next:function(f){var d=-b*Math.exp(-f/s);return v.done=!(d>c||d<-c),v.value=v.done?x:x+d,v},flipTarget:function(){}}}var V1={keyframes:ou,spring:Ep,decay:AR};function RR(e){if(Array.isArray(e.to))return ou;if(V1[e.type])return V1[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?ou:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ep:ou}function W1(e,t,r){return r===void 0&&(r=0),e-t-r}function MR(e,t,r,n){return r===void 0&&(r=0),n===void 0&&(n=!0),n?W1(t+-e,t,r):t-(e-t)+r}function LR(e,t,r,n){return n?e>=t+r:e<=-r}var jR=function(e){var t=function(r){var n=r.delta;return e(n)};return{start:function(){return er.update(t,!0)},stop:function(){return qo.update(t)}}};function H1(e){var t,r,n=e.from,a=e.autoplay,o=a===void 0?!0:a,i=e.driver,l=i===void 0?jR:i,s=e.elapsed,u=s===void 0?0:s,c=e.repeat,p=c===void 0?0:c,v=e.repeatType,b=v===void 0?"loop":v,g=e.repeatDelay,x=g===void 0?0:g,f=e.onPlay,d=e.onStop,m=e.onComplete,w=e.onRepeat,S=e.onUpdate,P=bt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),E=P.to,k,A=0,_=P.duration,R,D=!1,K=!0,W,Q=RR(P);((r=(t=Q).needsInterpolation)===null||r===void 0?void 0:r.call(t,n,E))&&(W=$1([0,100],[n,E],{clamp:!1}),n=0,E=100);var te=Q(L(L({},P),{from:n,to:E}));function U(){A++,b==="reverse"?(K=A%2==0,u=MR(u,_,x,K)):(u=W1(u,_,x),b==="mirror"&&te.flipTarget()),D=!1,w&&w()}function ie(){k.stop(),m&&m()}function de(Ee){if(K||(Ee=-Ee),u+=Ee,!D){var $=te.next(Math.max(0,u));R=$.value,W&&(R=W(R)),D=K?$.done:u<=0}S==null||S(R),D&&(A===0&&(_!=null||(_=u)),Ai}function k(U){return o===void 0?i:i===void 0||Math.abs(o-U)D||K===-1&&U0?r=i:t=i;while(Math.abs(o)>IR&&++l=FR?NR(l,v,e,r):b===0?v:zR(l,s,s+uu,e,r)}return function(l){return l===0||l===1?l:lu(i(l),t,n)}}function WR(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,o=e.visualElement,i=t||r||n||a,l=h.exports.useRef(!1),s=h.exports.useRef(null);function u(){var g;(g=s.current)===null||g===void 0||g.call(s),s.current=null}function c(){var g;return u(),l.current=!1,(g=o.animationState)===null||g===void 0||g.setActive(Te.Tap,!1),!C1()}function p(g,x){!c()||(T1(o.getInstance(),g.target)?t==null||t(g,x):n==null||n(g,x))}function v(g,x){!c()||n==null||n(g,x)}function b(g,x){var f;u(),!l.current&&(l.current=!0,s.current=Si(Ma(window,"pointerup",p),Ma(window,"pointercancel",v)),r==null||r(g,x),(f=o.animationState)===null||f===void 0||f.setActive(Te.Tap,!0))}tu(o,"pointerdown",i?b:void 0),xp(u)}var Ln=function(e){return function(t){return e(t),null}},HR={tap:Ln(WR),focus:Ln($3),hover:Ln(K3)};function Z1(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n-1&&e.splice(r,1)}var pu=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return ab(this.subscriptions,t),function(){return ob(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var a=this.subscriptions.length;if(!!a)if(a===1)this.subscriptions[0](t,r,n);else for(var o=0;om&&D,te=Array.isArray(R)?R:[R],U=te.reduce(o,{});K===!1&&(U={});var ie=_.prevResolvedValues,de=ie===void 0?{}:ie,ke=L(L({},de),U),Ee=function(Y){Q=!0,f.delete(Y),_.needsAnimating[Y]=!0};for(var $ in ke){var F=U[$],I=de[$];d.hasOwnProperty($)||(F!==I?xi(F)&&xi(I)?Z1(F,I)?_.protectedKeys[$]=!0:Ee($):F!==void 0?Ee($):f.add($):F!==void 0&&f.has($)?Ee($):_.protectedKeys[$]=!0)}_.prevProp=R,_.prevResolvedValues=U,_.isActive&&(d=L(L({},d),U)),a&&e.blockInitialAnimation&&(Q=!1),Q&&!W&&x.push.apply(x,et([],Se(te.map(function(Y){return{animation:Y,options:L({type:A},c)}}))))},S=0;S=3;if(!(!b&&!g)){var x=v.point,f=ks().timestamp;a.history.push(L(L({},x),{timestamp:f}));var d=a.handlers,m=d.onStart,w=d.onMove;b||(m&&m(a.lastMoveEvent,v),a.startEvent=a.lastMoveEvent),w&&w(a.lastMoveEvent,v)}}},this.handlePointerMove=function(v,b){if(a.lastMoveEvent=v,a.lastMoveEventInfo=$p(b,a.transformPagePoint),h1(v)&&v.buttons===0){a.handlePointerUp(v,b);return}er.update(a.updatePoint,!0)},this.handlePointerUp=function(v,b){a.end();var g=a.handlers,x=g.onEnd,f=g.onSessionEnd,d=Ip($p(b,a.transformPagePoint),a.history);a.startEvent&&x&&x(v,d),f&&f(v,d)},!(g1(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=i;var l=bp(t),s=$p(l,this.transformPagePoint),u=s.point,c=ks().timestamp;this.history=[L(L({},u),{timestamp:c})];var p=r.onSessionStart;p&&p(t,Ip(s,this.history)),this.removeListeners=Si(Ma(window,"pointermove",this.handlePointerMove),Ma(window,"pointerup",this.handlePointerUp),Ma(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),qo.update(this.updatePoint)},e}();function $p(e,t){return t?{point:t(e.point)}:e}function cb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ip(e,t){var r=e.point;return{point:r,delta:cb(r,fb(t)),offset:cb(r,C6(t)),velocity:P6(t,.1)}}function C6(e){return e[0]}function fb(e){return e[e.length-1]}function P6(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=fb(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>cu(t)));)r--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function T6(e){return e}function db(e){var t=e.top,r=e.left,n=e.right,a=e.bottom;return{x:{min:r,max:n},y:{min:t,max:a}}}function k6(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}function O6(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right;t===void 0&&(t=T6);var i=t({x:n,y:r}),l=t({x:o,y:a});return{top:i.y,left:i.x,bottom:l.y,right:l.x}}function nn(){return{x:{min:0,max:1},y:{min:0,max:1}}}function _6(e){return{x:L({},e.x),y:L({},e.y)}}var pb={translate:0,scale:1,origin:0,originPoint:0};function vb(){return{x:L({},pb),y:L({},pb)}}function ft(e){return[e("x"),e("y")]}function mb(e,t,r){var n=t.min,a=t.max;return n!==void 0&&ea&&(e=r?ct(a,e,r.max):Math.min(e,a)),e}function A6(e,t,r,n,a){var o=e-t*r;return n?mb(o,n,a):o}function hb(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function R6(e,t){var r=t.top,n=t.left,a=t.bottom,o=t.right;return{x:hb(e.x,n,o),y:hb(e.y,r,a)}}function gb(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.minn?r=wi(t.min,t.max-n,e.min):n>a&&(r=wi(e.min,e.max-a,t.min)),I6(r)}function Eb(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=ct(t.min,t.max,e.origin),e.scale=Ei(r)/Ei(t),Sb(e.scale,1,1e-4)&&(e.scale=1),e.translate=ct(r.min,r.max,e.origin)-e.originPoint,Sb(e.translate)&&(e.translate=0)}function Cb(e,t,r,n){Eb(e.x,t.x,r.x,Pb(n.originX)),Eb(e.y,t.y,r.y,Pb(n.originY))}function Pb(e){return typeof e=="number"?e:.5}function Tb(e,t,r){e.min=r.min+t.min,e.max=e.min+Ei(t)}function z6(e,t){Tb(e.target.x,e.relativeTarget.x,t.target.x),Tb(e.target.y,e.relativeTarget.y,t.target.y)}var Bp=function(e,t){return e.depth-t.depth};function kb(e){var t=e.projection.isEnabled;return t||e.shouldResetTransform()}function mu(e,t){t===void 0&&(t=[]);var r=e.parent;return r&&mu(r,t),kb(e)&&t.push(e),t}function D6(e){var t=[],r=function(n){kb(n)&&t.push(n),n.children.forEach(r)};return e.children.forEach(r),t.sort(Bp)}function hu(e){if(!e.shouldResetTransform()){var t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=_6(t.layout),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),er.update(function(){return e.rebaseProjectionTarget()})}}function F6(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function N6(e,t,r,n){e.min=ct(t.min,r.min,n),e.max=ct(t.max,r.max,n)}function Ob(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ja(e,t){return{x:Ob(e.x,t.x),y:Ob(e.y,t.y)}}function V6(e,t){var r=e.getLayoutId(),n=t.getLayoutId();return r!==n||n===void 0&&e!==t}function _b(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function Ab(e,t){e.min=t.min,e.max=t.max}function W6(e,t){Ab(e.x,t.x),Ab(e.y,t.y)}function gu(e,t,r){var n=e-r,a=t*n;return r+a}function Rb(e,t,r,n,a){return a!==void 0&&(e=gu(e,a,n)),gu(e,r,n)+t}function zp(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),e.min=Rb(e.min,t,r,n,a),e.max=Rb(e.max,t,r,n,a)}function H6(e,t){var r=t.x,n=t.y;zp(e.x,r.translate,r.scale,r.originPoint),zp(e.y,n.translate,n.scale,n.originPoint)}function Mb(e,t,r,n){var a=Se(n,3),o=a[0],i=a[1],l=a[2];e.min=t.min,e.max=t.max;var s=r[l]!==void 0?r[l]:.5,u=ct(t.min,t.max,s);zp(e,r[o],r[i],u,r.scale)}var Lb=["x","scaleX","originX"],jb=["y","scaleY","originY"];function Dp(e,t,r){Mb(e.x,t.x,r,Lb),Mb(e.y,t.y,r,jb)}function $b(e,t,r,n,a){return e-=t,e=gu(e,1/r,n),a!==void 0&&(e=gu(e,1/a,n)),e}function U6(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5);var o=ct(e.min,e.max,n)-t;e.min=$b(e.min,t,r,o,a),e.max=$b(e.max,t,r,o,a)}function Ib(e,t,r){var n=Se(r,3),a=n[0],o=n[1],i=n[2];U6(e,t[a],t[o],t[i],t.scale)}function Bb(e,t){Ib(e.x,t,Lb),Ib(e.y,t,jb)}function K6(e,t,r){var n=r.length;if(!!n){t.x=t.y=1;for(var a,o,i=0;it?r="y":Math.abs(e.x)>t&&(r="x"),r}function q6(e){var t=e.dragControls,r=e.visualElement,n=h.exports.useContext(Gs).transformPagePoint,a=fi(function(){return new X6({visualElement:r})});a.setProps(L(L({},e),{transformPagePoint:n})),h.exports.useEffect(function(){return t&&t.subscribe(a)},[a]),h.exports.useEffect(function(){return a.mount(r)},[])}function Z6(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,o=e.visualElement,i=t||r||n||a,l=h.exports.useRef(null),s=h.exports.useContext(Gs).transformPagePoint,u={onSessionStart:a,onStart:r,onMove:t,onEnd:function(p,v){l.current=null,n&&n(p,v)}};h.exports.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(p){l.current=new ub(p,u,{transformPagePoint:s})}tu(o,"pointerdown",i&&c),xp(function(){return l.current&&l.current.end()})}var J6={pan:Ln(Z6),drag:Ln(q6)},Pi;(function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"})(Pi||(Pi={}));var Vp;(function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"})(Vp||(Vp={}));function Wp(e){return typeof e=="string"&&e.startsWith("var(--")}var Nb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function eM(e){var t=Nb.exec(e);if(!t)return[,];var r=Se(t,3),n=r[1],a=r[2];return[n,a]}function Hp(e,t,r){var n=Se(eM(e),2),a=n[0],o=n[1];if(!!a){var i=window.getComputedStyle(t).getPropertyValue(a);return i?i.trim():Wp(o)?Hp(o,t):o}}function tM(e,t,r){var n,a=bt(t,[]),o=e.getInstance();if(!(o instanceof HTMLElement))return{target:a,transitionEnd:r};r&&(r=L({},r)),e.forEachValue(function(u){var c=u.get();if(!!Wp(c)){var p=Hp(c,o);p&&u.set(p)}});for(var i in a){var l=a[i];if(!!Wp(l)){var s=Hp(l,o);!s||(a[i]=s,r&&((n=r[i])!==null&&n!==void 0||(r[i]=l)))}}return{target:a,transitionEnd:r}}function Vb(e,t){return e/(t.max-t.min)*100}function rM(e,t,r){var n=r.target;if(typeof e=="string")if(X.test(e))e=parseFloat(e);else return e;var a=Vb(e,n.x),o=Vb(e,n.y);return a+"% "+o+"%"}var Wb="_$css";function nM(e,t){var r=t.delta,n=t.treeScale,a=e,o=e.includes("var("),i=[];o&&(e=e.replace(Nb,function(x){return i.push(x),Wb}));var l=Er.parse(e);if(l.length>5)return a;var s=Er.createTransformer(e),u=typeof l[0]!="number"?1:0,c=r.x.scale*n.x,p=r.y.scale*n.y;l[0+u]/=c,l[1+u]/=p;var v=ct(c,p,.5);typeof l[2+u]=="number"&&(l[2+u]/=v),typeof l[3+u]=="number"&&(l[3+u]/=v);var b=s(l);if(o){var g=0;b=b.replace(Wb,function(){var x=i[g];return g++,x})}return b}var Ti={process:rM},aM={borderRadius:L(L({},Ti),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Ti,borderTopRightRadius:Ti,borderBottomLeftRadius:Ti,borderBottomRightRadius:Ti,boxShadow:{process:nM}},Hb=1e3,oM=function(e){Iy(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.frameTarget=nn(),r.currentAnimationTarget=nn(),r.isAnimating={x:!1,y:!1},r.stopAxisAnimation={x:void 0,y:void 0},r.isAnimatingTree=!1,r.animate=function(n,a,o){o===void 0&&(o={});var i=o.originBox,l=o.targetBox,s=o.visibilityAction,u=o.shouldStackAnimate,c=o.onComplete,p=o.prevParent,v=bt(o,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),b=r.props,g=b.visualElement,x=b.layout;if(u===!1)return r.isAnimatingTree=!1,r.safeToRemove();if(!(r.isAnimatingTree&&u!==!0)){u&&(r.isAnimatingTree=!0),a=i||a,n=l||n;var f=!1,d=g.getProjectionParent();if(d){var m=d.prevViewportBox,w=d.getLayoutState().layout;p&&(l&&(w=p.getLayoutState().layout),i&&!V6(p,d)&&p.prevViewportBox&&(m=p.prevViewportBox)),m&&uM(p,i,l)&&(f=!0,a=ja(m,a),n=ja(w,n))}var S=lM(a,n),P=ft(function(E){var k,A;if(x==="position"){var _=n[E].max-n[E].min;a[E].max=a[E].min+_}if(!g.projection.isTargetLocked)if(s!==void 0)g.setVisibility(s===Vp.Show);else return S?r.animateAxis(E,n[E],a[E],L(L({},v),{isRelative:f})):((A=(k=r.stopAxisAnimation)[E])===null||A===void 0||A.call(k),g.setProjectionTargetAxis(E,n[E].min,n[E].max,f))});return g.syncRender(),Promise.all(P).then(function(){r.isAnimatingTree=!1,c&&c(),g.notifyLayoutAnimationComplete()})}},r}return t.prototype.componentDidMount=function(){var r=this,n=this.props.visualElement;n.animateMotionValue=du,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return r.safeToRemove()},K4(aM)},t.prototype.componentWillUnmount=function(){var r=this;this.unsubLayoutReady(),ft(function(n){var a,o;return(o=(a=r.stopAxisAnimation)[n])===null||o===void 0?void 0:o.call(a)})},t.prototype.animateAxis=function(r,n,a,o){var i=this,l,s,u=o===void 0?{}:o,c=u.transition,p=u.isRelative;if(!(this.isAnimating[r]&&ki(n,this.currentAnimationTarget[r]))){(s=(l=this.stopAxisAnimation)[r])===null||s===void 0||s.call(l),this.isAnimating[r]=!0;var v=this.props.visualElement,b=this.frameTarget[r],g=v.getProjectionAnimationProgress()[r];g.clearListeners(),g.set(0),g.set(0);var x=function(){var w=g.get()/Hb;N6(b,a,n,w),v.setProjectionTargetAxis(r,b.min,b.max,p)};x();var f=g.onChange(x);this.stopAxisAnimation[r]=function(){i.isAnimating[r]=!1,g.stop(),f()},this.currentAnimationTarget[r]=n;var d=c||v.getDefaultTransition()||sM,m=du(r==="x"?"layoutX":"layoutY",g,Hb,d&&Mp(d,"layout")).then(this.stopAxisAnimation[r]);return m}},t.prototype.safeToRemove=function(){var r,n;(n=(r=this.props).safeToRemove)===null||n===void 0||n.call(r)},t.prototype.render=function(){return null},t}(h.exports.Component);function iM(e){var t=Se(Dy(),2),r=t[1];return h.exports.createElement(oM,L({},e,{safeToRemove:r}))}function lM(e,t){return!Kb(e)&&!Kb(t)&&(!ki(e.x,t.x)||!ki(e.y,t.y))}var Ub={min:0,max:0};function Kb(e){return ki(e.x,Ub)&&ki(e.y,Ub)}function ki(e,t){return e.min===t.min&&e.max===t.max}var sM={duration:.45,ease:[.4,0,.1,1]};function uM(e,t,r){return e||!e&&!(t||r)}var cM={layoutReady:function(e){return e.notifyLayoutReady()}};function Yb(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=t===void 0?cM:t,n=r.layoutReady,a=r.parent;Fp(function(o,i){var l=Array.from(e).sort(Bp),s=a?mu(a):[];i(function(){var u=et(et([],Se(s)),Se(l));u.forEach(function(c){return c.resetTransform()})}),o(function(){l.forEach(hu)}),i(function(){s.forEach(function(u){return u.restoreTransform()}),l.forEach(n)}),o(function(){l.forEach(function(u){u.isPresent&&(u.presence=Pi.Present)})}),i(function(){wa.preRender(),wa.render()}),o(function(){er.postRender(function(){return l.forEach(fM)}),e.clear()})}),Np()}}}function fM(e){e.prevViewportBox=e.projection.target}var Gb=h.exports.createContext(Yb()),dM=h.exports.createContext(Yb());function In(e){return!!e.forceUpdate}var pM=function(e){Iy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this.props,n=r.syncLayout,a=r.framerSyncLayout,o=r.visualElement;In(n)&&n.register(o),In(a)&&a.register(o),o.onUnmount(function(){In(n)&&n.remove(o),In(a)&&a.remove(o)})},t.prototype.getSnapshotBeforeUpdate=function(){var r=this.props,n=r.syncLayout,a=r.visualElement;return In(n)?n.syncUpdate():(F6(a),n.add(a)),null},t.prototype.componentDidUpdate=function(){var r=this.props.syncLayout;In(r)||r.flush()},t.prototype.render=function(){return null},t}(_r.Component);function vM(e){var t=h.exports.useContext(Gb),r=h.exports.useContext(dM);return ry(pM,Rv({},L({},e,{syncLayout:t,framerSyncLayout:r})))}var mM={measureLayout:vM,layoutAnimation:iM},hM=function(){return{isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:nn(),targetFinal:nn()}};function Xb(){return{isHydrated:!1,layout:nn(),layoutCorrected:nn(),treeScale:{x:1,y:1},delta:vb(),deltaFinal:vb(),deltaTransform:""}}var Qb=Xb();function bu(e,t,r){var n=e.x,a=e.y,o=n.translate/t.x,i=a.translate/t.y,l="translate3d("+o+"px, "+i+"px, 0) ";if(r){var s=r.rotate,u=r.rotateX,c=r.rotateY;s&&(l+="rotate("+s+") "),u&&(l+="rotateX("+u+") "),c&&(l+="rotateY("+c+") ")}return l+="scale("+n.scale+", "+a.scale+")",!r&&l===gM?"":l}function qb(e){var t=e.deltaFinal;return t.x.origin*100+"% "+t.y.origin*100+"% 0"}var gM=bu(Qb.delta,Qb.treeScale,{x:1,y:1}),xu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function yM(){var e=xu.map(function(){return new pu}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){return xu.forEach(function(a){var o;(o=t[a])===null||o===void 0||o.call(t);var i="on"+a,l=n[i];l&&(t[a]=r[i](l))})}};return e.forEach(function(n,a){r["on"+xu[a]]=function(o){return n.add(o)},r["notify"+xu[a]]=function(){for(var o=[],i=0;i=0;z--){var ne=H.path[z];if(ne.projection.isEnabled){j=ne;break}}R=j}return R},resolveRelativeTargetBox:function(){var j=H.getProjectionParent();if(!(!_.relativeTarget||!j)&&(z6(_,j.projection),_b(j))){var z=_.target;Dp(z,z,j.getLatestValues())}},shouldResetTransform:function(){return Boolean(d._layoutResetTransform)},pointTo:function(j){D=j.projection,K=j.getLatestValues(),W==null||W(),W=Si(j.onSetAxisTarget(H.scheduleUpdateLayoutProjection),j.onLayoutAnimationComplete(function(){var z;H.isPresent?H.presence=Pi.Present:(z=H.layoutSafeToRemove)===null||z===void 0||z.call(H)}))},isPresent:!0,presence:Pi.Entering});return H}};function EM(e){e.resolveRelativeTargetBox()}function CM(e){e.updateLayoutProjection()}var Jb=et(["initial"],Se(jp)),PM=Jb.length,TM=new Set(["width","height","top","left","right","bottom","x","y"]),ex=function(e){return TM.has(e)},kM=function(e){return Object.keys(e).some(ex)},tx=function(e,t){e.set(t,!1),e.set(t)},rx=function(e){return e===Mn||e===X},nx;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(nx||(nx={}));var ax=function(e,t){return parseFloat(e.split(", ")[t])},ox=function(e,t){return function(r,n){var a=n.transform;if(a==="none"||!a)return 0;var o=a.match(/^matrix3d\((.+)\)$/);if(o)return ax(o[1],t);var i=a.match(/^matrix\((.+)\)$/);return i?ax(i[1],e):0}},OM=new Set(["x","y","z"]),_M=vi.filter(function(e){return!OM.has(e)});function AM(e){var t=[];return _M.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var ix={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:ox(4,13),y:ox(5,14)},RM=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),o=getComputedStyle(a),i=o.display,l=o.top,s=o.left,u=o.bottom,c=o.right,p=o.transform,v={top:l,left:s,bottom:u,right:c,transform:p};i==="none"&&t.setStaticValue("display",e.display||"block"),t.syncRender();var b=t.measureViewportBox();return r.forEach(function(g){var x=t.getValue(g);tx(x,ix[g](n,v)),e[g]=ix[g](b,o)}),e},MM=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=L({},t),n=L({},n);var a=Object.keys(t).filter(ex),o=[],i=!1,l=[];if(a.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var p=r[u],v=t[u],b=vu(p),g;if(xi(v))for(var x=v.length,f=v[0]===null?1:0;fh.exports.createElement(Ys,Oi({viewBox:"0 0 24 24"},e),h.exports.createElement("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"})),KM=e=>h.exports.createElement(Ys,Oi({viewBox:"0 0 24 24"},e),h.exports.createElement("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"})),fx=e=>h.exports.createElement(Ys,Oi({viewBox:"0 0 24 24"},e),h.exports.createElement("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"}));function Cr(){return Cr=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var dx={info:{icon:KM,colorScheme:"blue"},warning:{icon:fx,colorScheme:"orange"},success:{icon:UM,colorScheme:"green"},error:{icon:fx,colorScheme:"red"}},[GM,XM]=Zo({name:"AlertContext",errorMessage:"useAlertContext: `context` is undefined. Seems you forgot to wrap alert components in ``"}),QM=Le((e,t)=>{var r,n=br(e),{status:a="info"}=n,o=YM(n,["status"]),i=(r=e.colorScheme)!=null?r:dx[a].colorScheme,l=qg("Alert",Cr({},e,{colorScheme:i})),s=Cr({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},l.container);return h.exports.createElement(GM,{value:{status:a}},h.exports.createElement(Kg,{value:l},h.exports.createElement(Z.div,Cr({role:"alert",ref:t},o,{className:ut("chakra-alert",e.className),__css:s}))))}),qM=Le((e,t)=>{var r=Qr();return h.exports.createElement(Z.div,Cr({ref:t},e,{className:ut("chakra-alert__title",e.className),__css:r.title}))}),ZM=Le((e,t)=>{var r=Qr(),n=Cr({display:"inline"},r.description);return h.exports.createElement(Z.div,Cr({ref:t},e,{className:ut("chakra-alert__desc",e.className),__css:n}))}),JM=e=>{var{status:t}=XM(),{icon:r}=dx[t],n=Qr();return h.exports.createElement(Z.span,Cr({display:"inherit"},e,{className:ut("chakra-alert__icon",e.className),__css:n.icon}),h.exports.createElement(r,{w:"100%",h:"100%"}))},[Ej,eL]=Zo({strict:!1,name:"ButtonGroupContext"}),px={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},vx=Z("span",{baseStyle:px});Z("input",{baseStyle:px});function wu(){return wu=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var rL=ug({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),nL=Le((e,t)=>{var r=qr("Spinner",e),n=br(e),{label:a="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:l="transparent",className:s}=n,u=tL(n,["label","thickness","speed","emptyColor","className"]),c=ut("chakra-spinner",s),p=wu({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:l,borderLeftColor:l,animation:rL+" "+i+" linear infinite"},r);return h.exports.createElement(Z.div,wu({ref:t,__css:p,className:c},u),a&&h.exports.createElement(vx,null,a))});function Su(){return Su=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var mx=e=>{var{label:t,placement:r,children:n=h.exports.createElement(nL,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:o}=e,i=aL(e,["label","placement","spacing","children","className","__css"]),l=ut("chakra-button__spinner",a),s=r==="start"?"marginEnd":"marginStart",u=h.exports.useMemo(()=>Su({display:"flex",alignItems:"center",position:t?"relative":"absolute",[s]:t?"0.5rem":0,fontSize:"1em",lineHeight:"normal"},o),[o,t,s]);return h.exports.createElement(Z.div,Su({className:l},i,{__css:u}),n)};function Kp(){return Kp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var hx=e=>{var{children:t,className:r}=e,n=oL(e,["children","className"]),a=h.exports.isValidElement(t)?h.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=ut("chakra-button__icon",r);return h.exports.createElement(Z.span,Kp({display:"inline-flex",alignSelf:"center",flexShrink:0},n,{className:o}),a)};function iL(e){var[t,r]=h.exports.useState(!e),n=h.exports.useCallback(o=>{!o||r(o.tagName==="BUTTON")},[]),a=t?"button":void 0;return{ref:n,type:a}}function lL(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function _i(){return _i=Object.assign||function(e){for(var t=1;t{var r=eL(),n=qr("Button",_i({},r,e)),a=br(e),{isDisabled:o=r==null?void 0:r.isDisabled,isLoading:i,isActive:l,isFullWidth:s,children:u,leftIcon:c,rightIcon:p,loadingText:v,iconSpacing:b="0.5rem",type:g,spinner:x,spinnerPlacement:f="start",className:d,as:m}=a,w=lL(a,["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"]),S=h.exports.useMemo(()=>{var A,_=Jt({},(A=n==null?void 0:n._focus)!=null?A:{},{zIndex:1});return _i({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:s?"100%":"auto"},n,!!r&&{_focus:_})},[n,r,s]),{ref:P,type:E}=iL(m),k={rightIcon:p,leftIcon:c,iconSpacing:b,children:u};return h.exports.createElement(Z.button,_i({disabled:o||i,ref:AC(t,P),as:m,type:g!=null?g:E,"data-active":mg(l),"data-loading":mg(i),__css:S,className:ut("chakra-button",d)},w),i&&f==="start"&&h.exports.createElement(mx,{className:"chakra-button__spinner--start",label:v,placement:"start"},x),i?v||h.exports.createElement(Z.span,{opacity:0},h.exports.createElement(gx,k)):h.exports.createElement(gx,k),i&&f==="end"&&h.exports.createElement(mx,{className:"chakra-button__spinner--end",label:v,placement:"end"},x))});function gx(e){var{leftIcon:t,rightIcon:r,children:n,iconSpacing:a}=e;return h.exports.createElement(h.exports.Fragment,null,t&&h.exports.createElement(hx,{marginEnd:a},t),n,r&&h.exports.createElement(hx,{marginStart:a},r))}function Yp(){return Yp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Cj=Le((e,t)=>{var{icon:r,children:n,isRound:a,"aria-label":o}=e,i=uL(e,["icon","children","isRound","aria-label"]),l=r||n,s=h.exports.isValidElement(l)?h.exports.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null;return h.exports.createElement(sL,Yp({padding:"0",borderRadius:a?"full":void 0,ref:t,"aria-label":o},i),s)});function cL(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function Ai(){return Ai=Object.assign||function(e){for(var t=1;th.exports.createElement(Ys,Ai({focusable:"false","aria-hidden":!0},e),h.exports.createElement("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"})),dL=Le((e,t)=>{var r=qr("CloseButton",e),n=br(e),{children:a,isDisabled:o,__css:i}=n,l=cL(n,["children","isDisabled","__css"]),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return h.exports.createElement(Z.button,Ai({type:"button","aria-label":"Close",ref:t,disabled:o,__css:Ai({},s,r,i)},l),a||h.exports.createElement(fL,{width:"1em",height:"1em"}))}),Pj=Z("div"),Tj=Z("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});function Eu(){return Eu=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var kj=Le((e,t)=>{var r=br(e),{className:n,centerContent:a}=r,o=pL(r,["className","centerContent"]),i=qr("Container",e);return h.exports.createElement(Z.div,Eu({ref:t,className:ut("chakra-container",n)},o,{__css:Eu({},i,a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))});function Gp(){return Gp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Oj=Le((e,t)=>{var{direction:r,align:n,justify:a,wrap:o,basis:i,grow:l,shrink:s}=e,u=vL(e,["direction","align","justify","wrap","basis","grow","shrink"]),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:o,flexBasis:i,flexGrow:l,flexShrink:s};return h.exports.createElement(Z.div,Gp({ref:t,__css:c},u))});function Xp(){return Xp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var _j=Le((e,t)=>{var r=qr("Heading",e),n=br(e),a=mL(n,["className"]);return h.exports.createElement(Z.h2,Xp({ref:t,className:ut("chakra-heading",e.className)},a,{__css:r}))}),Qp="& > *:not(style) ~ *:not(style)";function hL(e){var{spacing:t,direction:r}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:r,[Qp]:bg(r,a=>n[a])}}function gL(e){var{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":bg(r,a=>n[a])}}function yL(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function Ri(){return Ri=Object.assign||function(e){for(var t=1;th.exports.createElement(Z.div,Ri({className:"chakra-stack__item"},e,{__css:Ri({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)})),Aj=Le((e,t)=>{var{isInline:r,direction:n,align:a,justify:o,spacing:i="0.5rem",wrap:l,children:s,divider:u,className:c,shouldWrapChildren:p}=e,v=yL(e,["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"]),b=r?"row":n!=null?n:"column",g=h.exports.useMemo(()=>hL({direction:b,spacing:i}),[b,i]),x=h.exports.useMemo(()=>gL({spacing:i,direction:b}),[i,b]),f=!!u,d=!p&&!f,m=wC(s),w=d?m:m.map((P,E)=>{var k=typeof P.key!="undefined"?P.key:E,A=E+1===m.length,_=h.exports.createElement(bL,{key:k},P),R=p?_:P;if(!f)return R;var D=h.exports.cloneElement(u,{__css:x}),K=A?null:D;return h.exports.createElement(h.exports.Fragment,{key:k},R,K)}),S=ut("chakra-stack",c);return h.exports.createElement(Z.div,Ri({ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:g.flexDirection,flexWrap:l,className:S,__css:f?{}:{[Qp]:g[Qp]}},v),w)});function qp(){return qp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Rj=Le((e,t)=>{var r=qr("Text",e),n=br(e),a=xL(n,["className","align","decoration","casing"]),o=ld({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return h.exports.createElement(Z.p,qp({ref:t,className:ut("chakra-text",e.className)},o,a,{__css:r}))}),wL=yr?h.exports.useLayoutEffect:h.exports.useEffect;function Mj(e){var t=hT(),r=Array.isArray(e)?e:[e],n=yr&&"matchMedia"in t.window,[a,o]=h.exports.useState(r.map(i=>n?!!t.window.matchMedia(i).matches:!1));return wL(()=>{if(!!n){var i=r.map(s=>t.window.matchMedia(s)),l=i.map((s,u)=>{var c=()=>o(p=>p.map((v,b)=>u===b?!!s.matches:v));return s.addListener(c),c});return()=>{i.forEach((s,u)=>{s.removeListener(l[u])})}}},[e]),a}function an(){return an=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Lj=Le((e,t)=>{var r=qg("Table",e),n=br(e),{className:a}=n,o=Zp(n,["className"]);return h.exports.createElement(Kg,{value:r},h.exports.createElement(Z.table,an({role:"table",ref:t,__css:r.table,className:ut("chakra-table",a)},o)))}),jj=Le((e,t)=>{var r=Qr();return h.exports.createElement(Z.thead,an({},e,{ref:t,__css:r.thead}))}),$j=Le((e,t)=>{var r=Qr();return h.exports.createElement(Z.tbody,an({},e,{ref:t,__css:r.tbody}))}),Ij=Le((e,t)=>{var{isNumeric:r}=e,n=Zp(e,["isNumeric"]),a=Qr();return h.exports.createElement(Z.th,an({},n,{ref:t,__css:a.th,"data-is-numeric":r}))}),Bj=Le((e,t)=>{var r=Qr();return h.exports.createElement(Z.tr,an({role:"row"},e,{ref:t,__css:r.tr}))}),zj=Le((e,t)=>{var{isNumeric:r}=e,n=Zp(e,["isNumeric"]),a=Qr();return h.exports.createElement(Z.td,an({role:"gridcell"},n,{ref:t,__css:a.td,"data-is-numeric":r}))});function Mi(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function rr(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView:window}return e}function Jp(e){var t=rr(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Li(e){var t=rr(e).Element;return e instanceof t||e instanceof Element}function nr(e){var t=rr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function SL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function EL(e){return e===rr(e)||!nr(e)?Jp(e):SL(e)}function Dt(e){return e?(e.nodeName||"").toLowerCase():null}function Pr(e){return(Li(e)?e.ownerDocument:e.document).documentElement}function ev(e){return Mi(Pr(e)).left+Jp(e).scrollLeft}function Tr(e){return rr(e).getComputedStyle(e)}function tv(e){var t=Tr(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function CL(e,t,r){r===void 0&&(r=!1);var n=Pr(t),a=Mi(e),o=nr(t),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((Dt(t)!=="body"||tv(n))&&(i=EL(t)),nr(t)?(l=Mi(t),l.x+=t.clientLeft,l.y+=t.clientTop):n&&(l.x=ev(n))),{x:a.left+i.scrollLeft-l.x,y:a.top+i.scrollTop-l.y,width:a.width,height:a.height}}function rv(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Cu(e){return Dt(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||Pr(e)}function yx(e){return["html","body","#document"].indexOf(Dt(e))>=0?e.ownerDocument.body:nr(e)&&tv(e)?e:yx(Cu(e))}function ji(e,t){t===void 0&&(t=[]);var r=yx(e),n=Dt(r)==="body",a=rr(r),o=n?[a].concat(a.visualViewport||[],tv(r)?r:[]):r,i=t.concat(o);return n?i:i.concat(ji(Cu(o)))}function PL(e){return["table","td","th"].indexOf(Dt(e))>=0}function bx(e){if(!nr(e)||Tr(e).position==="fixed")return null;var t=e.offsetParent;if(t){var r=Pr(t);if(Dt(t)==="body"&&Tr(t).position==="static"&&Tr(r).position!=="static")return r}return t}function TL(e){for(var t=Cu(e);nr(t)&&["html","body"].indexOf(Dt(t))<0;){var r=Tr(t);if(r.transform!=="none"||r.perspective!=="none"||r.willChange&&r.willChange!=="auto")return t;t=t.parentNode}return null}function $i(e){for(var t=rr(e),r=bx(e);r&&PL(r)&&Tr(r).position==="static";)r=bx(r);return r&&Dt(r)==="body"&&Tr(r).position==="static"?t:r||TL(e)||t}var At="top",Ft="bottom",Nt="right",Rt="left",nv="auto",Ii=[At,Ft,Nt,Rt],Ia="start",av="end",kL="clippingParents",xx="viewport",Bi="popper",OL="reference",wx=Ii.reduce(function(e,t){return e.concat([t+"-"+Ia,t+"-"+av])},[]),Sx=[].concat(Ii,[nv]).reduce(function(e,t){return e.concat([t,t+"-"+Ia,t+"-"+av])},[]),_L="beforeRead",AL="read",RL="afterRead",ML="beforeMain",LL="main",jL="afterMain",$L="beforeWrite",IL="write",BL="afterWrite",zL=[_L,AL,RL,ML,LL,jL,$L,IL,BL];function DL(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function FL(e){var t=DL(e);return zL.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function NL(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function ar(e){return e.split("-")[0]}function VL(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign(Object.assign(Object.assign({},a),n),{},{options:Object.assign(Object.assign({},a.options),n.options),data:Object.assign(Object.assign({},a.data),n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}function WL(e){var t=rr(e),r=Pr(e),n=t.visualViewport,a=r.clientWidth,o=r.clientHeight,i=0,l=0;return n&&(a=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,l=n.offsetTop)),{width:a,height:o,x:i+ev(e),y:l}}function HL(e){var t=Pr(e),r=Jp(e),n=e.ownerDocument.body,a=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-r.scrollLeft+ev(e),l=-r.scrollTop;return Tr(n||t).direction==="rtl"&&(i+=Math.max(t.clientWidth,n?n.clientWidth:0)-a),{width:a,height:o,x:i,y:l}}function Ex(e,t){var r=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(r){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ov(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function UL(e){var t=Mi(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Cx(e,t){return t===xx?ov(WL(e)):nr(t)?UL(t):ov(HL(Pr(e)))}function KL(e){var t=ji(Cu(e)),r=["absolute","fixed"].indexOf(Tr(e).position)>=0,n=r&&nr(e)?$i(e):e;return Li(n)?t.filter(function(a){return Li(a)&&Ex(a,n)&&Dt(a)!=="body"}):[]}function YL(e,t,r){var n=t==="clippingParents"?KL(e):[].concat(t),a=[].concat(n,[r]),o=a[0],i=a.reduce(function(l,s){var u=Cx(e,s);return l.top=Math.max(u.top,l.top),l.right=Math.min(u.right,l.right),l.bottom=Math.min(u.bottom,l.bottom),l.left=Math.max(u.left,l.left),l},Cx(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function zi(e){return e.split("-")[1]}function iv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Px(e){var t=e.reference,r=e.element,n=e.placement,a=n?ar(n):null,o=n?zi(n):null,i=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(a){case At:s={x:i,y:t.y-r.height};break;case Ft:s={x:i,y:t.y+t.height};break;case Nt:s={x:t.x+t.width,y:l};break;case Rt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=a?iv(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case Ia:s[u]=Math.floor(s[u])-Math.floor(t[c]/2-r[c]/2);break;case av:s[u]=Math.floor(s[u])+Math.ceil(t[c]/2-r[c]/2);break}}return s}function Tx(){return{top:0,right:0,bottom:0,left:0}}function kx(e){return Object.assign(Object.assign({},Tx()),e)}function Ox(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}function Di(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.boundary,i=o===void 0?kL:o,l=r.rootBoundary,s=l===void 0?xx:l,u=r.elementContext,c=u===void 0?Bi:u,p=r.altBoundary,v=p===void 0?!1:p,b=r.padding,g=b===void 0?0:b,x=kx(typeof g!="number"?g:Ox(g,Ii)),f=c===Bi?OL:Bi,d=e.elements.reference,m=e.rects.popper,w=e.elements[v?f:c],S=YL(Li(w)?w:w.contextElement||Pr(e.elements.popper),i,s),P=Mi(d),E=Px({reference:P,element:m,strategy:"absolute",placement:a}),k=ov(Object.assign(Object.assign({},m),E)),A=c===Bi?k:P,_={top:S.top-A.top+x.top,bottom:A.bottom-S.bottom+x.bottom,left:S.left-A.left+x.left,right:A.right-S.right+x.right},R=e.modifiersData.offset;if(c===Bi&&R){var D=R[a];Object.keys(_).forEach(function(K){var W=[Nt,Ft].indexOf(K)>=0?1:-1,Q=[At,Ft].indexOf(K)>=0?"y":"x";_[K]+=D[Q]*W})}return _}var _x={placement:"bottom",modifiers:[],strategy:"absolute"};function Ax(){for(var e=arguments.length,t=new Array(e),r=0;r=0?-1:1,o=typeof r=="function"?r(Object.assign(Object.assign({},t),{},{placement:e})):r,i=o[0],l=o[1];return i=i||0,l=(l||0)*a,[Rt,Nt].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}function l8(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Sx.reduce(function(c,p){return c[p]=i8(p,t.rects,o),c},{}),l=i[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=i}var s8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:l8},u8={left:"right",right:"left",bottom:"top",top:"bottom"};function Tu(e){return e.replace(/left|right|bottom|top/g,function(t){return u8[t]})}var c8={start:"end",end:"start"};function Mx(e){return e.replace(/start|end/g,function(t){return c8[t]})}function f8(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?Sx:s,c=zi(n),p=c?l?wx:wx.filter(function(g){return zi(g)===c}):Ii,v=p.filter(function(g){return u.indexOf(g)>=0});v.length===0&&(v=p);var b=v.reduce(function(g,x){return g[x]=Di(e,{placement:x,boundary:a,rootBoundary:o,padding:i})[ar(x)],g},{});return Object.keys(b).sort(function(g,x){return b[g]-b[x]})}function d8(e){if(ar(e)===nv)return[];var t=Tu(e);return[Mx(e),t,Mx(t)]}function p8(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,l=i===void 0?!0:i,s=r.fallbackPlacements,u=r.padding,c=r.boundary,p=r.rootBoundary,v=r.altBoundary,b=r.flipVariations,g=b===void 0?!0:b,x=r.allowedAutoPlacements,f=t.options.placement,d=ar(f),m=d===f,w=s||(m||!g?[Tu(f)]:d8(f)),S=[f].concat(w).reduce(function(Y,q){return Y.concat(ar(q)===nv?f8(t,{placement:q,boundary:c,rootBoundary:p,padding:u,flipVariations:g,allowedAutoPlacements:x}):q)},[]),P=t.rects.reference,E=t.rects.popper,k=new Map,A=!0,_=S[0],R=0;R=0,te=Q?"width":"height",U=Di(t,{placement:D,boundary:c,rootBoundary:p,altBoundary:v,padding:u}),ie=Q?W?Nt:Rt:W?Ft:At;P[te]>E[te]&&(ie=Tu(ie));var de=Tu(ie),ke=[];if(o&&ke.push(U[K]<=0),l&&ke.push(U[ie]<=0,U[de]<=0),ke.every(function(Y){return Y})){_=D,A=!1;break}k.set(D,ke)}if(A)for(var Ee=g?3:1,$=function(q){var Ae=S.find(function(Ue){var Re=k.get(Ue);if(Re)return Re.slice(0,q).every(function(Ke){return Ke})});if(Ae)return _=Ae,"break"},F=Ee;F>0;F--){var I=$(F);if(I==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var v8={name:"flip",enabled:!0,phase:"main",fn:p8,requiresIfExists:["offset"],data:{_skip:!1}};function m8(e){return e==="x"?"y":"x"}function ku(e,t,r){return Math.max(e,Math.min(t,r))}function h8(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,l=i===void 0?!1:i,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,p=r.padding,v=r.tether,b=v===void 0?!0:v,g=r.tetherOffset,x=g===void 0?0:g,f=Di(t,{boundary:s,rootBoundary:u,padding:p,altBoundary:c}),d=ar(t.placement),m=zi(t.placement),w=!m,S=iv(d),P=m8(S),E=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof x=="function"?x(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):x,R={x:0,y:0};if(!!E){if(o){var D=S==="y"?At:Rt,K=S==="y"?Ft:Nt,W=S==="y"?"height":"width",Q=E[S],te=E[S]+f[D],U=E[S]-f[K],ie=b?-A[W]/2:0,de=m===Ia?k[W]:A[W],ke=m===Ia?-A[W]:-k[W],Ee=t.elements.arrow,$=b&&Ee?rv(Ee):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Tx(),I=F[D],Y=F[K],q=ku(0,k[W],$[W]),Ae=w?k[W]/2-ie-q-I-_:de-q-I-_,Ue=w?-k[W]/2+ie+q+Y+_:ke+q+Y+_,Re=t.elements.arrow&&$i(t.elements.arrow),Ke=Re?S==="y"?Re.clientTop||0:Re.clientLeft||0:0,Wt=t.modifiersData.offset?t.modifiersData.offset[t.placement][S]:0,ln=E[S]+Ae-Wt-Ke,sn=E[S]+Ue-Wt,kr=ku(b?Math.min(te,ln):te,Q,b?Math.max(U,sn):U);E[S]=kr,R[S]=kr-Q}if(l){var H=S==="x"?At:Rt,j=S==="x"?Ft:Nt,z=E[P],ne=z+f[H],we=z-f[j],Oe=ku(ne,z,we);E[P]=Oe,R[P]=Oe-z}t.modifiersData[n]=R}}var g8={name:"preventOverflow",enabled:!0,phase:"main",fn:h8,requiresIfExists:["offset"]};function y8(e){var t,r=e.state,n=e.name,a=r.elements.arrow,o=r.modifiersData.popperOffsets,i=ar(r.placement),l=iv(i),s=[Rt,Nt].indexOf(i)>=0,u=s?"height":"width";if(!(!a||!o)){var c=r.modifiersData[n+"#persistent"].padding,p=rv(a),v=l==="y"?At:Rt,b=l==="y"?Ft:Nt,g=r.rects.reference[u]+r.rects.reference[l]-o[l]-r.rects.popper[u],x=o[l]-r.rects.reference[l],f=$i(a),d=f?l==="y"?f.clientHeight||0:f.clientWidth||0:0,m=g/2-x/2,w=c[v],S=d-p[u]-c[b],P=d/2-p[u]/2+m,E=ku(w,P,S),k=l;r.modifiersData[n]=(t={},t[k]=E,t.centerOffset=E-P,t)}}function b8(e){var t=e.state,r=e.options,n=e.name,a=r.element,o=a===void 0?"[data-popper-arrow]":a,i=r.padding,l=i===void 0?0:i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!Ex(t.elements.popper,o)||(t.elements.arrow=o,t.modifiersData[n+"#persistent"]={padding:kx(typeof l!="number"?l:Ox(l,Ii))}))}var x8={name:"arrow",enabled:!0,phase:"main",fn:y8,effect:b8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lx(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function jx(e){return[At,Nt,Ft,Rt].some(function(t){return e[t]>=0})}function w8(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Di(t,{elementContext:"reference"}),l=Di(t,{altBoundary:!0}),s=Lx(i,n),u=Lx(l,a,o),c=jx(s),p=jx(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var S8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:w8},E8=[QL,ZL,r8,o8,s8,v8,g8,x8,S8],C8=GL({defaultModifiers:E8});function lv(){return lv=Object.assign||function(e){for(var t=1;t({var:e,varRef:t?"var("+e+", "+t+")":"var("+e+")"}),He={arrowShadowColor:Ba("--popper-arrow-shadow-color"),arrowSize:Ba("--popper-arrow-size","8px"),arrowSizeHalf:Ba("--popper-arrow-size-half"),arrowBg:Ba("--popper-arrow-bg"),transformOrigin:Ba("--popper-transform-origin"),arrowOffset:Ba("--popper-arrow-offset")};function P8(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var T8={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},k8=e=>T8[e],$x={scroll:!0,resize:!0};function O8(e){var t;return typeof e=="object"?t={enabled:!0,options:lv({},$x,e)}:t={enabled:e,options:$x},t}var _8={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{var{state:t}=e;t.styles.popper.width=t.rects.reference.width+"px"},effect:e=>{var{state:t}=e;return()=>{var r=t.elements.reference;t.elements.popper.style.width=r.offsetWidth+"px"}}},A8={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{var{state:t}=e;Ix(t)},effect:e=>{var{state:t}=e;return()=>{Ix(t)}}},Ix=e=>{e.elements.popper.style.setProperty(He.transformOrigin.var,k8(e.placement))},R8={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{var{state:t}=e;M8(t)}},M8=e=>{var t;if(!!e.placement){var r=L8(e.placement);if((t=e.elements)!=null&&t.arrow&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:He.arrowSize.varRef,height:He.arrowSize.varRef,zIndex:-1});var n={[He.arrowSizeHalf.var]:"calc("+He.arrowSize.varRef+" / 2)",[He.arrowOffset.var]:"calc("+He.arrowSizeHalf.varRef+" * -1)"};for(var a in n)e.elements.arrow.style.setProperty(a,n[a])}}},L8=e=>{if(e.startsWith("top"))return{property:"bottom",value:He.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:He.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:He.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:He.arrowOffset.varRef}},j8={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{var{state:t}=e;Bx(t)},effect:e=>{var{state:t}=e;return()=>{Bx(t)}}},Bx=e=>{if(!!e.elements.arrow){var t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");!t||Object.assign(t.style,{transform:"rotate(45deg)",background:He.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:P8(e.placement)})}},$8={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},I8={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function B8(e,t){var r,n;t===void 0&&(t="ltr");var a=((r=$8[e])==null?void 0:r[t])||e;return t==="ltr"?a:(n=I8[e])!=null?n:a}function z8(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function or(){return or=Object.assign||function(e){for(var t=1;t{}),w=h.exports.useCallback(()=>{!t||!g.current||!x.current||(m.current==null||m.current(),f.current=C8(g.current,x.current,{placement:d,modifiers:[j8,R8,A8,or({},_8,{enabled:!!v}),or({name:"eventListeners"},O8(i)),{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:l!=null?l:[0,s]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!p,options:{boundary:c}},...r],strategy:a}),f.current.forceUpdate(),m.current=f.current.destroy)},[d,t,r,v,i,o,l,s,u,p,c,a]);h.exports.useEffect(()=>()=>{if(!g.current&&!x.current){var R;(R=f.current)==null||R.destroy(),f.current=null}},[]);var S=h.exports.useCallback(R=>{g.current=R,w()},[w]),P=h.exports.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),or({},R,{ref:fd(S,D)})},[S]),E=h.exports.useCallback(R=>{x.current=R,w()},[w]),k=h.exports.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),or({},R,{ref:fd(E,D),style:or({},R.style,{position:a,minWidth:"max-content",inset:"0 auto auto 0"})})},[a,E]),A=h.exports.useCallback(function(R,D){R===void 0&&(R={}),D===void 0&&(D=null);var K=z8(R,["size","shadowColor","bg","style"]);return or({},K,{ref:D,"data-popper-arrow":"",style:F8(R)})},[]),_=h.exports.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),or({},R,{ref:D,"data-popper-arrow-inner":""})},[]);return{update(){var R;(R=f.current)==null||R.update()},forceUpdate(){var R;(R=f.current)==null||R.forceUpdate()},transformOrigin:He.transformOrigin.varRef,referenceRef:S,popperRef:E,getPopperProps:k,getArrowProps:A,getArrowInnerProps:_,getReferenceProps:P}}function F8(e){var{size:t,shadowColor:r,bg:n,style:a}=e,o=or({},a,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}var N8="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",V8=N8,W8=V8;function zx(){}function Dx(){}Dx.resetWarningCache=zx;var H8=function(){function e(n,a,o,i,l,s){if(s!==W8){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Dx,resetWarningCache:zx};return r.PropTypes=r,r};H8();function Ou(){return Ou=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var K8=h.exports.forwardRef(function(t,r){var n=t.as,a=n===void 0?"span":n,o=t.style,i=o===void 0?{}:o,l=U8(t,["as","style"]);return h.exports.createElement(a,Ou({ref:r,style:Ou({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},i)},l))});function Y8(e,t){if(e!=null)if(q8(e))e(t);else try{e.current=t}catch{throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function G8(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function X8(e){return h.exports.forwardRef(e)}function Q8(e){return G8()?e?e.ownerDocument:document:null}function q8(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function Z8(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}var tj={polite:-1,assertive:-1},za={polite:{},assertive:{}},Fi={polite:null,assertive:null},uv,rj=X8(function(t,r){var n=t.as,a=n===void 0?"div":n,o=t.children,i=t.type,l=i===void 0?"polite":i,s=ej(t,["as","children","type"]),u=h.exports.useRef(null),c=Z8(r,u),p=h.exports.useMemo(function(){return h.exports.createElement(a,sv({},s,{ref:c,"data-reach-alert":!0}),o)},[o,s]);return nj(l,p,u),p});function Fx(e,t){var r=++tj[e],n=function i(l){if(Fi[e])za[e][r]=l,cv();else{var s=t.createElement("div");s.setAttribute("data-reach-live-"+e,"true"),Fi[e]=s,t.body.appendChild(Fi[e]),i(l)}},a=function(l){za[e][r]=l,cv()},o=function(){delete za[e][r],cv()};return{mount:n,update:a,unmount:o}}function cv(){uv!=null&&window.clearTimeout(uv),uv=window.setTimeout(function(){Object.keys(za).forEach(function(e){var t=e,r=Fi[t];r&&Vn.exports.render(h.exports.createElement(K8,{as:"div"},h.exports.createElement("div",{role:t==="assertive"?"alert":"status","aria-live":t},Object.keys(za[t]).map(function(n){return h.exports.cloneElement(za[t][n],{key:n,ref:null})}))),Fi[t])})},500)}function nj(e,t,r){var n=J8(e),a=h.exports.useRef(null),o=h.exports.useRef(!1);h.exports.useEffect(function(){var i=Q8(r.current);o.current?n!==e?(a.current&&a.current.unmount(),a.current=Fx(e,i),a.current.mount(t)):a.current&&a.current.update(t):(o.current=!0,a.current=Fx(e,i),a.current.mount(t))},[t,e,n,r]),h.exports.useEffect(function(){return function(){a.current&&a.current.unmount()}},[])}function Nx(e,t){var r=Vx(e,t),n=r?e[r].findIndex(a=>a.id===t):-1;return{position:r,index:n}}var Vx=(e,t)=>{var r;return(r=Object.values(e).flat().find(n=>n.id===t))==null?void 0:r.position};function aj(e){var 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}}var oj={initial:e=>{var{position:t}=e,r=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(n=1),{opacity:0,[r]:n*24}},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]}}},ij=e=>{var{id:t,message:r,onCloseComplete:n,onRequestRemove:a,requestClose:o=!1,position:i="bottom",duration:l=5e3}=e,[s,u]=h.exports.useState(l),c=R4();Cg(()=>{c||n==null||n()},[c]),Cg(()=>{u(l)},[l]);var p=()=>u(null),v=()=>u(l),b=()=>{c&&a()};h.exports.useEffect(()=>{c&&o&&a()},[c,o,a]),RC(b,s);var g=h.exports.useMemo(()=>aj(i),[i]);return h.exports.createElement(sx.li,{layout:!0,className:"chakra-toast",variants:oj,initial:"initial",animate:"animate",exit:"exit",onHoverStart:p,onHoverEnd:v,custom:{position:i},style:g},h.exports.createElement(rj,{className:"chakra-toast__inner",style:{pointerEvents:"auto",maxWidth:560,minWidth:300,margin:"0.5rem"}},gr(r)?r({id:t,onClose:b}):r))};function ir(){return ir=Object.assign||function(e){for(var t=1;t{var i=this.createToast(a,o),{position:l,id:s}=i;return this.setState(u=>{var c=l.includes("top"),p=c?[i,...u[l]]:[...u[l],i];return ir({},u,{[l]:p})}),s}),lr(this,"updateToast",(a,o)=>{this.setState(i=>{var l=ir({},i),{position:s,index:u}=Nx(l,a);return s&&u!==-1&&(l[s][u]=ir({},l[s][u],o)),l})}),lr(this,"closeAll",function(a){var{positions:o}=a===void 0?{}:a;r.setState(i=>{var l=["bottom","bottom-right","bottom-left","top","top-left","top-right"],s=o!=null?o:l;return s.reduce((u,c)=>(u[c]=i[c].map(p=>ir({},p,{requestClose:!0})),u),{})})}),lr(this,"createToast",(a,o)=>{var i,l;Ni.counter+=1;var s=(i=o.id)!=null?i:Ni.counter,u=(l=o.position)!=null?l:"top";return{id:s,message:a,position:u,duration:o.duration,onCloseComplete:o.onCloseComplete,onRequestRemove:()=>this.removeToast(String(s),u),status:o.status,requestClose:!1}}),lr(this,"closeToast",a=>{this.setState(o=>{var i=Vx(o,a);return i?ir({},o,{[i]:o[i].map(l=>l.id==a?ir({},l,{requestClose:!0}):l)}):o})}),lr(this,"removeToast",(a,o)=>{this.setState(i=>ir({},i,{[o]:i[o].filter(l=>l.id!=a)}))}),lr(this,"isVisible",a=>{var{position:o}=Nx(this.state,a);return Boolean(o)}),lr(this,"getStyle",a=>{var o=a==="top"||a==="bottom",i=o?"0 auto":void 0,l=a.includes("top")?"env(safe-area-inset-top, 0px)":void 0,s=a.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,u=a.includes("left")?void 0:"env(safe-area-inset-right, 0px)",c=a.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:i,top:l,bottom:s,right:u,left:c}});var n={notify:this.notify,closeAll:this.closeAll,close:this.closeToast,update:this.updateToast,isActive:this.isVisible};t.notify(n)}render(){return Es(this.state).map(t=>{var r=this.state[t];return h.exports.createElement("ul",{key:t,id:"chakra-toast-manager-"+t,style:this.getStyle(t)},h.exports.createElement(cx,{initial:!1},r.map(n=>h.exports.createElement(ij,ir({key:n.id},n)))))})}}lr(Ni,"counter",0);function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Wx="chakra-toast-portal";class lj{constructor(){var t=this;if(Vt(this,"createToast",void 0),Vt(this,"removeAll",void 0),Vt(this,"closeToast",void 0),Vt(this,"updateToast",void 0),Vt(this,"isToastActive",void 0),Vt(this,"bindFunctions",i=>{this.createToast=i.notify,this.removeAll=i.closeAll,this.closeToast=i.close,this.updateToast=i.update,this.isToastActive=i.isActive}),Vt(this,"notify",function(i,l){return l===void 0&&(l={}),t.createToast==null?void 0:t.createToast(i,l)}),Vt(this,"close",i=>{var l;(l=this.closeToast)==null||l.call(this,i)}),Vt(this,"closeAll",i=>{var l;(l=this.removeAll)==null||l.call(this,i)}),Vt(this,"update",function(i,l){l===void 0&&(l={}),t.updateToast==null||t.updateToast(i,l)}),Vt(this,"isActive",i=>{var l;return(l=this.isToastActive)==null?void 0:l.call(this,i)}),!!yr){var r,n=document.getElementById(Wx);if(n)r=n;else{var a,o=document.createElement("div");o.id=Wx,(a=document.body)==null||a.appendChild(o),r=o}Vn.exports.render(h.exports.createElement(Ni,{notify:this.bindFunctions}),r)}}}var Vi=new lj;function Hx(e,t){var r;if(!!e){var n={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}},a=n[e];return(r=a==null?void 0:a[t])!=null?r:e}}function Da(){return Da=Object.assign||function(e){for(var t=1;t{var{status:t,variant:r,id:n,title:a,isClosable:o,onClose:i,description:l}=e,s=typeof n!="undefined"?"toast-"+n+"-title":void 0;return h.exports.createElement(QM,{status:t,variant:r,id:n,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto","aria-labelledby":s},h.exports.createElement(JM,null),h.exports.createElement(Z.div,{flex:"1",maxWidth:"100%"},a&&h.exports.createElement(qM,{id:s},a),l&&h.exports.createElement(ZM,{display:"block"},l)),o&&h.exports.createElement(dL,{size:"sm",onClick:i,position:"absolute",insetEnd:1,top:1}))},uj={duration:5e3,position:"bottom",variant:"solid"},Fa={theme:tp,colorMode:"light",toggleColorMode:Tn,setColorMode:Tn,defaultOptions:uj};function cj(e){var{theme:t=Fa.theme,colorMode:r=Fa.colorMode,toggleColorMode:n=Fa.toggleColorMode,setColorMode:a=Fa.setColorMode,defaultOptions:o=Fa.defaultOptions}=e===void 0?Fa:e,i=(s,u)=>h.exports.createElement(Hg,{theme:t},h.exports.createElement(md.Provider,{value:{colorMode:r,setColorMode:a,toggleColorMode:n}},gr(u.render)?u.render(s):h.exports.createElement(sj,Da({},s,u)))),l=s=>{var u=Da({},o,s);u.position=Hx(u.position,t.direction);var c=p=>i(p,u);return Vi.notify(c,u)};return l.close=Vi.close,l.closeAll=Vi.closeAll,l.update=(s,u)=>{if(!!s){var c=Da({},o,u);c.position=Hx(c.position,t.direction),Vi.update(s,Da({},c,{message:p=>i(p,c)}))}},l.isActive=Vi.isActive,l}function Dj(e){var{theme:t,setColorMode:r,toggleColorMode:n,colorMode:a}=Yg();return h.exports.useMemo(()=>cj({theme:t,colorMode:a,setColorMode:r,toggleColorMode:n,defaultOptions:e}),[t,r,n,a,e])}var fj={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function Bn(){return Bn=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function pj(e){e===void 0&&(e={});var{openDelay:t=0,closeDelay:r=0,closeOnClick:n=!0,closeOnMouseDown:a,onOpen:o,onClose:i,placement:l,id:s,isOpen:u,defaultIsOpen:c,arrowSize:p=10,arrowShadowColor:v,arrowPadding:b,modifiers:g,isDisabled:x,gutter:f,offset:d,direction:m}=e,w=dj(e,["openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"]),{isOpen:S,onOpen:P,onClose:E}=kC({isOpen:u,defaultIsOpen:c,onOpen:o,onClose:i}),{referenceRef:k,getPopperProps:A,getArrowInnerProps:_,getArrowProps:R}=D8({enabled:S,placement:l,arrowPadding:b,modifiers:g,gutter:f,offset:d,direction:m}),D=Sg(s,"tooltip"),K=h.exports.useRef(null),W=h.exports.useRef(),Q=h.exports.useRef(),te=h.exports.useCallback(()=>{x||(W.current=window.setTimeout(P,t))},[x,P,t]),U=h.exports.useCallback(()=>{W.current&&clearTimeout(W.current),Q.current=window.setTimeout(E,r)},[r,E]),ie=h.exports.useCallback(()=>{n&&U()},[n,U]),de=h.exports.useCallback(()=>{a&&U()},[a,U]),ke=I=>{S&&I.key==="Escape"&&U()};Eg("keydown",ke),h.exports.useEffect(()=>()=>{clearTimeout(W.current),clearTimeout(Q.current)},[]),Eg("mouseleave",U,()=>K.current);var Ee=h.exports.useCallback(function(I,Y){I===void 0&&(I={}),Y===void 0&&(Y=null);var q=Bn({},I,{ref:fd(K,Y,k),onMouseEnter:ba(I.onMouseEnter,te),onClick:ba(I.onClick,ie),onMouseDown:ba(I.onMouseDown,de),onFocus:ba(I.onFocus,te),onBlur:ba(I.onBlur,U),"aria-describedby":S?D:void 0});return q},[te,U,de,S,D,ie,k]),$=h.exports.useCallback(function(I,Y){return I===void 0&&(I={}),Y===void 0&&(Y=null),A(Bn({},I,{style:Bn({},I.style,{[He.arrowSize.var]:p?Cs(p):void 0,[He.arrowShadowColor.var]:v})}),Y)},[A,p,v]),F=h.exports.useCallback(function(I,Y){I===void 0&&(I={}),Y===void 0&&(Y=null);var q=Bn({ref:Y},w,I,{id:D,role:"tooltip",style:Bn({},I.style,{position:"relative",transformOrigin:He.transformOrigin.varRef})});return q},[w,D]);return{isOpen:S,show:te,hide:U,getTriggerProps:Ee,getTooltipProps:F,getTooltipPositionerProps:$,getArrowProps:R,getArrowInnerProps:_}}function Na(){return Na=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var mj=Z(sx.div),Fj=Le((e,t)=>{var r=qr("Tooltip",e),n=br(e),a=Ug(),{children:o,label:i,shouldWrapChildren:l,"aria-label":s,hasArrow:u,bg:c,portalProps:p}=n,v=vj(n,["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps"]);c&&(r.bg=c,r[He.arrowBg.var]=oC(a,"colors",c));var b=pj(Na({},v,{direction:a.direction})),g=ws(o)||l,x;if(g)x=h.exports.createElement(Z.span,Na({tabIndex:0},b.getTriggerProps()),o);else{var f=h.exports.Children.only(o);x=h.exports.cloneElement(f,b.getTriggerProps(f.props,f.ref))}var d=!!s,m=b.getTooltipProps({},t),w=d?id(m,["role","id"]):m,S=fg(m,["role","id"]);return i?h.exports.createElement(h.exports.Fragment,null,x,h.exports.createElement(cx,null,b.isOpen&&h.exports.createElement(As,p,h.exports.createElement(Z.div,Na({},b.getTooltipPositionerProps(),{__css:{zIndex:r.zIndex,pointerEvents:"none"}}),h.exports.createElement(mj,Na({variants:fj},w,{initial:"exit",animate:"enter",exit:"exit",__css:r}),i,d&&h.exports.createElement(vx,S,s),u&&h.exports.createElement(Z.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},h.exports.createElement(Z.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:r.bg}}))))))):h.exports.createElement(h.exports.Fragment,null,o)}),Ux={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Kx=_r.createContext&&_r.createContext(Ux),on=globalThis&&globalThis.__assign||function(){return on=Object.assign||function(e){for(var t,r=1,n=arguments.length;r - - - - - Vite App - - - - - -
- - - + + + + + + Ngonx - UI + + + + + + +
+ + + + \ No newline at end of file diff --git a/internal/mngt/handlers/mngt.go b/internal/mngt/handlers/mngt.go index 4c22c1e..86eddca 100644 --- a/internal/mngt/handlers/mngt.go +++ b/internal/mngt/handlers/mngt.go @@ -17,6 +17,7 @@ var ( ReadBufferSize: 1024, WriteBufferSize: 1024, EnableCompression: false, + CheckOrigin: func(*http.Request) bool { return true }, } ) @@ -76,6 +77,7 @@ func writeResponse(w http.ResponseWriter, code int, data interface{}) { } func (mh MngtHandler) WssocketHandler(w http.ResponseWriter, r *http.Request) { + query := r.URL.Query() ds := query.Get("ds") if ds == "" { @@ -89,6 +91,7 @@ func (mh MngtHandler) WssocketHandler(w http.ResponseWriter, r *http.Request) { defer c.Close() for { + mt, message, err := c.ReadMessage() if err != nil { log.Println("read:", err) @@ -105,26 +108,24 @@ func (mh MngtHandler) WssocketHandler(w http.ResponseWriter, r *http.Request) { } err = c.WriteMessage(mt, bytes) if err != nil { - log.Println("write:", err) + log.Println("write endpoints:", err) } durations, err := time.ParseDuration(ds) if err != nil { err = c.WriteMessage(mt, []byte(err.Error())) if err != nil { - log.Println("write:", err) - + log.Println("write durations:", err) } } time.Sleep(durations) } + default: err = c.WriteMessage(mt, []byte("CMD not found")) if err != nil { - log.Println("write:", err) - + log.Println("write default:", err) } } - } } diff --git a/makefile b/makefile index 0d6ccfd..4841a59 100644 --- a/makefile +++ b/makefile @@ -39,6 +39,8 @@ grpccli: releaser: goreleaser release --snapshot --rm-dist +run-ui: + cd web && yarn dev build-ui: cd web && yarn build \ No newline at end of file diff --git a/ngonx.yaml b/ngonx.yaml index 046056e..6428edc 100644 --- a/ngonx.yaml +++ b/ngonx.yaml @@ -46,4 +46,10 @@ proxy: - path_endpoints: /api/v1/version/ path_proxy: /version/ - path_protected: true \ No newline at end of file + path_protected: true + - name: microB + host_uri: http://localhost:4000 + endpoints: + - path_endpoints: /api/v1/health/ + path_proxy: /ready/ + path_protected: false diff --git a/web/index.html b/web/index.html index b46ab83..dbd46b8 100644 --- a/web/index.html +++ b/web/index.html @@ -1,13 +1,16 @@ - - - - - Vite App - - -
- - - + + + + + + Ngonx - UI + + + +
+ + + + \ No newline at end of file diff --git a/web/src/App.jsx b/web/src/App.jsx index 56e0b7d..95cc2ba 100644 --- a/web/src/App.jsx +++ b/web/src/App.jsx @@ -1,19 +1,17 @@ -import { useState } from 'react' -import Header from './components/Header' -import Footer from './components/Footer' -import Endpoints from './components/Endpoints' -import { QueryClient, QueryClientProvider, useQuery } from 'react-query' -const queryClient = new QueryClient() +import Header from "./components/Header"; +import Footer from "./components/Footer"; +import Endpoints from "./components/Endpoints"; + function App() { - return ( - -
-
- -
-