From dae41a72774a5bcfbda8412f5c811a4c1c2281a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 Jan 2022 14:57:38 +0000 Subject: chore: build --- out/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js | 1 + out/_next/static/chunks/911-811443f68e27e1fd4f52.js | 1 - out/_next/static/chunks/b5f2ed29-b8c45246e6f61610d91f.js | 1 + out/_next/static/chunks/b5f2ed29-c14b12daa385c4cc7854.js | 1 - out/_next/static/chunks/fb7d5399-9c00dff9225b87a317ed.js | 1 + out/_next/static/chunks/fb7d5399-b53d39280eb7028fd5fb.js | 1 - out/_next/static/chunks/framework-2f612445bd50b211f15a.js | 1 - out/_next/static/chunks/framework-a62d654bd9699da79f2a.js | 1 + out/_next/static/chunks/main-80dde85f3cea1551bba1.js | 1 + out/_next/static/chunks/main-965b0767a8d0eaf0c110.js | 1 - out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js | 1 + out/_next/static/chunks/pages/_app-7ef60f4a6a38c5e0c8ec.js | 1 - out/_next/static/chunks/pages/index-8162019a78766f0a3f9d.js | 1 - out/_next/static/chunks/pages/index-9ebad2ac6fcc0c57103b.js | 1 + out/_next/static/chunks/webpack-96298ddac7773fa5ecad.js | 1 - out/_next/static/chunks/webpack-97b7769aa68ab46953a1.js | 1 + 16 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 out/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js delete mode 100644 out/_next/static/chunks/911-811443f68e27e1fd4f52.js create mode 100644 out/_next/static/chunks/b5f2ed29-b8c45246e6f61610d91f.js delete mode 100644 out/_next/static/chunks/b5f2ed29-c14b12daa385c4cc7854.js create mode 100644 out/_next/static/chunks/fb7d5399-9c00dff9225b87a317ed.js delete mode 100644 out/_next/static/chunks/fb7d5399-b53d39280eb7028fd5fb.js delete mode 100644 out/_next/static/chunks/framework-2f612445bd50b211f15a.js create mode 100644 out/_next/static/chunks/framework-a62d654bd9699da79f2a.js create mode 100644 out/_next/static/chunks/main-80dde85f3cea1551bba1.js delete mode 100644 out/_next/static/chunks/main-965b0767a8d0eaf0c110.js create mode 100644 out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js delete mode 100644 out/_next/static/chunks/pages/_app-7ef60f4a6a38c5e0c8ec.js delete mode 100644 out/_next/static/chunks/pages/index-8162019a78766f0a3f9d.js create mode 100644 out/_next/static/chunks/pages/index-9ebad2ac6fcc0c57103b.js delete mode 100644 out/_next/static/chunks/webpack-96298ddac7773fa5ecad.js create mode 100644 out/_next/static/chunks/webpack-97b7769aa68ab46953a1.js (limited to 'out/_next/static/chunks') diff --git a/out/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js b/out/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js new file mode 100644 index 0000000..5a5a4f0 --- /dev/null +++ b/out/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[879],{94090:function(e,t,n){"use strict";n.d(t,{UQ:function(){return A},KF:function(){return N},XE:function(){return M},Qd:function(){return I},Hk:function(){return R}});var r=n(10894),i=n(105),o=n(37496),a=n(44592),s=n(52829),u=n(67294),c=n(40242),l=n(97375);function d(){return(d=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var h=["onChange","defaultIndex","index","allowMultiple","allowToggle"],p=["isDisabled","isFocusable","id"],m=(0,c.n)(),g=m[0],v=(m[1],m[2]),y=m[3];function b(e){var t=e.onChange,n=e.defaultIndex,r=e.index,i=e.allowMultiple,o=e.allowToggle,s=f(e,h);!function(e){var t=e.index||e.defaultIndex,n=!(0,a.o8)(t)&&!(0,a.kJ)(t)&&e.allowMultiple;(0,a.ZK)({condition:!!n,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: "+typeof t+","})}(e),function(e){(0,a.ZK)({condition:!(!e.allowMultiple||!e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(e);var c=v(),d=(0,u.useState)(-1),p=d[0],m=d[1];(0,l.zq)((function(){m(-1)}));var g=(0,l.Tx)({value:r,defaultValue:function(){return i?null!=n?n:[]:null!=n?n:-1},onChange:t}),y=g[0],b=g[1];return{index:y,setIndex:b,htmlProps:s,getAccordionItemProps:function(e){var t=!1;null!==e&&(t=(0,a.kJ)(y)?y.includes(e):y===e);return{isOpen:t,onChange:function(t){if(null!==e)if(i&&(0,a.kJ)(y)){var n=t?(0,a.jX)(y,e):(0,a.cl)(y,e);b(n)}else t?b(e):o&&b(-1)}}},focusedIndex:p,setFocusedIndex:m,descendants:c}}var E=(0,s.kr)({name:"AccordionContext",errorMessage:"useAccordionContext: `context` is undefined. Seems you forgot to wrap the accordion components in ``"}),T=E[0],x=E[1];function _(e){var t=e.isDisabled,n=e.isFocusable,r=e.id,i=f(e,p),o=x(),c=o.getAccordionItemProps,h=o.setFocusedIndex,m=(0,u.useRef)(null),g=(0,l.ZS)(r,"accordion-button","accordion-panel"),v=g[0],b=g[1];!function(e){(0,a.ZK)({condition:!(!e.isFocusable||e.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(e);var E=y({disabled:t&&!n}),T=E.register,_=E.index,w=E.descendants,k=c(-1===_?null:_),C=k.isOpen,A=k.onChange;!function(e){(0,a.ZK)({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:C,isDisabled:t});var S=(0,u.useCallback)((function(){null==A||A(!C),h(_)}),[_,h,C,A]),O=(0,u.useCallback)((function(e){var t={ArrowDown:function(){var e=w.nextEnabled(_);e&&(0,a.T_)(e.node)},ArrowUp:function(){var e=w.prevEnabled(_);e&&(0,a.T_)(e.node)},Home:function(){var e=w.firstEnabled();e&&(0,a.T_)(e.node)},End:function(){var e=w.lastEnabled();e&&(0,a.T_)(e.node)}}[(0,a.uh)(e)];t&&(e.preventDefault(),t(e))}),[w,_]),D=(0,u.useCallback)((function(){h(_)}),[h,_]),I=(0,u.useCallback)((function(e,n){return void 0===e&&(e={}),void 0===n&&(n=null),d({},e,{type:"button",ref:(0,s.lq)(T,m,n),id:v,disabled:!!t,"aria-expanded":!!C,"aria-controls":b,onClick:(0,a.v0)(e.onClick,S),onFocus:(0,a.v0)(e.onFocus,D),onKeyDown:(0,a.v0)(e.onKeyDown,O)})}),[v,t,C,S,D,O,b,T]),N=(0,u.useCallback)((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),d({},e,{ref:t,role:"region",id:b,"aria-labelledby":v,hidden:!C})}),[v,C,b]);return{isOpen:C,isDisabled:t,isFocusable:n,onOpen:function(){null==A||A(!0)},onClose:function(){null==A||A(!1)},getButtonProps:I,getPanelProps:N,htmlProps:i}}var w=["children","reduceMotion"],k=["htmlProps","descendants"],C=["htmlProps"],A=(0,i.Gp)((function(e,t){var n=e.children,r=e.reduceMotion,o=f(e,w),s=(0,i.jC)("Accordion",o),c=b((0,i.Lr)(o)),l=c.htmlProps,h=c.descendants,p=f(c,k),m=u.useMemo((function(){return d({},p,{reduceMotion:!!r})}),[p,r]);return u.createElement(g,{value:h},u.createElement(T,{value:m},u.createElement(i.Fo,{value:s},u.createElement(i.m$.div,d({ref:t},l,{className:(0,a.cx)("chakra-accordion",o.className)}),n))))}));a.Ts&&(A.displayName="Accordion");var S=(0,s.kr)({name:"AccordionItemContext",errorMessage:"useAccordionItemContext: `context` is undefined. Seems you forgot to wrap the accordion item parts in `` "}),O=S[0],D=S[1],I=(0,i.Gp)((function(e,t){var n=e.children,r=e.className,o=_(e),s=o.htmlProps,c=f(o,C),l=d({},(0,i.yK)().container,{overflowAnchor:"none"}),h=u.useMemo((function(){return c}),[c]);return u.createElement(O,{value:h},u.createElement(i.m$.div,d({ref:t},s,{className:(0,a.cx)("chakra-accordion__item",r),__css:l}),(0,a.Pu)(n,{isExpanded:!!c.isOpen,isDisabled:!!c.isDisabled})))}));a.Ts&&(I.displayName="AccordionItem");var N=(0,i.Gp)((function(e,t){var n=(0,D().getButtonProps)(e,t),r=d({display:"flex",alignItems:"center",width:"100%",outline:0},(0,i.yK)().button);return u.createElement(i.m$.button,d({},n,{className:(0,a.cx)("chakra-accordion__button",e.className),__css:r}))}));a.Ts&&(N.displayName="AccordionButton");var R=(0,i.Gp)((function(e,t){var n=x().reduceMotion,r=D(),s=r.getPanelProps,c=r.isOpen,l=s(e,t),f=(0,a.cx)("chakra-accordion__panel",e.className),h=(0,i.yK)();n||delete l.hidden;var p=u.createElement(i.m$.div,d({},l,{__css:h.panel,className:f}));return n?p:u.createElement(o.UO,{in:c},p)}));a.Ts&&(R.displayName="AccordionPanel");var M=function(e){var t=D(),n=t.isOpen,o=t.isDisabled,s=x().reduceMotion,c=(0,a.cx)("chakra-accordion__icon",e.className),l=d({opacity:o?.4:1,transform:n?"rotate(-180deg)":void 0,transition:s?void 0:"transform 0.2s",transformOrigin:"center"},(0,i.yK)().icon);return u.createElement(r.JO,d({viewBox:"0 0 24 24","aria-hidden":!0,className:c,__css:l},e),u.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))};a.Ts&&(M.displayName="AccordionIcon")},68921:function(e,t,n){"use strict";n.r(t),n.d(t,{Button:function(){return S},ButtonGroup:function(){return x},ButtonSpinner:function(){return w},IconButton:function(){return I},useButtonGroup:function(){return T}});var r=n(97375),i=n(105),o=n(44592),a=n(38554),s=n.n(a),u=n(67294),c=n(52829),l=n(70917),d=n(1358);function f(){return(f=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(r,h),T=(0,o.cx)("chakra-spinner",b),x=f({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:y,borderLeftColor:y,animation:p+" "+g+" linear infinite"},n);return u.createElement(i.m$.div,f({ref:t,__css:x,className:T},E),s&&u.createElement(d.TX,null,s))}));function g(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function v(){return(v=Object.assign||function(e){for(var t=1;t *: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:m},u.createElement(i.m$.div,v({ref:t,role:"group",__css:b,className:p},h)))}));o.Ts&&(x.displayName="ButtonGroup");var _=["label","placement","spacing","children","className","__css"],w=function(e){var t=e.label,n=e.placement,r=e.spacing,a=void 0===r?"0.5rem":r,s=e.children,c=void 0===s?u.createElement(m,{color:"currentColor",width:"1em",height:"1em"}):s,l=e.className,d=e.__css,f=g(e,_),h=(0,o.cx)("chakra-button__spinner",l),p="start"===n?"marginEnd":"marginStart",y=u.useMemo((function(){var e;return v(((e={display:"flex",alignItems:"center",position:t?"relative":"absolute"})[p]=t?a:0,e.fontSize="1em",e.lineHeight="normal",e),d)}),[d,t,p,a]);return u.createElement(i.m$.div,v({className:h},f,{__css:y}),c)};o.Ts&&(w.displayName="ButtonSpinner");var k=["children","className"],C=function(e){var t=e.children,n=e.className,r=g(e,k),a=u.isValidElement(t)?u.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,s=(0,o.cx)("chakra-button__icon",n);return u.createElement(i.m$.span,v({display:"inline-flex",alignSelf:"center",flexShrink:0},r,{className:s}),a)};o.Ts&&(C.displayName="ButtonIcon");var A=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],S=(0,i.Gp)((function(e,t){var n=T(),a=(0,i.mq)("Button",v({},n,e)),c=(0,i.Lr)(e),l=c.isDisabled,d=void 0===l?null==n?void 0:n.isDisabled:l,f=c.isLoading,h=c.isActive,p=c.isFullWidth,m=c.children,y=c.leftIcon,b=c.rightIcon,E=c.loadingText,x=c.iconSpacing,_=void 0===x?"0.5rem":x,k=c.type,C=c.spinner,S=c.spinnerPlacement,D=void 0===S?"start":S,I=c.className,N=c.as,R=g(c,A),M=u.useMemo((function(){var e,t=s()({},null!=(e=null==a?void 0:a._focus)?e:{},{zIndex:1});return v({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:p?"100%":"auto"},a,!!n&&{_focus:t})}),[a,n,p]),P=function(e){var t=u.useState(!e),n=t[0],r=t[1];return{ref:u.useCallback((function(e){e&&r("BUTTON"===e.tagName)}),[]),type:n?"button":void 0}}(N),L=P.ref,F=P.type,j={rightIcon:b,leftIcon:y,iconSpacing:_,children:m};return u.createElement(i.m$.button,v({disabled:d||f,ref:(0,r.qq)(t,L),as:N,type:null!=k?k:F,"data-active":(0,o.PB)(h),"data-loading":(0,o.PB)(f),__css:M,className:(0,o.cx)("chakra-button",I)},R),f&&"start"===D&&u.createElement(w,{className:"chakra-button__spinner--start",label:E,placement:"start",spacing:_},C),f?E||u.createElement(i.m$.span,{opacity:0},u.createElement(O,j)):u.createElement(O,j),f&&"end"===D&&u.createElement(w,{className:"chakra-button__spinner--end",label:E,placement:"end",spacing:_},C))}));function O(e){var t=e.leftIcon,n=e.rightIcon,r=e.children,i=e.iconSpacing;return u.createElement(u.Fragment,null,t&&u.createElement(C,{marginEnd:i},t),r,n&&u.createElement(C,{marginStart:i},n))}o.Ts&&(S.displayName="Button");var D=["icon","children","isRound","aria-label"],I=(0,i.Gp)((function(e,t){var n=e.icon,r=e.children,i=e.isRound,o=e["aria-label"],a=g(e,D),s=n||r,c=u.isValidElement(s)?u.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return u.createElement(S,v({padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o},a),c)}));o.Ts&&(I.displayName="IconButton")},84746:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});var r=n(10894),i=n(105),o=n(44592),a=n(67294);function s(){return(s=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(r,u);return a.createElement(i.m$.button,s({type:"button","aria-label":"Close",ref:t,disabled:l,__css:s({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},n,d)},f),o||a.createElement(c,{width:"1em",height:"1em"}))}));o.Ts&&(l.displayName="CloseButton")},40242:function(e,t,n){"use strict";n.d(t,{n:function(){return p}});var r=n(52829),i=n(67294);function o(){return(o=Object.assign||function(e){for(var t=1;t=t&&(r=0),r}function u(e,t,n){var r=e-1;return n&&r<0&&(r=t),r}var c="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,l=function(){var e=this;this.descendants=new Map,this.register=function(t){var n;if(null!=t)return"object"==typeof(n=t)&&"nodeType"in n&&n.nodeType===Node.ELEMENT_NODE?e.registerNode(t):function(n){e.registerNode(n,t)}},this.unregister=function(t){e.descendants.delete(t);var n=a(Array.from(e.descendants.keys()));e.assignIndex(n)},this.destroy=function(){e.descendants.clear()},this.assignIndex=function(t){e.descendants.forEach((function(e){var n=t.indexOf(e.node);e.index=n,e.node.dataset.index=e.index.toString()}))},this.count=function(){return e.descendants.size},this.enabledCount=function(){return e.enabledValues().length},this.values=function(){return Array.from(e.descendants.values()).sort((function(e,t){return e.index-t.index}))},this.enabledValues=function(){return e.values().filter((function(e){return!e.disabled}))},this.item=function(t){if(0!==e.count())return e.values()[t]},this.enabledItem=function(t){if(0!==e.enabledCount())return e.enabledValues()[t]},this.first=function(){return e.item(0)},this.firstEnabled=function(){return e.enabledItem(0)},this.last=function(){return e.item(e.descendants.size-1)},this.lastEnabled=function(){var t=e.enabledValues().length-1;return e.enabledItem(t)},this.indexOf=function(t){var n,r;return t&&null!=(n=null==(r=e.descendants.get(t))?void 0:r.index)?n:-1},this.enabledIndexOf=function(t){return null==t?-1:e.enabledValues().findIndex((function(e){return e.node.isSameNode(t)}))},this.next=function(t,n){void 0===n&&(n=!0);var r=s(t,e.count(),n);return e.item(r)},this.nextEnabled=function(t,n){void 0===n&&(n=!0);var r=e.item(t);if(r){var i=s(e.enabledIndexOf(r.node),e.enabledCount(),n);return e.enabledItem(i)}},this.prev=function(t,n){void 0===n&&(n=!0);var r=u(t,e.count()-1,n);return e.item(r)},this.prevEnabled=function(t,n){void 0===n&&(n=!0);var r=e.item(t);if(r){var i=u(e.enabledIndexOf(r.node),e.enabledCount()-1,n);return e.enabledItem(i)}},this.registerNode=function(t,n){if(t&&!e.descendants.has(t)){var r=a(Array.from(e.descendants.keys()).concat(t));null!=n&&n.disabled&&(n.disabled=!!n.disabled);var i=o({node:t,index:-1},n);e.descendants.set(t,i),e.assignIndex(r)}}};var d=(0,r.kr)({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),f=d[0],h=d[1];function p(){return[f,function(){return h()},function(){return function(){var e=(0,i.useRef)(new l);return c((function(){return function(){return e.current.destroy()}})),e.current}()},function(e){return function(e){var t=h(),n=(0,i.useState)(-1),o=n[0],a=n[1],s=(0,i.useRef)(null);c((function(){return function(){s.current&&t.unregister(s.current)}}),[]),c((function(){if(s.current){var e=Number(s.current.dataset.index);o==e||Number.isNaN(e)||a(e)}}));var u=e?t.register(e):t.register;return{descendants:t,index:o,enabledIndex:t.enabledIndexOf(s.current),register:(0,r.lq)(u,s)}}(e)}]}},79762:function(e,t,n){"use strict";n.r(t),n.d(t,{FormControl:function(){return g},FormErrorIcon:function(){return _},FormErrorMessage:function(){return x},FormHelperText:function(){return v},FormLabel:function(){return k},RequiredIndicator:function(){return C},useFormControl:function(){return E},useFormControlContext:function(){return m},useFormControlProps:function(){return T}});var r=n(97375),i=n(105),o=n(44592),a=n(52829),s=n(67294),u=n(10894);function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var d=["id","isRequired","isInvalid","isDisabled","isReadOnly"],f=["getRootProps","htmlProps"],h=(0,a.kr)({strict:!1,name:"FormControlContext"}),p=h[0],m=h[1];var g=(0,i.Gp)((function(e,t){var n=(0,i.jC)("Form",e),u=function(e){var t=e.id,n=e.isRequired,i=e.isInvalid,u=e.isDisabled,f=e.isReadOnly,h=l(e,d),p=(0,r.Me)(),m=t||"field-"+p,g=m+"-label",v=m+"-feedback",y=m+"-helptext",b=s.useState(!1),E=b[0],T=b[1],x=s.useState(!1),_=x[0],w=x[1],k=(0,r.kt)(),C=k[0],A=k[1],S=s.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),c({id:y},e,{ref:(0,a.lq)(t,(function(e){e&&w(!0)}))})}),[y]),O=s.useCallback((function(e,t){var n,r;return void 0===e&&(e={}),void 0===t&&(t=null),c({},e,{ref:t,"data-focus":(0,o.PB)(C),"data-disabled":(0,o.PB)(u),"data-invalid":(0,o.PB)(i),"data-readonly":(0,o.PB)(f),id:null!=(n=e.id)?n:g,htmlFor:null!=(r=e.htmlFor)?r:m})}),[m,u,C,i,f,g]),D=s.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),c({id:v},e,{ref:(0,a.lq)(t,(function(e){e&&T(!0)})),"aria-live":"polite"})}),[v]),I=s.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),c({},e,h,{ref:t,role:"group"})}),[h]),N=s.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),c({},e,{ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})}),[]);return{isRequired:!!n,isInvalid:!!i,isReadOnly:!!f,isDisabled:!!u,isFocused:!!C,onFocus:A.on,onBlur:A.off,hasFeedbackText:E,setHasFeedbackText:T,hasHelpText:_,setHasHelpText:w,id:m,labelId:g,feedbackId:v,helpTextId:y,htmlProps:h,getHelpTextProps:S,getErrorMessageProps:D,getRootProps:I,getLabelProps:O,getRequiredIndicatorProps:N}}((0,i.Lr)(e)),h=u.getRootProps;u.htmlProps;var m=l(u,f),g=(0,o.cx)("chakra-form-control",e.className),v=s.useMemo((function(){return m}),[m]);return s.createElement(p,{value:v},s.createElement(i.Fo,{value:n},s.createElement(i.m$.div,c({},h({},t),{className:g,__css:n.container}))))}));o.Ts&&(g.displayName="FormControl");var v=(0,i.Gp)((function(e,t){var n=m(),r=(0,i.yK)(),a=(0,o.cx)("chakra-form__helper-text",e.className);return s.createElement(i.m$.div,c({},null==n?void 0:n.getHelpTextProps(e,t),{__css:r.helperText,className:a}))}));o.Ts&&(v.displayName="FormHelperText");var y=["isDisabled","isInvalid","isReadOnly","isRequired"],b=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function E(e){var t=T(e),n=t.isDisabled,r=t.isInvalid,i=t.isReadOnly,a=t.isRequired;return c({},l(t,y),{disabled:n,readOnly:i,required:a,"aria-invalid":(0,o.Qm)(r),"aria-required":(0,o.Qm)(a),"aria-readonly":(0,o.Qm)(i)})}function T(e){var t,n,r,i=m(),a=e.id,s=e.disabled,u=e.readOnly,d=e.required,f=e.isRequired,h=e.isInvalid,p=e.isReadOnly,g=e.isDisabled,v=e.onFocus,y=e.onBlur,E=l(e,b),T=e["aria-describedby"]?[e["aria-describedby"]]:[];return null!=i&&i.hasFeedbackText&&null!=i&&i.isInvalid&&T.push(i.feedbackId),null!=i&&i.hasHelpText&&T.push(i.helpTextId),c({},E,{"aria-describedby":T.join(" ")||void 0,id:null!=a?a:null==i?void 0:i.id,isDisabled:null!=(t=null!=s?s:g)?t:null==i?void 0:i.isDisabled,isReadOnly:null!=(n=null!=u?u:p)?n:null==i?void 0:i.isReadOnly,isRequired:null!=(r=null!=d?d:f)?r:null==i?void 0:i.isRequired,isInvalid:null!=h?h:null==i?void 0:i.isInvalid,onFocus:(0,o.v0)(null==i?void 0:i.onFocus,v),onBlur:(0,o.v0)(null==i?void 0:i.onBlur,y)})}var x=(0,i.Gp)((function(e,t){var n=(0,i.jC)("FormError",e),r=(0,i.Lr)(e),a=m();return null!=a&&a.isInvalid?s.createElement(i.Fo,{value:n},s.createElement(i.m$.div,c({},null==a?void 0:a.getErrorMessageProps(r,t),{className:(0,o.cx)("chakra-form__error-message",e.className),__css:c({display:"flex",alignItems:"center"},n.text)}))):null}));o.Ts&&(x.displayName="FormErrorMessage");var _=(0,i.Gp)((function(e,t){var n=(0,i.yK)(),r=m();if(null==r||!r.isInvalid)return null;var a=(0,o.cx)("chakra-form__error-icon",e.className);return s.createElement(u.ZP,c({ref:t,"aria-hidden":!0},e,{__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"}))}));o.Ts&&(_.displayName="FormErrorIcon");var w=["className","children","requiredIndicator"],k=(0,i.Gp)((function(e,t){var n,r=(0,i.mq)("FormLabel",e),a=(0,i.Lr)(e);a.className;var u=a.children,d=a.requiredIndicator,f=void 0===d?s.createElement(C,null):d,h=l(a,w),p=m(),g=null!=(n=null==p?void 0:p.getLabelProps(h,t))?n:c({ref:t},h);return s.createElement(i.m$.label,c({},g,{className:(0,o.cx)("chakra-form__label",a.className),__css:c({display:"block",textAlign:"start"},r)}),u,null!=p&&p.isRequired?f:null)}));o.Ts&&(k.displayName="FormLabel");var C=(0,i.Gp)((function(e,t){var n=m(),r=(0,i.yK)();if(null==n||!n.isRequired)return null;var a=(0,o.cx)("chakra-form__required-indicator",e.className);return s.createElement(i.m$.span,c({},null==n?void 0:n.getRequiredIndicatorProps(e,t),{__css:r.requiredIndicator,className:a}))}));o.Ts&&(C.displayName="RequiredIndicator")},94998:function(e,t,n){"use strict";n.d(t,{h:function(){return r.c}});n(67294);var r=n(78698)},10894:function(e,t,n){"use strict";n.d(t,{JO:function(){return c},ZP:function(){return l}});var r=n(105),i=n(44592),o=n(67294);function a(){return(a=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,s),y={ref:t,focusable:h,className:(0,i.cx)("chakra-icon",m),__css:a({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:d},g)},b=null!=c?c:u.viewBox;if(n&&"string"!==typeof n)return o.createElement(r.m$.svg,a({as:n},y,v));var E=null!=p?p:u.path;return o.createElement(r.m$.svg,a({verticalAlign:"middle",viewBox:b},y,v),E)}));i.Ts&&(c.displayName="Icon");var l=c},52072:function(e,t,n){"use strict";n.r(t),n.d(t,{AddIcon:function(){return v},ArrowBackIcon:function(){return M},ArrowDownIcon:function(){return j},ArrowForwardIcon:function(){return P},ArrowLeftIcon:function(){return q},ArrowRightIcon:function(){return K},ArrowUpDownIcon:function(){return F},ArrowUpIcon:function(){return L},AtSignIcon:function(){return W},AttachmentIcon:function(){return $},BellIcon:function(){return se},CalendarIcon:function(){return U},ChatIcon:function(){return V},CheckCircleIcon:function(){return E},CheckIcon:function(){return he},ChevronDownIcon:function(){return N},ChevronLeftIcon:function(){return D},ChevronRightIcon:function(){return I},ChevronUpIcon:function(){return R},CloseIcon:function(){return te},CopyIcon:function(){return f},DeleteIcon:function(){return C},DownloadIcon:function(){return k},DragHandleIcon:function(){return J},EditIcon:function(){return O},EmailIcon:function(){return X},ExternalLinkIcon:function(){return H},HamburgerIcon:function(){return me},Icon:function(){return l},InfoIcon:function(){return ue},InfoOutlineIcon:function(){return ae},LinkIcon:function(){return B},LockIcon:function(){return T},MinusIcon:function(){return pe},MoonIcon:function(){return m},NotAllowedIcon:function(){return re},PhoneIcon:function(){return Q},PlusSquareIcon:function(){return z},QuestionIcon:function(){return ce},QuestionOutlineIcon:function(){return le},RepeatClockIcon:function(){return S},RepeatIcon:function(){return A},Search2Icon:function(){return p},SearchIcon:function(){return h},SettingsIcon:function(){return b},SmallAddIcon:function(){return y},SmallCloseIcon:function(){return ne},SpinnerIcon:function(){return ee},StarIcon:function(){return Y},SunIcon:function(){return g},TimeIcon:function(){return G},TriangleDownIcon:function(){return ie},TriangleUpIcon:function(){return oe},UnlockIcon:function(){return x},UpDownIcon:function(){return Z},ViewIcon:function(){return _},ViewOffIcon:function(){return w},WarningIcon:function(){return de},WarningTwoIcon:function(){return fe},createIcon:function(){return d}});var r=n(105);n(38554),n(9839);var i=!1;!function(e){var t=new WeakMap}((function(e,t,n,r){var i="string"===typeof t?t.split("."):[t];for(r=0;r=0||(i[n]=e[n]);return i}(e,u),v={ref:t,focusable:f,className:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(i[n]=e[n]);return i}o.Ts&&(c.displayName="Input"),c.id="Input";var d=["placement"],f={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},h=(0,i.m$)("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),p=(0,i.Gp)((function(e,t){var n,r=e.placement,o=void 0===r?"left":r,s=l(e,d),c=null!=(n=f[o])?n:{},p=(0,i.yK)();return a.createElement(h,u({ref:t},s,{__css:u({},p.addon,c)}))}));o.Ts&&(p.displayName="InputAddon");var m=(0,i.Gp)((function(e,t){return a.createElement(p,u({ref:t,placement:"left"},e,{className:(0,o.cx)("chakra-input__left-addon",e.className)}))}));o.Ts&&(m.displayName="InputLeftAddon"),m.id="InputLeftAddon";var g=(0,i.Gp)((function(e,t){return a.createElement(p,u({ref:t,placement:"right"},e,{className:(0,o.cx)("chakra-input__right-addon",e.className)}))}));o.Ts&&(g.displayName="InputRightAddon"),g.id="InputRightAddon";var v=["children","className"],y=(0,i.Gp)((function(e,t){var n=(0,i.jC)("Input",e),r=(0,i.Lr)(e),c=r.children,d=r.className,f=l(r,v),h=(0,o.cx)("chakra-input__group",d),p={},m=(0,s.WR)(c),g=n.field;m.forEach((function(e){if(n){var t,r;if(g&&"InputLeftElement"===e.type.id)p.paddingStart=null!=(t=g.height)?t:g.h;if(g&&"InputRightElement"===e.type.id)p.paddingEnd=null!=(r=g.height)?r:g.h;"InputRightAddon"===e.type.id&&(p.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(p.borderStartRadius=0)}}));var y=m.map((function(t){var n,r,i=(0,o.YU)({size:(null==(n=t.props)?void 0:n.size)||e.size,variant:(null==(r=t.props)?void 0:r.variant)||e.variant});return"Input"!==t.type.id?a.cloneElement(t,i):a.cloneElement(t,Object.assign(i,p,t.props))}));return a.createElement(i.m$.div,u({className:h,ref:t,__css:{width:"100%",display:"flex",position:"relative"}},f),a.createElement(i.Fo,{value:n},y))}));o.Ts&&(y.displayName="InputGroup");var b=["placement"],E=["className"],T=["className"],x=(0,i.m$)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),_=(0,i.Gp)((function(e,t){var n,r,o,s=e.placement,c=void 0===s?"left":s,d=l(e,b),f=(0,i.yK)().field,h=((o={})["left"===c?"insetStart":"insetEnd"]="0",o.width=null!=(n=null==f?void 0:f.height)?n:null==f?void 0:f.h,o.height=null!=(r=null==f?void 0:f.height)?r:null==f?void 0:f.h,o.fontSize=null==f?void 0:f.fontSize,o);return a.createElement(x,u({ref:t,__css:h},d))}));_.id="InputElement",o.Ts&&(_.displayName="InputElement");var w=(0,i.Gp)((function(e,t){var n=e.className,r=l(e,E),i=(0,o.cx)("chakra-input__left-element",n);return a.createElement(_,u({ref:t,placement:"left",className:i},r))}));w.id="InputLeftElement",o.Ts&&(w.displayName="InputLeftElement");var k=(0,i.Gp)((function(e,t){var n=e.className,r=l(e,T),i=(0,o.cx)("chakra-input__right-element",n);return a.createElement(_,u({ref:t,placement:"right",className:i},r))}));k.id="InputRightElement",o.Ts&&(k.displayName="InputRightElement")},68527:function(e,t,n){"use strict";n.r(t),n.d(t,{AbsoluteCenter:function(){return _},AspectRatio:function(){return f},Badge:function(){return p},Box:function(){return v},Center:function(){return T},Circle:function(){return b},Code:function(){return k},Container:function(){return A},Divider:function(){return D},Flex:function(){return N},Grid:function(){return P},GridItem:function(){return F},HStack:function(){return ce},Heading:function(){return H},Kbd:function(){return z},Link:function(){return V},LinkBox:function(){return Ee},LinkOverlay:function(){return be},List:function(){return Y},ListIcon:function(){return ee},ListItem:function(){return J},OrderedList:function(){return X},SimpleGrid:function(){return ne},Spacer:function(){return re},Square:function(){return y},Stack:function(){return ue},StackDivider:function(){return ae},StackItem:function(){return se},Text:function(){return fe},UnorderedList:function(){return Q},VStack:function(){return le},Wrap:function(){return me},WrapItem:function(){return ge}});var r=n(105),i=n(94244),o=n(44592),a=n(67294),s=n(10894),u=n(52829);function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var d=["ratio","children","className"],f=(0,r.Gp)((function(e,t){var n=e.ratio,i=void 0===n?4/3:n,s=e.children,u=e.className,f=l(e,d),h=a.Children.only(s),p=(0,o.cx)("chakra-aspect-ratio",u);return a.createElement(r.m$.div,c({ref:t,position:"relative",className:p,_before:{height:0,content:'""',display:"block",paddingBottom:(0,o.XQ)(i,(function(e){return 1/e*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"}}},f),h)}));o.Ts&&(f.displayName="AspectRatio");var h=["className"],p=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Badge",e),i=(0,r.Lr)(e);i.className;var s=l(i,h);return a.createElement(r.m$.span,c({ref:t,className:(0,o.cx)("chakra-badge",e.className)},s,{__css:c({display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle"},n)}))}));o.Ts&&(p.displayName="Badge");var m=["size","centerContent"],g=["size"],v=(0,r.m$)("div");o.Ts&&(v.displayName="Box");var y=(0,r.Gp)((function(e,t){var n=e.size,r=e.centerContent,i=void 0===r||r,o=l(e,m),s=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return a.createElement(v,c({ref:t,boxSize:n,__css:c({},s,{flexShrink:0,flexGrow:0})},o))}));o.Ts&&(y.displayName="Square");var b=(0,r.Gp)((function(e,t){var n=e.size,r=l(e,g);return a.createElement(y,c({size:n,ref:t,borderRadius:"9999px"},r))}));o.Ts&&(b.displayName="Circle");var E=["axis"],T=(0,r.m$)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});o.Ts&&(T.displayName="Center");var x={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},_=(0,r.Gp)((function(e,t){var n=e.axis,i=void 0===n?"both":n,o=l(e,E);return a.createElement(r.m$.div,c({ref:t,__css:x[i]},o,{position:"absolute"}))})),w=["className"],k=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Code",e),i=(0,r.Lr)(e);i.className;var s=l(i,w);return a.createElement(r.m$.code,c({ref:t,className:(0,o.cx)("chakra-code",e.className)},s,{__css:c({display:"inline-block"},n)}))}));o.Ts&&(k.displayName="Code");var C=["className","centerContent"],A=(0,r.Gp)((function(e,t){var n=(0,r.Lr)(e),i=n.className,s=n.centerContent,u=l(n,C),d=(0,r.mq)("Container",e);return a.createElement(r.m$.div,c({ref:t,className:(0,o.cx)("chakra-container",i)},u,{__css:c({},d,s&&{display:"flex",flexDirection:"column",alignItems:"center"})}))}));o.Ts&&(A.displayName="Container");var S=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],O=["className","orientation","__css"],D=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Divider",e),i=n.borderLeftWidth,s=n.borderBottomWidth,u=n.borderTopWidth,d=n.borderRightWidth,f=n.borderWidth,h=n.borderStyle,p=n.borderColor,m=l(n,S),g=(0,r.Lr)(e),v=g.className,y=g.orientation,b=void 0===y?"horizontal":y,E=g.__css,T=l(g,O),x={vertical:{borderLeftWidth:i||d||f||"1px",height:"100%"},horizontal:{borderBottomWidth:s||u||f||"1px",width:"100%"}};return a.createElement(r.m$.hr,c({ref:t,"aria-orientation":b},T,{__css:c({},m,{border:"0",borderColor:p,borderStyle:h},x[b],E),className:(0,o.cx)("chakra-divider",v)}))}));o.Ts&&(D.displayName="Divider");var I=["direction","align","justify","wrap","basis","grow","shrink"],N=(0,r.Gp)((function(e,t){var n=e.direction,i=e.align,o=e.justify,s=e.wrap,u=e.basis,d=e.grow,f=e.shrink,h=l(e,I),p={display:"flex",flexDirection:n,alignItems:i,justifyContent:o,flexWrap:s,flexBasis:u,flexGrow:d,flexShrink:f};return a.createElement(r.m$.div,c({ref:t,__css:p},h))}));o.Ts&&(N.displayName="Flex");var R=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],M=["area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart"],P=(0,r.Gp)((function(e,t){var n=e.area,i=e.templateAreas,o=e.gap,s=e.rowGap,u=e.columnGap,d=e.column,f=e.row,h=e.autoFlow,p=e.autoRows,m=e.templateRows,g=e.autoColumns,v=e.templateColumns,y=l(e,R),b={display:"grid",gridArea:n,gridTemplateAreas:i,gridGap:o,gridRowGap:s,gridColumnGap:u,gridAutoColumns:g,gridColumn:d,gridRow:f,gridAutoFlow:h,gridAutoRows:p,gridTemplateRows:m,gridTemplateColumns:v};return a.createElement(r.m$.div,c({ref:t,__css:b},y))}));function L(e){return(0,o.XQ)(e,(function(e){return"auto"===e?"auto":"span "+e+"/span "+e}))}o.Ts&&(P.displayName="Grid");var F=(0,r.Gp)((function(e,t){var n=e.area,i=e.colSpan,s=e.colStart,u=e.colEnd,d=e.rowEnd,f=e.rowSpan,h=e.rowStart,p=l(e,M),m=(0,o.YU)({gridArea:n,gridColumn:L(i),gridRow:L(f),gridColumnStart:s,gridColumnEnd:u,gridRowStart:h,gridRowEnd:d});return a.createElement(r.m$.div,c({ref:t,__css:m},p))})),j=["className"],H=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Heading",e),i=(0,r.Lr)(e);i.className;var s=l(i,j);return a.createElement(r.m$.h2,c({ref:t,className:(0,o.cx)("chakra-heading",e.className)},s,{__css:n}))}));o.Ts&&(H.displayName="Heading");var B=["className"],z=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Kbd",e),i=(0,r.Lr)(e),s=i.className,u=l(i,B);return a.createElement(r.m$.kbd,c({ref:t,className:(0,o.cx)("chakra-kbd",s)},u,{__css:c({fontFamily:"mono"},n)}))}));o.Ts&&(z.displayName="Kbd");var U=["className","isExternal"],V=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Link",e),i=(0,r.Lr)(e),s=i.className,u=i.isExternal,d=l(i,U);return a.createElement(r.m$.a,c({target:u?"_blank":void 0,rel:u?"noopener noreferrer":void 0,ref:t,className:(0,o.cx)("chakra-link",s)},d,{__css:n}))}));o.Ts&&(V.displayName="Link");var G=["children","styleType","stylePosition","spacing"],K=["as"],q=["as"],W=(0,u.kr)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),$=W[0],Z=W[1],Y=(0,r.Gp)((function(e,t){var n,i=(0,r.jC)("List",e),o=(0,r.Lr)(e),s=o.children,d=o.styleType,f=void 0===d?"none":d,h=o.stylePosition,p=o.spacing,m=l(o,G),g=(0,u.WR)(s),v=p?((n={})["& > *:not(style) ~ *:not(style)"]={mt:p},n):{};return a.createElement($,{value:i},a.createElement(r.m$.ul,c({ref:t,listStyleType:f,listStylePosition:h,role:"list",__css:c({},i.container,v)},m),g))}));o.Ts&&(Y.displayName="List");var X=(0,r.Gp)((function(e,t){e.as;var n=l(e,K);return a.createElement(Y,c({ref:t,as:"ol",styleType:"decimal",marginStart:"1em"},n))}));o.Ts&&(X.displayName="OrderedList");var Q=(0,r.Gp)((function(e,t){e.as;var n=l(e,q);return a.createElement(Y,c({ref:t,as:"ul",styleType:"initial",marginStart:"1em"},n))}));o.Ts&&(Q.displayName="UnorderedList");var J=(0,r.Gp)((function(e,t){var n=Z();return a.createElement(r.m$.li,c({ref:t},e,{__css:n.item}))}));o.Ts&&(J.displayName="ListItem");var ee=(0,r.Gp)((function(e,t){var n=Z();return a.createElement(s.JO,c({ref:t,role:"presentation"},e,{__css:n.icon}))}));o.Ts&&(ee.displayName="ListIcon");var te=["columns","spacingX","spacingY","spacing","minChildWidth"],ne=(0,r.Gp)((function(e,t){var n,r,i=e.columns,s=e.spacingX,u=e.spacingY,d=e.spacing,f=e.minChildWidth,h=l(e,te),p=f?(r=f,(0,o.XQ)(r,(function(e){return(0,o.Ft)(e)?null:"repeat(auto-fit, minmax("+(t=e,((0,o.hj)(t)?t+"px":t)+", 1fr))");var t}))):(n=i,(0,o.XQ)(n,(function(e){return(0,o.Ft)(e)?null:"repeat("+e+", minmax(0, 1fr))"})));return a.createElement(P,c({ref:t,gap:d,columnGap:s,rowGap:u,templateColumns:p},h))}));o.Ts&&(ne.displayName="SimpleGrid");var re=(0,r.m$)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});o.Ts&&(re.displayName="Spacer");var ie="& > *:not(style) ~ *:not(style)";var oe=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],ae=function(e){return a.createElement(r.m$.div,c({className:"chakra-stack__divider"},e,{__css:c({},e.__css,{borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"})}))},se=function(e){return a.createElement(r.m$.div,c({className:"chakra-stack__item"},e,{__css:c({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)}))},ue=(0,r.Gp)((function(e,t){var n,i=e.isInline,s=e.direction,d=e.align,f=e.justify,h=e.spacing,p=void 0===h?"0.5rem":h,m=e.wrap,g=e.children,v=e.divider,y=e.className,b=e.shouldWrapChildren,E=l(e,oe),T=i?"row":null!=s?s:"column",x=a.useMemo((function(){return function(e){var t,n=e.spacing,r=e.direction,i={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(t={flexDirection:r})[ie]=(0,o.XQ)(r,(function(e){return i[e]})),t}({direction:T,spacing:p})}),[T,p]),_=a.useMemo((function(){return function(e){var t=e.spacing,n=e.direction,r={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{"&":(0,o.XQ)(n,(function(e){return r[e]}))}}({spacing:p,direction:T})}),[p,T]),w=!!v,k=!b&&!w,C=(0,u.WR)(g),A=k?C:C.map((function(e,t){var n="undefined"!==typeof e.key?e.key:t,r=t+1===C.length,i=b?a.createElement(se,{key:n},e):e;if(!w)return i;var o=r?null:a.cloneElement(v,{__css:_});return a.createElement(a.Fragment,{key:n},i,o)})),S=(0,o.cx)("chakra-stack",y);return a.createElement(r.m$.div,c({ref:t,display:"flex",alignItems:d,justifyContent:f,flexDirection:x.flexDirection,flexWrap:m,className:S,__css:w?{}:(n={},n[ie]=x[ie],n)},E),A)}));o.Ts&&(ue.displayName="Stack");var ce=(0,r.Gp)((function(e,t){return a.createElement(ue,c({align:"center"},e,{direction:"row",ref:t}))}));o.Ts&&(ce.displayName="HStack");var le=(0,r.Gp)((function(e,t){return a.createElement(ue,c({align:"center"},e,{direction:"column",ref:t}))}));o.Ts&&(le.displayName="VStack");var de=["className","align","decoration","casing"],fe=(0,r.Gp)((function(e,t){var n=(0,r.mq)("Text",e),i=(0,r.Lr)(e);i.className,i.align,i.decoration,i.casing;var s=l(i,de),u=(0,o.YU)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return a.createElement(r.m$.p,c({ref:t,className:(0,o.cx)("chakra-text",e.className)},u,s,{__css:n}))}));o.Ts&&(fe.displayName="Text");var he=["spacing","children","justify","direction","align","className","shouldWrapChildren"],pe=["className"],me=(0,r.Gp)((function(e,t){var n=e.spacing,s=void 0===n?"0.5rem":n,u=e.children,d=e.justify,f=e.direction,h=e.align,p=e.className,m=e.shouldWrapChildren,g=l(e,he),v=a.useMemo((function(){return{"--chakra-wrap-spacing":function(e){return(0,o.XQ)(s,(function(t){return(0,i.fr)("space",t)(e)}))},"--wrap-spacing":"calc(var(--chakra-wrap-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:d,alignItems:h,flexDirection:f,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-spacing)"}}}),[s,d,h,f]),y=m?a.Children.map(u,(function(e,t){return a.createElement(ge,{key:t},e)})):u;return a.createElement(r.m$.div,c({ref:t,className:(0,o.cx)("chakra-wrap",p)},g),a.createElement(r.m$.ul,{className:"chakra-wrap__list",__css:v},y))}));o.Ts&&(me.displayName="Wrap");var ge=(0,r.Gp)((function(e,t){var n=e.className,i=l(e,pe);return a.createElement(r.m$.li,c({ref:t,__css:{display:"flex",alignItems:"flex-start"},className:(0,o.cx)("chakra-wrap__listitem",n)},i))}));o.Ts&&(ge.displayName="WrapItem");var ve=["isExternal","target","rel","className"],ye=["className"],be=(0,r.Gp)((function(e,t){var n=e.isExternal,i=e.target,s=e.rel,u=e.className,d=l(e,ve);return a.createElement(r.m$.a,c({},d,{ref:t,className:(0,o.cx)("chakra-linkbox__overlay",u),rel:n?"noopener noreferrer":s,target:n?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}}))})),Ee=(0,r.Gp)((function(e,t){var n=e.className,i=l(e,ye);return a.createElement(r.m$.div,c({ref:t,position:"relative"},i,{className:(0,o.cx)("chakra-linkbox",n),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}}))}))},57324:function(e,t,n){"use strict";n.d(t,{v2:function(){return U},j2:function(){return G},R:function(){return ne},sN:function(){return Z},ii:function(){return X},qy:function(){return W},__:function(){return Q}});var r=n(105),i=n(44592),o=n(99860),a=n(67294),s=n(52829);function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(t,c),w=a.useState(!0),k=w[0],C=w[1],A=a.useState(!1),S=A[0],O=A[1],D=function(){var e=a.useRef(new Map),t=e.current,n=a.useCallback((function(t,n,r,i){e.current.set(r,{type:n,el:t,options:i}),t.addEventListener(n,r,i)}),[]),r=a.useCallback((function(t,n,r,i){t.removeEventListener(n,r,i),e.current.delete(r)}),[]);return a.useEffect((function(){return function(){t.forEach((function(e,t){r(e.el,e.type,t,e.options)}))}}),[r,t]),{add:n,remove:r}}(),I=k?E:E||0,N=r&&!o,R=a.useCallback((function(e){if(r)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==v||v(e)}),[r,v]),M=a.useCallback((function(e){S&&l(e)&&(e.preventDefault(),e.stopPropagation(),O(!1),D.remove(document,"keyup",M,!1))}),[S,D]),P=a.useCallback((function(e){if(null==y||y(e),!(r||e.defaultPrevented||e.metaKey)&&l(e.nativeEvent)&&!k){var t=f&&"Enter"===e.key;if(p&&" "===e.key&&(e.preventDefault(),O(!0)),t)e.preventDefault(),e.currentTarget.click();D.add(document,"keyup",M,!1)}}),[r,k,y,f,p,D,M]),L=a.useCallback((function(e){(null==b||b(e),r||e.defaultPrevented||e.metaKey)||l(e.nativeEvent)&&!k&&p&&" "===e.key&&(e.preventDefault(),O(!1),e.currentTarget.click())}),[p,k,r,b]),F=a.useCallback((function(e){0===e.button&&(O(!1),D.remove(document,"mouseup",F,!1))}),[D]),j=a.useCallback((function(e){if(!(0,i.n_)(e)){if(r)return e.stopPropagation(),void e.preventDefault();k||O(!0),e.currentTarget.focus({preventScroll:!0}),D.add(document,"mouseup",F,!1),null==m||m(e)}}),[r,k,m,D,F]),H=a.useCallback((function(e){(0,i.n_)(e)||(k||O(!1),null==g||g(e))}),[g,k]),B=a.useCallback((function(e){r?e.preventDefault():null==T||T(e)}),[r,T]),z=a.useCallback((function(e){S&&(e.preventDefault(),O(!1)),null==x||x(e)}),[S,x]),U=(0,s.lq)(n,(function(e){e&&"BUTTON"!==e.tagName&&C(!1)}));return u({},_,k?{ref:U,type:"button","aria-disabled":N?void 0:r,disabled:N,onClick:R,onMouseDown:m,onMouseUp:g,onKeyUp:b,onKeyDown:y,onMouseOver:T,onMouseLeave:x}:{ref:U,role:"button","data-active":(0,i.PB)(S),"aria-disabled":r?"true":void 0,tabIndex:N?void 0:I,onClick:R,onMouseDown:j,onMouseUp:H,onKeyUp:L,onKeyDown:P,onMouseOver:B,onMouseLeave:z})}var f=n(40242),h=n(97375),p=n(94998),m=n(66197);function g(){return(g=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var y=["id","closeOnSelect","closeOnBlur","autoSelect","isLazy","isOpen","defaultIsOpen","onClose","onOpen","placement","lazyBehavior","direction","computePositionOnMount"],b=["onMouseEnter","onMouseMove","onMouseLeave","onClick","isDisabled","isFocusable","closeOnSelect"],E=["type","isChecked"],T=["children","type","value","defaultValue","onChange"],x=(0,f.n)(),_=x[0],w=x[1],k=x[2],C=x[3],A=(0,s.kr)({strict:!1,name:"MenuContext"}),S=A[0],O=A[1];function D(e){var t;return(0,i.Re)(e)&&!(null==(t=e.getAttribute("role"))||!t.startsWith("menuitem"))}function I(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var n=e,r=n.onMouseEnter,o=n.onMouseMove,u=n.onMouseLeave,c=n.onClick,l=n.isDisabled,f=n.isFocusable,p=n.closeOnSelect,m=v(n,b),y=O(),E=y.setFocusedIndex,T=y.focusedIndex,x=y.closeOnSelect,_=y.onClose,w=y.menuRef,k=y.isOpen,A=y.menuId,S=a.useRef(null),I=A+"-menuitem-"+(0,h.Me)(),N=C({disabled:l&&!f}),R=N.index,M=N.register,P=a.useCallback((function(e){null==r||r(e),l||E(R)}),[E,R,l,r]),L=a.useCallback((function(e){null==o||o(e),S.current&&!(0,i.H9)(S.current)&&P(e)}),[P,o]),F=a.useCallback((function(e){null==u||u(e),l||E(-1)}),[E,l,u]),j=a.useCallback((function(e){null==c||c(e),D(e.currentTarget)&&(null!=p?p:x)&&_()}),[_,c,x,p]),H=R===T,B=l&&!f;return(0,h.rf)((function(){k&&(H&&!B&&S.current?(0,i.T_)(S.current,{nextTick:!0,selectTextIfInput:!1,preventScroll:!1}):w.current&&!(0,i.H9)(w.current)&&(0,i.T_)(w.current,{preventScroll:!1}))}),[H,B,w,k]),g({},m,d({onClick:j,onMouseEnter:P,onMouseMove:L,onMouseLeave:F,ref:(0,s.lq)(M,S,t),isDisabled:l,isFocusable:f}),{id:I,role:"menuitem",tabIndex:H?0:-1})}var N=["descendants"],R=["children","as"],M=["rootProps"],P=["type"],L=["icon","iconSpacing","command","commandSpacing","children"],F=["icon","iconSpacing"],j=["className","title"],H=["title","children","className"],B=["className","children"],z=["className"],U=function(e){var t=e.children,n=(0,r.jC)("Menu",e),o=function(e){void 0===e&&(e={});var t=e,n=t.id,r=t.closeOnSelect,o=void 0===r||r,s=t.closeOnBlur,u=void 0===s||s,c=t.autoSelect,l=void 0===c||c,d=t.isLazy,f=t.isOpen,b=t.defaultIsOpen,E=t.onClose,T=t.onOpen,x=t.placement,_=void 0===x?"bottom-start":x,w=t.lazyBehavior,C=void 0===w?"unmount":w,A=t.direction,S=t.computePositionOnMount,O=void 0!==S&&S,D=v(t,y),I=a.useRef(null),N=a.useRef(null),R=k(),M=a.useCallback((function(){(0,i.T_)(I.current,{nextTick:!0,selectTextIfInput:!1})}),[]),P=a.useCallback((function(){var e=setTimeout((function(){var e=R.firstEnabled();e&&q(e.index)}));Q.current.add(e)}),[R]),L=a.useCallback((function(){var e=setTimeout((function(){var e=R.lastEnabled();e&&q(e.index)}));Q.current.add(e)}),[R]),F=a.useCallback((function(){null==T||T(),l?P():M()}),[l,P,M,T]),j=(0,h.qY)({isOpen:f,defaultIsOpen:b,onClose:E,onOpen:F}),H=j.isOpen,B=j.onOpen,z=j.onClose,U=j.onToggle;(0,h.O3)({enabled:H&&u,ref:I,handler:function(e){var t;null!=(t=N.current)&&t.contains(e.target)||z()}});var V=(0,m.D)(g({},D,{enabled:H||O,placement:_,direction:A})),G=a.useState(-1),K=G[0],q=G[1];(0,h.rf)((function(){H||q(-1)}),[H]),(0,h.Ck)(I,{focusRef:N,visible:H,shouldFocus:!0});var W=(0,p.h)({isOpen:H,ref:I}),$=(0,h.ZS)(n,"menu-button","menu-list"),Z=$[0],Y=$[1],X=a.useCallback((function(){B(),M()}),[B,M]),Q=a.useRef(new Set([]));return(0,h.zq)((function(){Q.current.forEach((function(e){return clearTimeout(e)})),Q.current.clear()})),{openAndFocusMenu:X,openAndFocusFirstItem:a.useCallback((function(){B(),P()}),[P,B]),openAndFocusLastItem:a.useCallback((function(){B(),L()}),[B,L]),onTransitionEnd:a.useCallback((function(){var e,t,n=(0,i.lZ)(I.current),r=null==(e=I.current)?void 0:e.contains(n.activeElement);if(H&&!r){var o=null==(t=R.item(K))?void 0:t.node;o&&(0,i.T_)(o,{selectTextIfInput:!1,preventScroll:!1})}}),[H,K,R]),unstable__animationState:W,descendants:R,popper:V,buttonId:Z,menuId:Y,forceUpdate:V.forceUpdate,orientation:"vertical",isOpen:H,onToggle:U,onOpen:B,onClose:z,menuRef:I,buttonRef:N,focusedIndex:K,closeOnSelect:o,closeOnBlur:u,autoSelect:l,setFocusedIndex:q,isLazy:d,lazyBehavior:C}}(g({},(0,r.Lr)(e),{direction:(0,r.Fg)().direction})),s=o.descendants,u=v(o,N),c=a.useMemo((function(){return u}),[u]),l=c.isOpen,d=c.onClose,f=c.forceUpdate;return a.createElement(_,{value:s},a.createElement(S,{value:c},a.createElement(r.Fo,{value:n},(0,i.Pu)(t,{isOpen:l,onClose:d,forceUpdate:f}))))};i.Ts&&(U.displayName="Menu");var V=(0,r.Gp)((function(e,t){var n=(0,r.yK)();return a.createElement(r.m$.button,g({ref:t},e,{__css:g({display:"inline-flex",appearance:"none",alignItems:"center",outline:0},n.button)}))})),G=(0,r.Gp)((function(e,t){e.children;var n=e.as,o=function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var n=O(),r=n.onToggle,o=n.popper,u=n.openAndFocusFirstItem,c=n.openAndFocusLastItem,l=a.useCallback((function(e){var t=(0,i.uh)(e),n={Enter:u,ArrowDown:u,ArrowUp:c}[t];n&&(e.preventDefault(),e.stopPropagation(),n(e))}),[u,c]);return g({},e,{ref:(0,s.lq)(n.buttonRef,t,o.referenceRef),id:n.buttonId,"data-active":(0,i.PB)(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:(0,i.v0)(e.onClick,r),onKeyDown:(0,i.v0)(e.onKeyDown,l)})}(v(e,R),t),u=n||V;return a.createElement(u,g({},o,{className:(0,i.cx)("chakra-menu__menu-button",e.className)}),a.createElement(r.m$.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0}},e.children))}));i.Ts&&(G.displayName="MenuButton");var K={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"}}},q="custom"in o.E?o.E.custom(r.m$.div):(0,o.E)(r.m$.div),W=(0,r.Gp)((function(e,t){var n,o,u=e.rootProps,c=v(e,M),l=O(),d=l.isOpen,f=l.onTransitionEnd,p=l.unstable__animationState,m=function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var n=O();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within ");var r=n.focusedIndex,o=n.setFocusedIndex,u=n.menuRef,c=n.isOpen,l=n.onClose,d=n.menuId,f=n.isLazy,p=n.lazyBehavior,m=n.unstable__animationState,v=w(),y=(0,h.bx)({preventDefault:function(e){return" "!==e.key&&D(e.target)}}),b=a.useCallback((function(e){var t=(0,i.uh)(e),n={Tab:function(e){return e.preventDefault()},Escape:l,ArrowDown:function(){var e=v.nextEnabled(r);e&&o(e.index)},ArrowUp:function(){var e=v.prevEnabled(r);e&&o(e.index)}}[t];if(n)return e.preventDefault(),void n(e);var a=y((function(e){var t=(0,i.LP)(v.values(),e,(function(e){var t,n;return null!=(t=null==e||null==(n=e.node)?void 0:n.textContent)?t:""}),v.item(r));if(t){var n=v.indexOf(t.node);o(n)}}));D(e.target)&&a(e)}),[v,r,y,l,o]),E=a.useRef(!1);c&&(E.current=!0);var T=(0,i.VI)({hasBeenSelected:E.current,isLazy:f,lazyBehavior:p,isSelected:m.present});return g({},e,{ref:(0,s.lq)(u,t),children:T?e.children:null,tabIndex:-1,role:"menu",id:d,style:g({},e.style,{transformOrigin:"var(--popper-transform-origin)"}),"aria-orientation":"vertical",onKeyDown:(0,i.v0)(e.onKeyDown,b)})}(c,t),y=function(e){void 0===e&&(e={});var t=O(),n=t.popper,r=t.isOpen;return n.getPopperProps(g({},e,{style:g({visibility:r?"visible":"hidden"},e.style)}))}(u),b=(0,r.yK)();return a.createElement(r.m$.div,g({},y,{__css:{zIndex:null!=(n=e.zIndex)?n:null==(o=b.list)?void 0:o.zIndex}}),a.createElement(q,g({},m,{onUpdate:f,onAnimationComplete:(0,i.PP)(p.onComplete,m.onAnimationComplete),className:(0,i.cx)("chakra-menu__menu-list",m.className),variants:K,initial:!1,animate:d?"enter":"exit",__css:g({outline:0},b.list)})))}));i.Ts&&(W.displayName="MenuList");var $=(0,r.Gp)((function(e,t){var n=e.type,i=v(e,P),o=(0,r.yK)(),s=i.as?null!=n?n:void 0:"button",u=g({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0},o.item);return a.createElement(r.m$.button,g({ref:t,type:s},i,{__css:u}))})),Z=(0,r.Gp)((function(e,t){var n=e.icon,r=e.iconSpacing,o=void 0===r?"0.75rem":r,s=e.command,u=e.commandSpacing,c=void 0===u?"0.75rem":u,l=e.children,d=I(v(e,L),t),f=n||s?a.createElement("span",{style:{pointerEvents:"none",flex:1}},l):l;return a.createElement($,g({},d,{className:(0,i.cx)("chakra-menu__menuitem",d.className)}),n&&a.createElement(te,{fontSize:"0.8em",marginEnd:o},n),f,s&&a.createElement(ee,{marginStart:c},s))}));i.Ts&&(Z.displayName="MenuItem");var Y=function(e){return a.createElement("svg",g({viewBox:"0 0 14 14",width:"1em",height:"1em"},e),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"}))},X=(0,r.Gp)((function(e,t){var n=e.icon,r=e.iconSpacing,o=void 0===r?"0.75rem":r,s=v(e,F),u=function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var n=e,r=n.type,i=void 0===r?"radio":r,o=n.isChecked;return g({},I(v(n,E),t),{role:"menuitem"+i,"aria-checked":o})}(s,t);return a.createElement($,g({},u,{className:(0,i.cx)("chakra-menu__menuitem-option",s.className)}),a.createElement(te,{fontSize:"0.8em",marginEnd:o,opacity:e.isChecked?1:0},n||a.createElement(Y,null)),a.createElement("span",{style:{flex:1}},u.children))}));X.id="MenuItemOption",i.Ts&&(X.displayName="MenuItemOption");var Q=function(e){var t=e.className,n=e.title,r=function(e){void 0===e&&(e={});var t=e,n=t.children,r=t.type,o=void 0===r?"radio":r,u=t.value,c=t.defaultValue,l=t.onChange,d=v(t,T),f="radio"===o?"":[],p=(0,h.Tx)({defaultValue:null!=c?c:f,value:u,onChange:l}),m=p[0],y=p[1],b=a.useCallback((function(e){if("radio"===o&&(0,i.HD)(m)&&y(e),"checkbox"===o&&(0,i.kJ)(m)){var t=m.includes(e)?(0,i.cl)(m,e):(0,i.jX)(m,e);y(t)}}),[m,y,o]);return g({},d,{children:(0,s.WR)(n).map((function(e){if("MenuItemOption"!==e.type.id)return e;var t="radio"===o?e.props.value===m:m.includes(e.props.value);return a.cloneElement(e,{type:o,onClick:function(t){b(e.props.value),null==e.props.onClick||e.props.onClick(t)},isChecked:t})}))})}(v(e,j));return a.createElement(J,g({title:n,className:(0,i.cx)("chakra-menu__option-group",t)},r))};i.Ts&&(Q.displayName="MenuOptionGroup");var J=(0,r.Gp)((function(e,t){var n=e.title,o=e.children,s=e.className,u=v(e,H),c=(0,i.cx)("chakra-menu__group__title",s),l=(0,r.yK)();return a.createElement("div",{ref:t,className:"chakra-menu__group",role:"group"},n&&a.createElement(r.m$.p,g({className:c},u,{__css:l.groupTitle}),n),o)}));i.Ts&&(J.displayName="MenuGroup");var ee=(0,r.Gp)((function(e,t){var n=(0,r.yK)();return a.createElement(r.m$.span,g({ref:t},e,{__css:n.command,className:"chakra-menu__command"}))}));i.Ts&&(ee.displayName="MenuCommand");var te=function(e){var t=e.className,n=e.children,o=v(e,B),s=a.Children.only(n),u=a.isValidElement(s)?a.cloneElement(s,{focusable:"false","aria-hidden":!0,className:(0,i.cx)("chakra-menu__icon",s.props.className)}):null,c=(0,i.cx)("chakra-menu__icon-wrapper",t);return a.createElement(r.m$.span,g({className:c},o,{__css:{flexShrink:0}}),u)};i.Ts&&(te.displayName="MenuIcon");var ne=function(e){var t=e.className,n=v(e,z),o=(0,r.yK)();return a.createElement(r.m$.hr,g({role:"separator","aria-orientation":"horizontal",className:(0,i.cx)("chakra-menu__divider",t)},n,{__css:o.divider}))};i.Ts&&(ne.displayName="MenuDivider")},90232:function(e,t,n){"use strict";n.d(t,{u_:function(){return Mt},fe:function(){return Bt},ol:function(){return Ut},hz:function(){return Lt},mz:function(){return zt},xB:function(){return Ht},ZA:function(){return jt}});var r=n(84746),i=n(67294),o=n(63366),a=n(87462),s="data-focus-lock",u="data-focus-lock-disabled";function c(e,t){return function(e,t){var n=(0,i.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t,(function(t){return e.forEach((function(e){return function(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}var l={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},d=function(e){var t=e.children;return i.createElement(i.Fragment,null,i.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:l}),t,t&&i.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:l}))};d.propTypes={},d.defaultProps={children:null};var f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?A(e[0],e):e[0]},O=function(e,t){return e.length>1?e.indexOf(A(e[t],e)):t},D=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue)&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))}(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},I=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=D(t,I.bind(void 0,e));return e.set(t,r),r},N=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},R=function(e){return!N(e)},M=function(e){return Boolean(e)},P="NEW_FOCUS",L=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],s=N(n);if(!(e.indexOf(n)>=0)){var u=t.indexOf(n),c=r?t.indexOf(r):u,l=r?e.indexOf(r):-1,d=u-c,f=t.indexOf(o),h=t.indexOf(a),p=function(e){var t=new Set;return e.forEach((function(n){return t.add(A(n,e))})),e.filter((function(e){return t.has(e)}))}(t),m=p.indexOf(n)-(r?p.indexOf(r):u),g=O(e,0),v=O(e,i-1);return-1===u||-1===l?P:!d&&l>=0?l:u<=f&&s&&Math.abs(d)>1?v:u>=h&&s&&Math.abs(d)>1?g:d&&Math.abs(m)>1?l:u<=f?v:u>h?g:d?Math.abs(d)>1?l:(i+l+d)%i:void 0}},F=function(e){for(var t=Array(e.length),n=0;n0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(F(H(t).querySelectorAll('[data-focus-lock="'+n+'"]:not(['+u+'="disabled"])'))):[t]),e}),[])},z=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},U=function(e,t,n){return F(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(z)},V=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),G=V+", [data-focus-guard]",K=function(e,t){return e.reduce((function(e,n){return e.concat(F(n.querySelectorAll(t?G:V)),n.parentNode?F(n.parentNode.querySelectorAll(V)).filter((function(e){return e===n})):[])}),[])},q=function(e,t){return F(e).filter((function(e){return I(t,e)})).filter((function(e){return function(e){return!(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))}(e)}))},W=function(e,t,n){return U(q(K(e,n),t),!0,n)},$=function(e,t){return U(q(K(e),t),!1)},Z=function(e,t){return q(function(e){var t=e.querySelectorAll("[data-autofocus-inside]");return F(t).map((function(e){return K([e])})).reduce((function(e,t){return e.concat(t)}),[])}(e),t)},Y=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&Y(e.parentNode,t),t},X=function(e,t){for(var n=Y(e),r=Y(t),i=0;i=0)return o}return!1},Q=function(e,t,n){var r=j(e),i=j(t),o=r[0],a=!1;return i.filter(Boolean).forEach((function(e){a=X(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=X(o,e);t&&(a=!a||t.contains(a)?t:X(t,a))}))})),a},J=function(e,t){var n=document&&document.activeElement,r=B(e).filter(R),i=Q(n||e,e,r),o=new Map,a=$(r,o),s=W(r,o).filter((function(e){var t=e.node;return R(t)}));if(s[0]||(s=a)[0]){var u,c=$([i],o).map((function(e){return e.node})),l=function(e,t){var n=new Map;return t.forEach((function(e){return n.set(e.node,e)})),e.map((function(e){return n.get(e)})).filter(M)}(c,s),d=l.map((function(e){return e.node})),f=L(d,c,n,t);if(f===P){var h=a.map((function(e){return e.node})).filter((u=function(e,t){return e.reduce((function(e,n){return e.concat(Z(n,t))}),[])}(r,o),function(e){return e.autofocus||e.dataset&&!!e.dataset.autofocus||u.indexOf(e)>=0}));return{node:h&&h.length?S(h):S(d)}}return void 0===f?f:l[f]}},ee=0,te=!1,ne=function(e,t){var n,r=J(e,t);if(!te&&r){if(ee>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"),te=!0,void setTimeout((function(){te=!1}),1);ee++,(n=r.node).focus(),"contentWindow"in n&&n.contentWindow&&n.contentWindow.focus(),ee--}},re=function(e){return Boolean(F(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))},ie=function(e){var t=document&&document.activeElement;return!(!t||t.dataset&&t.dataset.focusGuard)&&B(e).reduce((function(e,n){return e||n.contains(t)||re(n)}),!1)};function oe(e){var t=window.setImmediate;"undefined"!==typeof t?t(e):setTimeout(e,1)}var ae=function(){return document&&document.activeElement===document.body||document&&F(document.querySelectorAll("[data-no-focus-lock]")).some((function(e){return e.contains(document.activeElement)}))},se=null,ue=null,ce=null,le=!1,de=function(){return!0};function fe(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else{if(!a.lockItem)break;if(o!==e)return;i=null}}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var he=function(e){return e&&"current"in e?e.current:e},pe=function(){var e,t=!1;if(se){var n=se,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,s=n.crossFrame,u=r||ce&&ce.portaledElement,c=document&&document.activeElement;if(u){var l=[u].concat(a.map(he).filter(Boolean));if(c&&!function(e){return(se.whiteList||de)(e)}(c)||(i||(s?Boolean(le):"meanwhile"===le)||!ae()||!ue&&o)&&(!u||ie(l)||(e=c,ce&&ce.portaledElement===e)||(document&&!ue&&c&&!o?(c.blur&&c.blur(),document.body.focus()):(t=ne(l,ue),ce={})),le=!1,ue=document&&document.activeElement),document){var d=document&&document.activeElement,f=function(e){var t=B(e).filter(R),n=Q(e,e,t),r=new Map,i=W([n],r,!0),o=W(t,r).filter((function(e){var t=e.node;return R(t)})).map((function(e){return e.node}));return i.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:N(t)}}))}(l),h=f.map((function(e){return e.node})).indexOf(d);h>-1&&(f.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),fe(h,f.length,1,f),fe(h,-1,-1,f))}}}return t},me=function(e){pe()&&e&&(e.stopPropagation(),e.preventDefault())},ge=function(){return oe(pe)},ve=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(ce={observerNode:n,portaledElement:t})},ye=function(){le="just",setTimeout((function(){le="meanwhile"}),0)};v.assignSyncMedium(ve),y.assignMedium(ge),b.assignMedium((function(e){return e({moveFocusInside:ne,focusInside:ie})}));var be=k((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!se&&(document.addEventListener("focusin",me,!0),document.addEventListener("focusout",ge),window.addEventListener("blur",ye));var n=se,r=n&&t&&t.id===n.id;se=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(ue=null,r&&n.observed===t.observed||t.onActivation(),pe(),oe(pe)):(document.removeEventListener("focusin",me,!0),document.removeEventListener("focusout",ge),window.removeEventListener("blur",ye),ue=null)}))((function(){return null})),Ee=i.forwardRef((function(e,t){return i.createElement(_,(0,a.Z)({sideCar:be,ref:t},e))})),Te=_.propTypes||{};Te.sideCar,(0,o.Z)(Te,["sideCar"]);Ee.propTypes={};var xe=Ee,_e=n(44592),we=function(e){var t=e.initialFocusRef,n=e.finalFocusRef,r=e.contentRef,o=e.restoreFocus,a=e.children,s=e.isDisabled,u=e.autoFocus,c=e.persistentFocus,l=e.lockFocusAcrossFrames,d=i.useCallback((function(){if(null!=t&&t.current)t.current.focus();else if(null!=r&&r.current){0===(0,_e.t5)(r.current).length&&(0,_e.T_)(r.current,{nextTick:!0})}}),[t,r]),f=i.useCallback((function(){var e;null==n||null==(e=n.current)||e.focus()}),[n]),h=o&&!n;return i.createElement(xe,{crossFrame:l,persistentFocus:c,autoFocus:u,disabled:s,onActivation:d,onDeactivation:f,returnFocus:h},a)};_e.Ts&&(we.displayName="FocusLock");var ke=n(46871),Ce=n(105),Ae=n(37496),Se=n(52829),Oe=n(99860),De=n(53869),Ie=n(69283);var Ne=function(){return(Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n