From a9c268d3bede97cb2c4131001290b476aba22752 Mon Sep 17 00:00:00 2001 From: Andrey Viktorov Date: Wed, 12 Jun 2024 16:45:26 +0700 Subject: [PATCH] Updates --- 404.html | 59 ++-- .../55YAuFgHapjpVbEIXBuZ3/_buildManifest.js | 1 - .../Ec290h8MspzNWtoE6qzWr/_buildManifest.js | 1 + .../_ssgManifest.js | 0 .../chunks/2e3a845b-321216f180a7c05e.js | 1 + .../chunks/2e3a845b-8ae0a6e3c4435db1.js | 1 - _next/static/chunks/457-fbc47053a2372ae9.js | 1 - _next/static/chunks/479-b4af19bd072aeb2a.js | 26 ++ .../chunks/68c0a17d-30c6b98f89761520.js | 1 - .../chunks/68c0a17d-cf065eab5fda9614.js | 1 + .../chunks/cb355538-5be4aa0f3f2ee292.js | 1 + .../chunks/cb355538-f4f735943768d37b.js | 1 - .../chunks/framework-5f4595e5518b5600.js | 1 - .../chunks/framework-fae63b21a27d6472.js | 33 ++ _next/static/chunks/main-7af7d5359a6145de.js | 1 + _next/static/chunks/main-909f4adabffe5235.js | 1 - .../chunks/pages/_app-8b23bda6e2f7cb1e.js | 314 ++++++++++++++++++ .../chunks/pages/_app-a9e8759a14ceaed4.js | 1 - .../chunks/pages/_error-a4ba2246ff8fb532.js | 1 - .../chunks/pages/_error-ee5b5fb91d29d86f.js | 1 + .../chunks/pages/index-964dd8f586506af4.js | 1 - .../chunks/pages/index-a4d63740548fe932.js | 1 + .../static/chunks/webpack-74ef0df4969d62fa.js | 1 + .../static/chunks/webpack-c4a1c2d78a366b0d.js | 1 - index.html | 48 ++- 25 files changed, 419 insertions(+), 80 deletions(-) delete mode 100644 _next/static/55YAuFgHapjpVbEIXBuZ3/_buildManifest.js create mode 100644 _next/static/Ec290h8MspzNWtoE6qzWr/_buildManifest.js rename _next/static/{55YAuFgHapjpVbEIXBuZ3 => Ec290h8MspzNWtoE6qzWr}/_ssgManifest.js (100%) create mode 100644 _next/static/chunks/2e3a845b-321216f180a7c05e.js delete mode 100644 _next/static/chunks/2e3a845b-8ae0a6e3c4435db1.js delete mode 100644 _next/static/chunks/457-fbc47053a2372ae9.js create mode 100644 _next/static/chunks/479-b4af19bd072aeb2a.js delete mode 100644 _next/static/chunks/68c0a17d-30c6b98f89761520.js create mode 100644 _next/static/chunks/68c0a17d-cf065eab5fda9614.js create mode 100644 _next/static/chunks/cb355538-5be4aa0f3f2ee292.js delete mode 100644 _next/static/chunks/cb355538-f4f735943768d37b.js delete mode 100644 _next/static/chunks/framework-5f4595e5518b5600.js create mode 100644 _next/static/chunks/framework-fae63b21a27d6472.js create mode 100644 _next/static/chunks/main-7af7d5359a6145de.js delete mode 100644 _next/static/chunks/main-909f4adabffe5235.js create mode 100644 _next/static/chunks/pages/_app-8b23bda6e2f7cb1e.js delete mode 100644 _next/static/chunks/pages/_app-a9e8759a14ceaed4.js delete mode 100644 _next/static/chunks/pages/_error-a4ba2246ff8fb532.js create mode 100644 _next/static/chunks/pages/_error-ee5b5fb91d29d86f.js delete mode 100644 _next/static/chunks/pages/index-964dd8f586506af4.js create mode 100644 _next/static/chunks/pages/index-a4d63740548fe932.js create mode 100644 _next/static/chunks/webpack-74ef0df4969d62fa.js delete mode 100644 _next/static/chunks/webpack-c4a1c2d78a366b0d.js diff --git a/404.html b/404.html index adce5c4..aed93dc 100644 --- a/404.html +++ b/404.html @@ -1,40 +1,19 @@ -404: This page could not be found

404

This page could not be found.

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

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/55YAuFgHapjpVbEIXBuZ3/_buildManifest.js b/_next/static/55YAuFgHapjpVbEIXBuZ3/_buildManifest.js deleted file mode 100644 index d67bf20..0000000 --- a/_next/static/55YAuFgHapjpVbEIXBuZ3/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/68c0a17d-30c6b98f89761520.js","static/chunks/cb355538-f4f735943768d37b.js","static/chunks/2e3a845b-8ae0a6e3c4435db1.js","static/chunks/457-fbc47053a2372ae9.js","static/chunks/pages/index-964dd8f586506af4.js"],"/_error":["static/chunks/pages/_error-a4ba2246ff8fb532.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/Ec290h8MspzNWtoE6qzWr/_buildManifest.js b/_next/static/Ec290h8MspzNWtoE6qzWr/_buildManifest.js new file mode 100644 index 0000000..bfb74fa --- /dev/null +++ b/_next/static/Ec290h8MspzNWtoE6qzWr/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/chunks/68c0a17d-cf065eab5fda9614.js","static/chunks/cb355538-5be4aa0f3f2ee292.js","static/chunks/2e3a845b-321216f180a7c05e.js","static/chunks/479-b4af19bd072aeb2a.js","static/chunks/pages/index-a4d63740548fe932.js"],"/_error":["static/chunks/pages/_error-ee5b5fb91d29d86f.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/55YAuFgHapjpVbEIXBuZ3/_ssgManifest.js b/_next/static/Ec290h8MspzNWtoE6qzWr/_ssgManifest.js similarity index 100% rename from _next/static/55YAuFgHapjpVbEIXBuZ3/_ssgManifest.js rename to _next/static/Ec290h8MspzNWtoE6qzWr/_ssgManifest.js diff --git a/_next/static/chunks/2e3a845b-321216f180a7c05e.js b/_next/static/chunks/2e3a845b-321216f180a7c05e.js new file mode 100644 index 0000000..67b946b --- /dev/null +++ b/_next/static/chunks/2e3a845b-321216f180a7c05e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[594],{7771:function(t,i,c){c.d(i,{QZL:function(){return AiFillFileAdd},RrF:function(){return AiFillGithub},xNt:function(){return AiFillFile}});var a=c(5054);function AiFillFileAdd(t){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M480 580H372a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h108v108a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8V644h108a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8H544V472a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"},child:[]}]})(t)}function AiFillFile(t){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"},child:[]}]})(t)}function AiFillGithub(t){return(0,a.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"},child:[]}]})(t)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/2e3a845b-8ae0a6e3c4435db1.js b/_next/static/chunks/2e3a845b-8ae0a6e3c4435db1.js deleted file mode 100644 index 7b6525b..0000000 --- a/_next/static/chunks/2e3a845b-8ae0a6e3c4435db1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[594],{7771:function(t,c,a){a.d(c,{QZL:function(){return r},RrF:function(){return i},xNt:function(){return h}});var n=a(5054);function r(t){return(0,n.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M480 580H372a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h108v108a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8V644h108a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8H544V472a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"},child:[]}]})(t)}function h(t){return(0,n.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z"},child:[]}]})(t)}function i(t){return(0,n.w_)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"},child:[]}]})(t)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/457-fbc47053a2372ae9.js b/_next/static/chunks/457-fbc47053a2372ae9.js deleted file mode 100644 index 3b91c16..0000000 --- a/_next/static/chunks/457-fbc47053a2372ae9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[457],{6886:function(t,e,n){"use strict";n.d(e,{Cd:function(){return m},X:function(){return y},bZ:function(){return h},zM:function(){return g}});var r=n(1604),o=n(9703),i=n(6450),a=n(7294),s=n(894);function u(){return u=Object.assign||function(t){for(var e=1;e`"}),p=d[0],v=d[1],h=(0,r.Gp)((function(t,e){var n,i=(0,r.Lr)(t),s=i.status,c=void 0===s?"info":s,d=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}(i,l),v=null!=(n=t.colorScheme)?n:f[c].colorScheme,h=(0,r.jC)("Alert",u({},t,{colorScheme:v})),m=u({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},h.container);return a.createElement(p,{value:{status:c}},a.createElement(r.Fo,{value:h},a.createElement(r.m$.div,u({role:"alert",ref:e},d,{className:(0,o.cx)("chakra-alert",t.className),__css:m}))))})),m=(0,r.Gp)((function(t,e){var n=(0,r.yK)();return a.createElement(r.m$.div,u({ref:e},t,{className:(0,o.cx)("chakra-alert__title",t.className),__css:n.title}))})),y=(0,r.Gp)((function(t,e){var n=u({display:"inline"},(0,r.yK)().description);return a.createElement(r.m$.div,u({ref:e},t,{className:(0,o.cx)("chakra-alert__desc",t.className),__css:n}))})),g=function(t){var e=v().status,n=f[e].icon,i=(0,r.yK)();return a.createElement(r.m$.span,u({display:"inherit"},t,{className:(0,o.cx)("chakra-alert__icon",t.className),__css:i.icon}),a.createElement(n,{w:"100%",h:"100%"}))}},5113:function(t,e,n){"use strict";n.d(e,{zx:function(){return R},hU:function(){return _}});var r=n(7375),o=n(1604),i=n(9703),a=n(8554),s=n.n(a),u=n(7294),c=n(6450),l=n(917),f={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},d=(0,o.m$)("span",{baseStyle:f});i.Ts&&(d.displayName="VisuallyHidden");var p=(0,o.m$)("input",{baseStyle:f});i.Ts&&(p.displayName="VisuallyHiddenInput");function v(){return v=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(r,h),w=(0,i.cx)("chakra-spinner",b),E=v({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:g,borderLeftColor:g,animation:m+" "+p+" linear infinite"},n);return u.createElement(o.m$.div,v({ref:e,__css:E,className:w},x),s&&u.createElement(d,null,s))}));function g(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}function b(){return b=Object.assign||function(t){for(var e=1;e *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:{"& > *:not(style) ~ *:not(style)":{marginStart:l}}),u.createElement(E,{value:h},u.createElement(o.m$.div,b({ref:e,role:"group",__css:m,className:v},p)))}));i.Ts&&(S.displayName="ButtonGroup");var A=["label","placement","spacing","children","className","__css"],C=function(t){var e=t.label,n=t.placement,r=t.spacing,a=void 0===r?"0.5rem":r,s=t.children,c=void 0===s?u.createElement(y,{color:"currentColor",width:"1em",height:"1em"}):s,l=t.className,f=t.__css,d=g(t,A),p=(0,i.cx)("chakra-button__spinner",l),v="start"===n?"marginEnd":"marginStart",h=u.useMemo((function(){var t;return b(((t={display:"flex",alignItems:"center",position:e?"relative":"absolute"})[v]=e?a:0,t.fontSize="1em",t.lineHeight="normal",t),f)}),[f,e,v,a]);return u.createElement(o.m$.div,b({className:p},d,{__css:h}),c)};i.Ts&&(C.displayName="ButtonSpinner");var T=["children","className"],k=function(t){var e=t.children,n=t.className,r=g(t,T),a=u.isValidElement(e)?u.cloneElement(e,{"aria-hidden":!0,focusable:!1}):e,s=(0,i.cx)("chakra-button__icon",n);return u.createElement(o.m$.span,b({display:"inline-flex",alignSelf:"center",flexShrink:0},r,{className:s}),a)};i.Ts&&(k.displayName="ButtonIcon");var P=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],R=(0,o.Gp)((function(t,e){var n=O(),a=(0,o.mq)("Button",b({},n,t)),c=(0,o.Lr)(t),l=c.isDisabled,f=void 0===l?null==n?void 0:n.isDisabled:l,d=c.isLoading,p=c.isActive,v=c.isFullWidth,h=c.children,m=c.leftIcon,y=c.rightIcon,x=c.loadingText,w=c.iconSpacing,E=void 0===w?"0.5rem":w,S=c.type,A=c.spinner,T=c.spinnerPlacement,k=void 0===T?"start":T,R=c.className,I=c.as,_=g(c,P),N=u.useMemo((function(){var t,e=s()({},null!=(t=null==a?void 0:a._focus)?t:{},{zIndex:1});return b({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:v?"100%":"auto"},a,!!n&&{_focus:e})}),[a,n,v]),M=function(t){var e=u.useState(!t),n=e[0],r=e[1];return{ref:u.useCallback((function(t){t&&r("BUTTON"===t.tagName)}),[]),type:n?"button":void 0}}(I),D=M.ref,L=M.type,B={rightIcon:y,leftIcon:m,iconSpacing:E,children:h};return u.createElement(o.m$.button,b({disabled:f||d,ref:(0,r.qq)(e,D),as:I,type:null!=S?S:L,"data-active":(0,i.PB)(p),"data-loading":(0,i.PB)(d),__css:N,className:(0,i.cx)("chakra-button",R)},_),d&&"start"===k&&u.createElement(C,{className:"chakra-button__spinner--start",label:x,placement:"start",spacing:E},A),d?x||u.createElement(o.m$.span,{opacity:0},u.createElement(j,B)):u.createElement(j,B),d&&"end"===k&&u.createElement(C,{className:"chakra-button__spinner--end",label:x,placement:"end",spacing:E},A))}));function j(t){var e=t.leftIcon,n=t.rightIcon,r=t.children,o=t.iconSpacing;return u.createElement(u.Fragment,null,e&&u.createElement(k,{marginEnd:o},e),r,n&&u.createElement(k,{marginStart:o},n))}i.Ts&&(R.displayName="Button");var I=["icon","children","isRound","aria-label"],_=(0,o.Gp)((function(t,e){var n=t.icon,r=t.children,o=t.isRound,i=t["aria-label"],a=g(t,I),s=n||r,c=u.isValidElement(s)?u.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return u.createElement(R,b({padding:"0",borderRadius:o?"full":void 0,ref:e,"aria-label":i},a),c)}));i.Ts&&(_.displayName="IconButton")},9762:function(t,e,n){"use strict";n.d(e,{NI:function(){return m},Q6:function(){return y},Yp:function(){return x},lX:function(){return S}});var r=n(7375),o=n(1604),i=n(9703),a=n(6450),s=n(7294),u=n(894);function c(){return c=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var f=["id","isRequired","isInvalid","isDisabled","isReadOnly"],d=["getRootProps","htmlProps"],p=(0,a.kr)({strict:!1,name:"FormControlContext"}),v=p[0],h=p[1];var m=(0,o.Gp)((function(t,e){var n=(0,o.jC)("Form",t),u=function(t){var e=t.id,n=t.isRequired,o=t.isInvalid,u=t.isDisabled,d=t.isReadOnly,p=l(t,f),v=(0,r.Me)(),h=e||"field-"+v,m=h+"-label",y=h+"-feedback",g=h+"-helptext",b=s.useState(!1),x=b[0],w=b[1],E=s.useState(!1),O=E[0],S=E[1],A=(0,r.kt)(),C=A[0],T=A[1],k=s.useCallback((function(t,e){return void 0===t&&(t={}),void 0===e&&(e=null),c({id:g},t,{ref:(0,a.lq)(e,(function(t){t&&S(!0)}))})}),[g]),P=s.useCallback((function(t,e){var n,r;return void 0===t&&(t={}),void 0===e&&(e=null),c({},t,{ref:e,"data-focus":(0,i.PB)(C),"data-disabled":(0,i.PB)(u),"data-invalid":(0,i.PB)(o),"data-readonly":(0,i.PB)(d),id:null!=(n=t.id)?n:m,htmlFor:null!=(r=t.htmlFor)?r:h})}),[h,u,C,o,d,m]),R=s.useCallback((function(t,e){return void 0===t&&(t={}),void 0===e&&(e=null),c({id:y},t,{ref:(0,a.lq)(e,(function(t){t&&w(!0)})),"aria-live":"polite"})}),[y]),j=s.useCallback((function(t,e){return void 0===t&&(t={}),void 0===e&&(e=null),c({},t,p,{ref:e,role:"group"})}),[p]),I=s.useCallback((function(t,e){return void 0===t&&(t={}),void 0===e&&(e=null),c({},t,{ref:e,role:"presentation","aria-hidden":!0,children:t.children||"*"})}),[]);return{isRequired:!!n,isInvalid:!!o,isReadOnly:!!d,isDisabled:!!u,isFocused:!!C,onFocus:T.on,onBlur:T.off,hasFeedbackText:x,setHasFeedbackText:w,hasHelpText:O,setHasHelpText:S,id:h,labelId:m,feedbackId:y,helpTextId:g,htmlProps:p,getHelpTextProps:k,getErrorMessageProps:R,getRootProps:j,getLabelProps:P,getRequiredIndicatorProps:I}}((0,o.Lr)(t)),p=u.getRootProps;u.htmlProps;var h=l(u,d),m=(0,i.cx)("chakra-form-control",t.className);return s.createElement(v,{value:h},s.createElement(o.Fo,{value:n},s.createElement(o.m$.div,c({},p({},e),{className:m,__css:n.container}))))}));i.Ts&&(m.displayName="FormControl");var y=(0,o.Gp)((function(t,e){var n=h(),r=(0,o.yK)(),a=(0,i.cx)("chakra-form__helper-text",t.className);return s.createElement(o.m$.div,c({},null==n?void 0:n.getHelpTextProps(t,e),{__css:r.helperText,className:a}))}));i.Ts&&(y.displayName="FormHelperText");var g=["isDisabled","isInvalid","isReadOnly","isRequired"],b=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function x(t){var e=function(t){var e,n,r,o=h(),a=t.id,s=t.disabled,u=t.readOnly,f=t.required,d=t.isRequired,p=t.isInvalid,v=t.isReadOnly,m=t.isDisabled,y=t.onFocus,g=t.onBlur,x=l(t,b),w=t["aria-describedby"]?[t["aria-describedby"]]:[];null!=o&&o.hasFeedbackText&&null!=o&&o.isInvalid&&w.push(o.feedbackId);null!=o&&o.hasHelpText&&w.push(o.helpTextId);return c({},x,{"aria-describedby":w.join(" ")||void 0,id:null!=a?a:null==o?void 0:o.id,isDisabled:null!=(e=null!=s?s:m)?e:null==o?void 0:o.isDisabled,isReadOnly:null!=(n=null!=u?u:v)?n:null==o?void 0:o.isReadOnly,isRequired:null!=(r=null!=f?f:d)?r:null==o?void 0:o.isRequired,isInvalid:null!=p?p:null==o?void 0:o.isInvalid,onFocus:(0,i.v0)(null==o?void 0:o.onFocus,y),onBlur:(0,i.v0)(null==o?void 0:o.onBlur,g)})}(t),n=e.isDisabled,r=e.isInvalid,o=e.isReadOnly,a=e.isRequired;return c({},l(e,g),{disabled:n,readOnly:o,required:a,"aria-invalid":(0,i.Qm)(r),"aria-required":(0,i.Qm)(a),"aria-readonly":(0,i.Qm)(o)})}var w=(0,o.Gp)((function(t,e){var n=(0,o.jC)("FormError",t),r=(0,o.Lr)(t),a=h();return null!=a&&a.isInvalid?s.createElement(o.Fo,{value:n},s.createElement(o.m$.div,c({},null==a?void 0:a.getErrorMessageProps(r,e),{className:(0,i.cx)("chakra-form__error-message",t.className),__css:c({display:"flex",alignItems:"center"},n.text)}))):null}));i.Ts&&(w.displayName="FormErrorMessage");var E=(0,o.Gp)((function(t,e){var n=(0,o.yK)(),r=h();if(null==r||!r.isInvalid)return null;var a=(0,i.cx)("chakra-form__error-icon",t.className);return s.createElement(u.ZP,c({ref:e,"aria-hidden":!0},t,{__css:n.icon,className:a}),s.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"}))}));i.Ts&&(E.displayName="FormErrorIcon");var O=["className","children","requiredIndicator","optionalIndicator"],S=(0,o.Gp)((function(t,e){var n,r=(0,o.mq)("FormLabel",t),a=(0,o.Lr)(t);a.className;var u=a.children,f=a.requiredIndicator,d=void 0===f?s.createElement(A,null):f,p=a.optionalIndicator,v=void 0===p?null:p,m=l(a,O),y=h(),g=null!=(n=null==y?void 0:y.getLabelProps(m,e))?n:c({ref:e},m);return s.createElement(o.m$.label,c({},g,{className:(0,i.cx)("chakra-form__label",a.className),__css:c({display:"block",textAlign:"start"},r)}),u,null!=y&&y.isRequired?d:v)}));i.Ts&&(S.displayName="FormLabel");var A=(0,o.Gp)((function(t,e){var n=h(),r=(0,o.yK)();if(null==n||!n.isRequired)return null;var a=(0,i.cx)("chakra-form__required-indicator",t.className);return s.createElement(o.m$.span,c({},null==n?void 0:n.getRequiredIndicatorProps(t,e),{__css:r.requiredIndicator,className:a}))}));i.Ts&&(A.displayName="RequiredIndicator")},894:function(t,e,n){"use strict";n.d(e,{JO:function(){return c},ZP:function(){return l}});var r=n(1604),o=n(9703),i=n(7294);function a(){return a=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,s),g={ref:e,focusable:p,className:(0,o.cx)("chakra-icon",h),__css:a({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:f},m)},b=null!=c?c:u.viewBox;if(n&&"string"!==typeof n)return i.createElement(r.m$.svg,a({as:n},g,y));var x=null!=v?v:u.path;return i.createElement(r.m$.svg,a({verticalAlign:"middle",viewBox:b},g,y),x)}));o.Ts&&(c.displayName="Icon");var l=c},4612:function(t,e,n){"use strict";n.d(e,{II:function(){return f}});var r=n(9762),o=n(1604),i=n(9703),a=n(7294),s=n(6450);function u(){return u=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var l=["htmlSize"],f=(0,o.Gp)((function(t,e){var n=t.htmlSize,s=c(t,l),f=(0,o.jC)("Input",s),d=(0,o.Lr)(s),p=(0,r.Yp)(d),v=(0,i.cx)("chakra-input",t.className);return a.createElement(o.m$.input,u({size:n},p,{__css:f.field,ref:e,className:v}))}));i.Ts&&(f.displayName="Input"),f.id="Input";var d=["placement"],p={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},v=(0,o.m$)("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),h=(0,o.Gp)((function(t,e){var n,r=t.placement,i=void 0===r?"left":r,s=c(t,d),l=null!=(n=p[i])?n:{},f=(0,o.yK)();return a.createElement(v,u({ref:e},s,{__css:u({},f.addon,l)}))}));i.Ts&&(h.displayName="InputAddon");var m=(0,o.Gp)((function(t,e){return a.createElement(h,u({ref:e,placement:"left"},t,{className:(0,i.cx)("chakra-input__left-addon",t.className)}))}));i.Ts&&(m.displayName="InputLeftAddon"),m.id="InputLeftAddon";var y=(0,o.Gp)((function(t,e){return a.createElement(h,u({ref:e,placement:"right"},t,{className:(0,i.cx)("chakra-input__right-addon",t.className)}))}));i.Ts&&(y.displayName="InputRightAddon"),y.id="InputRightAddon";var g=["children","className"],b=(0,o.Gp)((function(t,e){var n=(0,o.jC)("Input",t),r=(0,o.Lr)(t),l=r.children,f=r.className,d=c(r,g),p=(0,i.cx)("chakra-input__group",f),v={},h=(0,s.WR)(l),m=n.field;h.forEach((function(t){if(n){var e,r;if(m&&"InputLeftElement"===t.type.id)v.paddingStart=null!=(e=m.height)?e:m.h;if(m&&"InputRightElement"===t.type.id)v.paddingEnd=null!=(r=m.height)?r:m.h;"InputRightAddon"===t.type.id&&(v.borderEndRadius=0),"InputLeftAddon"===t.type.id&&(v.borderStartRadius=0)}}));var y=h.map((function(e){var n,r,o=(0,i.YU)({size:(null==(n=e.props)?void 0:n.size)||t.size,variant:(null==(r=e.props)?void 0:r.variant)||t.variant});return"Input"!==e.type.id?a.cloneElement(e,o):a.cloneElement(e,Object.assign(o,v,e.props))}));return a.createElement(o.m$.div,u({className:p,ref:e,__css:{width:"100%",display:"flex",position:"relative"}},d),a.createElement(o.Fo,{value:n},y))}));i.Ts&&(b.displayName="InputGroup");var x=["placement"],w=["className"],E=["className"],O=(0,o.m$)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),S=(0,o.Gp)((function(t,e){var n,r,i,s=t.placement,l=void 0===s?"left":s,f=c(t,x),d=(0,o.yK)(),p=d.field,v=u(((i={})["left"===l?"insetStart":"insetEnd"]="0",i.width=null!=(n=null==p?void 0:p.height)?n:null==p?void 0:p.h,i.height=null!=(r=null==p?void 0:p.height)?r:null==p?void 0:p.h,i.fontSize=null==p?void 0:p.fontSize,i),d.element);return a.createElement(O,u({ref:e,__css:v},f))}));S.id="InputElement",i.Ts&&(S.displayName="InputElement");var A=(0,o.Gp)((function(t,e){var n=t.className,r=c(t,w),o=(0,i.cx)("chakra-input__left-element",n);return a.createElement(S,u({ref:e,placement:"left",className:o},r))}));A.id="InputLeftElement",i.Ts&&(A.displayName="InputLeftElement");var C=(0,o.Gp)((function(t,e){var n=t.className,r=c(t,E),o=(0,i.cx)("chakra-input__right-element",n);return a.createElement(S,u({ref:e,placement:"right",className:o},r))}));C.id="InputRightElement",i.Ts&&(C.displayName="InputRightElement")},8527:function(t,e,n){"use strict";n.d(e,{Kq:function(){return et},M5:function(){return x},MI:function(){return Z},Ug:function(){return nt},X6:function(){return _},kC:function(){return P},rU:function(){return L},xu:function(){return y}});var r=n(1604),o=n(4244),i=n(9703),a=n(7294),s=n(894),u=n(6450);function c(){return c=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var f=["ratio","children","className"],d=(0,r.Gp)((function(t,e){var n=t.ratio,o=void 0===n?4/3:n,s=t.children,u=t.className,d=l(t,f),p=a.Children.only(s),v=(0,i.cx)("chakra-aspect-ratio",u);return a.createElement(r.m$.div,c({ref:e,position:"relative",className:v,_before:{height:0,content:'""',display:"block",paddingBottom:(0,i.XQ)(o,(function(t){return 1/t*100+"%"}))},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}}},d),p)}));i.Ts&&(d.displayName="AspectRatio");var p=["className"],v=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Badge",t),o=(0,r.Lr)(t);o.className;var s=l(o,p);return a.createElement(r.m$.span,c({ref:e,className:(0,i.cx)("chakra-badge",t.className)},s,{__css:c({display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle"},n)}))}));i.Ts&&(v.displayName="Badge");var h=["size","centerContent"],m=["size"],y=(0,r.m$)("div");i.Ts&&(y.displayName="Box");var g=(0,r.Gp)((function(t,e){var n=t.size,r=t.centerContent,o=void 0===r||r,i=l(t,h),s=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return a.createElement(y,c({ref:e,boxSize:n,__css:c({},s,{flexShrink:0,flexGrow:0})},i))}));i.Ts&&(g.displayName="Square");var b=(0,r.Gp)((function(t,e){var n=t.size,r=l(t,m);return a.createElement(g,c({size:n,ref:e,borderRadius:"9999px"},r))}));i.Ts&&(b.displayName="Circle");var x=(0,r.m$)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});i.Ts&&(x.displayName="Center");var w=["className"],E=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Code",t),o=(0,r.Lr)(t);o.className;var s=l(o,w);return a.createElement(r.m$.code,c({ref:e,className:(0,i.cx)("chakra-code",t.className)},s,{__css:c({display:"inline-block"},n)}))}));i.Ts&&(E.displayName="Code");var O=["className","centerContent"],S=(0,r.Gp)((function(t,e){var n=(0,r.Lr)(t),o=n.className,s=n.centerContent,u=l(n,O),f=(0,r.mq)("Container",t);return a.createElement(r.m$.div,c({ref:e,className:(0,i.cx)("chakra-container",o)},u,{__css:c({},f,s&&{display:"flex",flexDirection:"column",alignItems:"center"})}))}));i.Ts&&(S.displayName="Container");var A=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],C=["className","orientation","__css"],T=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Divider",t),o=n.borderLeftWidth,s=n.borderBottomWidth,u=n.borderTopWidth,f=n.borderRightWidth,d=n.borderWidth,p=n.borderStyle,v=n.borderColor,h=l(n,A),m=(0,r.Lr)(t),y=m.className,g=m.orientation,b=void 0===g?"horizontal":g,x=m.__css,w=l(m,C),E={vertical:{borderLeftWidth:o||f||d||"1px",height:"100%"},horizontal:{borderBottomWidth:s||u||d||"1px",width:"100%"}};return a.createElement(r.m$.hr,c({ref:e,"aria-orientation":b},w,{__css:c({},h,{border:"0",borderColor:v,borderStyle:p},E[b],x),className:(0,i.cx)("chakra-divider",y)}))}));i.Ts&&(T.displayName="Divider");var k=["direction","align","justify","wrap","basis","grow","shrink"],P=(0,r.Gp)((function(t,e){var n=t.direction,o=t.align,i=t.justify,s=t.wrap,u=t.basis,f=t.grow,d=t.shrink,p=l(t,k),v={display:"flex",flexDirection:n,alignItems:o,justifyContent:i,flexWrap:s,flexBasis:u,flexGrow:f,flexShrink:d};return a.createElement(r.m$.div,c({ref:e,__css:v},p))}));i.Ts&&(P.displayName="Flex");var R=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],j=(0,r.Gp)((function(t,e){var n=t.area,o=t.templateAreas,i=t.gap,s=t.rowGap,u=t.columnGap,f=t.column,d=t.row,p=t.autoFlow,v=t.autoRows,h=t.templateRows,m=t.autoColumns,y=t.templateColumns,g=l(t,R),b={display:"grid",gridArea:n,gridTemplateAreas:o,gridGap:i,gridRowGap:s,gridColumnGap:u,gridAutoColumns:m,gridColumn:f,gridRow:d,gridAutoFlow:p,gridAutoRows:v,gridTemplateRows:h,gridTemplateColumns:y};return a.createElement(r.m$.div,c({ref:e,__css:b},g))}));i.Ts&&(j.displayName="Grid");var I=["className"],_=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Heading",t),o=(0,r.Lr)(t);o.className;var s=l(o,I);return a.createElement(r.m$.h2,c({ref:e,className:(0,i.cx)("chakra-heading",t.className)},s,{__css:n}))}));i.Ts&&(_.displayName="Heading");var N=["className"],M=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Kbd",t),o=(0,r.Lr)(t),s=o.className,u=l(o,N);return a.createElement(r.m$.kbd,c({ref:e,className:(0,i.cx)("chakra-kbd",s)},u,{__css:c({fontFamily:"mono"},n)}))}));i.Ts&&(M.displayName="Kbd");var D=["className","isExternal"],L=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Link",t),o=(0,r.Lr)(t),s=o.className,u=o.isExternal,f=l(o,D);return a.createElement(r.m$.a,c({target:u?"_blank":void 0,rel:u?"noopener":void 0,ref:e,className:(0,i.cx)("chakra-link",s)},f,{__css:n}))}));i.Ts&&(L.displayName="Link");var B=["children","styleType","stylePosition","spacing"],F=["as"],V=["as"],U=(0,u.kr)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),z=U[0],W=U[1],$=(0,r.Gp)((function(t,e){var n,o=(0,r.jC)("List",t),i=(0,r.Lr)(t),s=i.children,f=i.styleType,d=void 0===f?"none":f,p=i.stylePosition,v=i.spacing,h=l(i,B),m=(0,u.WR)(s),y=v?((n={})["& > *:not(style) ~ *:not(style)"]={mt:v},n):{};return a.createElement(z,{value:o},a.createElement(r.m$.ul,c({ref:e,listStyleType:d,listStylePosition:p,role:"list",__css:c({},o.container,y)},h),m))}));i.Ts&&($.displayName="List");var G=(0,r.Gp)((function(t,e){t.as;var n=l(t,F);return a.createElement($,c({ref:e,as:"ol",styleType:"decimal",marginStart:"1em"},n))}));i.Ts&&(G.displayName="OrderedList");var H=(0,r.Gp)((function(t,e){t.as;var n=l(t,V);return a.createElement($,c({ref:e,as:"ul",styleType:"initial",marginStart:"1em"},n))}));i.Ts&&(H.displayName="UnorderedList");var q=(0,r.Gp)((function(t,e){var n=W();return a.createElement(r.m$.li,c({ref:e},t,{__css:n.item}))}));i.Ts&&(q.displayName="ListItem");var Y=(0,r.Gp)((function(t,e){var n=W();return a.createElement(s.JO,c({ref:e,role:"presentation"},t,{__css:n.icon}))}));i.Ts&&(Y.displayName="ListIcon");var K=["columns","spacingX","spacingY","spacing","minChildWidth"],Z=(0,r.Gp)((function(t,e){var n,r,o=t.columns,s=t.spacingX,u=t.spacingY,f=t.spacing,d=t.minChildWidth,p=l(t,K),v=d?(r=d,(0,i.XQ)(r,(function(t){return(0,i.Ft)(t)?null:"repeat(auto-fit, minmax("+(e=t,((0,i.hj)(e)?e+"px":e)+", 1fr))");var e}))):(n=o,(0,i.XQ)(n,(function(t){return(0,i.Ft)(t)?null:"repeat("+t+", minmax(0, 1fr))"})));return a.createElement(j,c({ref:e,gap:f,columnGap:s,rowGap:u,templateColumns:v},p))}));i.Ts&&(Z.displayName="SimpleGrid");var X=(0,r.m$)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});i.Ts&&(X.displayName="Spacer");var Q="& > *:not(style) ~ *:not(style)";var J=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],tt=function(t){return a.createElement(r.m$.div,c({className:"chakra-stack__item"},t,{__css:c({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},et=(0,r.Gp)((function(t,e){var n,o=t.isInline,s=t.direction,f=t.align,d=t.justify,p=t.spacing,v=void 0===p?"0.5rem":p,h=t.wrap,m=t.children,y=t.divider,g=t.className,b=t.shouldWrapChildren,x=l(t,J),w=o?"row":null!=s?s:"column",E=a.useMemo((function(){return function(t){var e,n=t.spacing,r=t.direction,o={column:{marginTop:n,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:n},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:n,marginStart:0},"row-reverse":{marginTop:0,marginEnd:n,marginBottom:0,marginStart:0}};return(e={flexDirection:r})[Q]=(0,i.XQ)(r,(function(t){return o[t]})),e}({direction:w,spacing:v})}),[w,v]),O=a.useMemo((function(){return function(t){var e=t.spacing,n=t.direction,r={column:{my:e,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:e,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:e,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:e,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,i.XQ)(n,(function(t){return r[t]}))}}({spacing:v,direction:w})}),[v,w]),S=!!y,A=!b&&!S,C=(0,u.WR)(m),T=A?C:C.map((function(t,e){var n="undefined"!==typeof t.key?t.key:e,r=e+1===C.length,o=b?a.createElement(tt,{key:n},t):t;if(!S)return o;var i=r?null:a.cloneElement(y,{__css:O});return a.createElement(a.Fragment,{key:n},o,i)})),k=(0,i.cx)("chakra-stack",g);return a.createElement(r.m$.div,c({ref:e,display:"flex",alignItems:f,justifyContent:d,flexDirection:E.flexDirection,flexWrap:h,className:k,__css:S?{}:(n={},n[Q]=E[Q],n)},x),T)}));i.Ts&&(et.displayName="Stack");var nt=(0,r.Gp)((function(t,e){return a.createElement(et,c({align:"center"},t,{direction:"row",ref:e}))}));i.Ts&&(nt.displayName="HStack");var rt=(0,r.Gp)((function(t,e){return a.createElement(et,c({align:"center"},t,{direction:"column",ref:e}))}));i.Ts&&(rt.displayName="VStack");var ot=["className","align","decoration","casing"],it=(0,r.Gp)((function(t,e){var n=(0,r.mq)("Text",t),o=(0,r.Lr)(t);o.className,o.align,o.decoration,o.casing;var s=l(o,ot),u=(0,i.YU)({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return a.createElement(r.m$.p,c({ref:e,className:(0,i.cx)("chakra-text",t.className)},u,s,{__css:n}))}));i.Ts&&(it.displayName="Text");var at=["spacing","spacingX","spacingY","children","justify","direction","align","className","shouldWrapChildren"],st=["className"],ut=(0,r.Gp)((function(t,e){var n=t.spacing,s=void 0===n?"0.5rem":n,u=t.spacingX,f=t.spacingY,d=t.children,p=t.justify,v=t.direction,h=t.align,m=t.className,y=t.shouldWrapChildren,g=l(t,at),b=a.useMemo((function(){var t={spacingX:u,spacingY:f},e=t.spacingX,n=void 0===e?s:e,r=t.spacingY,a=void 0===r?s:r;return{"--chakra-wrap-x-spacing":function(t){return(0,i.XQ)(n,(function(e){return(0,o.fr)("space",e)(t)}))},"--chakra-wrap-y-spacing":function(t){return(0,i.XQ)(a,(function(e){return(0,o.fr)("space",e)(t)}))},"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:p,alignItems:h,flexDirection:v,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}}),[s,u,f,p,h,v]),x=y?a.Children.map(d,(function(t,e){return a.createElement(ct,{key:e},t)})):d;return a.createElement(r.m$.div,c({ref:e,className:(0,i.cx)("chakra-wrap",m)},g),a.createElement(r.m$.ul,{className:"chakra-wrap__list",__css:b},x))}));i.Ts&&(ut.displayName="Wrap");var ct=(0,r.Gp)((function(t,e){var n=t.className,o=l(t,st);return a.createElement(r.m$.li,c({ref:e,__css:{display:"flex",alignItems:"flex-start"},className:(0,i.cx)("chakra-wrap__listitem",n)},o))}));i.Ts&&(ct.displayName="WrapItem")},4017:function(t,e,n){"use strict";n.d(e,{v2:function(){return Oe},j2:function(){return Ae},sN:function(){return Re},qy:function(){return ke}});var r=n(1604),o=n(9703),i=n(8043),a=n(7294),s=n(6450);function u(){return u=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(e,c),S=a.useState(!0),A=S[0],C=S[1],T=a.useState(!1),k=T[0],P=T[1],R=function(){var t=a.useRef(new Map),e=t.current,n=a.useCallback((function(e,n,r,o){t.current.set(r,{type:n,el:e,options:o}),e.addEventListener(n,r,o)}),[]),r=a.useCallback((function(e,n,r,o){e.removeEventListener(n,r,o),t.current.delete(r)}),[]);return a.useEffect((function(){return function(){e.forEach((function(t,e){r(t.el,t.type,e,t.options)}))}}),[r,e]),{add:n,remove:r}}(),j=A?x:x||0,I=r&&!i,_=a.useCallback((function(t){if(r)return t.stopPropagation(),void t.preventDefault();t.currentTarget.focus(),null==y||y(t)}),[r,y]),N=a.useCallback((function(t){k&&l(t)&&(t.preventDefault(),t.stopPropagation(),P(!1),R.remove(document,"keyup",N,!1))}),[k,R]),M=a.useCallback((function(t){if(null==g||g(t),!(r||t.defaultPrevented||t.metaKey)&&l(t.nativeEvent)&&!A){var e=d&&"Enter"===t.key;if(v&&" "===t.key&&(t.preventDefault(),P(!0)),e)t.preventDefault(),t.currentTarget.click();R.add(document,"keyup",N,!1)}}),[r,A,g,d,v,R,N]),D=a.useCallback((function(t){(null==b||b(t),r||t.defaultPrevented||t.metaKey)||l(t.nativeEvent)&&!A&&v&&" "===t.key&&(t.preventDefault(),P(!1),t.currentTarget.click())}),[v,A,r,b]),L=a.useCallback((function(t){0===t.button&&(P(!1),R.remove(document,"mouseup",L,!1))}),[R]),B=a.useCallback((function(t){if(!(0,o.n_)(t)){if(r)return t.stopPropagation(),void t.preventDefault();A||P(!0),t.currentTarget.focus({preventScroll:!0}),R.add(document,"mouseup",L,!1),null==h||h(t)}}),[r,A,h,R,L]),F=a.useCallback((function(t){(0,o.n_)(t)||(A||P(!1),null==m||m(t))}),[m,A]),V=a.useCallback((function(t){r?t.preventDefault():null==w||w(t)}),[r,w]),U=a.useCallback((function(t){k&&(t.preventDefault(),P(!1)),null==E||E(t)}),[k,E]),z=(0,s.lq)(n,(function(t){t&&"BUTTON"!==t.tagName&&C(!1)}));return u({},O,A?{ref:z,type:"button","aria-disabled":I?void 0:r,disabled:I,onClick:_,onMouseDown:h,onMouseUp:m,onKeyUp:b,onKeyDown:g,onMouseOver:w,onMouseLeave:E}:{ref:z,role:"button","data-active":(0,o.PB)(k),"aria-disabled":r?"true":void 0,tabIndex:I?void 0:j,onClick:_,onMouseDown:B,onMouseUp:F,onKeyUp:D,onKeyDown:M,onMouseOver:V,onMouseLeave:U})}function d(){return d=Object.assign||function(t){for(var e=1;e=e&&(r=0),r}function h(t,e,n){var r=t-1;return n&&r<0&&(r=e),r}var m="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,y=function(){var t=this;this.descendants=new Map,this.register=function(e){var n;if(null!=e)return"object"==typeof(n=e)&&"nodeType"in n&&n.nodeType===Node.ELEMENT_NODE?t.registerNode(e):function(n){t.registerNode(n,e)}},this.unregister=function(e){t.descendants.delete(e);var n=p(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(e){t.descendants.forEach((function(t){var n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()}))},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){return Array.from(t.descendants.values()).sort((function(t,e){return t.index-e.index}))},this.enabledValues=function(){return t.values().filter((function(t){return!t.disabled}))},this.item=function(e){if(0!==t.count())return t.values()[e]},this.enabledItem=function(e){if(0!==t.enabledCount())return t.enabledValues()[e]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var e=t.enabledValues().length-1;return t.enabledItem(e)},this.indexOf=function(e){var n,r;return e&&null!=(n=null==(r=t.descendants.get(e))?void 0:r.index)?n:-1},this.enabledIndexOf=function(e){return null==e?-1:t.enabledValues().findIndex((function(t){return t.node.isSameNode(e)}))},this.next=function(e,n){void 0===n&&(n=!0);var r=v(e,t.count(),n);return t.item(r)},this.nextEnabled=function(e,n){void 0===n&&(n=!0);var r=t.item(e);if(r){var o=v(t.enabledIndexOf(r.node),t.enabledCount(),n);return t.enabledItem(o)}},this.prev=function(e,n){void 0===n&&(n=!0);var r=h(e,t.count()-1,n);return t.item(r)},this.prevEnabled=function(e,n){void 0===n&&(n=!0);var r=t.item(e);if(r){var o=h(t.enabledIndexOf(r.node),t.enabledCount()-1,n);return t.enabledItem(o)}},this.registerNode=function(e,n){if(e&&!t.descendants.has(e)){var r=p(Array.from(t.descendants.keys()).concat(e));null!=n&&n.disabled&&(n.disabled=!!n.disabled);var o=d({node:e,index:-1},n);t.descendants.set(e,o),t.assignIndex(r)}}};var g=(0,s.kr)({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),b=g[0],x=g[1];var w=n(7375),E=n(4697);function O(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function S(t){return t instanceof O(t).Element||t instanceof Element}function A(t){return t instanceof O(t).HTMLElement||t instanceof HTMLElement}function C(t){return"undefined"!==typeof ShadowRoot&&(t instanceof O(t).ShadowRoot||t instanceof ShadowRoot)}var T=Math.max,k=Math.min,P=Math.round;function R(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function j(){return!/^((?!chrome|android).)*safari/i.test(R())}function I(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&A(t)&&(o=t.offsetWidth>0&&P(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&P(r.height)/t.offsetHeight||1);var a=(S(t)?O(t):window).visualViewport,s=!j()&&n,u=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,l=r.width/o,f=r.height/i;return{width:l,height:f,top:c,right:u+l,bottom:c+f,left:u,x:u,y:c}}function _(t){var e=O(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function N(t){return t?(t.nodeName||"").toLowerCase():null}function M(t){return((S(t)?t.ownerDocument:t.document)||window.document).documentElement}function D(t){return I(M(t)).left+_(t).scrollLeft}function L(t){return O(t).getComputedStyle(t)}function B(t){var e=L(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function F(t,e,n){void 0===n&&(n=!1);var r=A(e),o=A(e)&&function(t){var e=t.getBoundingClientRect(),n=P(e.width)/t.offsetWidth||1,r=P(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),i=M(e),a=I(t,o,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==N(e)||B(i))&&(s=function(t){return t!==O(t)&&A(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:_(t);var e}(e)),A(e)?((u=I(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=D(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function V(t){var e=I(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function U(t){return"html"===N(t)?t:t.assignedSlot||t.parentNode||(C(t)?t.host:null)||M(t)}function z(t){return["html","body","#document"].indexOf(N(t))>=0?t.ownerDocument.body:A(t)&&B(t)?t:z(U(t))}function W(t,e){var n;void 0===e&&(e=[]);var r=z(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=O(r),a=o?[i].concat(i.visualViewport||[],B(r)?r:[]):r,s=e.concat(a);return o?s:s.concat(W(U(a)))}function $(t){return["table","td","th"].indexOf(N(t))>=0}function G(t){return A(t)&&"fixed"!==L(t).position?t.offsetParent:null}function H(t){for(var e=O(t),n=G(t);n&&$(n)&&"static"===L(n).position;)n=G(n);return n&&("html"===N(n)||"body"===N(n)&&"static"===L(n).position)?e:n||function(t){var e=/firefox/i.test(R());if(/Trident/i.test(R())&&A(t)&&"fixed"===L(t).position)return null;var n=U(t);for(C(n)&&(n=n.host);A(n)&&["html","body"].indexOf(N(n))<0;){var r=L(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var q="top",Y="bottom",K="right",Z="left",X="auto",Q=[q,Y,K,Z],J="start",tt="end",et="viewport",nt="popper",rt=Q.reduce((function(t,e){return t.concat([e+"-"+J,e+"-"+tt])}),[]),ot=[].concat(Q,[X]).reduce((function(t,e){return t.concat([e,e+"-"+J,e+"-"+tt])}),[]),it=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function at(t){var e=new Map,n=new Set,r=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),r}function st(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}var ut={placement:"bottom",modifiers:[],strategy:"absolute"};function ct(){for(var t=arguments.length,e=new Array(t),n=0;n=0?"x":"y"}function ht(t){var e,n=t.reference,r=t.element,o=t.placement,i=o?dt(o):null,a=o?pt(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case q:e={x:s,y:n.y-r.height};break;case Y:e={x:s,y:n.y+n.height};break;case K:e={x:n.x+n.width,y:u};break;case Z:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var c=i?vt(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case J:e[c]=e[c]-(n[l]/2-r[l]/2);break;case tt:e[c]=e[c]+(n[l]/2-r[l]/2)}}return e}var mt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yt(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,s=t.position,u=t.gpuAcceleration,c=t.adaptive,l=t.roundOffsets,f=t.isFixed,d=a.x,p=void 0===d?0:d,v=a.y,h=void 0===v?0:v,m="function"===typeof l?l({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=Z,x=q,w=window;if(c){var E=H(n),S="clientHeight",A="clientWidth";if(E===O(n)&&"static"!==L(E=M(n)).position&&"absolute"===s&&(S="scrollHeight",A="scrollWidth"),o===q||(o===Z||o===K)&&i===tt)x=Y,h-=(f&&E===w&&w.visualViewport?w.visualViewport.height:E[S])-r.height,h*=u?1:-1;if(o===Z||(o===q||o===Y)&&i===tt)b=K,p-=(f&&E===w&&w.visualViewport?w.visualViewport.width:E[A])-r.width,p*=u?1:-1}var C,T=Object.assign({position:s},c&&mt),k=!0===l?function(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:P(n*o)/o||0,y:P(r*o)/o||0}}({x:p,y:h},O(n)):{x:p,y:h};return p=k.x,h=k.y,u?Object.assign({},T,((C={})[x]=g?"0":"",C[b]=y?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",C)):Object.assign({},T,((e={})[x]=g?h+"px":"",e[b]=y?p+"px":"",e.transform="",e))}var gt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=void 0===o?[0,0]:o,a=ot.reduce((function(t,n){return t[n]=function(t,e,n){var r=dt(t),o=[Z,q].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Z,K].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,i),t}),{}),s=a[e.placement],u=s.x,c=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}},bt={left:"right",right:"left",bottom:"top",top:"bottom"};function xt(t){return t.replace(/left|right|bottom|top/g,(function(t){return bt[t]}))}var wt={start:"end",end:"start"};function Et(t){return t.replace(/start|end/g,(function(t){return wt[t]}))}function Ot(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&C(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function St(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function At(t,e,n){return e===et?St(function(t,e){var n=O(t),r=M(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var c=j();(c||!c&&"fixed"===e)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+D(t),y:u}}(t,n)):S(e)?function(t,e){var n=I(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):St(function(t){var e,n=M(t),r=_(t),o=null==(e=t.ownerDocument)?void 0:e.body,i=T(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=T(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+D(t),u=-r.scrollTop;return"rtl"===L(o||n).direction&&(s+=T(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(M(t)))}function Ct(t,e,n,r){var o="clippingParents"===e?function(t){var e=W(U(t)),n=["absolute","fixed"].indexOf(L(t).position)>=0&&A(t)?H(t):t;return S(n)?e.filter((function(t){return S(t)&&Ot(t,n)&&"body"!==N(t)})):[]}(t):[].concat(e),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(e,n){var o=At(t,n,r);return e.top=T(o.top,e.top),e.right=k(o.right,e.right),e.bottom=k(o.bottom,e.bottom),e.left=T(o.left,e.left),e}),At(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Tt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function kt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Pt(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=void 0===r?t.placement:r,i=n.strategy,a=void 0===i?t.strategy:i,s=n.boundary,u=void 0===s?"clippingParents":s,c=n.rootBoundary,l=void 0===c?et:c,f=n.elementContext,d=void 0===f?nt:f,p=n.altBoundary,v=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,y=Tt("number"!==typeof m?m:kt(m,Q)),g=d===nt?"reference":nt,b=t.rects.popper,x=t.elements[v?g:d],w=Ct(S(x)?x:x.contextElement||M(t.elements.popper),u,l,a),E=I(t.elements.reference),O=ht({reference:E,element:b,strategy:"absolute",placement:o}),A=St(Object.assign({},b,O)),C=d===nt?A:E,T={top:w.top-C.top+y.top,bottom:C.bottom-w.bottom+y.bottom,left:w.left-C.left+y.left,right:C.right-w.right+y.right},k=t.modifiersData.offset;if(d===nt&&k){var P=k[o];Object.keys(T).forEach((function(t){var e=[K,Y].indexOf(t)>=0?1:-1,n=[q,Y].indexOf(t)>=0?"y":"x";T[t]+=P[n]*e}))}return T}function Rt(t,e,n){return T(t,k(e,n))}var jt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,v=n.tetherOffset,h=void 0===v?0:v,m=Pt(e,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),y=dt(e.placement),g=pt(e.placement),b=!g,x=vt(y),w="x"===x?"y":"x",E=e.modifiersData.popperOffsets,O=e.rects.reference,S=e.rects.popper,A="function"===typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,C="number"===typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),P=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,R={x:0,y:0};if(E){if(i){var j,I="y"===x?q:Z,_="y"===x?Y:K,N="y"===x?"height":"width",M=E[x],D=M+m[I],L=M-m[_],B=p?-S[N]/2:0,F=g===J?O[N]:S[N],U=g===J?-S[N]:-O[N],z=e.elements.arrow,W=p&&z?V(z):{width:0,height:0},$=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=$[I],X=$[_],Q=Rt(0,O[N],W[N]),tt=b?O[N]/2-B-Q-G-C.mainAxis:F-Q-G-C.mainAxis,et=b?-O[N]/2+B+Q+X+C.mainAxis:U+Q+X+C.mainAxis,nt=e.elements.arrow&&H(e.elements.arrow),rt=nt?"y"===x?nt.clientTop||0:nt.clientLeft||0:0,ot=null!=(j=null==P?void 0:P[x])?j:0,it=M+et-ot,at=Rt(p?k(D,M+tt-ot-rt):D,M,p?T(L,it):L);E[x]=at,R[x]=at-M}if(s){var st,ut="x"===x?q:Z,ct="x"===x?Y:K,lt=E[w],ft="y"===w?"height":"width",ht=lt+m[ut],mt=lt-m[ct],yt=-1!==[q,Z].indexOf(y),gt=null!=(st=null==P?void 0:P[w])?st:0,bt=yt?ht:lt-O[ft]-S[ft]-gt+C.altAxis,xt=yt?lt+O[ft]+S[ft]-gt-C.altAxis:mt,wt=p&&yt?function(t,e,n){var r=Rt(t,e,n);return r>n?n:r}(bt,lt,xt):Rt(p?bt:ht,lt,p?xt:mt);E[w]=wt,R[w]=wt-lt}e.modifiersData[r]=R}},requiresIfExists:["offset"]};var It={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=dt(n.placement),u=vt(s),c=[Z,K].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(t,e){return Tt("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:kt(t,Q))}(o.padding,n),f=V(i),d="y"===u?q:Z,p="y"===u?Y:K,v=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],h=a[u]-n.rects.reference[u],m=H(i),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=v/2-h/2,b=l[d],x=y-f[c]-l[p],w=y/2-f[c]/2+g,E=Rt(b,w,x),O=u;n.modifiersData[r]=((e={})[O]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=e.elements.popper.querySelector(r)))&&Ot(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function _t(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Nt(t){return[q,K,Y,Z].some((function(e){return t[e]>=0}))}var Mt=lt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=O(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",n.update,ft)})),s&&u.addEventListener("resize",n.update,ft),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",n.update,ft)})),s&&u.removeEventListener("resize",n.update,ft)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=ht({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,c={placement:dt(e.placement),variation:pt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,yt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,yt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];A(o)&&N(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});A(r)&&N(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},gt,{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,v=void 0===p||p,h=n.allowedAutoPlacements,m=e.options.placement,y=dt(m),g=u||(y===m||!v?[xt(m)]:function(t){if(dt(t)===X)return[];var e=xt(t);return[Et(t),e,Et(e)]}(m)),b=[m].concat(g).reduce((function(t,n){return t.concat(dt(n)===X?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?ot:u,l=pt(r),f=l?s?rt:rt.filter((function(t){return pt(t)===l})):Q,d=f.filter((function(t){return c.indexOf(t)>=0}));0===d.length&&(d=f);var p=d.reduce((function(e,n){return e[n]=Pt(t,{placement:n,boundary:o,rootBoundary:i,padding:a})[dt(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:v,allowedAutoPlacements:h}):n)}),[]),x=e.rects.reference,w=e.rects.popper,E=new Map,O=!0,S=b[0],A=0;A=0,R=P?"width":"height",j=Pt(e,{placement:C,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),I=P?k?K:Z:k?Y:q;x[R]>w[R]&&(I=xt(I));var _=xt(I),N=[];if(i&&N.push(j[T]<=0),s&&N.push(j[I]<=0,j[_]<=0),N.every((function(t){return t}))){S=C,O=!1;break}E.set(C,N)}if(O)for(var M=function(t){var e=b.find((function(e){var n=E.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},D=v?3:1;D>0;D--){if("break"===M(D))break}e.placement!==S&&(e.modifiersData[r]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},jt,It,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Pt(e,{elementContext:"reference"}),s=Pt(e,{altBoundary:!0}),u=_t(a,r),c=_t(s,o,i),l=Nt(u),f=Nt(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]});function Dt(){return Dt=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(n,Xt),{ref:e,"data-popper-arrow":"",style:Jt(t)})}),[]),B=(0,a.useCallback)((function(t,e){return void 0===t&&(t={}),void 0===e&&(e=null),Dt({},t,{ref:e,"data-popper-arrow-inner":""})}),[]);return{update:function(){var t;null==(t=P.current)||t.update()},forceUpdate:function(){var t;null==(t=P.current)||t.forceUpdate()},transformOrigin:Bt.transformOrigin.varRef,referenceRef:_,popperRef:M,getPopperProps:D,getArrowProps:L,getArrowInnerProps:B,getReferenceProps:N}}function Jt(t){var e=t.size,n=t.shadowColor,r=t.bg,o=Dt({},t.style,{position:"absolute"});return e&&(o["--popper-arrow-size"]=e),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function te(){return te=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var ne=["id","closeOnSelect","closeOnBlur","autoSelect","isLazy","isOpen","defaultIsOpen","onClose","onOpen","placement","lazyBehavior","direction","computePositionOnMount"],re=["onMouseEnter","onMouseMove","onMouseLeave","onClick","isDisabled","isFocusable","closeOnSelect","type"],oe=["type","isChecked"],ie=[b,function(){return x()},function(){return function(){var t=(0,a.useRef)(new y);return m((function(){return function(){return t.current.destroy()}})),t.current}()},function(t){return function(t){var e=x(),n=(0,a.useState)(-1),r=n[0],o=n[1],i=(0,a.useRef)(null);m((function(){return function(){i.current&&e.unregister(i.current)}}),[]),m((function(){if(i.current){var t=Number(i.current.dataset.index);r==t||Number.isNaN(t)||o(t)}}));var u=t?e.register(t):e.register;return{descendants:e,index:r,enabledIndex:e.enabledIndexOf(i.current),register:(0,s.lq)(u,i)}}(t)}],ae=ie[0],se=ie[1],ue=ie[2],ce=ie[3],le=(0,s.kr)({strict:!1,name:"MenuContext"}),fe=le[0],de=le[1];function pe(t){var e;return(0,o.Re)(t)&&!(null==(e=t.getAttribute("role"))||!e.startsWith("menuitem"))}function ve(t,e){void 0===t&&(t={}),void 0===e&&(e=null);var n=t,r=n.onMouseEnter,i=n.onMouseMove,u=n.onMouseLeave,c=n.onClick,l=n.isDisabled,d=n.isFocusable,p=n.closeOnSelect,v=n.type,h=ee(n,re),m=de(),y=m.setFocusedIndex,g=m.focusedIndex,b=m.closeOnSelect,x=m.onClose,E=m.menuRef,O=m.isOpen,S=m.menuId,A=a.useRef(null),C=S+"-menuitem-"+(0,w.Me)(),T=ce({disabled:l&&!d}),k=T.index,P=T.register,R=a.useCallback((function(t){null==r||r(t),l||y(k)}),[y,k,l,r]),j=a.useCallback((function(t){null==i||i(t),A.current&&!(0,o.H9)(A.current)&&R(t)}),[R,i]),I=a.useCallback((function(t){null==u||u(t),l||y(-1)}),[y,l,u]),_=a.useCallback((function(t){null==c||c(t),pe(t.currentTarget)&&(null!=p?p:b)&&x()}),[x,c,b,p]),N=k===g,M=l&&!d;(0,w.rf)((function(){O&&(N&&!M&&A.current?(0,o.T_)(A.current,{nextTick:!0,selectTextIfInput:!1,preventScroll:!1}):E.current&&!(0,o.H9)(E.current)&&(0,o.T_)(E.current,{preventScroll:!1}))}),[N,M,E,O]);var D=f({onClick:_,onMouseEnter:R,onMouseMove:j,onMouseLeave:I,ref:(0,s.lq)(P,A,e),isDisabled:l,isFocusable:d});return te({},h,D,{type:null!=v?v:D.type,id:C,role:"menuitem",tabIndex:N?0:-1})}var he=["descendants"],me=["children","as"],ye=["rootProps"],ge=["type"],be=["icon","iconSpacing","command","commandSpacing","children"],xe=["icon","iconSpacing"],we=["title","children","className"],Ee=["className","children"],Oe=function(t){var e=t.children,n=(0,r.jC)("Menu",t),i=function(t){void 0===t&&(t={});var e=t,n=e.id,r=e.closeOnSelect,i=void 0===r||r,s=e.closeOnBlur,u=void 0===s||s,c=e.autoSelect,l=void 0===c||c,f=e.isLazy,d=e.isOpen,p=e.defaultIsOpen,v=e.onClose,h=e.onOpen,m=e.placement,y=void 0===m?"bottom-start":m,g=e.lazyBehavior,b=void 0===g?"unmount":g,x=e.direction,O=e.computePositionOnMount,S=void 0!==O&&O,A=ee(e,ne),C=a.useRef(null),T=a.useRef(null),k=ue(),P=a.useCallback((function(){(0,o.T_)(C.current,{nextTick:!0,selectTextIfInput:!1})}),[]),R=a.useCallback((function(){var t=setTimeout((function(){var t=k.firstEnabled();t&&U(t.index)}));q.current.add(t)}),[k]),j=a.useCallback((function(){var t=setTimeout((function(){var t=k.lastEnabled();t&&U(t.index)}));q.current.add(t)}),[k]),I=a.useCallback((function(){null==h||h(),l?R():P()}),[l,R,P,h]),_=(0,w.qY)({isOpen:d,defaultIsOpen:p,onClose:v,onOpen:I}),N=_.isOpen,M=_.onOpen,D=_.onClose,L=_.onToggle;(0,w.O3)({enabled:N&&u,ref:C,handler:function(t){var e;null!=(e=T.current)&&e.contains(t.target)||D()}});var B=Qt(te({},A,{enabled:N||S,placement:y,direction:x})),F=a.useState(-1),V=F[0],U=F[1];(0,w.rf)((function(){N||U(-1)}),[N]),(0,w.Ck)(C,{focusRef:T,visible:N,shouldFocus:!0});var z=(0,E.c)({isOpen:N,ref:C}),W=(0,w.ZS)(n,"menu-button","menu-list"),$=W[0],G=W[1],H=a.useCallback((function(){M(),P()}),[M,P]),q=a.useRef(new Set([]));return(0,w.zq)((function(){q.current.forEach((function(t){return clearTimeout(t)})),q.current.clear()})),{openAndFocusMenu:H,openAndFocusFirstItem:a.useCallback((function(){M(),R()}),[R,M]),openAndFocusLastItem:a.useCallback((function(){M(),j()}),[M,j]),onTransitionEnd:a.useCallback((function(){var t,e,n=(0,o.lZ)(C.current),r=null==(t=C.current)?void 0:t.contains(n.activeElement);if(N&&!r){var i=null==(e=k.item(V))?void 0:e.node;i&&(0,o.T_)(i,{selectTextIfInput:!1,preventScroll:!1})}}),[N,V,k]),unstable__animationState:z,descendants:k,popper:B,buttonId:$,menuId:G,forceUpdate:B.forceUpdate,orientation:"vertical",isOpen:N,onToggle:L,onOpen:M,onClose:D,menuRef:C,buttonRef:T,focusedIndex:V,closeOnSelect:i,closeOnBlur:u,autoSelect:l,setFocusedIndex:U,isLazy:f,lazyBehavior:b}}(te({},(0,r.Lr)(t),{direction:(0,r.Fg)().direction})),s=i.descendants,u=ee(i,he),c=a.useMemo((function(){return u}),[u]),l=c.isOpen,f=c.onClose,d=c.forceUpdate;return a.createElement(ae,{value:s},a.createElement(fe,{value:c},a.createElement(r.Fo,{value:n},(0,o.Pu)(e,{isOpen:l,onClose:f,forceUpdate:d}))))};o.Ts&&(Oe.displayName="Menu");var Se=(0,r.Gp)((function(t,e){var n=(0,r.yK)();return a.createElement(r.m$.button,te({ref:e},t,{__css:te({display:"inline-flex",appearance:"none",alignItems:"center",outline:0},n.button)}))})),Ae=(0,r.Gp)((function(t,e){t.children;var n=t.as,i=function(t,e){void 0===t&&(t={}),void 0===e&&(e=null);var n=de(),r=n.onToggle,i=n.popper,u=n.openAndFocusFirstItem,c=n.openAndFocusLastItem,l=a.useCallback((function(t){var e=(0,o.uh)(t),n={Enter:u,ArrowDown:u,ArrowUp:c}[e];n&&(t.preventDefault(),t.stopPropagation(),n(t))}),[u,c]);return te({},t,{ref:(0,s.lq)(n.buttonRef,e,i.referenceRef),id:n.buttonId,"data-active":(0,o.PB)(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:(0,o.v0)(t.onClick,r),onKeyDown:(0,o.v0)(t.onKeyDown,l)})}(ee(t,me),e),u=n||Se;return a.createElement(u,te({},i,{className:(0,o.cx)("chakra-menu__menu-button",t.className)}),a.createElement(r.m$.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0}},t.children))}));o.Ts&&(Ae.displayName="MenuButton");var Ce={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}};var Te=function(t){var e=i.E;return"custom"in e&&"function"===typeof e.custom?e.custom(t):e(t)}(r.m$.div),ke=(0,r.Gp)((function(t,e){var n,i,u=t.rootProps,c=ee(t,ye),l=de(),f=l.isOpen,d=l.onTransitionEnd,p=l.unstable__animationState,v=function(t,e){void 0===t&&(t={}),void 0===e&&(e=null);var n=de();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within ");var r=n.focusedIndex,i=n.setFocusedIndex,u=n.menuRef,c=n.isOpen,l=n.onClose,f=n.menuId,d=n.isLazy,p=n.lazyBehavior,v=n.unstable__animationState,h=se(),m=(0,w.bx)({preventDefault:function(t){return" "!==t.key&&pe(t.target)}}),y=a.useCallback((function(t){var e=(0,o.uh)(t),n={Tab:function(t){return t.preventDefault()},Escape:l,ArrowDown:function(){var t=h.nextEnabled(r);t&&i(t.index)},ArrowUp:function(){var t=h.prevEnabled(r);t&&i(t.index)}},a=n[e];if(a)return t.preventDefault(),void a(t);var s=m((function(t){var e=(0,o.LP)(h.values(),t,(function(t){var e,n;return null!=(e=null==t||null==(n=t.node)?void 0:n.textContent)?e:""}),h.item(r));if(e){var n=h.indexOf(e.node);i(n)}}));pe(t.target)&&s(t)}),[h,r,m,l,i]),g=a.useRef(!1);c&&(g.current=!0);var b=(0,o.VI)({hasBeenSelected:g.current,isLazy:d,lazyBehavior:p,isSelected:v.present});return te({},t,{ref:(0,s.lq)(u,e),children:b?t.children:null,tabIndex:-1,role:"menu",id:f,style:te({},t.style,{transformOrigin:"var(--popper-transform-origin)"}),"aria-orientation":"vertical",onKeyDown:(0,o.v0)(t.onKeyDown,y)})}(c,e),h=function(t){void 0===t&&(t={});var e=de(),n=e.popper,r=e.isOpen;return n.getPopperProps(te({},t,{style:te({visibility:r?"visible":"hidden"},t.style)}))}(u),m=(0,r.yK)();return a.createElement(r.m$.div,te({},h,{__css:{zIndex:null!=(n=t.zIndex)?n:null==(i=m.list)?void 0:i.zIndex}}),a.createElement(Te,te({},v,{onUpdate:d,onAnimationComplete:(0,o.PP)(p.onComplete,v.onAnimationComplete),className:(0,o.cx)("chakra-menu__menu-list",v.className),variants:Ce,initial:!1,animate:f?"enter":"exit",__css:te({outline:0},m.list)})))}));o.Ts&&(ke.displayName="MenuList");var Pe=(0,r.Gp)((function(t,e){var n=t.type,o=ee(t,ge),i=(0,r.yK)(),s=o.as||n?null!=n?n:void 0:"button",u=a.useMemo((function(){return te({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0},i.item)}),[i.item]);return a.createElement(r.m$.button,te({ref:e,type:s},o,{__css:u}))})),Re=(0,r.Gp)((function(t,e){var n=t.icon,r=t.iconSpacing,i=void 0===r?"0.75rem":r,s=t.command,u=t.commandSpacing,c=void 0===u?"0.75rem":u,l=t.children,f=ve(ee(t,be),e),d=n||s?a.createElement("span",{style:{pointerEvents:"none",flex:1}},l):l;return a.createElement(Pe,te({},f,{className:(0,o.cx)("chakra-menu__menuitem",f.className)}),n&&a.createElement(Me,{fontSize:"0.8em",marginEnd:i},n),d,s&&a.createElement(Ne,{marginStart:c},s))}));o.Ts&&(Re.displayName="MenuItem");var je=function(t){return a.createElement("svg",te({viewBox:"0 0 14 14",width:"1em",height:"1em"},t),a.createElement("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))},Ie=(0,r.Gp)((function(t,e){var n=t.icon,r=t.iconSpacing,i=void 0===r?"0.75rem":r,s=ee(t,xe),u=function(t,e){void 0===t&&(t={}),void 0===e&&(e=null);var n=t,r=n.type,o=void 0===r?"radio":r,i=n.isChecked;return te({},ve(ee(n,oe),e),{role:"menuitem"+o,"aria-checked":i})}(s,e);return a.createElement(Pe,te({},u,{className:(0,o.cx)("chakra-menu__menuitem-option",s.className)}),null!==n&&a.createElement(Me,{fontSize:"0.8em",marginEnd:i,opacity:t.isChecked?1:0},n||a.createElement(je,null)),a.createElement("span",{style:{flex:1}},u.children))}));Ie.id="MenuItemOption",o.Ts&&(Ie.displayName="MenuItemOption");o.Ts;var _e=(0,r.Gp)((function(t,e){var n=t.title,i=t.children,s=t.className,u=ee(t,we),c=(0,o.cx)("chakra-menu__group__title",s),l=(0,r.yK)();return a.createElement("div",{ref:e,className:"chakra-menu__group",role:"group"},n&&a.createElement(r.m$.p,te({className:c},u,{__css:l.groupTitle}),n),i)}));o.Ts&&(_e.displayName="MenuGroup");var Ne=(0,r.Gp)((function(t,e){var n=(0,r.yK)();return a.createElement(r.m$.span,te({ref:e},t,{__css:n.command,className:"chakra-menu__command"}))}));o.Ts&&(Ne.displayName="MenuCommand");var Me=function(t){var e=t.className,n=t.children,i=ee(t,Ee),s=a.Children.only(n),u=a.isValidElement(s)?a.cloneElement(s,{focusable:"false","aria-hidden":!0,className:(0,o.cx)("chakra-menu__icon",s.props.className)}):null,c=(0,o.cx)("chakra-menu__icon-wrapper",e);return a.createElement(r.m$.span,te({className:c},i,{__css:{flexShrink:0}}),u)};o.Ts&&(Me.displayName="MenuIcon");o.Ts},7506:function(t,e,n){"use strict";n.d(e,{u_:function(){return Mn},fe:function(){return Un},ol:function(){return Wn},hz:function(){return Ln},mz:function(){return zn},xB:function(){return Vn},ZA:function(){return Fn}});var r=n(894),o=n(1604),i=n(9703),a=n(7294);function s(){return s=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(r,u);return a.createElement(o.m$.button,s({type:"button","aria-label":"Close",ref:e,disabled:l,__css:s({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},n,f)},d),i||a.createElement(c,{width:"1em",height:"1em"}))}));i.Ts&&(l.displayName="CloseButton");var f=n(7462),d=(n(5697),"data-focus-lock"),p="data-focus-lock-disabled";function v(t,e){return"function"===typeof t?t(e):t&&(t.current=e),t}var h="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,m=new WeakMap;function y(t,e){var n=function(t,e){var n=(0,a.useState)((function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(t){var e=n.value;e!==t&&(n.value=t,n.callback(t,e))}}}}))[0];return n.callback=e,n.facade}(e||null,(function(e){return t.forEach((function(t){return v(t,e)}))}));return h((function(){var e=m.get(n);if(e){var r=new Set(e),o=new Set(t),i=n.current;r.forEach((function(t){o.has(t)||v(t,null)})),o.forEach((function(t){r.has(t)||v(t,i)}))}m.set(n,t)}),[t]),n}var g={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},b=function(t){var e=t.children;return a.createElement(a.Fragment,null,a.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:g}),e,e&&a.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:g}))};b.propTypes={},b.defaultProps={children:null};var x=function(){return x=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&e.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&e.add(r)}return t.filter((function(t,n){return!e.has(n)}))}(_(M(e).querySelectorAll('[data-focus-lock="'+n+'"]:not(['+p+'="disabled"])'))):[e]),t}),[])},L=function(t){return Boolean(_(t.querySelectorAll("iframe")).some((function(t){return t===document.activeElement})))},B=function(t){var e=document&&document.activeElement;return!(!e||e.dataset&&e.dataset.focusGuard)&&D(t).reduce((function(t,n){return t||n.contains(e)||L(n)}),!1)},F=function(t){return"INPUT"===t.tagName&&"radio"===t.type},V=function(t,e){return F(t)&&t.name?function(t,e){return e.filter(F).filter((function(e){return e.name===t.name})).filter((function(t){return t.checked}))[0]||t}(t,e):t},U=function(t){return t[0]&&t.length>1?V(t[0],t):t[0]},z=function(t,e){return t.length>1?t.indexOf(V(t[e],t)):e},W=function(t,e){return!t||t===document||t&&t.nodeType===Node.DOCUMENT_NODE||!function(t){if(t.nodeType!==Node.ELEMENT_NODE)return!1;var e=window.getComputedStyle(t,null);return!(!e||!e.getPropertyValue)&&("none"===e.getPropertyValue("display")||"hidden"===e.getPropertyValue("visibility"))}(t)&&e(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.parentNode.host:t.parentNode)},$=function(t,e){var n=t.get(e);if(void 0!==n)return n;var r=W(e,$.bind(void 0,t));return t.set(e,r),r},G=function(t){return Boolean(t&&t.dataset&&t.dataset.focusGuard)},H=function(t){return!G(t)},q=function(t){return Boolean(t)},Y="NEW_FOCUS",K=function(t,e,n,r){var o=t.length,i=t[0],a=t[o-1],s=G(n);if(!(t.indexOf(n)>=0)){var u=e.indexOf(n),c=r?e.indexOf(r):u,l=r?t.indexOf(r):-1,f=u-c,d=e.indexOf(i),p=e.indexOf(a),v=function(t){var e=new Set;return t.forEach((function(n){return e.add(V(n,t))})),t.filter((function(t){return e.has(t)}))}(e),h=v.indexOf(n)-(r?v.indexOf(r):u),m=z(t,0),y=z(t,o-1);return-1===u||-1===l?Y:!f&&l>=0?l:u<=d&&s&&Math.abs(f)>1?y:u>=p&&s&&Math.abs(f)>1?m:f&&Math.abs(h)>1?l:u<=d?y:u>p?m:f?Math.abs(f)>1?l:(o+l+f)%o:void 0}},Z=function(t,e){var n=t.tabIndex-e.tabIndex,r=t.index-e.index;if(n){if(!t.tabIndex)return 1;if(!e.tabIndex)return-1}return n||r},X=function(t,e,n){return _(t).map((function(t,e){return{node:t,index:e,tabIndex:n&&-1===t.tabIndex?(t.dataset||{}).focusGuard?0:-1:t.tabIndex}})).filter((function(t){return!e||t.tabIndex>=0})).sort(Z)},Q=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),J=Q+", [data-focus-guard]",tt=function(t,e){return t.reduce((function(t,n){return t.concat(_(n.querySelectorAll(e?J:Q)),n.parentNode?_(n.parentNode.querySelectorAll(Q)).filter((function(t){return t===n})):[])}),[])},et=function(t,e){return _(t).filter((function(t){return $(e,t)})).filter((function(t){return function(t){return!(("INPUT"===t.tagName||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))}(t)}))},nt=function(t,e,n){return X(et(tt(t,n),e),!0,n)},rt=function(t,e){return X(et(tt(t),e),!1)},ot=function(t,e){return et(function(t){var e=t.querySelectorAll("[data-autofocus-inside]");return _(e).map((function(t){return tt([t])})).reduce((function(t,e){return t.concat(e)}),[])}(t),e)},it=function(t,e){return void 0===e&&(e=[]),e.push(t),t.parentNode&&it(t.parentNode,e),e},at=function(t,e){for(var n=it(t),r=it(e),o=0;o=0)return i}return!1},st=function(t,e,n){var r=N(t),o=N(e),i=r[0],a=!1;return o.filter(Boolean).forEach((function(t){a=at(a||t,t)||a,n.filter(Boolean).forEach((function(t){var e=at(i,t);e&&(a=!a||e.contains(a)?e:at(e,a))}))})),a},ut=function(t,e){var n=document&&document.activeElement,r=D(t).filter(H),o=st(n||t,t,r),i=new Map,a=rt(r,i),s=nt(r,i).filter((function(t){var e=t.node;return H(e)}));if(s[0]||(s=a)[0]){var u,c=rt([o],i).map((function(t){return t.node})),l=function(t,e){var n=new Map;return e.forEach((function(t){return n.set(t.node,t)})),t.map((function(t){return n.get(t)})).filter(q)}(c,s),f=l.map((function(t){return t.node})),d=K(f,c,n,e);if(d===Y){var p=a.map((function(t){return t.node})).filter((u=function(t,e){return t.reduce((function(t,n){return t.concat(ot(n,e))}),[])}(r,i),function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||u.indexOf(t)>=0}));return{node:p&&p.length?U(p):U(f)}}return void 0===d?d:l[d]}},ct=0,lt=!1,ft=function(t,e){var n,r=ut(t,e);if(!lt&&r){if(ct>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),lt=!0,void setTimeout((function(){lt=!1}),1);ct++,(n=r.node).focus(),"contentWindow"in n&&n.contentWindow&&n.contentWindow.focus(),ct--}};function dt(t){var e=window.setImmediate;"undefined"!==typeof e?e(t):setTimeout(t,1)}var pt=function(){return document&&document.activeElement===document.body||document&&_(document.querySelectorAll("[data-no-focus-lock]")).some((function(t){return t.contains(document.activeElement)}))},vt=null,ht=null,mt=null,yt=!1,gt=function(){return!0};function bt(t,e,n,r){var o=null,i=t;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==t)return;o=null}}while((i+=n)!==e);o&&(o.node.tabIndex=0)}var xt=function(t){return t&&"current"in t?t.current:t},wt=function(){var t,e=!1;if(vt){var n=vt,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,s=n.crossFrame,u=r||mt&&mt.portaledElement,c=document&&document.activeElement;if(u){var l=[u].concat(a.map(xt).filter(Boolean));if(c&&!function(t){return(vt.whiteList||gt)(t)}(c)||(o||(s?Boolean(yt):"meanwhile"===yt)||!pt()||!ht&&i)&&(!u||B(l)||(t=c,mt&&mt.portaledElement===t)||(document&&!ht&&c&&!i?(c.blur&&c.blur(),document.body.focus()):(e=ft(l,ht),mt={})),yt=!1,ht=document&&document.activeElement),document){var f=document&&document.activeElement,d=function(t){var e=D(t).filter(H),n=st(t,t,e),r=new Map,o=nt([n],r,!0),i=nt(e,r).filter((function(t){var e=t.node;return H(e)})).map((function(t){return t.node}));return o.map((function(t){var e=t.node;return{node:e,index:t.index,lockItem:i.indexOf(e)>=0,guard:G(e)}}))}(l),p=d.map((function(t){return t.node})).indexOf(f);p>-1&&(d.filter((function(t){var e=t.guard,n=t.node;return e&&n.dataset.focusAutoGuard})).forEach((function(t){return t.node.removeAttribute("tabIndex")})),bt(p,d.length,1,d),bt(p,-1,-1,d))}}}return e},Et=function(t){wt()&&t&&(t.stopPropagation(),t.preventDefault())},Ot=function(){return dt(wt)},St=function(t){var e=t.target,n=t.currentTarget;n.contains(e)||(mt={observerNode:n,portaledElement:e})},At=function(){yt="just",setTimeout((function(){yt="meanwhile"}),0)};S.assignSyncMedium(St),A.assignMedium(Ot),C.assignMedium((function(t){return t({moveFocusInside:ft,focusInside:B})}));var Ct=I((function(t){return t.filter((function(t){return!t.disabled}))}),(function(t){var e=t.slice(-1)[0];e&&!vt&&(document.addEventListener("focusin",Et,!0),document.addEventListener("focusout",Ot),window.addEventListener("blur",At));var n=vt,r=n&&e&&e.id===n.id;vt=e,n&&!r&&(n.onDeactivation(),t.filter((function(t){return t.id===n.id})).length||n.returnFocus(!e)),e?(ht=null,r&&n.observed===e.observed||e.onActivation(),wt(),dt(wt)):(document.removeEventListener("focusin",Et,!0),document.removeEventListener("focusout",Ot),window.removeEventListener("blur",At),ht=null)}))((function(){return null})),Tt=a.forwardRef((function(t,e){return a.createElement(R,(0,f.Z)({sideCar:Ct,ref:e},t))})),kt=R.propTypes||{};kt.sideCar,function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n])}(kt,["sideCar"]);Tt.propTypes={};var Pt=Tt,Rt=function(t){var e=t.initialFocusRef,n=t.finalFocusRef,r=t.contentRef,o=t.restoreFocus,s=t.children,u=t.isDisabled,c=t.autoFocus,l=t.persistentFocus,f=t.lockFocusAcrossFrames,d=a.useCallback((function(){if(null!=e&&e.current)e.current.focus();else if(null!=r&&r.current){0===(0,i.t5)(r.current).length&&(0,i.T_)(r.current,{nextTick:!0})}}),[e,r]),p=a.useCallback((function(){var t;null==n||null==(t=n.current)||t.focus()}),[n]),v=o&&!n;return a.createElement(Pt,{crossFrame:f,persistentFocus:l,autoFocus:c,disabled:u,onActivation:d,onDeactivation:p,returnFocus:v},s)};i.Ts&&(Rt.displayName="FocusLock");var jt=n(6871),It=n(8554),_t=n.n(It),Nt=n(655),Mt=n(9304),Dt=n(4735),Lt=n(8868);function Bt(){var t=(0,a.useRef)(!1);return(0,Lt.L)((function(){return t.current=!0,function(){t.current=!1}}),[]),t}var Ft=n(240),Vt=n(6681),Ut=n(6401),zt=function(t){var e=t.children,n=t.initial,r=t.isPresent,o=t.onExitComplete,i=t.custom,s=t.presenceAffectsLayout,u=(0,Vt.h)(Wt),c=(0,Ut.M)(),l=(0,a.useMemo)((function(){return{id:c,initial:n,isPresent:r,custom:i,onExitComplete:function(t){var e,n;u.set(t,!0);try{for(var r=(0,Nt.XA)(u.values()),i=r.next();!i.done;i=r.next()){if(!i.value)return}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}null===o||void 0===o||o()},register:function(t){return u.set(t,!1),function(){return u.delete(t)}}}}),s?void 0:[r]);return(0,a.useMemo)((function(){u.forEach((function(t,e){return u.set(e,!1)}))}),[r]),a.useEffect((function(){!r&&!u.size&&(null===o||void 0===o||o())}),[r]),a.createElement(Ft.O.Provider,{value:l},e)};function Wt(){return new Map}var $t=n(5364),Gt=n(5411),Ht=function(t){return t.key||""};var qt=function(t){var e=t.children,n=t.custom,r=t.initial,o=void 0===r||r,i=t.onExitComplete,s=t.exitBeforeEnter,u=t.presenceAffectsLayout,c=void 0===u||u,l=(0,Nt.CR)(function(){var t=Bt(),e=(0,Nt.CR)((0,a.useState)(0),2),n=e[0],r=e[1],o=(0,a.useCallback)((function(){t.current&&r(n+1)}),[n]);return[(0,a.useCallback)((function(){return Dt.ZP.postRender(o)}),[o]),n]}(),1),f=l[0],d=(0,a.useContext)($t.p).forceRender;d&&(f=d);var p=Bt(),v=function(t){var e=[];return a.Children.forEach(t,(function(t){(0,a.isValidElement)(t)&&e.push(t)})),e}(e),h=v,m=new Set,y=(0,a.useRef)(h),g=(0,a.useRef)(new Map).current,b=(0,a.useRef)(!0);if((0,Lt.L)((function(){b.current=!1,function(t,e){t.forEach((function(t){var n=Ht(t);e.set(n,t)}))}(v,g),y.current=h})),(0,Gt.z)((function(){b.current=!0,g.clear(),m.clear()})),b.current)return a.createElement(a.Fragment,null,h.map((function(t){return a.createElement(zt,{key:Ht(t),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:c},t)})));h=(0,Nt.ev)([],(0,Nt.CR)(h),!1);for(var x=y.current.map(Ht),w=v.map(Ht),E=x.length,O=0;O1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),a.createElement(a.Fragment,null,m.size?h:h.map((function(t){return(0,a.cloneElement)(t)})))},Yt=n(8043);function Kt(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}function Zt(){return Zt=Object.assign||function(t){for(var e=1;e0?1:0)},{height:o,transitionEnd:null==a?void 0:a.exit,transition:null!=(e=null==i?void 0:i.exit)?e:ie(se.exit,s)})},enter:function(t){var e,n=t.animateOpacity,r=t.endingHeight,o=t.transition,i=t.transitionEnd,a=t.delay;return Zt({},n&&{opacity:1},{height:r,transitionEnd:null==i?void 0:i.enter,transition:null!=(e=null==o?void 0:o.enter)?e:oe(se.enter,a)})}},ce=a.forwardRef((function(t,e){var n=t.in,r=t.unmountOnExit,o=t.animateOpacity,s=void 0===o||o,u=t.startingHeight,c=void 0===u?0:u,l=t.endingHeight,f=void 0===l?"auto":l,d=t.style,p=t.className,v=t.transition,h=t.transitionEnd,m=Kt(t,ae),y=a.useState(!1),g=y[0],b=y[1];a.useEffect((function(){var t=setTimeout((function(){b(!0)}));return function(){return clearTimeout(t)}}),[]),(0,i.ZK)({condition:Boolean(c>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});var x=parseFloat(c.toString())>0,w={startingHeight:c,endingHeight:f,animateOpacity:s,transition:g?v:{enter:{duration:0}},transitionEnd:_t()(h,{exit:r?void 0:{display:x?"block":"none"}})},E=!r||n,O=n||r?"enter":"exit";return a.createElement(qt,{initial:!1,custom:w},E&&a.createElement(Yt.E.div,Zt({ref:e},m,{className:(0,i.cx)("chakra-collapse",p),style:Zt({overflow:"hidden",display:"block"},d),custom:w,variants:ue,initial:!!r&&"exit",animate:O,exit:"exit"})))}));i.Ts&&(ce.displayName="Collapse");var le=["unmountOnExit","in","className","transition","transitionEnd","delay"],fe={enter:function(t){var e,n=void 0===t?{}:t,r=n.transition,o=n.transitionEnd,i=n.delay;return{opacity:1,transition:null!=(e=null==r?void 0:r.enter)?e:oe(re.enter,i),transitionEnd:null==o?void 0:o.enter}},exit:function(t){var e,n=void 0===t?{}:t,r=n.transition,o=n.transitionEnd,i=n.delay;return{opacity:0,transition:null!=(e=null==r?void 0:r.exit)?e:ie(re.exit,i),transitionEnd:null==o?void 0:o.exit}}},de={initial:"exit",animate:"enter",exit:"exit",variants:fe},pe=a.forwardRef((function(t,e){var n=t.unmountOnExit,r=t.in,o=t.className,s=t.transition,u=t.transitionEnd,c=t.delay,l=Kt(t,le),f=r||n?"enter":"exit",d=!n||r&&n,p={transition:s,transitionEnd:u,delay:c};return a.createElement(qt,{custom:p},d&&a.createElement(Yt.E.div,Zt({ref:e,className:(0,i.cx)("chakra-fade",o),custom:p},de,{animate:f},l)))}));i.Ts&&(pe.displayName="Fade");var ve=["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay"],he={exit:function(t){var e,n=t.reverse,r=t.initialScale,o=t.transition,i=t.transitionEnd,a=t.delay;return Zt({opacity:0},n?{scale:r,transitionEnd:null==i?void 0:i.exit}:{transitionEnd:Zt({scale:r},null==i?void 0:i.exit)},{transition:null!=(e=null==o?void 0:o.exit)?e:ie(re.exit,a)})},enter:function(t){var e,n=t.transitionEnd,r=t.transition,o=t.delay;return{opacity:1,scale:1,transition:null!=(e=null==r?void 0:r.enter)?e:oe(re.enter,o),transitionEnd:null==n?void 0:n.enter}}},me={initial:"exit",animate:"enter",exit:"exit",variants:he},ye=a.forwardRef((function(t,e){var n=t.unmountOnExit,r=t.in,o=t.reverse,s=void 0===o||o,u=t.initialScale,c=void 0===u?.95:u,l=t.className,f=t.transition,d=t.transitionEnd,p=t.delay,v=Kt(t,ve),h=!n||r&&n,m=r||n?"enter":"exit",y={initialScale:c,reverse:s,transition:f,transitionEnd:d,delay:p};return a.createElement(qt,{custom:y},h&&a.createElement(Yt.E.div,Zt({ref:e,className:(0,i.cx)("chakra-offset-slide",l)},me,{animate:m,custom:y},v)))}));i.Ts&&(ye.displayName="ScaleFade");var ge=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],be={exit:{duration:.15,ease:Xt.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},xe={exit:function(t){var e,n=t.direction,r=t.transition,o=t.transitionEnd,i=t.delay;return Zt({},ne({direction:n}).exit,{transition:null!=(e=null==r?void 0:r.exit)?e:ie(be.exit,i),transitionEnd:null==o?void 0:o.exit})},enter:function(t){var e,n=t.direction,r=t.transitionEnd,o=t.transition,i=t.delay;return Zt({},ne({direction:n}).enter,{transition:null!=(e=null==o?void 0:o.enter)?e:oe(be.enter,i),transitionEnd:null==r?void 0:r.enter})}},we=a.forwardRef((function(t,e){var n=t.direction,r=void 0===n?"right":n,o=t.style,s=t.unmountOnExit,u=t.in,c=t.className,l=t.transition,f=t.transitionEnd,d=t.delay,p=Kt(t,ge),v=ne({direction:r}),h=Object.assign({position:"fixed"},v.position,o),m=!s||u&&s,y=u||s?"enter":"exit",g={transitionEnd:f,transition:l,direction:r,delay:d};return a.createElement(qt,{custom:g},m&&a.createElement(Yt.E.div,Zt({},p,{ref:e,initial:"exit",className:(0,i.cx)("chakra-slide",c),animate:y,exit:"exit",custom:g,variants:xe,style:h})))}));i.Ts&&(we.displayName="Slide");var Ee=["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay"],Oe={initial:function(t){var e,n=t.offsetX,r=t.offsetY,o=t.transition,i=t.transitionEnd,a=t.delay;return{opacity:0,x:n,y:r,transition:null!=(e=null==o?void 0:o.exit)?e:ie(re.exit,a),transitionEnd:null==i?void 0:i.exit}},enter:function(t){var e,n=t.transition,r=t.transitionEnd,o=t.delay;return{opacity:1,x:0,y:0,transition:null!=(e=null==n?void 0:n.enter)?e:oe(re.enter,o),transitionEnd:null==r?void 0:r.enter}},exit:function(t){var e,n=t.offsetY,r=t.offsetX,o=t.transition,i=t.transitionEnd,a=t.reverse,s=t.delay,u={x:r,y:n};return Zt({opacity:0,transition:null!=(e=null==o?void 0:o.exit)?e:ie(re.exit,s)},a?Zt({},u,{transitionEnd:null==i?void 0:i.exit}):{transitionEnd:Zt({},u,null==i?void 0:i.exit)})}},Se={initial:"initial",animate:"enter",exit:"exit",variants:Oe},Ae=a.forwardRef((function(t,e){var n=t.unmountOnExit,r=t.in,o=t.reverse,s=void 0===o||o,u=t.className,c=t.offsetX,l=void 0===c?0:c,f=t.offsetY,d=void 0===f?8:f,p=t.transition,v=t.transitionEnd,h=t.delay,m=Kt(t,Ee),y=!n||r&&n,g=r||n?"enter":"exit",b={offsetX:l,offsetY:d,reverse:s,transition:p,transitionEnd:v,delay:h};return a.createElement(qt,{custom:b},y&&a.createElement(Yt.E.div,Zt({ref:e,className:(0,i.cx)("chakra-offset-slide",u),custom:b},Se,{animate:g},m)))}));i.Ts&&(Ae.displayName="SlideFade");var Ce=n(6450),Te=n(5947);var ke=function(){return ke=Object.assign||function(t){for(var e,n=1,r=arguments.length;n