@spothero/ui 14.3.0 → 14.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/CHANGELOG.tmp +3 -3
- package/backlog/Alert/Alert.js +4 -1
- package/backlog/AutoSuggestInput/AutoSuggestInput.js +17 -10
- package/backlog/AutoSuggestInput/AutoSuggestItem.js +10 -7
- package/backlog/AutoSuggestInput/AutoSuggestList.js +12 -9
- package/backlog/Badge/Badge.js +4 -1
- package/backlog/Chart/Chart.js +17 -10
- package/backlog/Checkbox/Checkbox.js +10 -7
- package/backlog/DateTime/DatePicker.js +10 -7
- package/backlog/DateTime/DatePickerCalendar.js +10 -7
- package/backlog/DateTime/DatePickerCalendarNavigation.js +10 -7
- package/backlog/DateTime/DatePickerCalendarWithRange.js +17 -10
- package/backlog/DateTime/DateTimePicker.js +10 -7
- package/backlog/DateTime/DateTimeRangePicker.js +20 -11
- package/backlog/DateTime/TimePicker.js +10 -7
- package/backlog/DateTime/date-time-assertions.js +4 -1
- package/backlog/DateTime/index.js +15 -7
- package/backlog/ErrorBoundary/ErrorBoundary.js +10 -7
- package/backlog/Flyout/Flyout.js +21 -11
- package/backlog/Form/Form.js +13 -8
- package/backlog/Form/FormElementError.js +4 -1
- package/backlog/Form/FormGroup.js +4 -1
- package/backlog/Form/FormGroupError.js +4 -1
- package/backlog/Form/index.js +11 -5
- package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +17 -10
- package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +4 -1
- package/backlog/GooglePlacesSearchInput/index.js +7 -3
- package/backlog/HorizontalRule/HorizontalRule.js +4 -1
- package/backlog/Label/Label.js +4 -1
- package/backlog/Modal/Modal.js +22 -12
- package/backlog/Modal/ModalContent.js +10 -7
- package/backlog/Modal/ModalFooter.js +10 -7
- package/backlog/Modal/index.js +9 -4
- package/backlog/Notification/Notification.js +10 -7
- package/backlog/Notification/NotificationContainer.js +10 -7
- package/backlog/Notification/NotificationPropTypes.js +4 -1
- package/backlog/Notification/index.js +7 -3
- package/backlog/PasswordControl/PasswordControl.js +13 -8
- package/backlog/Portal/Portal.js +10 -7
- package/backlog/PulseLoader/PulseLoader.js +4 -1
- package/backlog/Radio/Radio.js +10 -7
- package/backlog/Radio/RadioGroup.js +12 -9
- package/backlog/Radio/index.js +7 -3
- package/backlog/RenderInBody/RenderInBody.js +10 -7
- package/backlog/Select/Select.js +15 -10
- package/backlog/Select/SelectItemPropTypes.js +4 -1
- package/backlog/Select/index.js +7 -3
- package/backlog/SelectControlled/SelectControlled.js +15 -10
- package/backlog/SelectControlled/index.js +5 -2
- package/backlog/Sprite/Sprite.js +4 -1
- package/backlog/Tabs/Tab.js +10 -7
- package/backlog/Tabs/TabContent.js +9 -6
- package/backlog/Tabs/TabNavigation.js +13 -8
- package/backlog/Tabs/TabPanel.js +4 -1
- package/backlog/Tabs/Tabs.js +10 -7
- package/backlog/Tabs/index.js +13 -6
- package/backlog/TextArea/TextArea.js +10 -7
- package/backlog/TextInput/TextInput.js +12 -9
- package/backlog/TextInput/TextInputPropTypes.js +4 -1
- package/backlog/TextInput/index.js +7 -3
- package/backlog/Tooltip/Tooltip.js +16 -9
- package/backlog/index.js +111 -55
- package/backlog/v1/components/Button/Button.js +4 -1
- package/backlog/v1/components/Button/button-props.js +4 -1
- package/backlog/v1/components/Image/Image.js +12 -9
- package/backlog/v1/components/Loader/Loader.js +4 -1
- package/backlog/v1/components/Panel/Panel.js +10 -7
- package/backlog/v1/components/Table/Table.js +14 -9
- package/backlog/v1/components/Table/TableCell.js +4 -1
- package/backlog/v1/components/Table/TableCellPropTypes.js +4 -1
- package/backlog/v1/components/Table/TableControls.js +4 -1
- package/backlog/v1/components/Table/TableFooter.js +4 -1
- package/backlog/v1/components/Table/TableHeading.js +10 -7
- package/backlog/v1/components/Table/TableHeadingPropTypes.js +4 -1
- package/backlog/v1/components/Table/TableSortSelector.js +10 -7
- package/backlog/v1/components/Table/TableSortType.js +4 -1
- package/backlog/v1/components/Table/index.js +13 -6
- package/backlog/v1/components/TextButton/TextButton.js +14 -7
- package/backlog/v1/components/index.js +15 -7
- package/backlog/v1/utils/deprecate.js +8 -3
- package/package.json +2 -2
- package/v1/index-bundled-cjs/index.js +1 -1
- package/v1/index-bundled-cjs/index.js.map +1 -1
- package/v1/index-bundled-esm/index.js +1 -1
- package/v1/index-bundled-esm/index.js.map +1 -1
- package/v1/index-unbundled-cjs/index.js +931 -368
- package/v1/index-unbundled-cjs/index.js.map +1 -1
- package/v1/index-unbundled-esm/index.js +928 -365
- package/v1/index-unbundled-esm/index.js.map +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-217e7062.js +2 -0
- package/v2/index-bundled-cjs/{ImageCarousel-bfdd3dbe.js.map → ImageCarousel-217e7062.js.map} +1 -1
- package/v2/index-bundled-cjs/index-b41e1da9.js +25 -0
- package/v2/index-bundled-cjs/index-b41e1da9.js.map +1 -0
- package/v2/index-bundled-cjs/index.js +1 -1
- package/v2/index-bundled-esm/ImageCarousel-4127414d.js +2 -0
- package/v2/index-bundled-esm/{ImageCarousel-367b46dd.js.map → ImageCarousel-4127414d.js.map} +1 -1
- package/v2/index-bundled-esm/index-22452751.js +24 -0
- package/v2/index-bundled-esm/index-22452751.js.map +1 -0
- package/v2/index-bundled-esm/index.js +1 -1
- package/v2/index-unbundled-cjs/{ImageCarousel-f32232e9.js → ImageCarousel-0575526b.js} +33 -309
- package/v2/index-unbundled-cjs/ImageCarousel-0575526b.js.map +1 -0
- package/v2/index-unbundled-cjs/{index-9768b43e.js → index-c8c6025d.js} +2289 -593
- package/v2/index-unbundled-cjs/index-c8c6025d.js.map +1 -0
- package/v2/index-unbundled-cjs/index.js +15 -15
- package/v2/index-unbundled-esm/{ImageCarousel-df49312f.js → ImageCarousel-c8a3e563.js} +30 -306
- package/v2/index-unbundled-esm/ImageCarousel-c8a3e563.js.map +1 -0
- package/v2/index-unbundled-esm/{index-4a79ec74.js → index-403d8033.js} +2273 -576
- package/v2/index-unbundled-esm/index-403d8033.js.map +1 -0
- package/v2/index-unbundled-esm/index.js +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-bfdd3dbe.js +0 -2
- package/v2/index-bundled-cjs/index-fa71d123.js +0 -25
- package/v2/index-bundled-cjs/index-fa71d123.js.map +0 -1
- package/v2/index-bundled-esm/ImageCarousel-367b46dd.js +0 -2
- package/v2/index-bundled-esm/index-b266be99.js +0 -24
- package/v2/index-bundled-esm/index-b266be99.js.map +0 -1
- package/v2/index-unbundled-cjs/ImageCarousel-f32232e9.js.map +0 -1
- package/v2/index-unbundled-cjs/index-9768b43e.js.map +0 -1
- package/v2/index-unbundled-esm/ImageCarousel-df49312f.js.map +0 -1
- package/v2/index-unbundled-esm/index-4a79ec74.js.map +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("prop-types"),r=require("lodash/merge"),n=require("lodash/template"),o=require("react-dom");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(e),s=a(t),l=a(r),u=a(n);var c=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),d="-ms-",f="-moz-",p="-webkit-",h=Math.abs,m=String.fromCharCode,v=Object.assign;function g(e){return e.trim()}function b(e,t,r){return e.replace(t,r)}function y(e,t){return e.indexOf(t)}function x(e,t){return 0|e.charCodeAt(t)}function w(e,t,r){return e.slice(t,r)}function S(e){return e.length}function k(e){return e.length}function E(e,t){return t.push(e),e}var O=1,C=1,_=0,A=0,P=0,j="";function R(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:O,column:C,length:i,return:""}}function T(e,t){return v(R("",null,null,"",null,null,0),e,{length:-e.length},t)}function z(){return P=A>0?x(j,--A):0,C--,10===P&&(C=1,O--),P}function B(){return P=A<_?x(j,A++):0,C++,10===P&&(C=1,O++),P}function D(){return x(j,A)}function F(){return A}function M(e,t){return w(j,e,t)}function I(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){return O=C=1,_=S(j=e),A=0,[]}function L(e){return j="",e}function W(e){return g(M(A-1,$(91===e?e+2:40===e?e+1:e)))}function H(e){for(;(P=D())&&P<33;)B();return I(e)>2||I(P)>3?"":" "}function V(e,t){for(;--t&&B()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return M(e,F()+(t<6&&32==D()&&32==B()))}function $(e){for(;B();)switch(P){case e:return A;case 34:case 39:34!==e&&39!==e&&$(P);break;case 40:41===e&&$(e);break;case 92:B()}return A}function U(e,t){for(;B()&&e+P!==57&&(e+P!==84||47!==D()););return"/*"+M(t,A-1)+"*"+m(47===e?e:B())}function q(e){for(;!I(D());)B();return M(e,A)}function Y(e){return L(X("",null,null,null,[""],e=N(e),0,[0],e))}function X(e,t,r,n,o,a,i,s,l){for(var u=0,c=0,d=i,f=0,p=0,h=0,v=1,g=1,x=1,w=0,k="",O=o,C=a,_=n,A=k;g;)switch(h=w,w=B()){case 40:if(108!=h&&58==A.charCodeAt(d-1)){-1!=y(A+=b(W(w),"&","&\f"),"&\f")&&(x=-1);break}case 34:case 39:case 91:A+=W(w);break;case 9:case 10:case 13:case 32:A+=H(h);break;case 92:A+=V(F()-1,7);continue;case 47:switch(D()){case 42:case 47:E(K(U(B(),F()),t,r),l);break;default:A+="/"}break;case 123*v:s[u++]=S(A)*x;case 125*v:case 59:case 0:switch(w){case 0:case 125:g=0;case 59+c:p>0&&S(A)-d&&E(p>32?Z(A+";",n,r,d-1):Z(b(A," ","")+";",n,r,d-2),l);break;case 59:A+=";";default:if(E(_=G(A,t,r,u,c,o,s,k,O=[],C=[],d),a),123===w)if(0===c)X(A,t,_,_,O,a,d,s,C);else switch(f){case 100:case 109:case 115:X(e,_,_,n&&E(G(e,_,_,0,0,o,s,k,o,O=[],d),C),o,C,d,s,n?O:C);break;default:X(A,_,_,_,[""],C,0,s,C)}}u=c=p=0,v=x=1,k=A="",d=i;break;case 58:d=1+S(A),p=h;default:if(v<1)if(123==w)--v;else if(125==w&&0==v++&&125==z())continue;switch(A+=m(w),w*v){case 38:x=c>0?1:(A+="\f",-1);break;case 44:s[u++]=(S(A)-1)*x,x=1;break;case 64:45===D()&&(A+=W(B())),f=D(),c=d=S(k=A+=q(F())),w++;break;case 45:45===h&&2==S(A)&&(v=0)}}return a}function G(e,t,r,n,o,a,i,s,l,u,c){for(var d=o-1,f=0===o?a:[""],p=k(f),m=0,v=0,y=0;m<n;++m)for(var x=0,S=w(e,d+1,d=h(v=i[m])),E=e;x<p;++x)(E=g(v>0?f[x]+" "+S:b(S,/&\f/g,f[x])))&&(l[y++]=E);return R(e,t,r,0===o?"rule":s,l,u,c)}function K(e,t,r){return R(e,t,r,"comm",m(P),w(e,2,-2),0)}function Z(e,t,r,n){return R(e,t,r,"decl",w(e,0,n),w(e,n+1,-1),n)}function Q(e,t){switch(function(e,t){return(((t<<2^x(e,0))<<2^x(e,1))<<2^x(e,2))<<2^x(e,3)}(e,t)){case 5103:return p+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return p+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return p+e+f+e+d+e+e;case 6828:case 4268:return p+e+d+e+e;case 6165:return p+e+d+"flex-"+e+e;case 5187:return p+e+b(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return p+e+d+"flex-item-"+b(e,/flex-|-self/,"")+e;case 4675:return p+e+d+"flex-line-pack"+b(e,/align-content|flex-|-self/,"")+e;case 5548:return p+e+d+b(e,"shrink","negative")+e;case 5292:return p+e+d+b(e,"basis","preferred-size")+e;case 6060:return p+"box-"+b(e,"-grow","")+p+e+d+b(e,"grow","positive")+e;case 4554:return p+b(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return b(b(b(e,/(zoom-|grab)/,p+"$1"),/(image-set)/,p+"$1"),e,"")+e;case 5495:case 3959:return b(e,/(image-set\([^]*)/,p+"$1$`$1");case 4968:return b(b(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+p+e+e;case 4095:case 3583:case 4068:case 2532:return b(e,/(.+)-inline(.+)/,p+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(S(e)-1-t>6)switch(x(e,t+1)){case 109:if(45!==x(e,t+4))break;case 102:return b(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+f+(108==x(e,t+3)?"$3":"$2-$3"))+e;case 115:return~y(e,"stretch")?Q(b(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==x(e,t+1))break;case 6444:switch(x(e,S(e)-3-(~y(e,"!important")&&10))){case 107:return b(e,":",":"+p)+e;case 101:return b(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+p+(45===x(e,14)?"inline-":"")+"box$3$1"+p+"$2$3$1"+d+"$2box$3")+e}break;case 5936:switch(x(e,t+11)){case 114:return p+e+d+b(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return p+e+d+b(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return p+e+d+b(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return p+e+d+e+e}return e}function J(e,t){for(var r="",n=k(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function ee(e,t,r,n){switch(e.type){case"@import":case"decl":return e.return=e.return||e.value;case"comm":return"";case"@keyframes":return e.return=e.value+"{"+J(e.children,n)+"}";case"rule":e.value=e.props.join(",")}return S(r=J(e.children,n))?e.return=e.value+"{"+r+"}":""}function te(e){var t=k(e);return function(r,n,o,a){for(var i="",s=0;s<t;s++)i+=e[s](r,n,o,a)||"";return i}}var re=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function ne(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var oe=function(e,t,r){for(var n=0,o=0;n=o,o=D(),38===n&&12===o&&(t[r]=1),!I(o);)B();return M(e,A)},ae=function(e,t){return L(function(e,t){var r=-1,n=44;do{switch(I(n)){case 0:38===n&&12===D()&&(t[r]=1),e[r]+=oe(A-1,t,r);break;case 2:e[r]+=W(n);break;case 4:if(44===n){e[++r]=58===D()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=m(n)}}while(n=B());return e}(N(e),t))},ie=new WeakMap,se=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ie.get(r))&&!n){ie.set(e,!0);for(var o=[],a=ae(t,o),i=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<i.length;u++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[u]):i[u]+" "+a[s]}}},le=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ue=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},ce=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},de=function(e,t,r){ue(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ce(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!ue(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ce(e)))},fe="undefined"!=typeof document,pe=fe?void 0:re((function(){return ne((function(){var e={};return function(t){return e[t]}}))})),he=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case"decl":e.return=Q(e.value,e.length);break;case"@keyframes":return J([T(e,{value:b(e.value,"@","@"+p)})],n);case"rule":if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return J([T(e,{props:[b(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return J([T(e,{props:[b(t,/:(plac\w+)/,":-webkit-input-$1")]}),T(e,{props:[b(t,/:(plac\w+)/,":-moz-$1")]}),T(e,{props:[b(t,/:(plac\w+)/,d+"input-$1")]})],n)}return""}))}}],me=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(fe&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||he;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},s=[];fe&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;s.push(e)})));var l,u=[se,le];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,r,n){if("rule"===t.type){var o,a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a&&!0!==e.compat){var i=r>0?n[r-1]:null;if(i&&function(e){return!!e&&"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1}((o=i.children).length?o[o.length-1]:null))return;a.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return b.compat}}),de),fe){var d,f=[ee,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?d.insert(e.return):e.value&&"comm"!==e.type&&d.insert(e.value+"{}"))}:(l=function(e){d.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=te(u.concat(n,f));a=function(e,t,r,n){d=r,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(d={insert:function(e){r.insert(e+t.map)}}),function(e){J(Y(e),p)}(e?e+"{"+t.styles+"}":t.styles),n&&(b.inserted[t.name]=!0)}}else{var h=[ee],m=te(u.concat(n,h)),v=pe(n)(t),g=function(e,t){var r=t.name;return void 0===v[r]&&(v[r]=function(e){return J(Y(e),m)}(e?e+"{"+t.styles+"}":t.styles)),v[r]};a=function(e,t,r,n){var o=t.name,a=g(e,t);return void 0===b.compat?(n&&(b.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):n?void(b.inserted[o]=a):a}}var b={key:t,sheet:new c({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return b.sheet.hydrate(s),b};function ve(){return ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ve.apply(this,arguments)}var ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function be(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ye(e,t){return e(t={exports:{}},t.exports),t.exports}function xe(e){return e&&e.default||e}
|
|
2
|
-
/** @license React v16.13.1
|
|
3
|
-
* react-is.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var we="function"==typeof Symbol&&Symbol.for,Se=we?Symbol.for("react.element"):60103,ke=we?Symbol.for("react.portal"):60106,Ee=we?Symbol.for("react.fragment"):60107,Oe=we?Symbol.for("react.strict_mode"):60108,Ce=we?Symbol.for("react.profiler"):60114,_e=we?Symbol.for("react.provider"):60109,Ae=we?Symbol.for("react.context"):60110,Pe=we?Symbol.for("react.async_mode"):60111,je=we?Symbol.for("react.concurrent_mode"):60111,Re=we?Symbol.for("react.forward_ref"):60112,Te=we?Symbol.for("react.suspense"):60113,ze=we?Symbol.for("react.suspense_list"):60120,Be=we?Symbol.for("react.memo"):60115,De=we?Symbol.for("react.lazy"):60116,Fe=we?Symbol.for("react.block"):60121,Me=we?Symbol.for("react.fundamental"):60117,Ie=we?Symbol.for("react.responder"):60118,Ne=we?Symbol.for("react.scope"):60119;function Le(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Se:switch(e=e.type){case Pe:case je:case Ee:case Ce:case Oe:case Te:return e;default:switch(e=e&&e.$$typeof){case Ae:case Re:case De:case Be:case _e:return e;default:return t}}case ke:return t}}}function We(e){return Le(e)===je}var He={AsyncMode:Pe,ConcurrentMode:je,ContextConsumer:Ae,ContextProvider:_e,Element:Se,ForwardRef:Re,Fragment:Ee,Lazy:De,Memo:Be,Portal:ke,Profiler:Ce,StrictMode:Oe,Suspense:Te,isAsyncMode:function(e){return We(e)||Le(e)===Pe},isConcurrentMode:We,isContextConsumer:function(e){return Le(e)===Ae},isContextProvider:function(e){return Le(e)===_e},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Se},isForwardRef:function(e){return Le(e)===Re},isFragment:function(e){return Le(e)===Ee},isLazy:function(e){return Le(e)===De},isMemo:function(e){return Le(e)===Be},isPortal:function(e){return Le(e)===ke},isProfiler:function(e){return Le(e)===Ce},isStrictMode:function(e){return Le(e)===Oe},isSuspense:function(e){return Le(e)===Te},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Ee||e===je||e===Ce||e===Oe||e===Te||e===ze||"object"==typeof e&&null!==e&&(e.$$typeof===De||e.$$typeof===Be||e.$$typeof===_e||e.$$typeof===Ae||e.$$typeof===Re||e.$$typeof===Me||e.$$typeof===Ie||e.$$typeof===Ne||e.$$typeof===Fe)},typeOf:Le},Ve=ye((function(e,t){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var p=e.type;switch(p){case u:case c:case o:case i:case a:case f:return p;default:var v=p&&p.$$typeof;switch(v){case l:case d:case m:case h:case s:return v;default:return t}}case n:return t}}}var w=u,S=c,k=l,E=s,O=r,C=d,_=o,A=m,P=h,j=n,R=i,T=a,z=f,B=!1;function D(e){return x(e)===c}t.AsyncMode=w,t.ConcurrentMode=S,t.ContextConsumer=k,t.ContextProvider=E,t.Element=O,t.ForwardRef=C,t.Fragment=_,t.Lazy=A,t.Memo=P,t.Portal=j,t.Profiler=R,t.StrictMode=T,t.Suspense=z,t.isAsyncMode=function(e){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||x(e)===u},t.isConcurrentMode=D,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===n},t.isProfiler=function(e){return x(e)===i},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===a||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===v)},t.typeOf=x}()}));Ve.AsyncMode,Ve.ConcurrentMode,Ve.ContextConsumer,Ve.ContextProvider,Ve.Element,Ve.ForwardRef,Ve.Fragment,Ve.Lazy,Ve.Memo,Ve.Portal,Ve.Profiler,Ve.StrictMode,Ve.Suspense,Ve.isAsyncMode,Ve.isConcurrentMode,Ve.isContextConsumer,Ve.isContextProvider,Ve.isElement,Ve.isForwardRef,Ve.isFragment,Ve.isLazy,Ve.isMemo,Ve.isPortal,Ve.isProfiler,Ve.isStrictMode,Ve.isSuspense,Ve.isValidElementType,Ve.typeOf;var $e=ye((function(e){"production"===process.env.NODE_ENV?e.exports=He:e.exports=Ve})),Ue={};Ue[$e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ue[$e.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var qe="undefined"!=typeof document;function Ye(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Xe=function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===qe&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+n:"",a,e.sheet,!0);qe||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!qe&&0!==o.length)return o}};var Ge={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ke="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Ze="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Qe=/[A-Z]|^ms/g,Je=/_EMO_([^_]+?)_([^]*?)_EMO_/g,et=function(e){return 45===e.charCodeAt(1)},tt=function(e){return null!=e&&"boolean"!=typeof e},rt=ne((function(e){return et(e)?e:e.replace(Qe,"-$&").toLowerCase()})),nt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Je,(function(e,t,r){return ft={name:t,styles:r,next:ft},t}))}return 1===Ge[e]||et(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var ot=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,at=["normal","none","initial","inherit","unset"],it=nt,st=/^-ms-/,lt=/-(.)/g,ut={};nt=function(e,t){if("content"===e&&("string"!=typeof t||-1===at.indexOf(t)&&!ot.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=it(e,t);return""===r||et(e)||-1===e.indexOf("-")||void 0!==ut[e]||(ut[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(st,"ms-").replace(lt,(function(e,t){return t.toUpperCase()}))+"?")),r}}function ct(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===r.toString())throw new Error("Component selectors can only be used in conjunction with @emotion/babel-plugin.");return r}switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return ft={name:r.name,styles:r.styles,next:ft},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)ft={name:n.name,styles:n.styles,next:ft},n=n.next;var o=r.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==r.map&&(o+=r.map),o}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ct(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=a+"{"+t[i]+"}":tt(i)&&(n+=rt(a)+":"+nt(a,i)+";");else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error("Component selectors can only be used in conjunction with @emotion/babel-plugin.");if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=ct(e,t,i);switch(a){case"animation":case"animationName":n+=rt(a)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(Ze),n+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)tt(i[l])&&(n+=rt(a)+":"+nt(a,i[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var a=ft,i=r(e);return ft=a,ct(e,t,i)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var s=[],l=r.replace(Je,(function(e,t,r){var n="animation"+s.length;return s.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return r;var u=t[r];return void 0!==u?u:r}var dt,ft,pt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(dt=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ht=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";ft=void 0;var a,i=e[0];null==i||void 0===i.raw?(n=!1,o+=ct(r,t,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(Ke),o+=i[0]);for(var s=1;s<e.length;s++)o+=ct(r,t,e[s]),n&&("production"!==process.env.NODE_ENV&&void 0===i[s]&&console.error(Ke),o+=i[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(dt,(function(e){return a=e,""}))),pt.lastIndex=0;for(var l,u="";null!==(l=pt.exec(o));)u+="-"+l[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:o,map:a,next:ft,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:o,next:ft}},mt="undefined"!=typeof document,vt=Object.prototype.hasOwnProperty,gt=e.createContext("undefined"!=typeof HTMLElement?me({key:"css"}):null);gt.Provider;var bt=function(t){return e.forwardRef((function(r,n){var o=e.useContext(gt);return t(r,o,n)}))};mt||(bt=function(t){return function(r){var n=e.useContext(gt);return null===n?(n=me({key:"css"}),e.createElement(gt.Provider,{value:n},t(r,n))):t(r,n)}});var yt=e.createContext({}),xt=re((function(e){return re((function(t){return function(e,t){if("function"==typeof t){var r=t(e);if("production"!==process.env.NODE_ENV&&(null==r||"object"!=typeof r||Array.isArray(r)))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return r}if("production"!==process.env.NODE_ENV&&(null==t||"object"!=typeof t||Array.isArray(t)))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return ve({},e,{},t)}(e,t)}))})),wt=function(t){var r=e.useContext(yt);return t.theme!==r&&(r=xt(r)(t.theme)),e.createElement(yt.Provider,{value:r},t.children)},St=bt((function(t,r,n){var o=t.css;"string"==typeof o&&void 0!==r.registered[o]&&(o=r.registered[o]);var a=t.__EMOTION_TYPE_PLEASE_DO_NOT_USE__,i=[o],s="";"string"==typeof t.className?s=Ye(r.registered,i,t.className):null!=t.className&&(s=t.className+" ");var l=ht(i,void 0,"function"==typeof o||Array.isArray(o)?e.useContext(yt):void 0);if("production"!==process.env.NODE_ENV&&-1===l.name.indexOf("-")){var u=t.__EMOTION_LABEL_PLEASE_DO_NOT_USE__;u&&(l=ht([l,"label:"+u+";"]))}var c=Xe(r,l,"string"==typeof a);s+=r.key+"-"+l.name;var d={};for(var f in t)!vt.call(t,f)||"css"===f||"__EMOTION_TYPE_PLEASE_DO_NOT_USE__"===f||"production"!==process.env.NODE_ENV&&"__EMOTION_LABEL_PLEASE_DO_NOT_USE__"===f||(d[f]=t[f]);d.ref=n,d.className=s;var p=e.createElement(a,d);if(!mt&&void 0!==c){for(var h,m=l.name,v=l.next;void 0!==v;)m+=" "+v.name,v=v.next;return e.createElement(e.Fragment,null,e.createElement("style",((h={})["data-emotion"]=r.key+" "+m,h.dangerouslySetInnerHTML={__html:c},h.nonce=r.sheet.nonce,h)),p)}return p}));"production"!==process.env.NODE_ENV&&(St.displayName="EmotionCssPropInternal");var kt=!1,Et=bt((function(t,r){"production"===process.env.NODE_ENV||kt||!t.className&&!t.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),kt=!0);var n=t.styles,o=ht([n],void 0,"function"==typeof n||Array.isArray(n)?e.useContext(yt):void 0);if(!mt){for(var a,i=o.name,s=o.styles,l=o.next;void 0!==l;)i+=" "+l.name,s+=l.styles,l=l.next;var u=!0===r.compat,d=r.insert("",{name:i,styles:s},r.sheet,u);return u?null:e.createElement("style",((a={})["data-emotion"]=r.key+"-global "+i,a.dangerouslySetInnerHTML={__html:d},a.nonce=r.sheet.nonce,a))}var f=e.useRef();return e.useLayoutEffect((function(){var e=r.key+"-global",t=new c({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==n&&t.hydrate([n]),f.current=t,function(){t.flush()}}),[r]),e.useLayoutEffect((function(){void 0!==o.next&&Xe(r,o.next,!0);var e=f.current;if(e.tags.length){var t=e.tags[e.tags.length-1].nextElementSibling;e.before=t,e.flush()}r.insert("",o,e,!1)}),[r,o.name]),null}));function Ot(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ht(t)}"production"!==process.env.NODE_ENV&&(Et.displayName="EmotionGlobal");var Ct=function(){var e=Ot.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},_t=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var a=t[n];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};function At(e,t,r){var n=[],o=Ye(e,n,r);return n.length<2?r:o+t(n)}var Pt=bt((function(t,r){var n,o="",a="",i=!1,s=function(){if(i&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var s=ht(t,r.registered);if(mt)Xe(r,s,!1);else{var l=Xe(r,s,!1);void 0!==l&&(o+=l)}return mt||(a+=" "+s.name),r.key+"-"+s.name},l={css:s,cx:function(){if(i&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return At(r.registered,s,_t(t))},theme:e.useContext(yt)},u=t.children(l);return i=!0,mt||0===o.length?u:e.createElement(e.Fragment,null,e.createElement("style",((n={})["data-emotion"]=r.key+" "+a.substring(1),n.dangerouslySetInnerHTML={__html:o},n.nonce=r.sheet.nonce,n)),u)}));if("production"!==process.env.NODE_ENV&&(Pt.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var jt="undefined"!=typeof document,Rt="undefined"!=typeof jest;if(jt&&!Rt){var Tt=jt?window:global,zt="__EMOTION_REACT_"+"11.1.5".split(".")[0]+"__";Tt[zt]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Tt[zt]=!0}}var Bt=()=>e.createElement(Et,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility; \n -moz-osx-font-smoothing: grayscale; \n touch-action: manipulation; \n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n '});function Dt(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}function Ft(e){return"number"==typeof e}function Mt(e){return Array.isArray(e)}function It(e){return"function"==typeof e}function Nt(e){return void 0===e||void 0===e}function Lt(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Mt(e)}function Wt(e){return"[object String]"===Object.prototype.toString.call(e)}function Ht(e){return/^var\(--.+\)$/.test(e)}var Vt="production"!==process.env.NODE_ENV;function $t(e){return"current"in e}process.env.NODE_ENV;var Ut=ye((function(e,t){var r="__lodash_hash_undefined__",n=9007199254740991,o="[object Arguments]",a="[object Function]",i="[object Object]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[a]=u["[object Map]"]=u["[object Number]"]=u[i]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var c="object"==typeof ge&&ge&&ge.Object===Object&&ge,d="object"==typeof self&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),p=t&&!t.nodeType&&t,h=p&&e&&!e.nodeType&&e,m=h&&h.exports===p,v=m&&c.process,g=function(){try{var e=h&&h.require&&h.require("util").types;return e||v&&v.binding&&v.binding("util")}catch(e){}}(),b=g&&g.isTypedArray;function y(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var x=Array.prototype,w=Function.prototype,S=Object.prototype,k=f["__core-js_shared__"],E=w.toString,O=S.hasOwnProperty,C=function(){var e=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),_=S.toString,A=E.call(Object),P=RegExp("^"+E.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=m?f.Buffer:void 0,R=f.Symbol,T=f.Uint8Array,z=j?j.allocUnsafe:void 0,B=function(e,t){return function(r){return e(t(r))}}(Object.getPrototypeOf,Object),D=Object.create,F=S.propertyIsEnumerable,M=x.splice,I=R?R.toStringTag:void 0,N=function(){try{var e=de(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),L=j?j.isBuffer:void 0,W=Math.max,H=Date.now,V=de(f,"Map"),$=de(Object,"create"),U=function(){function e(){}return function(t){if(!_e(t))return{};if(D)return D(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function q(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Y(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function X(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function G(e){var t=this.__data__=new Y(e);this.size=t.size}function K(e,t){var r=Se(e),n=!r&&we(e),o=!r&&!n&&Ee(e),a=!r&&!n&&!o&&Pe(e),i=r||n||o||a,s=i?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)!t&&!O.call(e,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||fe(u,l))||s.push(u);return s}function Z(e,t,r){(void 0!==r&&!xe(e[t],r)||void 0===r&&!(t in e))&&ee(e,t,r)}function Q(e,t,r){var n=e[t];O.call(e,t)&&xe(n,r)&&(void 0!==r||t in e)||ee(e,t,r)}function J(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1}function ee(e,t,r){"__proto__"==t&&N?N(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}q.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},q.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},q.prototype.get=function(e){var t=this.__data__;if($){var n=t[e];return n===r?void 0:n}return O.call(t,e)?t[e]:void 0},q.prototype.has=function(e){var t=this.__data__;return $?void 0!==t[e]:O.call(t,e)},q.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$&&void 0===t?r:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,r=J(t,e);return!(r<0)&&(r==t.length-1?t.pop():M.call(t,r,1),--this.size,!0)},Y.prototype.get=function(e){var t=this.__data__,r=J(t,e);return r<0?void 0:t[r][1]},Y.prototype.has=function(e){return J(this.__data__,e)>-1},Y.prototype.set=function(e,t){var r=this.__data__,n=J(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new q,map:new(V||Y),string:new q}},X.prototype.delete=function(e){var t=ce(this,e).delete(e);return this.size-=t?1:0,t},X.prototype.get=function(e){return ce(this,e).get(e)},X.prototype.has=function(e){return ce(this,e).has(e)},X.prototype.set=function(e,t){var r=ce(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},G.prototype.clear=function(){this.__data__=new Y,this.size=0},G.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},G.prototype.get=function(e){return this.__data__.get(e)},G.prototype.has=function(e){return this.__data__.has(e)},G.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Y){var n=r.__data__;if(!V||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new X(n)}return r.set(e,t),this.size=r.size,this};var te,re=function(e,t,r){for(var n=-1,o=Object(e),a=r(e),i=a.length;i--;){var s=a[te?i:++n];if(!1===t(o[s],s,o))break}return e};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":I&&I in Object(e)?function(e){var t=O.call(e,I),r=e[I];try{e[I]=void 0;var n=!0}catch(e){}var o=_.call(e);n&&(t?e[I]=r:delete e[I]);return o}(e):function(e){return _.call(e)}(e)}function oe(e){return Ae(e)&&ne(e)==o}function ae(e){return!(!_e(e)||(t=e,C&&C in t))&&(Oe(e)?P:s).test(function(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function ie(e){if(!_e(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=pe(e),r=[];for(var n in e)("constructor"!=n||!t&&O.call(e,n))&&r.push(n);return r}function se(e,t,r,n,o){e!==t&&re(t,(function(a,s){if(o||(o=new G),_e(a))!function(e,t,r,n,o,a,s){var l=he(e,r),u=he(t,r),c=s.get(u);if(c)return void Z(e,r,c);var d=a?a(l,u,r+"",e,t,s):void 0,f=void 0===d;if(f){var p=Se(u),h=!p&&Ee(u),m=!p&&!h&&Pe(u);d=u,p||h||m?Se(l)?d=l:Ae(x=l)&&ke(x)?d=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(l):h?(f=!1,d=function(e,t){if(t)return e.slice();var r=e.length,n=z?z(r):new e.constructor(r);return e.copy(n),n}(u,!0)):m?(f=!1,v=u,g=!0?(b=v.buffer,y=new b.constructor(b.byteLength),new T(y).set(new T(b)),y):v.buffer,d=new v.constructor(g,v.byteOffset,v.length)):d=[]:function(e){if(!Ae(e)||ne(e)!=i)return!1;var t=B(e);if(null===t)return!0;var r=O.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&E.call(r)==A}(u)||we(u)?(d=l,we(l)?d=function(e){return function(e,t,r,n){var o=!r;r||(r={});var a=-1,i=t.length;for(;++a<i;){var s=t[a],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),o?ee(r,s,l):Q(r,s,l)}return r}(e,je(e))}(l):_e(l)&&!Oe(l)||(d=function(e){return"function"!=typeof e.constructor||pe(e)?{}:U(B(e))}(u))):f=!1}var v,g,b,y;var x;f&&(s.set(u,d),o(d,u,n,a,s),s.delete(u));Z(e,r,d)}(e,t,s,r,se,n,o);else{var l=n?n(he(e,s),a,s+"",e,t,o):void 0;void 0===l&&(l=a),Z(e,s,l)}}),je)}function le(e,t){return ye(function(e,t,r){return t=W(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=W(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),y(e,this,s)}}(e,t,ze),e+"")}var ue=N?function(e,t){return N(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:ze;function ce(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function de(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return ae(r)?r:void 0}function fe(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&l.test(e))&&e>-1&&e%1==0&&e<t}function pe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function he(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var me,ve,be,ye=(me=ue,ve=0,be=0,function(){var e=H(),t=16-(e-be);if(be=e,t>0){if(++ve>=800)return arguments[0]}else ve=0;return me.apply(void 0,arguments)});function xe(e,t){return e===t||e!=e&&t!=t}var we=oe(function(){return arguments}())?oe:function(e){return Ae(e)&&O.call(e,"callee")&&!F.call(e,"callee")},Se=Array.isArray;function ke(e){return null!=e&&Ce(e.length)&&!Oe(e)}var Ee=L||function(){return!1};function Oe(e){if(!_e(e))return!1;var t=ne(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function _e(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ae(e){return null!=e&&"object"==typeof e}var Pe=b?function(e){return function(t){return e(t)}}(b):function(e){return Ae(e)&&Ce(e.length)&&!!u[ne(e)]};function je(e){return ke(e)?K(e,!0):ie(e)}var Re,Te=(Re=function(e,t,r,n){se(e,t,r,n)},le((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(o=Re.length>3&&"function"==typeof o?(n--,o):void 0,a&&function(e,t,r){if(!_e(r))return!1;var n=typeof t;return!!("number"==n?ke(r)&&fe(t,r.length):"string"==n&&t in r)&&xe(r[t],e)}(t[0],t[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var i=t[r];i&&Re(e,i,r,o)}return e})));function ze(e){return e}e.exports=Te}));function qt(e,t){var r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}var Yt,Xt,Gt=(Yt=function(e,t,r,n){var o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e},Xt=new WeakMap,(e,t,r,n)=>{if(void 0===e)return Yt(e,t,r);Xt.has(e)||Xt.set(e,new Map);var o=Xt.get(e);if(o.has(t))return o.get(t);var a=Yt(e,t,r,n);return o.set(t,a),a});function Kt(e,t){var r={};return Object.keys(e).forEach((n=>{var o=e[n];t(o,n,e)&&(r[n]=o)})),r}var Zt=e=>Kt(e,(e=>null!=e)),Qt=e=>Object.keys(e),Jt=e=>e.reduce(((e,t)=>{var[r,n]=t;return e[r]=n,e}),{});function er(e){if(null==e)return e;var{unitless:t}=function(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||Ft(e)?e+"px":e}var tr=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,rr=e=>Jt(Object.entries(e).sort(tr));function nr(e){var t=rr(e);return Object.assign(Object.values(t),t)}function or(e,t){var r=[];return e&&r.push("@media screen and (min-width: "+er(e)+")"),r.length>0&&t&&r.push("and"),t&&r.push("@media screen and (max-width: "+er(t)+")"),r.join(" ")}function ar(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";var r=nr(e),n=Object.entries(e).sort(tr).map(((e,t,r)=>{var n,[o,a]=e,[,i]=null!=(n=r[t+1])?n:[];return i=parseFloat(i)>0?function(e){var t;if(!e)return e;var r=(e=null!=(t=er(e))?t:e).endsWith("px")?-1:-.0635;return Ft(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,(e=>""+(parseFloat(e)+r)))}(i):void 0,{breakpoint:o,minW:a,maxW:i,maxWQuery:or(null,i),minWQuery:or(a),minMaxQuery:or(a,i)}})),o=function(e){var t=Object.keys(rr(e));return new Set(t)}(e),a=Array.from(o.values());return{keys:o,normalized:r,isResponsive(e){var t=Object.keys(e);return t.length>0&&t.every((e=>o.has(e)))},asObject:rr(e),asArray:nr(e),details:n,media:[null,...r.map((e=>or(e))).slice(1)],toArrayValue(e){if(!Lt(e))throw new Error("toArrayValue: value must be an object");for(var t=a.map((t=>{var r;return null!=(r=e[t])?r:null}));null===Dt(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,r)=>{var n=a[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}function ir(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function sr(e){var t;return!!ir(e)&&e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function lr(e){var t;return ir(e)&&null!=(t=e.ownerDocument)?t:document}var ur=!("undefined"==typeof window||!window.document||!window.document.createElement),cr=e=>e?"":void 0,dr=e=>!!e||void 0,fr=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")};function pr(e){var t=lr(e);return null==t?void 0:t.activeElement}function hr(e,t){return!!e&&(e===t||e.contains(t))}function mr(e){var{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function vr(e){return 0!==e.button}var gr=e=>e.hasAttribute("tabindex");function br(e){return(sr(e)?lr(e):document).activeElement===e}function yr(e){return!(!e.parentElement||!yr(e.parentElement))||e.hidden}function xr(e){if(!sr(e)||yr(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;var r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():!!function(e){var t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||gr(e)}function wr(e){return!!e&&(sr(e)&&xr(e)&&!(e=>gr(e)&&-1===e.tabIndex)(e))}var Sr=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function kr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return It(e)?e(...r):e}function Er(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.some((t=>(null==t||t(e),null==e?void 0:e.defaultPrevented)))}}var Or=()=>{},Cr=function(e){var t;return function(){if(e){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t=e.apply(this,n),e=null}return t}}((e=>()=>{var{condition:t,message:r}=e;t&&Vt&&console.warn(r)})),_r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>t.reduce(((e,t)=>t(e)),e)};function Ar(e,t){void 0===t&&(t={});var{isActive:r=br,nextTick:n,preventScroll:o=!0,selectTextIfInput:a=!0}=t;if(!e||r(e))return-1;function i(){if(e){if(function(){if(null==Pr){Pr=!1;try{document.createElement("div").focus({get preventScroll(){return Pr=!0,!0}})}catch(e){}}return Pr}())e.focus({preventScroll:o});else if(e.focus(),o){var t=function(e){var t,r=lr(e),n=null!=(t=r.defaultView)?t:window,o=e.parentNode,a=[],i=r.scrollingElement||r.documentElement;for(;o instanceof n.HTMLElement&&o!==i;)(o.offsetHeight<o.scrollHeight||o.offsetWidth<o.scrollWidth)&&a.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),o=o.parentNode;i instanceof n.HTMLElement&&a.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft});return a}(e);!function(e){for(var{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}(function(e){return sr(e)&&"input"===e.tagName.toLowerCase()&&"select"in e})(e)&&a&&e.select()}else Cr({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"})}return n?requestAnimationFrame(i):(i(),-1)}var Pr=null;function jr(e){var{hasBeenSelected:t,isLazy:r,isSelected:n,lazyBehavior:o="unmount"}=e;return!r||(!!n||!("keepMounted"!==o||!t))}var Rr="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},Tr="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(Rr())}),16.666666666666668)};var zr=!0,Br=!1,Dr=!1,Fr={delta:0,timestamp:0},Mr=["read","update","preRender","render","postRender"],Ir=Mr.reduce((function(e,t){return e[t]=function(e){var t=[],r=[],n=0,o=!1,a=new WeakSet,i={schedule:function(e,i,s){void 0===i&&(i=!1),void 0===s&&(s=!1);var l=s&&o,u=l?t:r;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&o&&(n=t.length)),e},cancel:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:function(s){var l;if(o=!0,t=(l=[r,t])[0],(r=l[1]).length=0,n=t.length)for(var u=0;u<n;u++){var c=t[u];c(s),a.has(c)&&(i.schedule(c),e())}o=!1}};return i}((function(){return Br=!0})),e}),{}),Nr=Mr.reduce((function(e,t){var r=Ir[t];return e[t]=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),Br||$r(),r.schedule(e,t,n)},e}),{}),Lr=Mr.reduce((function(e,t){return e[t]=Ir[t].cancel,e}),{}),Wr=Mr.reduce((function(e,t){return e[t]=function(){return Ir[t].process(Fr)},e}),{}),Hr=function(e){return Ir[e].process(Fr)},Vr=function(e){Br=!1,Fr.delta=zr?16.666666666666668:Math.max(Math.min(e-Fr.timestamp,40),1),Fr.timestamp=e,Dr=!0,Mr.forEach(Hr),Dr=!1,Br&&(zr=!1,Tr(Vr))},$r=function(){Br=!0,zr=!0,Dr||Tr(Vr)},Ur=function(){return Fr};function qr(e){return!!e.touches}function Yr(e){return t=>{var r=function(e){var t;return null!=(t=e.view)?t:window}(t),n=t instanceof r.MouseEvent;(!n||n&&0===t.button)&&e(t)}}var Xr={pageX:0,pageY:0};function Gr(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Xr;return{x:r[t+"X"],y:r[t+"Y"]}}function Kr(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}var Zr=function(e,t){void 0===t&&(t=!1);var r=t=>e(t,function(e,t){return void 0===t&&(t="page"),{point:qr(e)?Gr(e,t):Kr(e,t)}}(t));return t?Yr(r):r},Qr={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Jr={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function en(e){return ur&&null===window.onpointerdown?e:ur&&null===window.ontouchstart?Jr[e]:ur&&null===window.onmousedown?Qr[e]:e}var tn=Object.freeze(["base","sm","md","lg","xl","2xl"]);function rn(e,t){return Mt(e)?e.map((e=>null===e?null:t(e))):Lt(e)?Qt(e).reduce(((r,n)=>(r[n]=t(e[n]),r)),{}):null!=e?t(e):null}function nn(e,t){if(null!=e)if(It(e))e(t);else try{e.current=t}catch(r){throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}function on(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach((t=>nn(t,e)))}}function an(t){void 0===t&&(t={});var{strict:r=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=t,a=e.createContext(void 0);return a.displayName=o,[a.Provider,function t(){var o=e.useContext(a);if(!o&&r){var i=new Error(n);throw i.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(i,t),i}return o},a]}function sn(t){return e.Children.toArray(t).filter((t=>e.isValidElement(t)))}var[ln,un]=an({strict:!1,name:"PortalManagerContext"});function cn(t){var{children:r,zIndex:n}=t;return e.createElement(ln,{value:{zIndex:n}},r)}function dn(t){void 0===t&&(t=!1);var[r,n]=e.useState(t),o=e.useCallback((()=>{n(!0)}),[]),a=e.useCallback((()=>{n(!1)}),[]),i=e.useCallback((()=>{n((e=>!e))}),[]);return[r,{on:o,off:a,toggle:i}]}Vt&&(cn.displayName="PortalManager");var fn=ur?e.useLayoutEffect:e.useEffect;function pn(t,r){void 0===r&&(r=[]);var n=e.useRef(t);return fn((()=>{n.current=t})),e.useCallback((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)}),r)}var hn={"text/plain":"Text","text/html":"Url",default:"Text"};var mn=function(e,t){var r,n,o,a,i,s,l=!1;t||(t={}),r=t.debug||!1;try{if(o=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}(),a=document.createRange(),i=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=hn[t.format]||hn.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(s),a.selectNodeContents(s),i.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(o){r&&console.error("unable to copy using execCommand: ",o),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(o){r&&console.error("unable to copy using clipboardData: ",o),r&&console.error("falling back to prompt"),n=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(n,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(a):i.removeAllRanges()),s&&document.body.removeChild(s),o()}return l};function vn(e,t){var r=void 0!==e;return[r,r&&void 0!==e?e:t]}function gn(t){var{value:r,defaultValue:n,onChange:o,shouldUpdate:a=((e,t)=>e!==t)}=t,i=pn(o),s=pn(a),[l,u]=e.useState(n),c=void 0!==r,d=c?r:l,f=e.useCallback((e=>{var t=kr(e,d);s(d,t)&&(c||u(t),i(t))}),[c,i,d,s]);return[d,f]}var bn={prefix:Math.round(1e10*Math.random()),current:0},yn=e.createContext(bn),xn=e.memo((t=>{var{children:r}=t,n=e.useContext(yn),o=n===bn,a=e.useMemo((()=>({prefix:o?0:++n.prefix,current:0})),[o,n]);return e.createElement(yn.Provider,{value:a},r)}));function wn(t,r){var n=e.useContext(yn);return e.useMemo((()=>t||[r,n.prefix,++n.current].filter(Boolean).join("-")),[t,r])}function Sn(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=wn(t);return e.useMemo((()=>n.map((e=>e+"-"+a))),[a,n])}function kn(){return kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kn.apply(this,arguments)}function En(t){void 0===t&&(t={});var{onClose:r,onOpen:n,isOpen:o,id:a}=t,i=pn(n),s=pn(r),[l,u]=e.useState(t.defaultIsOpen||!1),[c,d]=vn(o,l),f=wn(a,"disclosure"),p=e.useCallback((()=>{c||u(!1),null==s||s()}),[c,s]),h=e.useCallback((()=>{c||u(!0),null==i||i()}),[c,i]),m=e.useCallback((()=>{(d?p:h)()}),[d,h,p]);return{isOpen:!!d,onOpen:h,onClose:p,onToggle:m,isControlled:c,getButtonProps:function(e){return void 0===e&&(e={}),kn({},e,{"aria-expanded":"true","aria-controls":f,onClick:Er(e.onClick,m)})},getDisclosureProps:function(e){return void 0===e&&(e={}),kn({},e,{hidden:!d,id:f})}}}function On(t,r,n,o){var a=pn(r);return e.useEffect((()=>{var e,r=null!=(e=kr(n))?e:document;return r.addEventListener(t,a,o),()=>{r.removeEventListener(t,a,o)}}),[t,n,o,a]),()=>{var e;(null!=(e=kr(n))?e:document).removeEventListener(t,a,o)}}var Cn=(t,r)=>{var n=e.useRef(!1);return e.useEffect((()=>{if(n.current)return t();n.current=!0}),r),n.current};function _n(e,t){var{shouldFocus:r,visible:n,focusRef:o}=t,a=r&&!n;Cn((()=>{if(a&&!function(e){var t=e.current;if(!t)return!1;var r=pr(t);return!!r&&!hr(t,r)&&!!wr(r)}(e)){var t=(null==o?void 0:o.current)||e.current;t&&Ar(t,{nextTick:!0})}}),[a,e,o])}function An(e){var t,{ref:r,elements:n,enabled:o}=e,a=(t="Safari",!!ur&&function(e){var{userAgent:t,vendor:r}=e,n=/(android)/i.test(t);switch(!0){case/CriOS/.test(t):return"Chrome for iOS";case/Edg\//.test(t):return"Edge";case n&&/Silk\//.test(t):return"Silk";case/Chrome/.test(t)&&/Google Inc/.test(r):return"Chrome";case/Firefox\/\d+\.\d+$/.test(t):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(t):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(t):return"Safari";case/AppleWebKit/.test(t):return"WebKit";default:return null}}(window.navigator)===t);!function(e,t,r,n){On(en(t),Zr(r,"pointerdown"===t),e,n)}((()=>lr(r.current)),"pointerdown",(e=>{if(a&&o){var t=e.target,i=(null!=n?n:[r]).some((e=>hr($t(e)?e.current:e,t)));!br(t)&&i&&(e.preventDefault(),Ar(t))}}))}var Pn={preventScroll:!0,shouldFocus:!1};function jn(t,r){void 0===r&&(r=Pn);var{focusRef:n,preventScroll:o,shouldFocus:a,visible:i}=r,s=$t(t)?t.current:t,l=a&&i,u=e.useCallback((()=>{if(s&&l&&!hr(s,document.activeElement))if(null!=n&&n.current)Ar(n.current,{preventScroll:o,nextTick:!0});else{var e=function(e){var t=Array.from(e.querySelectorAll(Sr));return t.unshift(e),t.filter(xr).filter((e=>"none"!==window.getComputedStyle(e).display))}(s);e.length>0&&Ar(e[0],{preventScroll:o,nextTick:!0})}}),[l,o,s,n]);Cn((()=>{u()}),[u]),On("transitionend",u,s)}function Rn(t,r){return void 0===r&&(r=[]),e.useEffect((()=>()=>t()),r)}function Tn(){var t=e.useRef(!1),[r,n]=e.useState(0);return Rn((()=>{t.current=!0})),e.useCallback((()=>{t.current||n(r+1)}),[r])}function zn(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(r){throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}else e(t)}function Bn(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.useMemo((()=>r.every((e=>null==e))?null:e=>{r.forEach((t=>{t&&zn(t,e)}))}),r)}function Dn(){return Dn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dn.apply(this,arguments)}var[Fn,Mn]=an({strict:!1,name:"PortalContext"}),In=t=>e.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children),Nn=t=>{var{appendToParentPortal:r,children:n}=t,a=e.useRef(null),i=e.useRef(null),s=Tn(),l=Mn(),u=un();fn((()=>{if(a.current){var e=a.current.ownerDocument,t=r&&null!=l?l:e.body;if(t){i.current=e.createElement("div"),i.current.className="chakra-portal",t.appendChild(i.current),s();var n=i.current;return()=>{t.contains(n)&&t.removeChild(n)}}}}),[]);var c=null!=u&&u.zIndex?e.createElement(In,{zIndex:null==u?void 0:u.zIndex},n):n;return i.current?o.createPortal(e.createElement(Fn,{value:i.current},c),i.current):e.createElement("span",{ref:a})},Ln=t=>{var{children:r,containerRef:n,appendToParentPortal:a}=t,i=n.current,s=null!=i?i:ur?document.body:void 0,l=e.useMemo((()=>{var e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className="chakra-portal"),e}),[i]),u=Tn();return fn((()=>{u()}),[]),fn((()=>{if(l&&s)return s.appendChild(l),()=>{s.removeChild(l)}}),[l,s]),s&&l?o.createPortal(e.createElement(Fn,{value:a?l:null},r),l):null};function Wn(t){var{containerRef:r}=t,n=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["containerRef"]);return r?e.createElement(Ln,Dn({containerRef:r},n)):e.createElement(Nn,n)}Wn.defaultProps={appendToParentPortal:!0},Wn.className="chakra-portal",Wn.selector=".chakra-portal",Vt&&(Wn.displayName="Portal");var Hn={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},Vn=()=>{},$n={document:Hn,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Vn,removeEventListener:Vn,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:Vn,removeListener:Vn}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:Vn,setInterval:()=>0,clearInterval:Vn},Un=ur?{window:window,document:document}:{window:$n,document:Hn},qn=e.createContext(Un);function Yn(){return e.useContext(qn)}function Xn(t){var{children:r,environment:n}=t,[o,a]=e.useState(null),s=e.useMemo((()=>{var e,t=null==o?void 0:o.ownerDocument,r=null==o?void 0:o.ownerDocument.defaultView;return null!=(e=null!=n?n:t?{document:t,window:r}:void 0)?e:Un}),[o,n]),l=!o&&!n;return i.default.createElement(qn.Provider,{value:s},r,l&&i.default.createElement("span",{ref:e=>{e&&a(e)}}))}Vt&&(qn.displayName="EnvironmentContext"),Vt&&(Xn.displayName="EnvironmentProvider");var Gn="chakra-ui-light",Kn="chakra-ui-dark",Zn={classList:{add:Or,remove:Or}};function Qn(e,t){var r=(e=>ur?e.body:Zn)(t);r.classList.add(e?Kn:Gn),r.classList.remove(e?Gn:Kn)}var Jn="(prefers-color-scheme: dark)";function eo(e){var t;return(null!=(t=function(e){var t=null==window.matchMedia?void 0:window.matchMedia(e);if(t)return!!t.media===t.matches}(Jn))?t:"dark"===e)?"dark":"light"}var to=()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),ro=e=>{ur&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)},no=()=>"undefined"!=typeof Storage,oo={get(e){if(!no())return e;try{var t=localStorage.getItem("chakra-ui-color-mode");return null!=t?t:e}catch(t){return Vt&&console.log(t),e}},set(e){if(no())try{localStorage.setItem("chakra-ui-color-mode",e)}catch(e){Vt&&console.log(e)}},type:"localStorage"},ao=e.createContext({});Vt&&(ao.displayName="ColorModeContext");var io=()=>{var t=e.useContext(ao);if(void 0===t)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function so(t){var{value:r,children:n,options:{useSystemColorMode:o,initialColorMode:a},colorModeManager:i=oo}=t,s="dark"===a?"dark":"light",[l,u]=e.useState("cookie"===i.type?i.get(s):s),{document:c}=Yn();e.useEffect((()=>{if(ur&&"localStorage"===i.type){var e=o?eo(s):to()||i.get()||eo(s);e&&u(e)}}),[i,o,s]),e.useEffect((()=>{var e="dark"===l;Qn(e,c),ro(e?"dark":"light")}),[l,c]);var d=e.useCallback((function(e,t){if(void 0===t&&(t=!1),t){if(i.get()&&!o)return}else i.set(e);u(e)}),[i,o]),f=e.useCallback((()=>{d("light"===l?"dark":"light")}),[l,d]);e.useEffect((()=>{var e,t=o||"system"===a;return t&&(e=function(e){if(!("matchMedia"in window))return Or;var t=window.matchMedia(Jn),r=()=>{e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}}(d)),()=>{e&&t&&e()}}),[d,o,a]);var p=e.useMemo((()=>({colorMode:null!=r?r:l,toggleColorMode:r?Or:f,setColorMode:r?Or:d})),[l,d,f,r]);return e.createElement(ao.Provider,{value:p},n)}Vt&&(so.displayName="ColorModeProvider");function lo(e){var{scale:t,transform:r,compose:n}=e;return(e,o)=>{var a,i=((e,t)=>r=>{var n=String(t),o=e?e+"."+n:n;return Lt(r.__cssMap)&&o in r.__cssMap?r.__cssMap[o].varRef:t})(t,e)(o),s=null!=(a=null==r?void 0:r(i,o))?a:i;return n&&(s=n(s,o)),s}}function uo(e,t){return r=>{var n={property:r,scale:e};return n.transform=lo({scale:e,transform:t}),n}}var co=e=>{var{rtl:t,ltr:r}=e;return e=>"rtl"===e.direction?t:r};var fo=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var po={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},ho={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var mo={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},vo={"& > :not(style) ~ :not(style)":{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},go={"& > :not(style) ~ :not(style)":{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}};function bo(e,t){bo=function(e,t){return new a(e,void 0,t)};var r=xo(RegExp),n=RegExp.prototype,o=new WeakMap;function a(e,t,n){var a=r.call(this,e,t);return o.set(a,n||o.get(e)),a}function i(e,t){var r=o.get(t);return Object.keys(r).reduce((function(t,n){return t[n]=e[r[n]],t}),Object.create(null))}return yo(a,r),a.prototype.exec=function(e){var t=n.exec.call(this,e);return t&&(t.groups=i(t,this)),t},a.prototype[Symbol.replace]=function(e,t){if("string"==typeof t){var r=o.get(this);return n[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+r[t]})))}if("function"==typeof t){var a=this;return n[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!=typeof e[e.length-1]&&e.push(i(e,a)),t.apply(this,e)}))}return n[Symbol.replace].call(this,e,t)},bo.apply(this,arguments)}function yo(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ko(e,t)}function xo(e){var t="function"==typeof Map?new Map:void 0;return xo=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return wo(e,arguments,Eo(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ko(r,e)},xo(e)}function wo(e,t,r){return wo=So()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&ko(o,r.prototype),o},wo.apply(null,arguments)}function So(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ko(e,t){return ko=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ko(e,t)}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Eo(e)}var Oo={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Co=new Set(Object.values(Oo)),_o=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Ao=e=>e.trim();var Po=e=>Wt(e)&&e.includes("(")&&e.includes(")"),jo=e=>t=>e+"("+t+")",Ro={filter:e=>"auto"!==e?e:po,backdropFilter:e=>"auto"!==e?e:ho,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(Ro.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...fo].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...fo].join(" "):e,px(e){if(null==e)return e;var{unitless:t}=(e=>{var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||Ft(e)?e+"px":e},fraction:e=>!Ft(e)||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(Ht(e)||null==e)return e;var t=Wt(e)&&!e.endsWith("deg");return Ft(e)||t?e+"deg":e},gradient:(e,t)=>function(e,t){var r,n;if(null==e||_o.has(e))return e;var o=bo(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:a,values:i}=null!=(r=null==(n=o.exec(e))?void 0:n.groups)?r:{};if(!a||!i)return e;var s=a.includes("-gradient")?a:a+"-gradient",[l,...u]=i.split(",").map(Ao).filter(Boolean);if(0===(null==u?void 0:u.length))return e;var c=l in Oo?Oo[l]:l;u.unshift(c);var d=u.map((e=>{if(Co.has(e))return e;var r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],a=Po(o)?o:o&&o.split(" "),i="colors."+n,s=i in t.__cssMap?t.__cssMap[i].varRef:n;return a?[s,a].join(" "):s}));return s+"("+d.join(", ")+")"}(e,null!=t?t:{}),blur:jo("blur"),opacity:jo("opacity"),brightness:jo("brightness"),contrast:jo("contrast"),dropShadow:jo("drop-shadow"),grayscale:jo("grayscale"),hueRotate:jo("hue-rotate"),invert:jo("invert"),saturate:jo("saturate"),sepia:jo("sepia"),bgImage:e=>null==e||Po(e)||_o.has(e)?e:"url("+e+")",outline(e){var t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t,{space:r,divide:n}=null!=(t=mo[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}};function To(){return To=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},To.apply(this,arguments)}var zo={borderWidths:uo("borderWidths"),borderStyles:uo("borderStyles"),colors:uo("colors"),borders:uo("borders"),radii:uo("radii",Ro.px),space:uo("space",Ro.px),spaceT:uo("space",Ro.px),degreeT:e=>({property:e,transform:Ro.degree}),prop:(e,t,r)=>To({property:e,scale:t},t&&{transform:lo({scale:t,transform:r})}),propT:(e,t)=>({property:e,transform:t}),sizes:uo("sizes",Ro.px),sizesT:uo("sizes",Ro.fraction),shadows:uo("shadows"),logical:function(e){var{property:t,scale:r,transform:n}=e;return{scale:r,property:co(t),transform:r?lo({scale:r,compose:n}):n}},blur:uo("blur",Ro.blur)},Bo={background:zo.colors("background"),backgroundColor:zo.colors("backgroundColor"),backgroundImage:zo.propT("backgroundImage",Ro.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ro.bgClip},bgSize:zo.prop("backgroundSize"),bgPosition:zo.prop("backgroundPosition"),bg:zo.colors("background"),bgColor:zo.colors("backgroundColor"),bgPos:zo.prop("backgroundPosition"),bgRepeat:zo.prop("backgroundRepeat"),bgAttachment:zo.prop("backgroundAttachment"),bgGradient:zo.propT("backgroundImage",Ro.gradient),bgClip:{transform:Ro.bgClip}};Object.assign(Bo,{bgImage:Bo.backgroundImage,bgImg:Bo.backgroundImage});var Do={border:zo.borders("border"),borderWidth:zo.borderWidths("borderWidth"),borderStyle:zo.borderStyles("borderStyle"),borderColor:zo.colors("borderColor"),borderRadius:zo.radii("borderRadius"),borderTop:zo.borders("borderTop"),borderBlockStart:zo.borders("borderBlockStart"),borderTopLeftRadius:zo.radii("borderTopLeftRadius"),borderStartStartRadius:zo.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:zo.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:zo.radii("borderTopRightRadius"),borderStartEndRadius:zo.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:zo.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:zo.borders("borderRight"),borderInlineEnd:zo.borders("borderInlineEnd"),borderBottom:zo.borders("borderBottom"),borderBlockEnd:zo.borders("borderBlockEnd"),borderBottomLeftRadius:zo.radii("borderBottomLeftRadius"),borderBottomRightRadius:zo.radii("borderBottomRightRadius"),borderLeft:zo.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:zo.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:zo.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:zo.borders(["borderLeft","borderRight"]),borderInline:zo.borders("borderInline"),borderY:zo.borders(["borderTop","borderBottom"]),borderBlock:zo.borders("borderBlock"),borderTopWidth:zo.borderWidths("borderTopWidth"),borderBlockStartWidth:zo.borderWidths("borderBlockStartWidth"),borderTopColor:zo.colors("borderTopColor"),borderBlockStartColor:zo.colors("borderBlockStartColor"),borderTopStyle:zo.borderStyles("borderTopStyle"),borderBlockStartStyle:zo.borderStyles("borderBlockStartStyle"),borderBottomWidth:zo.borderWidths("borderBottomWidth"),borderBlockEndWidth:zo.borderWidths("borderBlockEndWidth"),borderBottomColor:zo.colors("borderBottomColor"),borderBlockEndColor:zo.colors("borderBlockEndColor"),borderBottomStyle:zo.borderStyles("borderBottomStyle"),borderBlockEndStyle:zo.borderStyles("borderBlockEndStyle"),borderLeftWidth:zo.borderWidths("borderLeftWidth"),borderInlineStartWidth:zo.borderWidths("borderInlineStartWidth"),borderLeftColor:zo.colors("borderLeftColor"),borderInlineStartColor:zo.colors("borderInlineStartColor"),borderLeftStyle:zo.borderStyles("borderLeftStyle"),borderInlineStartStyle:zo.borderStyles("borderInlineStartStyle"),borderRightWidth:zo.borderWidths("borderRightWidth"),borderInlineEndWidth:zo.borderWidths("borderInlineEndWidth"),borderRightColor:zo.colors("borderRightColor"),borderInlineEndColor:zo.colors("borderInlineEndColor"),borderRightStyle:zo.borderStyles("borderRightStyle"),borderInlineEndStyle:zo.borderStyles("borderInlineEndStyle"),borderTopRadius:zo.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:zo.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:zo.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:zo.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Do,{rounded:Do.borderRadius,roundedTop:Do.borderTopRadius,roundedTopLeft:Do.borderTopLeftRadius,roundedTopRight:Do.borderTopRightRadius,roundedTopStart:Do.borderStartStartRadius,roundedTopEnd:Do.borderStartEndRadius,roundedBottom:Do.borderBottomRadius,roundedBottomLeft:Do.borderBottomLeftRadius,roundedBottomRight:Do.borderBottomRightRadius,roundedBottomStart:Do.borderEndStartRadius,roundedBottomEnd:Do.borderEndEndRadius,roundedLeft:Do.borderLeftRadius,roundedRight:Do.borderRightRadius,roundedStart:Do.borderInlineStartRadius,roundedEnd:Do.borderInlineEndRadius,borderStart:Do.borderInlineStart,borderEnd:Do.borderInlineEnd,borderTopStartRadius:Do.borderStartStartRadius,borderTopEndRadius:Do.borderStartEndRadius,borderBottomStartRadius:Do.borderEndStartRadius,borderBottomEndRadius:Do.borderEndEndRadius,borderStartRadius:Do.borderInlineStartRadius,borderEndRadius:Do.borderInlineEndRadius,borderStartWidth:Do.borderInlineStartWidth,borderEndWidth:Do.borderInlineEndWidth,borderStartColor:Do.borderInlineStartColor,borderEndColor:Do.borderInlineEndColor,borderStartStyle:Do.borderInlineStartStyle,borderEndStyle:Do.borderInlineEndStyle});var Fo={color:zo.colors("color"),textColor:zo.colors("color"),fill:zo.colors("fill"),stroke:zo.colors("stroke")},Mo={boxShadow:zo.shadows("boxShadow"),mixBlendMode:!0,blendMode:zo.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:zo.prop("backgroundBlendMode"),opacity:!0};Object.assign(Mo,{shadow:Mo.boxShadow});var Io={filter:{transform:Ro.filter},blur:zo.blur("--chakra-blur"),brightness:zo.propT("--chakra-brightness",Ro.brightness),contrast:zo.propT("--chakra-contrast",Ro.contrast),hueRotate:zo.degreeT("--chakra-hue-rotate"),invert:zo.propT("--chakra-invert",Ro.invert),saturate:zo.propT("--chakra-saturate",Ro.saturate),dropShadow:zo.propT("--chakra-drop-shadow",Ro.dropShadow),backdropFilter:{transform:Ro.backdropFilter},backdropBlur:zo.blur("--chakra-backdrop-blur"),backdropBrightness:zo.propT("--chakra-backdrop-brightness",Ro.brightness),backdropContrast:zo.propT("--chakra-backdrop-contrast",Ro.contrast),backdropHueRotate:zo.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:zo.propT("--chakra-backdrop-invert",Ro.invert),backdropSaturate:zo.propT("--chakra-backdrop-saturate",Ro.saturate)},No={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ro.flexDirection},experimental_spaceX:{static:vo,transform:lo({scale:"space",transform:e=>null!==e?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:go,transform:lo({scale:"space",transform:e=>null!=e?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:zo.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(No,{flexDir:No.flexDirection});var Lo={gridGap:zo.space("gridGap"),gridColumnGap:zo.space("gridColumnGap"),gridRowGap:zo.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Wo={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ro.outline},outlineOffset:!0,outlineColor:zo.colors("outlineColor")},Ho={width:zo.sizesT("width"),inlineSize:zo.sizesT("inlineSize"),height:zo.sizes("height"),blockSize:zo.sizes("blockSize"),boxSize:zo.sizes(["width","height"]),minWidth:zo.sizes("minWidth"),minInlineSize:zo.sizes("minInlineSize"),minHeight:zo.sizes("minHeight"),minBlockSize:zo.sizes("minBlockSize"),maxWidth:zo.sizes("maxWidth"),maxInlineSize:zo.sizes("maxInlineSize"),maxHeight:zo.sizes("maxHeight"),maxBlockSize:zo.sizes("maxBlockSize"),d:zo.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:zo.propT("float",Ro.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ho,{w:Ho.width,h:Ho.height,minW:Ho.minWidth,maxW:Ho.maxWidth,minH:Ho.minHeight,maxH:Ho.maxHeight,overscroll:Ho.overscrollBehavior,overscrollX:Ho.overscrollBehaviorX,overscrollY:Ho.overscrollBehaviorY});var Vo={listStyleType:!0,listStylePosition:!0,listStylePos:zo.prop("listStylePosition"),listStyleImage:!0,listStyleImg:zo.prop("listStyleImage")},$o={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Uo={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},qo=(e,t,r)=>{var n={},o=Gt(e,t,{});for(var a in o){a in r&&null!=r[a]||(n[a]=o[a])}return n},Yo={srOnly:{transform:e=>!0===e?$o:"focusable"===e?Uo:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>qo(t,"layerStyles."+e,r)},textStyle:{processResult:!0,transform:(e,t,r)=>qo(t,"textStyles."+e,r)},apply:{processResult:!0,transform:(e,t,r)=>qo(t,e,r)}},Xo={position:!0,pos:zo.prop("position"),zIndex:zo.prop("zIndex","zIndices"),inset:zo.spaceT(["top","right","bottom","left"]),insetX:zo.spaceT(["left","right"]),insetInline:zo.spaceT("insetInline"),insetY:zo.spaceT(["top","bottom"]),insetBlock:zo.spaceT("insetBlock"),top:zo.spaceT("top"),insetBlockStart:zo.spaceT("insetBlockStart"),bottom:zo.spaceT("bottom"),insetBlockEnd:zo.spaceT("insetBlockEnd"),left:zo.spaceT("left"),insetInlineStart:zo.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:zo.spaceT("right"),insetInlineEnd:zo.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Xo,{insetStart:Xo.insetInlineStart,insetEnd:Xo.insetInlineEnd});var Go={ring:{transform:Ro.ring},ringColor:zo.colors("--chakra-ring-color"),ringOffset:zo.prop("--chakra-ring-offset-width"),ringOffsetColor:zo.colors("--chakra-ring-offset-color"),ringInset:zo.prop("--chakra-ring-inset")},Ko={margin:zo.spaceT("margin"),marginTop:zo.spaceT("marginTop"),marginBlockStart:zo.spaceT("marginBlockStart"),marginRight:zo.spaceT("marginRight"),marginInlineEnd:zo.spaceT("marginInlineEnd"),marginBottom:zo.spaceT("marginBottom"),marginBlockEnd:zo.spaceT("marginBlockEnd"),marginLeft:zo.spaceT("marginLeft"),marginInlineStart:zo.spaceT("marginInlineStart"),marginX:zo.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:zo.spaceT("marginInline"),marginY:zo.spaceT(["marginTop","marginBottom"]),marginBlock:zo.spaceT("marginBlock"),padding:zo.space("padding"),paddingTop:zo.space("paddingTop"),paddingBlockStart:zo.space("paddingBlockStart"),paddingRight:zo.space("paddingRight"),paddingBottom:zo.space("paddingBottom"),paddingBlockEnd:zo.space("paddingBlockEnd"),paddingLeft:zo.space("paddingLeft"),paddingInlineStart:zo.space("paddingInlineStart"),paddingInlineEnd:zo.space("paddingInlineEnd"),paddingX:zo.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:zo.space("paddingInline"),paddingY:zo.space(["paddingTop","paddingBottom"]),paddingBlock:zo.space("paddingBlock")};Object.assign(Ko,{m:Ko.margin,mt:Ko.marginTop,mr:Ko.marginRight,me:Ko.marginInlineEnd,marginEnd:Ko.marginInlineEnd,mb:Ko.marginBottom,ml:Ko.marginLeft,ms:Ko.marginInlineStart,marginStart:Ko.marginInlineStart,mx:Ko.marginX,my:Ko.marginY,p:Ko.padding,pt:Ko.paddingTop,py:Ko.paddingY,px:Ko.paddingX,pb:Ko.paddingBottom,pl:Ko.paddingLeft,ps:Ko.paddingInlineStart,paddingStart:Ko.paddingInlineStart,pr:Ko.paddingRight,pe:Ko.paddingInlineEnd,paddingEnd:Ko.paddingInlineEnd});var Zo={textDecorationColor:zo.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:zo.shadows("textShadow")},Qo={clipPath:!0,transform:zo.propT("transform",Ro.transform),transformOrigin:!0,translateX:zo.spaceT("--chakra-translate-x"),translateY:zo.spaceT("--chakra-translate-y"),skewX:zo.degreeT("--chakra-skew-x"),skewY:zo.degreeT("--chakra-skew-y"),scaleX:zo.prop("--chakra-scale-x"),scaleY:zo.prop("--chakra-scale-y"),scale:zo.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:zo.degreeT("--chakra-rotate")},Jo={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:zo.prop("transitionDuration","transition.duration"),transitionProperty:zo.prop("transitionProperty","transition.property"),transitionTimingFunction:zo.prop("transitionTimingFunction","transition.easing")},ea={fontFamily:zo.prop("fontFamily","fonts"),fontSize:zo.prop("fontSize","fontSizes",Ro.px),fontWeight:zo.prop("fontWeight","fontWeights"),lineHeight:zo.prop("lineHeight","lineHeights"),letterSpacing:zo.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},ta=e=>e+":hover &, "+e+"[data-hover] &",ra=e=>e+":focus &, "+e+"[data-focus] &",na=e=>e+":focus-visible &",oa=e=>e+":active &, "+e+"[data-active] &",aa=e=>e+":disabled &, "+e+"[data-disabled] &",ia=e=>e+":invalid &, "+e+"[data-invalid] &",sa=e=>e+":checked &, "+e+"[data-checked] &",la=e=>ua(e,"[role=group]","[data-group]",".group"),ua=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.map(e).join(", ")},ca={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:la(ta),_groupFocus:la(ra),_groupFocusVisible:la(na),_groupActive:la(oa),_groupDisabled:la(aa),_groupInvalid:la(ia),_groupChecked:la(sa),_placeholder:"&::placeholder",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &",_mediaDark:"@media (prefers-color-scheme: dark)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},da=Qt(ca);function fa(){return fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fa.apply(this,arguments)}var pa=Ut({},Bo,Do,Fo,No,Ho,Io,Go,Wo,Lo,Yo,Xo,Mo,Ko,ea,Zo,Qo,Vo,Jo),ha=Object.assign({},Ko,Ho,No,Lo,Xo),ma=Qt(ha),va=[...Qt(pa),...da],ga=fa({},pa,ca),ba=e=>e in ga,ya=(e,t)=>e.startsWith("--")&&Wt(t)&&!Ht(t),xa=(e,t)=>{var r,n;if(null==t)return t;var o=t=>{var r,n;return null==(r=e.__cssMap)||null==(n=r[t])?void 0:n.varRef},a=e=>{var t;return null!=(t=o(e))?t:e},i=t.split(",").map((e=>e.trim())),[s,l]=i;return t=null!=(r=null!=(n=o(s))?n:a(l))?r:a(t)};function wa(e){var{configs:t={},pseudos:r={},theme:n}=e;return function e(o,a){void 0===a&&(a=!1);var i=kr(o,n),s=(e=>t=>{if(!t.__breakpoints)return e;var{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,a={};for(var i in e){var s=kr(e[i],t);if(null!=s)if(s=Lt(s)&&r(s)?n(s):s,Array.isArray(s))for(var l=s.slice(0,o.length).length,u=0;u<l;u+=1){var c=null==o?void 0:o[u];c?(a[c]=a[c]||{},null!=s[u]&&(a[c][i]=s[u])):a[i]=s[u]}else a[i]=s}return a})(i)(n),l={};for(var u in s){var c,d,f,p,h,m=kr(s[u],n);u in r&&(u=r[u]),ya(u,m)&&(m=xa(n,m));var v=t[u];if(!0===v&&(v={property:u}),Lt(m)){var g;l[u]=null!=(g=l[u])?g:{},l[u]=Ut({},l[u],e(m,!0))}else{var b=null!=(c=null==(d=v)||null==d.transform?void 0:d.transform(m,n,i))?c:m;b=null!=(f=v)&&f.processResult?e(b,!0):b;var y=kr(null==(p=v)?void 0:p.property,n);if(!a&&null!=(h=v)&&h.static){var x=kr(v.static,n);l=Ut({},l,x)}if(y&&Array.isArray(y))for(var w of y)l[w]=b;else y?"&"===y&&Lt(b)?l=Ut({},l,b):l[y]=b:Lt(b)?l=Ut({},l,b):l[u]=b}}return l}}var Sa=e=>t=>wa({theme:t,pseudos:ca,configs:pa})(e);function ka(e){return Lt(e)&&e.reference?e.reference:String(e)}var Ea=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.map(ka).join(" "+e+" ").replace(/calc/g,"")},Oa=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ea("+",...t)+")"},Ca=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ea("-",...t)+")"},_a=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ea("*",...t)+")"},Aa=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ea("/",...t)+")"},Pa=e=>{var t=ka(e);return null==t||Number.isNaN(parseFloat(t))?_a(t,-1):String(t).startsWith("-")?String(t).slice(1):"-"+t},ja=Object.assign((e=>({add:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ja(Oa(e,...r))},subtract:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ja(Ca(e,...r))},multiply:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ja(_a(e,...r))},divide:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ja(Aa(e,...r))},negate:()=>ja(Pa(e)),toString:()=>e.toString()})),{add:Oa,subtract:Ca,multiply:_a,divide:Aa,negate:Pa});function Ra(e){var t=function(e,t){return void 0===t&&(t="-"),e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?t.replace(".","\\."):e}function Ta(e,t){return"var("+Ra(e)+(t?", "+t:"")+")"}function za(e,t){return void 0===t&&(t=""),"--"+function(e,t){return void 0===t&&(t=""),[t,Ra(e)].filter(Boolean).join("-")}(e,t)}function Ba(e,t,r){var n=za(e,r);return{variable:n,reference:Ta(n,t)}}function Da(){return Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Da.apply(this,arguments)}function Fa(e,t){var r={cssMap:{},cssVars:{}};return function(e,t){(function e(r,n){return void 0===n&&(n=[]),Mt(r)?r.map(((t,r)=>e(t,[...n,String(r)]))):Lt(r)?Jt(Object.entries(r).map((t=>{var[r,o]=t;return[r,e(o,[...n,r])]}))):t(r,n)})(e)}(e,((e,n)=>{var o,[a]=n,i=null!=(o=Ma[a])?o:Ma.defaultHandler,{cssVars:s,cssMap:l}=i(n,e,t);Object.assign(r.cssVars,s),Object.assign(r.cssMap,l)})),r}var Ma={space:(e,t,r)=>{var n=Ma.defaultHandler(e,t,r),[o,...a]=e,i=o+".-"+a.join("."),s=e.join("-"),{variable:l,reference:u}=Ba(s,void 0,r.cssVarPrefix),c=ja.negate(t),d=ja.negate(u);return{cssVars:n.cssVars,cssMap:Da({},n.cssMap,{[i]:{value:""+c,var:""+l,varRef:d}})}},defaultHandler:(e,t,r)=>{var n=e.join("."),o=e.join("-"),{variable:a,reference:i}=Ba(o,void 0,r.cssVarPrefix);return{cssVars:{[a]:t},cssMap:{[n]:{value:t,var:a,varRef:i}}}}};var Ia=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Na(e){return function(e,t){var r={};return t.forEach((t=>{t in e&&(r[t]=e[t])})),r}(e,Ia)}function La(e){return function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["__cssMap","__cssVars","__breakpoints"])}function Wa(){return Wa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wa.apply(this,arguments)}var Ha="undefined"!=typeof Element,Va="function"==typeof Map,$a="function"==typeof Set,Ua="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function qa(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,n,o,a;if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!qa(e[n],t[n]))return!1;return!0}if(Va&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!qa(n.value[1],t.get(n.value[0])))return!1;return!0}if($a&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Ua&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(Ha&&e instanceof Element)return!1;for(n=r;0!=n--;)if(("_owner"!==o[n]&&"__v"!==o[n]&&"__o"!==o[n]||!e.$$typeof)&&!qa(e[o[n]],t[o[n]]))return!1;return!0}return e!=e&&t!=t}var Ya=function(e,t){try{return qa(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},Xa=t=>{var{cssVarsRoot:r=":host, :root",theme:n,children:o}=t,a=e.useMemo((()=>function(e){var t,r=La(e),n=Na(r),o=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:a,cssVars:i}=Fa(n,{cssVarPrefix:o});return Object.assign(r,{__cssVars:Wa({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},i),__cssMap:a,__breakpoints:ar(r.breakpoints)}),r}(n)),[n]);return e.createElement(wt,{theme:a},e.createElement(Et,{styles:e=>({[r]:e.__cssVars})}),o)};function Ga(){var t=e.useContext(yt);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}var[Ka,Za]=an({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),Qa=()=>{var{colorMode:t}=io();return e.createElement(Et,{styles:e=>{var r=kr(Gt(e,"styles.global"),{theme:e,colorMode:t});if(r)return Sa(r)(e)}})};function Ja(e){return qt(e,["styleConfig","size","variant","colorScheme"])}function ei(){return ei=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ei.apply(this,arguments)}var ti=(e,t,r)=>{var n,o;if(null==t)return t;var a=t=>{var r,n;return null==(r=e.__cssMap)||null==(n=r[t])?void 0:n.value};return null!=(n=null!=(o=a(t))?o:a(r))?n:r};function ri(){return ri=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ri.apply(this,arguments)}var ni=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,oi=ne((function(e){return ni.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),ai=function(e){return"theme"!==e},ii=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?oi:ai},si=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},li="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ui="undefined"!=typeof document,ci=function t(r,n){if("production"!==process.env.NODE_ENV&&void 0===r)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var o,a,i=r.__emotion_real===r,s=i&&r.__emotion_base||r;void 0!==n&&(o=n.label,a=n.target);var l=si(r,n,i),u=l||ii(s),c=!u("as");return function(){var d=arguments,f=i&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==o&&f.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(li),f.push(d[0][0]);for(var p=d.length,h=1;h<p;h++)"production"!==process.env.NODE_ENV&&void 0===d[0][h]&&console.error(li),f.push(d[h],d[0][h])}var m=bt((function(t,r,n){var o=c&&t.as||s,i="",d=[],p=t;if(null==t.theme){for(var h in p={},t)p[h]=t[h];p.theme=e.useContext(yt)}"string"==typeof t.className?i=Ye(r.registered,d,t.className):null!=t.className&&(i=t.className+" ");var m=ht(f.concat(d),r.registered,p),v=Xe(r,m,"string"==typeof o);i+=r.key+"-"+m.name,void 0!==a&&(i+=" "+a);var g=c&&void 0===l?ii(o):u,b={};for(var y in t)c&&"as"===y||g(y)&&(b[y]=t[y]);b.className=i,b.ref=n;var x=e.createElement(o,b);if(!ui&&void 0!==v){for(var w,S=m.name,k=m.next;void 0!==k;)S+=" "+k.name,k=k.next;return e.createElement(e.Fragment,null,e.createElement("style",((w={})["data-emotion"]=r.key+" "+S,w.dangerouslySetInnerHTML={__html:v},w.nonce=r.sheet.nonce,w)),x)}return x}));return m.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=r.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return void 0===a&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+a}}),m.withComponent=function(e,r){return t(e,ri({},n,{},r,{shouldForwardProp:si(m,r,!0)})).apply(void 0,f)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ci[e]=ci(e)}));var di=new Set([...va,"textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),fi=new Set(["htmlWidth","htmlHeight","htmlSize"]),pi=e=>fi.has(e)||!di.has(e);function hi(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var mi=function(e,t){var r=null!=t?t:{},{baseStyle:n}=r,o=hi(r,["baseStyle"]);o.shouldForwardProp||(o.shouldForwardProp=pi);var a=(e=>{var{baseStyle:t}=e;return e=>{var{css:r,__css:n,sx:o}=e,a=Kt(hi(e,["theme","css","__css","sx"]),((e,t)=>ba(t))),i=kr(t,e),s=Object.assign({},n,i,Zt(a),o),l=Sa(s)(e.theme);return r?[l,r]:l}})({baseStyle:n});return ci(e,o)(a)};function vi(t){return e.forwardRef(t)}function gi(t,r,n){var o;void 0===r&&(r={}),void 0===n&&(n={});var{styleConfig:a}=r,i=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["styleConfig"]),{theme:s,colorMode:l}=ei({},io(),{theme:Ga()}),u=Gt(s,"components."+t),c=a||u,d=Ut({theme:s,colorMode:l},null!=(o=null==c?void 0:c.defaultProps)?o:{},Zt(qt(i,["children"]))),f=e.useRef({});if(c){var p,h,m,v,g,b,y=kr(null!=(p=c.baseStyle)?p:{},d),x=kr(null!=(h=null==(m=c.variants)?void 0:m[d.variant])?h:{},d),w=kr(null!=(v=null==(g=c.sizes)?void 0:g[d.size])?v:{},d),S=Ut({},y,w,x);null!=(b=n)&&b.isMultiPart&&c.parts&&c.parts.forEach((e=>{var t;S[e]=null!=(t=S[e])?t:{}})),Ya(f.current,S)||(f.current=S)}return f.current}function bi(e,t){return gi(e,t,{isMultiPart:!0})}["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"].forEach((e=>{mi[e]=mi(e)}));function yi(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function xi(e){return Math.min(1,Math.max(0,e))}function wi(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Si(e){return e<=1?100*Number(e)+"%":e}function ki(e){return 1===e.length?"0"+e:String(e)}function Ei(e,t,r){e=yi(e,255),t=yi(t,255),r=yi(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=0,s=(n+o)/2;if(n===o)i=0,a=0;else{var l=n-o;switch(i=s>.5?l/(2-n-o):l/(n+o),n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:i,l:s}}function Oi(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ci(e,t,r){e=yi(e,255),t=yi(t,255),r=yi(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=n,s=n-o,l=0===n?0:s/n;if(n===o)a=0;else{switch(n){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4}a/=6}return{h:a,s:l,v:i}}function _i(e,t,r,n){var o=[ki(Math.round(e).toString(16)),ki(Math.round(t).toString(16)),ki(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Ai(e){return Math.round(255*parseFloat(e)).toString(16)}function Pi(e){return ji(e)/255}function ji(e){return parseInt(e,16)}var Ri={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ti(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,i=!1,s=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(Ri[e])e=Ri[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=Fi.rgb.exec(e);if(r)return{r:r[1],g:r[2],b:r[3]};if(r=Fi.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=Fi.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=Fi.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=Fi.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=Fi.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=Fi.hex8.exec(e))return{r:ji(r[1]),g:ji(r[2]),b:ji(r[3]),a:Pi(r[4]),format:t?"name":"hex8"};if(r=Fi.hex6.exec(e))return{r:ji(r[1]),g:ji(r[2]),b:ji(r[3]),format:t?"name":"hex"};if(r=Fi.hex4.exec(e))return{r:ji(r[1]+r[1]),g:ji(r[2]+r[2]),b:ji(r[3]+r[3]),a:Pi(r[4]+r[4]),format:t?"name":"hex8"};if(r=Fi.hex3.exec(e))return{r:ji(r[1]+r[1]),g:ji(r[2]+r[2]),b:ji(r[3]+r[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(Mi(e.r)&&Mi(e.g)&&Mi(e.b)?(t=function(e,t,r){return{r:255*yi(e,255),g:255*yi(t,255),b:255*yi(r,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Mi(e.h)&&Mi(e.s)&&Mi(e.v)?(n=Si(e.s),o=Si(e.v),t=function(e,t,r){e=6*yi(e,360),t=yi(t,100),r=yi(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),s=r*(1-(1-o)*t),l=n%6;return{r:255*[r,i,a,a,s,r][l],g:255*[s,r,r,i,a,a][l],b:255*[a,a,s,r,r,i][l]}}(e.h,n,o),i=!0,s="hsv"):Mi(e.h)&&Mi(e.s)&&Mi(e.l)&&(n=Si(e.s),a=Si(e.l),t=function(e,t,r){var n,o,a;if(e=yi(e,360),t=yi(t,100),r=yi(r,100),0===t)o=r,a=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,s=2*r-i;n=Oi(s,i,e+1/3),o=Oi(s,i,e),a=Oi(s,i,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,n,a),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=wi(r),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var zi="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",Bi="[\\s|\\(]+("+zi+")[,|\\s]+("+zi+")[,|\\s]+("+zi+")\\s*\\)?",Di="[\\s|\\(]+("+zi+")[,|\\s]+("+zi+")[,|\\s]+("+zi+")[,|\\s]+("+zi+")\\s*\\)?",Fi={CSS_UNIT:new RegExp(zi),rgb:new RegExp("rgb"+Bi),rgba:new RegExp("rgba"+Di),hsl:new RegExp("hsl"+Bi),hsla:new RegExp("hsla"+Di),hsv:new RegExp("hsv"+Bi),hsva:new RegExp("hsva"+Di),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Mi(e){return Boolean(Fi.CSS_UNIT.exec(String(e)))}var Ii=function(){function e(t,r){var n;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var o=Ti(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=r.format)&&void 0!==n?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=wi(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=Ci(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Ci(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var e=Ei(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Ei(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHex=function(e){return void 0===e&&(e=!1),_i(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,r,n,o){var a=[ki(Math.round(e).toString(16)),ki(Math.round(t).toString(16)),ki(Math.round(r).toString(16)),ki(Ai(n))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb("+e+", "+t+", "+r+")":"rgba("+e+", "+t+", "+r+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var e=function(e){return Math.round(100*yi(e,255))+"%"};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*yi(e,255))};return 1===this.a?"rgb("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%)":"rgba("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+_i(this.r,this.g,this.b,!1),t=0,r=Object.entries(Ri);t<r.length;t++){var n=r[t],o=n[0];if(e===n[1])return o}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var r=!1,n=this.a<1&&this.a>=0;return t||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=xi(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=xi(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=xi(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=xi(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),a=r/100;return new e({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,a=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,a=r.v,i=[],s=1/t;t--;)i.push(new e({h:n,s:o,v:a})),a=(a+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],a=360/t,i=1;i<t;i++)o.push(new e({h:(n+i*a)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Ni(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Ni(e));return e.count=t,r}var n=function(e,t){var r=Wi(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var r=Vi.find((function(t){return t.name===e}));if(r){var n=Hi(r);if(n.hueRange)return n.hueRange}var o=new Ii(e);if(o.isValid){var a=o.toHsv().h;return[a,a]}}return[0,360]}(e),t);r<0&&(r=360+r);return r}(e.hue,e.seed),o=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return Wi([0,100],t.seed);var r=Li(e).saturationRange,n=r[0],o=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=o-10;break;case"light":o=55}return Wi([n,o],t.seed)}(n,e),a=function(e,t,r){var n=function(e,t){for(var r=Li(e).lowerBounds,n=0;n<r.length-1;n++){var o=r[n][0],a=r[n][1],i=r[n+1][0],s=r[n+1][1];if(t>=o&&t<=i){var l=(s-a)/(i-o);return l*t+(a-l*o)}}return 0}(e,t),o=100;switch(r.luminosity){case"dark":o=n+20;break;case"light":n=(o+n)/2;break;case"random":n=0,o=100}return Wi([n,o],r.seed)}(n,o,e),i={h:n,s:o,v:a};return void 0!==e.alpha&&(i.a=e.alpha),new Ii(i)}function Li(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Vi;t<r.length;t++){var n=Hi(r[t]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function Wi(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(n+o*(r-n))}function Hi(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,o]}}var Vi=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];function $i(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)&&!function(e){return Array.isArray(e)}(e)}process.env.NODE_ENV,process.env.NODE_ENV;var Ui=function(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e}),{})};function qi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.freeze(["base","sm","md","lg","xl","2xl"]);var Yi=function(){function e(e){var t=this;this.map={},this.called=!1,this.assert=function(){if(t.called)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");t.called=!0},this.parts=function(){t.assert();for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];t.map[i]=t.toPart(i)}return t},this.extend=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];i in t.map||(t.map[i]=t.toPart(i))}return t},this.toPart=function(e){var r="chakra-"+(["container","root"].includes(null!=e?e:"")?[t.name]:[t.name,e]).filter(Boolean).join("__");return{className:r,selector:"."+r,toString:function(){return e}}},this.__type={}}var t,r,n;return t=e,(r=[{key:"selectors",get:function(){return Ui(Object.entries(this.map).map((function(e){return[e[0],e[1].selector]})))}},{key:"classNames",get:function(){return Ui(Object.entries(this.map).map((function(e){return[e[0],e[1].className]})))}},{key:"keys",get:function(){return Object.keys(this.map)}}])&&qi(t.prototype,r),n&&qi(t,n),e}();function Xi(e){return new Yi(e)}function Gi(e){return $i(e)&&e.reference?e.reference:String(e)}var Ki=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.map(Gi).join(" "+e+" ").replace(/calc/g,"")},Zi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ki.apply(void 0,["+"].concat(t))+")"},Qi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ki.apply(void 0,["-"].concat(t))+")"},Ji=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ki.apply(void 0,["*"].concat(t))+")"},es=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Ki.apply(void 0,["/"].concat(t))+")"},ts=function(e){var t=Gi(e);return null==t||Number.isNaN(parseFloat(t))?Ji(t,-1):String(t).startsWith("-")?String(t).slice(1):"-"+t},rs=Object.assign((function(e){return{add:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return rs(Zi.apply(void 0,[e].concat(r)))},subtract:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return rs(Qi.apply(void 0,[e].concat(r)))},multiply:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return rs(Ji.apply(void 0,[e].concat(r)))},divide:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return rs(es.apply(void 0,[e].concat(r)))},negate:function(){return rs(ts(e))},toString:function(){return e.toString()}}}),{add:Zi,subtract:Qi,multiply:Ji,divide:es,negate:ts}),ns=Xi("accordion").parts("container","item","button","panel").extend("icon"),os=Xi("alert").parts("title","description","container").extend("icon"),as=Xi("avatar").parts("label","badge","container").extend("excessLabel","group"),is=Xi("breadcrumb").parts("link","item","container").extend("separator");Xi("button").parts();var ss=Xi("checkbox").parts("control","icon","container").extend("label");Xi("progress").parts("track","filledTrack").extend("label");var ls=Xi("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),us=Xi("editable").parts("preview","input"),cs=Xi("form").parts("container","requiredIndicator","helperText"),ds=Xi("formError").parts("text","icon"),fs=Xi("input").parts("addon","field","element"),ps=Xi("list").parts("container","item","icon"),hs=Xi("menu").parts("button","list","item").extend("groupTitle","command","divider"),ms=Xi("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),vs=Xi("numberinput").parts("root","field","stepperGroup","stepper");Xi("pininput").parts("field");var gs=Xi("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),bs=Xi("progress").parts("label","filledTrack","track"),ys=Xi("radio").parts("container","control","label"),xs=Xi("select").parts("field","icon"),ws=Xi("slider").parts("container","track","thumb","filledTrack"),Ss=Xi("stat").parts("container","label","helpText","number","icon"),ks=Xi("switch").parts("container","track","thumb"),Es=Xi("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Os=Xi("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Cs=Xi("tag").parts("container","label","closeButton"),_s={container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},panel:{pt:2,px:4,pb:5},icon:{fontSize:"1.25em"}},As={parts:ns.keys,baseStyle:_s},Ps=(e,t,r)=>{var n=Gt(e,"colors."+t,t),{isValid:o}=new Ii(n);return o?n:r},js=e=>t=>"dark"===(e=>t=>{var r=Ps(t,e);return new Ii(r).isDark()?"dark":"light"})(e)(t),Rs=(e,t)=>r=>{var n=Ps(r,e);return new Ii(n).setAlpha(t).toRgbString()};function Ts(e,t){return void 0===e&&(e="1rem"),void 0===t&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+t+" 25%,\n transparent 25%,\n transparent 50%,\n "+t+" 50%,\n "+t+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function zs(e){var t,r=Ni().toHexString();return!e||Lt(t=e)&&0===Object.keys(t).length?r:e.string&&e.colors?function(e,t){var r=0;if(0===e.length)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){var t=0;if(0===e.length)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;for(var n="#",o=0;o<3;o+=1){n+=("00"+(t>>8*o&255).toString(16)).substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}function Bs(e,t){return r=>"dark"===r.colorMode?t:e}function Ds(e){var{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}function Fs(){return Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fs.apply(this,arguments)}function Ms(e){return Lt(e)&&e.reference?e.reference:String(e)}var Is=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.map(Ms).join(" "+e+" ").replace(/calc/g,"")},Ns=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Is("+",...t)+")"},Ls=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Is("-",...t)+")"},Ws=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Is("*",...t)+")"},Hs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"calc("+Is("/",...t)+")"},Vs=e=>{var t=Ms(e);return null==t||Number.isNaN(parseFloat(t))?Ws(t,-1):String(t).startsWith("-")?String(t).slice(1):"-"+t},$s=Object.assign((e=>({add:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $s(Ns(e,...r))},subtract:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $s(Ls(e,...r))},multiply:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $s(Ws(e,...r))},divide:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $s(Hs(e,...r))},negate:()=>$s(Vs(e)),toString:()=>e.toString()})),{add:Ns,subtract:Ls,multiply:Ws,divide:Hs,negate:Vs});function Us(e){var t=function(e,t){return void 0===t&&(t="-"),e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function qs(e,t){return"var("+Us(e)+(t?", "+t:"")+")"}function Ys(e,t){return void 0===t&&(t=""),"--"+function(e,t){return void 0===t&&(t=""),[t,Us(e)].filter(Boolean).join("-")}(e,t)}function Xs(e,t){var r=Ys(e,null==t?void 0:t.prefix);return{variable:r,reference:qs(r,Gs(null==t?void 0:t.fallback))}}function Gs(e){return"string"==typeof e?e:null==e?void 0:e.reference}function Ks(e){var{theme:t,colorScheme:r}=e;return Bs(Ps(t,r+".100",r),Rs(r+".200",.16)(t))(e)}var Zs={subtle:e=>{var{colorScheme:t}=e;return{container:{bg:Ks(e)},icon:{color:Bs(t+".500",t+".200")(e)}}},"left-accent":e=>{var{colorScheme:t}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:Bs(t+".500",t+".200")(e),bg:Ks(e)},icon:{color:Bs(t+".500",t+".200")(e)}}},"top-accent":e=>{var{colorScheme:t}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:Bs(t+".500",t+".200")(e),bg:Ks(e)},icon:{color:Bs(t+".500",t+".200")(e)}}},solid:e=>{var{colorScheme:t}=e;return{container:{bg:Bs(t+".500",t+".200")(e),color:Bs("white","gray.900")(e)}}}},Qs={parts:os.keys,baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}},variants:Zs,defaultProps:{variant:"subtle",colorScheme:"blue"}},Js={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function el(){return el=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},el.apply(this,arguments)}var tl=el({},Js,{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}}),rl=e=>({transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:Bs("white","gray.800")(e)}),nl=e=>({bg:Bs("gray.200","whiteAlpha.400")(e)}),ol=e=>{var{name:t,theme:r}=e,n=t?zs({string:t}):"gray.400",o="white";return js(n)(r)||(o="gray.800"),{bg:n,color:o,borderColor:Bs("white","gray.800")(e),verticalAlign:"top"}};function al(e){var t=tl[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=t?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=t?t:e)+" / 2.5)",lineHeight:"100%"!==e?null!=t?t:e:void 0}}}var il={"2xs":al("4"),xs:al("6"),sm:al("8"),md:al("12"),lg:al("16"),xl:al("24"),"2xl":al("32"),full:al("100%")},sl={parts:as.keys,baseStyle:e=>({badge:rl(e),excessLabel:nl(e),container:ol(e)}),sizes:il,defaultProps:{size:"md"}},ll={solid:e=>{var{colorScheme:t,theme:r}=e;return{bg:Bs(t+".500",Rs(t+".500",.6)(r))(e),color:Bs("white","whiteAlpha.800")(e)}},subtle:e=>{var{colorScheme:t,theme:r}=e;return{bg:Bs(t+".100",Rs(t+".200",.16)(r))(e),color:Bs(t+".800",t+".200")(e)}},outline:e=>{var{colorScheme:t,theme:r}=e,n=Rs(t+".200",.8)(r),o=Bs(Ps(r,t+".500"),n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},ul={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:ll,defaultProps:{variant:"subtle",colorScheme:"gray"}},cl={link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},dl={parts:is.keys,baseStyle:cl};function fl(){return fl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fl.apply(this,arguments)}var pl=e=>{var{colorScheme:t,theme:r}=e;if("gray"===t)return{color:Bs("inherit","whiteAlpha.900")(e),_hover:{bg:Bs("gray.100","whiteAlpha.200")(e)},_active:{bg:Bs("gray.200","whiteAlpha.300")(e)}};var n=Rs(t+".200",.12)(r),o=Rs(t+".200",.24)(r);return{color:Bs(t+".600",t+".200")(e),bg:"transparent",_hover:{bg:Bs(t+".50",n)(e)},_active:{bg:Bs(t+".100",o)(e)}}},hl={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},ml={ghost:pl,outline:e=>{var{colorScheme:t}=e,r=Bs("gray.200","whiteAlpha.300")(e);return fl({border:"1px solid",borderColor:"gray"===t?r:"currentColor"},pl(e))},solid:e=>{var t,{colorScheme:r}=e;if("gray"===r){var n=Bs("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:Bs("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:Bs("gray.300","whiteAlpha.400")(e)}}}var{bg:o=r+".500",color:a="white",hoverBg:i=r+".600",activeBg:s=r+".700"}=null!=(t=hl[r])?t:{},l=Bs(o,r+".200")(e);return{bg:l,color:Bs(a,"gray.800")(e),_hover:{bg:Bs(i,r+".300")(e),_disabled:{bg:l}},_active:{bg:Bs(s,r+".400")(e)}}},link:e=>{var{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Bs(t+".500",t+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Bs(t+".700",t+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},vl={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:ml,sizes:{lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},gl=e=>{var{colorScheme:t}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Bs(t+".500",t+".200")(e),borderColor:Bs(t+".500",t+".200")(e),color:Bs("white","gray.900")(e),_hover:{bg:Bs(t+".600",t+".300")(e),borderColor:Bs(t+".600",t+".300")(e)},_disabled:{borderColor:Bs("gray.200","transparent")(e),bg:Bs("gray.200","whiteAlpha.300")(e),color:Bs("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Bs(t+".500",t+".200")(e),borderColor:Bs(t+".500",t+".200")(e),color:Bs("white","gray.900")(e)},_disabled:{bg:Bs("gray.100","whiteAlpha.100")(e),borderColor:Bs("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:Bs("red.500","red.300")(e)}}},bl={userSelect:"none",_disabled:{opacity:.4}},yl={transitionProperty:"transform",transitionDuration:"normal"},xl={parts:ss.keys,baseStyle:e=>({icon:yl,control:gl(e),label:bl}),sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}},wl=Xs("close-button-size"),Sl={baseStyle:e=>{var t=Bs("blackAlpha.100","whiteAlpha.100")(e),r=Bs("blackAlpha.200","whiteAlpha.200")(e);return{w:[wl.reference],h:[wl.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:t},_active:{bg:r},_focus:{boxShadow:"outline"}}},sizes:{lg:{[wl.variable]:"40px",fontSize:"16px"},md:{[wl.variable]:"32px",fontSize:"12px"},sm:{[wl.variable]:"24px",fontSize:"10px"}},defaultProps:{size:"md"}},{variants:kl,defaultProps:El}=ul,Ol={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:kl,defaultProps:El},Cl={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},_l={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}};function Al(){return Al=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Al.apply(this,arguments)}function Pl(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var jl={bg:"blackAlpha.600",zIndex:"overlay"},Rl={display:"flex",zIndex:"modal",justifyContent:"center"},Tl=e=>{var{isFullHeight:t}=e;return Al({},t&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:Bs("white","gray.700")(e),color:"inherit",boxShadow:Bs("lg","dark-lg")(e)})},zl={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Bl={position:"absolute",top:2,insetEnd:3},Dl={px:6,py:2,flex:1,overflow:"auto"},Fl={px:6,py:4},Ml={xs:Pl("xs"),sm:Pl("md"),md:Pl("lg"),lg:Pl("2xl"),xl:Pl("4xl"),full:Pl("full")},Il={parts:ls.keys,baseStyle:e=>({overlay:jl,dialogContainer:Rl,dialog:Tl(e),header:zl,closeButton:Bl,body:Dl,footer:Fl}),sizes:Ml,defaultProps:{size:"xs"}},Nl={preview:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}},Ll={parts:us.keys,baseStyle:Nl},Wl=e=>({marginStart:1,color:Bs("red.500","red.300")(e)}),Hl=e=>({mt:2,color:Bs("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}),Vl={parts:cs.keys,baseStyle:e=>({container:{width:"100%",position:"relative"},requiredIndicator:Wl(e),helperText:Hl(e)})},$l={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Ul={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},ql={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Yl={lg:{field:ql.lg,addon:ql.lg},md:{field:ql.md,addon:ql.md},sm:{field:ql.sm,addon:ql.sm},xs:{field:ql.xs,addon:ql.xs}};function Xl(e){var{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||Bs("blue.500","blue.300")(e),errorBorderColor:r||Bs("red.500","red.300")(e)}}var Gl={outline:e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Xl(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Bs("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ps(t,n),boxShadow:"0 0 0 1px "+Ps(t,n)},_focus:{zIndex:1,borderColor:Ps(t,r),boxShadow:"0 0 0 1px "+Ps(t,r)}},addon:{border:"1px solid",borderColor:Bs("inherit","whiteAlpha.50")(e),bg:Bs("gray.100","whiteAlpha.300")(e)}}},filled:e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Xl(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Bs("gray.100","whiteAlpha.50")(e),_hover:{bg:Bs("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ps(t,n)},_focus:{bg:"transparent",borderColor:Ps(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Bs("gray.100","whiteAlpha.50")(e)}}},flushed:e=>{var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Xl(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ps(t,n),boxShadow:"0px 1px 0px 0px "+Ps(t,n)},_focus:{borderColor:Ps(t,r),boxShadow:"0px 1px 0px 0px "+Ps(t,r)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}}},Kl={parts:fs.keys,baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:Yl,variants:Gl,defaultProps:{size:"md",variant:"outline"}},Zl={baseStyle:e=>({bg:Bs("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"})},Ql={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},Jl={container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}},eu={parts:ps.keys,baseStyle:Jl},tu=e=>({bg:Bs("#fff","gray.700")(e),boxShadow:Bs("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}),ru=e=>({py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:Bs("gray.100","whiteAlpha.100")(e)},_active:{bg:Bs("gray.200","whiteAlpha.200")(e)},_expanded:{bg:Bs("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}),nu={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},ou={opacity:.6},au={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},iu={transitionProperty:"common",transitionDuration:"normal"},su={parts:hs.keys,baseStyle:e=>({button:iu,list:tu(e),item:ru(e),groupTitle:nu,command:ou,divider:au})},lu={bg:"blackAlpha.600",zIndex:"modal"},uu=e=>{var{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto"}},cu=e=>{var{scrollBehavior:t}=e;return{borderRadius:"md",bg:Bs("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===t?"calc(100% - 7.5rem)":void 0,boxShadow:Bs("lg","dark-lg")(e)}},du={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},fu={position:"absolute",top:2,insetEnd:3},pu=e=>{var{scrollBehavior:t}=e;return{px:6,py:2,flex:1,overflow:"inside"===t?"auto":void 0}},hu={px:6,py:4};function mu(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh",my:0}}:{dialog:{maxW:e}}}var vu,gu,bu={xs:mu("xs"),sm:mu("sm"),md:mu("md"),lg:mu("lg"),xl:mu("xl"),"2xl":mu("2xl"),"3xl":mu("3xl"),"4xl":mu("4xl"),"5xl":mu("5xl"),"6xl":mu("6xl"),full:mu("full")},yu={parts:ms.keys,baseStyle:e=>({overlay:lu,dialogContainer:uu(e),dialog:cu(e),header:du,closeButton:fu,body:pu(e),footer:hu}),sizes:bu,defaultProps:{size:"md"}},xu={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}};function wu(){return wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wu.apply(this,arguments)}var{variants:Su,defaultProps:ku}=Kl,Eu=Xs("number-input-stepper-width"),Ou=Xs("number-input-input-padding"),Cu=$s(Eu).add("0.5rem").toString(),_u={[Eu.variable]:"24px",[Ou.variable]:Cu},Au=null!=(vu=null==(gu=Kl.baseStyle)?void 0:gu.field)?vu:{},Pu={width:[Eu.reference]},ju=e=>({borderStart:"1px solid",borderStartColor:Bs("inherit","whiteAlpha.300")(e),color:Bs("inherit","whiteAlpha.800")(e),_active:{bg:Bs("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}});function Ru(e){var t,r,n=Kl.sizes[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(t=null==(r=n.field)?void 0:r.fontSize)?t:"md",i=xu.fontSizes[a.toString()];return{field:wu({},n.field,{paddingInlineEnd:Ou.reference,verticalAlign:"top"}),stepper:{fontSize:$s(i).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}}}var Tu,zu={xs:Ru("xs"),sm:Ru("sm"),md:Ru("md"),lg:Ru("lg")},Bu={parts:vs.keys,baseStyle:e=>({root:_u,field:Au,stepperGroup:Pu,stepper:ju(e)}),sizes:zu,variants:Su,defaultProps:ku};function Du(){return Du=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Du.apply(this,arguments)}var Fu=Du({},Kl.baseStyle.field,{textAlign:"center"}),Mu={outline:e=>{var t;return null!=(t=Kl.variants.outline(e).field)?t:{}},flushed:e=>{var t;return null!=(t=Kl.variants.flushed(e).field)?t:{}},filled:e=>{var t;return null!=(t=Kl.variants.filled(e).field)?t:{}},unstyled:null!=(Tu=Kl.variants.unstyled.field)?Tu:{}},Iu={baseStyle:Fu,sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:Mu,defaultProps:Kl.defaultProps},Nu=Xs("popper-bg"),Lu=Xs("popper-arrow-bg"),Wu=Xs("popper-arrow-shadow-color"),Hu={zIndex:10},Vu=e=>{var t=Bs("white","gray.700")(e),r=Bs("gray.200","whiteAlpha.300")(e);return{[Nu.variable]:"colors."+t,bg:Nu.reference,[Lu.variable]:Nu.reference,[Wu.variable]:"colors."+r,width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}},$u={px:3,py:2,borderBottomWidth:"1px"},Uu={px:3,py:2},qu={px:3,py:2,borderTopWidth:"1px"},Yu={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Xu={parts:gs.keys,baseStyle:e=>({popper:Hu,content:Vu(e),header:$u,body:Uu,footer:qu,arrow:{},closeButton:Yu})};function Gu(){return Gu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gu.apply(this,arguments)}var Ku={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Zu=e=>({bg:Bs("gray.100","whiteAlpha.300")(e)}),Qu=e=>Gu({transitionProperty:"common",transitionDuration:"slow"},function(e){var{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,a=Bs(Ts(),Ts("1rem","rgba(0,0,0,0.1)"))(e),i=Bs(t+".500",t+".200")(e),s="linear-gradient(\n to right,\n transparent 0%,\n "+Ps(r,i)+" 50%,\n transparent 100%\n )";return Gu({},!n&&o&&a,n?{bgImage:s}:{bgColor:i})}(e)),Ju={parts:bs.keys,sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:e=>({label:Ku,filledTrack:Qu(e),track:Zu(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function ec(){return ec=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ec.apply(this,arguments)}var tc=e=>{var{control:t={}}=xl.baseStyle(e);return ec({},t,{borderRadius:"full",_checked:ec({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},rc={parts:ys.keys,baseStyle:e=>({label:xl.baseStyle(e).label,control:tc(e)}),sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}};function nc(){return nc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nc.apply(this,arguments)}var oc=e=>nc({},Kl.baseStyle.field,{bg:Bs("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:Bs("white","gray.700")(e)}}),ac={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},ic=nc({},Kl.sizes,{xs:nc({},Kl.sizes.xs,{icon:{insetEnd:"0.25rem"}})}),sc={parts:xs.keys,baseStyle:e=>({field:oc(e),icon:ac}),sizes:ic,variants:Kl.variants,defaultProps:Kl.defaultProps},lc=(e,t)=>Ct({from:{borderColor:e,background:e},to:{borderColor:t,background:t}}),uc={baseStyle:e=>{var t=Bs("gray.100","gray.800")(e),r=Bs("gray.400","gray.600")(e),{startColor:n=t,endColor:o=r,speed:a,theme:i}=e,s=Ps(i,n),l=Ps(i,o);return{opacity:.7,borderRadius:"2px",borderColor:s,background:l,animation:a+"s linear infinite alternate "+lc(s,l)}}},cc={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:Bs("white","gray.700")(e)}})};function dc(){return dc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dc.apply(this,arguments)}var fc=e=>{var{orientation:t}=e;return dc({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Ds({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}}))},pc=e=>({overflow:"hidden",borderRadius:"sm",bg:Bs("gray.200","whiteAlpha.200")(e),_disabled:{bg:Bs("gray.300","whiteAlpha.300")(e)}}),hc=e=>dc({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return Ds({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(e)),mc=e=>{var{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:Bs(t+".500",t+".200")(e)}},vc={lg:e=>({thumb:{w:"16px",h:"16px"},track:Ds({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),md:e=>({thumb:{w:"14px",h:"14px"},track:Ds({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),sm:e=>({thumb:{w:"10px",h:"10px"},track:Ds({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})})},gc={parts:ws.keys,sizes:vc,baseStyle:e=>({container:fc(e),track:pc(e),thumb:hc(e),filledTrack:mc(e)}),defaultProps:{size:"md",colorScheme:"blue"}},bc=Xs("spinner-size"),yc={baseStyle:{width:[bc.reference],height:[bc.reference]},sizes:{xs:{[bc.variable]:"0.75rem"},sm:{[bc.variable]:"1rem"},md:{[bc.variable]:"1.5rem"},lg:{[bc.variable]:"2rem"},xl:{[bc.variable]:"3rem"}},defaultProps:{size:"md"}},xc={container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},wc={parts:Ss.keys,baseStyle:xc,sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}},Sc=Xs("switch-track-width"),kc=Xs("switch-track-height"),Ec=Xs("switch-track-diff"),Oc=$s.subtract(Sc,kc),Cc=Xs("switch-thumb-x"),_c=e=>{var{colorScheme:t}=e;return{borderRadius:"full",p:"2px",width:[Sc.reference],height:[kc.reference],transitionProperty:"common",transitionDuration:"fast",bg:Bs("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:Bs(t+".500",t+".200")(e)}}},Ac={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[kc.reference],height:[kc.reference],_checked:{transform:"translateX("+Cc.reference+")"}},Pc={sm:{container:{[Sc.variable]:"1.375rem",[kc.variable]:"0.75rem"}},md:{container:{[Sc.variable]:"1.875rem",[kc.variable]:"1rem"}},lg:{container:{[Sc.variable]:"2.875rem",[kc.variable]:"1.5rem"}}},jc={parts:ks.keys,baseStyle:e=>({container:{[Ec.variable]:Oc,[Cc.variable]:Ec.reference,_rtl:{[Cc.variable]:$s(Ec).negate().toString()}},track:_c(e),thumb:Ac}),sizes:Pc,defaultProps:{size:"md",colorScheme:"blue"}};function Rc(){return Rc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rc.apply(this,arguments)}var Tc,zc,Bc,Dc,Fc,Mc={"&[data-is-numeric=true]":{textAlign:"end"}},Ic={simple:e=>{var{colorScheme:t}=e;return{th:Rc({color:Bs("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Bs(t+".100",t+".700")(e)},Mc),td:Rc({borderBottom:"1px",borderColor:Bs(t+".100",t+".700")(e)},Mc),caption:{color:Bs("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:t}=e;return{th:Rc({color:Bs("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Bs(t+".100",t+".700")(e)},Mc),td:Rc({borderBottom:"1px",borderColor:Bs(t+".100",t+".700")(e)},Mc),caption:{color:Bs("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Bs(t+".100",t+".700")(e)},td:{background:Bs(t+".100",t+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},Nc={parts:Es.keys,baseStyle:{table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},variants:Ic,sizes:{sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}},Lc=e=>{var{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},Wc=e=>{var{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},Hc=e=>{var{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}},Vc={p:4},$c={line:e=>{var{colorScheme:t,orientation:r}=e,n="vertical"===r?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===r?"marginStart":"marginBottom"]:"-2px",_selected:{color:Bs(t+".600",t+".300")(e),borderColor:"currentColor"},_active:{bg:Bs("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:e=>{var{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:Bs(t+".600",t+".300")(e),borderColor:"inherit",borderBottomColor:Bs("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":e=>{var{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:Bs("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:Bs("#fff","gray.800")(e),color:Bs(t+".600",t+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":e=>{var{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ps(r,t+".700"),bg:Ps(r,t+".100")}}}},"solid-rounded":e=>{var{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:Bs("gray.600","inherit")(e),_selected:{color:Bs("#fff","gray.800")(e),bg:Bs(t+".600",t+".300")(e)}}}},unstyled:{}},Uc={parts:Os.keys,baseStyle:e=>({root:Lc(e),tab:Wc(e),tablist:Hc(e),tabpanel:Vc}),sizes:{sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},variants:$c,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},qc={container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},Yc={subtle:e=>({container:ul.variants.subtle(e)}),solid:e=>({container:ul.variants.solid(e)}),outline:e=>({container:ul.variants.outline(e)})},Xc={parts:Cs.keys,variants:Yc,baseStyle:qc,sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}};function Gc(){return Gc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gc.apply(this,arguments)}var Kc=Gc({},Kl.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Zc={outline:e=>{var t;return null!=(t=Kl.variants.outline(e).field)?t:{}},flushed:e=>{var t;return null!=(t=Kl.variants.flushed(e).field)?t:{}},filled:e=>{var t;return null!=(t=Kl.variants.filled(e).field)?t:{}},unstyled:null!=(Tc=Kl.variants.unstyled.field)?Tc:{}},Qc={baseStyle:Kc,sizes:{xs:null!=(zc=Kl.sizes.xs.field)?zc:{},sm:null!=(Bc=Kl.sizes.sm.field)?Bc:{},md:null!=(Dc=Kl.sizes.md.field)?Dc:{},lg:null!=(Fc=Kl.sizes.lg.field)?Fc:{}},variants:Zc,defaultProps:{size:"md",variant:"outline"}},Jc=Xs("tooltip-bg"),ed=Xs("popper-arrow-bg"),td={baseStyle:e=>{var t=Bs("gray.700","gray.300")(e);return{[Jc.variable]:"colors."+t,px:"8px",py:"2px",bg:[Jc.reference],[ed.variable]:[Jc.reference],color:Bs("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}},rd=e=>({color:Bs("red.500","red.300")(e),mt:2,fontSize:"sm"}),nd=e=>({marginEnd:"0.5em",color:Bs("red.500","red.300")(e)}),od={parts:ds.keys,baseStyle:e=>({text:rd(e),icon:nd(e)})},ad={Accordion:As,Alert:Qs,Avatar:sl,Badge:ul,Breadcrumb:dl,Button:vl,Checkbox:xl,CloseButton:Sl,Code:Ol,Container:Cl,Divider:_l,Drawer:Il,Editable:Ll,Form:Vl,FormLabel:$l,Heading:Ul,Input:Kl,Kbd:Zl,Link:Ql,List:eu,Menu:su,Modal:yu,NumberInput:Bu,PinInput:Iu,Popover:Xu,Progress:Ju,Radio:rc,Select:sc,Skeleton:uc,SkipLink:cc,Slider:gc,Spinner:yc,Stat:wc,Switch:jc,Table:Nc,Tabs:Uc,Tag:Xc,Textarea:Qc,Tooltip:td,FormError:od},id=(e=>(Cr({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Fs({base:"0em"},e)))({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"});function sd(){return sd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sd.apply(this,arguments)}var ld=sd({breakpoints:id,zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}}},xu,{sizes:tl,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:Js,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}}),ud={global:e=>({body:{fontFamily:"body",color:Bs("gray.800","whiteAlpha.900")(e),bg:Bs("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:Bs("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:Bs("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})},cd=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function dd(e){return!!Lt(e)&&cd.every((t=>Object.prototype.hasOwnProperty.call(e,t)))}function fd(){return fd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fd.apply(this,arguments)}var pd=fd({direction:"ltr"},ld,{components:ad,styles:ud,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),hd=t=>{var{children:r,colorModeManager:n,portalZIndex:o,resetCSS:a=!0,theme:i={},environment:s,cssVarsRoot:l}=t,u=e.createElement(Xn,{environment:s},r);return e.createElement(xn,null,e.createElement(Xa,{theme:i,cssVarsRoot:l},e.createElement(so,{colorModeManager:n,options:i.config},a&&e.createElement(Bt,null),e.createElement(Qa,null),o?e.createElement(cn,{zIndex:o},u):u)))};function md(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ut({},...t,vd)}function vd(e,t,r,n){if((It(e)||It(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var r=It(e)?e(...arguments):e,n=It(t)?t(...arguments):t;return Ut({},r,n,vd)}}function gd(){return gd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gd.apply(this,arguments)}hd.defaultProps={theme:pd};var bd={path:e.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},e.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),e.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),e.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},yd=vi(((t,r)=>{var{as:n,viewBox:o,color:a="currentColor",focusable:i=!1,children:s,className:l,__css:u}=t,c=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["as","viewBox","color","focusable","children","className","__css"]),d={ref:r,focusable:i,className:fr("chakra-icon",l),__css:gd({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a},u)},f=null!=o?o:bd.viewBox;if(n&&"string"!=typeof n)return e.createElement(mi.svg,gd({as:n},d,c));var p=null!=s?s:bd.path;return e.createElement(mi.svg,gd({verticalAlign:"middle",viewBox:f},d,c),p)}));function xd(){return xd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xd.apply(this,arguments)}Vt&&(yd.displayName="Icon");
|
|
10
|
-
/*! *****************************************************************************
|
|
11
|
-
Copyright (c) Microsoft Corporation.
|
|
12
|
-
|
|
13
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
14
|
-
purpose with or without fee is hereby granted.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
17
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
18
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
19
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
20
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
21
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
22
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
23
|
-
***************************************************************************** */
|
|
24
|
-
var wd=function(e,t){return wd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},wd(e,t)};function Sd(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}wd(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var kd=function(){return kd=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kd.apply(this,arguments)};function Ed(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function Od(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function Cd(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var _d=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Ad={measureLayout:_d(["layout","layoutId","drag","_layoutResetTransform"]),animation:_d(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:_d(["exit"]),drag:_d(["drag","dragControls"]),focus:_d(["whileFocus"]),hover:_d(["whileHover","onHoverStart","onHoverEnd"]),tap:_d(["whileTap","onTap","onTapStart","onTapCancel"]),pan:_d(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:_d(["layout","layoutId"])};var Pd=function(){},jd=function(){};"production"!==process.env.NODE_ENV&&(Pd=function(e,t){e||"undefined"==typeof console||console.warn(t)},jd=function(e,t){if(!e)throw new Error(t)});var Rd=e.createContext({strict:!1}),Td=Object.keys(Ad),zd=Td.length;var Bd=e.createContext({transformPagePoint:function(e){return e},isStatic:!1}),Dd=e.createContext({});var Fd=e.createContext(null);function Md(t){var r=e.useRef(null);return null===r.current&&(r.current=t()),r.current}function Id(){var t=e.useContext(Fd);if(null===t)return[!0,null];var r=t.isPresent,n=t.onExitComplete,o=t.register,a=Wd();e.useEffect((function(){return o(a)}),[]);return!r&&n?[!1,function(){return null==n?void 0:n(a)}]:[!0]}var Nd=0,Ld=function(){return Nd++},Wd=function(){return Md(Ld)},Hd=e.createContext(null),Vd="undefined"!=typeof window,$d=Vd?e.useLayoutEffect:e.useEffect;function Ud(t,r,n,o){var a=e.useContext(Bd),i=e.useContext(Rd),s=e.useContext(Dd).visualElement,l=e.useContext(Fd),u=function(t){var r=t.layoutId,n=e.useContext(Hd);return n&&void 0!==r?n+"-"+r:r}(n),c=e.useRef(void 0);o||(o=i.renderer),!c.current&&o&&(c.current=o(t,{visualState:r,parent:s,props:kd(kd({},n),{layoutId:u}),presenceId:null==l?void 0:l.id,blockInitialAnimation:!1===(null==l?void 0:l.initial)}));var d=c.current;return $d((function(){var e;d&&(d.setProps(kd(kd(kd({},a),n),{layoutId:u})),d.isPresent=null===(e=l)||e.isPresent,d.isPresenceRoot=!s||s.presenceId!==(null==l?void 0:l.id),d.syncRender())})),e.useEffect((function(){var e;d&&(null===(e=d.animationState)||void 0===e||e.animateChanges())})),$d((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}function qd(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Yd(e){return Array.isArray(e)}function Xd(e){return"string"==typeof e||Yd(e)}function Gd(e,t,r,n,o){var a;return void 0===n&&(n={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t?t(null!=r?r:e.custom,n,o):t}function Kd(e,t,r){var n=e.getProps();return Gd(n,t,null!=r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function Zd(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Xd(e.initial)||Xd(e.animate)||Xd(e.whileHover)||Xd(e.whileDrag)||Xd(e.whileTap)||Xd(e.whileFocus)||Xd(e.exit)}function Qd(e){return Boolean(Zd(e)||e.variants)}function Jd(t,r){var n=function(e,t){if(Zd(e)){var r=e.initial,n=e.animate;return{initial:!1===r||Xd(r)?r:void 0,animate:Xd(n)?n:void 0}}return!1!==e.inherit?t:{}}(t,e.useContext(Dd)),o=n.initial,a=n.animate;return e.useMemo((function(){return{initial:o,animate:a}}),r?[ef(o),ef(a)]:[])}function ef(e){return Array.isArray(e)?e.join(" "):e}function tf(t){var r=t.preloadedFeatures,n=t.createVisualElement,o=t.useRender,a=t.useVisualState,i=t.Component;return r&&function(e){for(var t in e){var r=e[t];null!==r&&(Ad[t].Component=r)}}(r),e.forwardRef((function(t,s){var l=e.useContext(Bd).isStatic,u=null,c=Jd(t,l),d=a(t,l);return!l&&Vd&&(c.visualElement=Ud(i,d,t,n),u=function(t,r,n){var o=[],a=e.useContext(Rd);if(!r)return null;"production"!==process.env.NODE_ENV&&n&&a.strict&&jd(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var i=0;i<zd;i++){var s=Td[i],l=Ad[s],u=l.isEnabled,c=l.Component;u(t)&&c&&o.push(e.createElement(c,kd({key:s},t,{visualElement:r})))}return o}(t,c.visualElement,r)),e.createElement(e.Fragment,null,e.createElement(Dd.Provider,{value:c},o(i,t,function(t,r,n){return e.useCallback((function(e){var o;e&&(null===(o=t.mount)||void 0===o||o.call(t,e)),r&&(e?r.mount(e):r.unmount()),n&&("function"==typeof n?n(e):qd(n)&&(n.current=e))}),[r])}(d,c.visualElement,s),d,l)),u)}))}function rf(e){function t(t,r){return void 0===r&&(r={}),tf(e(t,r))}var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var nf=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function of(e){return"string"==typeof e&&!e.includes("-")&&!!(nf.indexOf(e)>-1||/[A-Z]/.test(e))}var af={};var sf=["","X","Y","Z"],lf=["transformPerspective","x","y","z"];function uf(e,t){return lf.indexOf(e)-lf.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return sf.forEach((function(t){return lf.push(e+t)}))}));var cf=new Set(lf);function df(e){return cf.has(e)}var ff=new Set(["originX","originY","originZ"]);function pf(e){return ff.has(e)}function hf(e,t){var r=t.layout,n=t.layoutId;return df(e)||pf(e)||(r||void 0!==n)&&(!!af[e]||"opacity"===e)}var mf=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},vf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function gf(e){return e.startsWith("--")}var bf=function(e,t){return t&&"number"==typeof e?t.transform(e):e},yf=function(e,t){return function(r){return Math.max(Math.min(r,t),e)}},xf=function(e){return e%1?Number(e.toFixed(5)):e},wf=/(-)?([\d]*\.?[\d])+/g,Sf=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,kf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ef(e){return"string"==typeof e}var Of={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},Cf=kd(kd({},Of),{transform:yf(0,1)}),_f=kd(kd({},Of),{default:1}),Af=function(e){return{test:function(t){return Ef(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},Pf=Af("deg"),jf=Af("%"),Rf=Af("px"),Tf=Af("vh"),zf=Af("vw"),Bf=kd(kd({},jf),{parse:function(e){return jf.parse(e)/100},transform:function(e){return jf.transform(100*e)}}),Df=function(e,t){return function(r){return Boolean(Ef(r)&&kf.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t))}},Ff=function(e,t,r){return function(n){var o;if(!Ef(n))return n;var a=n.match(wf),i=a[0],s=a[1],l=a[2],u=a[3];return(o={})[e]=parseFloat(i),o[t]=parseFloat(s),o[r]=parseFloat(l),o.alpha=void 0!==u?parseFloat(u):1,o}},Mf={test:Df("hsl","hue"),parse:Ff("hue","saturation","lightness"),transform:function(e){var t=e.hue,r=e.saturation,n=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(t)+", "+jf.transform(xf(r))+", "+jf.transform(xf(n))+", "+xf(Cf.transform(a))+")"}},If=yf(0,255),Nf=kd(kd({},Of),{transform:function(e){return Math.round(If(e))}}),Lf={test:Df("rgb","red"),parse:Ff("red","green","blue"),transform:function(e){var t=e.red,r=e.green,n=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+Nf.transform(t)+", "+Nf.transform(r)+", "+Nf.transform(n)+", "+xf(Cf.transform(a))+")"}};var Wf={test:Df("#"),parse:function(e){var t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:Lf.transform},Hf={test:function(e){return Lf.test(e)||Wf.test(e)||Mf.test(e)},parse:function(e){return Lf.test(e)?Lf.parse(e):Mf.test(e)?Mf.parse(e):Wf.parse(e)},transform:function(e){return Ef(e)?e:e.hasOwnProperty("red")?Lf.transform(e):Mf.transform(e)}};function Vf(e){var t=[],r=0,n=e.match(Sf);n&&(r=n.length,e=e.replace(Sf,"${c}"),t.push.apply(t,n.map(Hf.parse)));var o=e.match(wf);return o&&(e=e.replace(wf,"${n}"),t.push.apply(t,o.map(Of.parse))),{values:t,numColors:r,tokenised:e}}function $f(e){return Vf(e).values}function Uf(e){var t=Vf(e),r=t.values,n=t.numColors,o=t.tokenised,a=r.length;return function(e){for(var t=o,r=0;r<a;r++)t=t.replace(r<n?"${c}":"${n}",r<n?Hf.transform(e[r]):xf(e[r]));return t}}var qf=function(e){return"number"==typeof e?0:e};var Yf={test:function(e){var t,r,n,o;return isNaN(e)&&Ef(e)&&(null!==(r=null===(t=e.match(wf))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(o=null===(n=e.match(Sf))||void 0===n?void 0:n.length)&&void 0!==o?o:0)>0},parse:$f,createTransformer:Uf,getAnimatableNone:function(e){var t=$f(e);return Uf(e)(t.map(qf))}},Xf=new Set(["brightness","contrast","saturate","opacity"]);function Gf(e){var t=e.slice(0,-1).split("("),r=t[0],n=t[1];if("drop-shadow"===r)return e;var o=(n.match(wf)||[])[0];if(!o)return e;var a=n.replace(o,""),i=Xf.has(r)?1:0;return o!==n&&(i*=100),r+"("+i+a+")"}var Kf=/([a-z-]*)\(.*?\)/g,Zf=kd(kd({},Yf),{getAnimatableNone:function(e){var t=e.match(Kf);return t?t.map(Gf).join(" "):e}}),Qf=kd(kd({},Of),{transform:Math.round}),Jf={borderWidth:Rf,borderTopWidth:Rf,borderRightWidth:Rf,borderBottomWidth:Rf,borderLeftWidth:Rf,borderRadius:Rf,radius:Rf,borderTopLeftRadius:Rf,borderTopRightRadius:Rf,borderBottomRightRadius:Rf,borderBottomLeftRadius:Rf,width:Rf,maxWidth:Rf,height:Rf,maxHeight:Rf,size:Rf,top:Rf,right:Rf,bottom:Rf,left:Rf,padding:Rf,paddingTop:Rf,paddingRight:Rf,paddingBottom:Rf,paddingLeft:Rf,margin:Rf,marginTop:Rf,marginRight:Rf,marginBottom:Rf,marginLeft:Rf,rotate:Pf,rotateX:Pf,rotateY:Pf,rotateZ:Pf,scale:_f,scaleX:_f,scaleY:_f,scaleZ:_f,skew:Pf,skewX:Pf,skewY:Pf,distance:Rf,translateX:Rf,translateY:Rf,translateZ:Rf,x:Rf,y:Rf,z:Rf,perspective:Rf,transformPerspective:Rf,opacity:Cf,originX:Bf,originY:Bf,originZ:Rf,zIndex:Qf,fillOpacity:Cf,strokeOpacity:Cf,numOctaves:Qf};function ep(e,t,r,n,o,a,i,s){var l,u=e.style,c=e.vars,d=e.transform,f=e.transformKeys,p=e.transformOrigin;f.length=0;var h=!1,m=!1,v=!0;for(var g in t){var b=t[g];if(gf(g))c[g]=b;else{var y=Jf[g],x=bf(b,y);if(df(g)){if(h=!0,d[g]=x,f.push(g),!v)continue;b!==(null!==(l=y.default)&&void 0!==l?l:0)&&(v=!1)}else if(pf(g))p[g]=x,m=!0;else if((null==r?void 0:r.isHydrated)&&(null==n?void 0:n.isHydrated)&&af[g]){var w=af[g].process(b,n,r),S=af[g].applyTo;if(S)for(var k=S.length,E=0;E<k;E++)u[S[E]]=w;else u[g]=w}else u[g]=x}}n&&r&&i&&s?(u.transform=i(n.deltaFinal,n.treeScale,h?d:void 0),a&&(u.transform=a(d,u.transform)),u.transformOrigin=s(n)):(h&&(u.transform=function(e,t,r,n){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,s=void 0===i||i,l=t.allowTransformNone,u=void 0===l||l,c="";a.sort(uf);for(var d=!1,f=a.length,p=0;p<f;p++){var h=a[p];c+=(vf[h]||h)+"("+o[h]+") ","z"===h&&(d=!0)}return!d&&s?c+="translateZ(0)":c=c.trim(),n?c=n(o,r?"":c):u&&r&&(c="none"),c}(e,o,v,a)),m&&(u.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,o=void 0===n?"50%":n,a=e.originZ;return r+" "+o+" "+(void 0===a?0:a)}(p)))}var tp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function rp(e,t,r){for(var n in t)mf(t[n])||hf(n,r)||(e[n]=t[n])}function np(t,r,n){var o={};return rp(o,t.style||{},t),Object.assign(o,function(t,r,n){var o=t.transformTemplate;return e.useMemo((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};ep(e,r,void 0,void 0,{enableHardwareAcceleration:!n},o);var t=e.style;return kd(kd({},e.vars),t)}),[r])}(t,r,n)),t.transformValues&&(o=t.transformValues(o)),o}function op(e,t,r){var n={},o=np(e,t,r);return Boolean(e.drag)&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),n.style=o,n}var ap=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function ip(e){return ap.has(e)}var sp=function(e){return!ip(e)};try{var lp=require("@emotion/is-prop-valid").default;sp=function(e){return e.startsWith("on")?!ip(e):lp(e)}}catch(e){}function up(e,t,r){return"string"==typeof e?e:Rf.transform(t+r*e)}var cp=function(e,t){return Rf.transform(e*t)},dp={offset:"stroke-dashoffset",array:"stroke-dasharray"},fp={offset:"strokeDashoffset",array:"strokeDasharray"};function pp(e,t,r,n,o,a,i,s){var l=t.attrX,u=t.attrY,c=t.originX,d=t.originY,f=t.pathLength,p=t.pathSpacing,h=void 0===p?1:p,m=t.pathOffset,v=void 0===m?0:m;ep(e,Ed(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n,o,a,i,s),e.attrs=e.style,e.style={};var g=e.attrs,b=e.style,y=e.dimensions,x=e.totalPathLength;g.transform&&(y&&(b.transform=g.transform),delete g.transform),y&&(void 0!==c||void 0!==d||b.transform)&&(b.transformOrigin=function(e,t,r){return up(t,e.x,e.width)+" "+up(r,e.y,e.height)}(y,void 0!==c?c:.5,void 0!==d?d:.5)),void 0!==l&&(g.x=l),void 0!==u&&(g.y=u),void 0!==x&&void 0!==f&&function(e,t,r,n,o,a){void 0===n&&(n=1),void 0===o&&(o=0),void 0===a&&(a=!0);var i=a?dp:fp;e[i.offset]=cp(-o,t);var s=cp(r,t),l=cp(n,t);e[i.array]=s+" "+l}(g,x,f,h,v,!1)}var hp=function(){return kd(kd({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function mp(t,r){var n=e.useMemo((function(){var e=hp();return pp(e,r,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),kd(kd({},e.attrs),{style:kd({},e.style)})}),[r]);if(t.style){var o={};rp(o,t.style,t),n.style=kd(kd({},o),n.style)}return n}function vp(t){void 0===t&&(t=!1);return function(r,n,o,a,i){var s=a.latestValues,l=(of(r)?mp:op)(n,s,i),u=function(e,t,r){var n={};for(var o in e)(sp(o)||!0===r&&ip(o)||!t&&!ip(o))&&(n[o]=e[o]);return n}(n,"string"==typeof r,t),c=kd(kd(kd({},u),l),{ref:o});return e.createElement(r,c)}}var gp=/([a-z])([A-Z])/g,bp=function(e){return e.replace(gp,"$1-$2").toLowerCase()};function yp(e,t){var r=t.style,n=t.vars;for(var o in Object.assign(e.style,r),n)e.style.setProperty(o,n[o])}var xp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function wp(e,t){for(var r in yp(e,t),t.attrs)e.setAttribute(xp.has(r)?r:bp(r),t.attrs[r])}function Sp(e){var t=e.style,r={};for(var n in t)(mf(t[n])||hf(n,e))&&(r[n]=t[n]);return r}function kp(e){var t=Sp(e);for(var r in e){if(mf(e[r]))t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]}return t}function Ep(e){return"object"==typeof e&&"function"==typeof e.start}var Op=function(e){return Array.isArray(e)},Cp=function(e){return Op(e)?e[e.length-1]||0:e};function _p(e){var t=mf(e)?e.get():e;return function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(t)?t.toValue():t}function Ap(e,t,r,n){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,s={latestValues:jp(t,r,n,o),renderState:a()};return i&&(s.mount=function(e){return i(t,e,s)}),s}var Pp=function(t){return function(r,n){var o=e.useContext(Dd),a=e.useContext(Fd);return n?Ap(t,r,o,a):Md((function(){return Ap(t,r,o,a)}))}};function jp(e,t,r,n){var o={},a=!1===(null==r?void 0:r.initial),i=n(e);for(var s in i)o[s]=_p(i[s]);var l=e.initial,u=e.animate,c=Zd(e),d=Qd(e);t&&d&&!c&&!1!==e.inherit&&(null!=l||(l=t.initial),null!=u||(u=t.animate));var f=a||!1===l?u:l;f&&"boolean"!=typeof f&&!Ep(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var r=Gd(e,t);if(r){var n=r.transitionEnd;r.transition;var a=Ed(r,["transitionEnd","transition"]);for(var i in a)o[i]=a[i];for(var i in n)o[i]=n[i]}}));return o}var Rp={useVisualState:Pp({scrapeMotionValuesFromProps:kp,createRenderState:hp,onMount:function(e,t,r){var n=r.renderState,o=r.latestValues;try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(n.totalPathLength=t.getTotalLength()),pp(n,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),wp(t,n)}})};var Tp,zp={useVisualState:Pp({scrapeMotionValuesFromProps:Sp,createRenderState:tp})};function Bp(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function Dp(t,r,n,o){e.useEffect((function(){var e=t.current;if(n&&e)return Bp(e,r,n,o)}),[t,r,n,o])}function Fp(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Mp(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Tp||(Tp={}));var Ip={pageX:0,pageY:0};function Np(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Ip;return{x:r[t+"X"],y:r[t+"Y"]}}function Lp(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Wp(e,t){return void 0===t&&(t="page"),{point:Mp(e)?Np(e,t):Lp(e,t)}}var Hp=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,Wp(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},Vp={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},$p={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Up(e){return Vd&&null===window.onpointerdown?e:Vd&&null===window.ontouchstart?$p[e]:Vd&&null===window.onmousedown?Vp[e]:e}function qp(e,t,r,n){return Bp(e,Up(t),Hp(r,"pointerdown"===t),n)}function Yp(e,t,r,n){return Dp(e,Up(t),r&&Hp(r,"pointerdown"===t),n)}function Xp(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Gp=Xp("dragHorizontal"),Kp=Xp("dragVertical");function Zp(e){var t=!1;if("y"===e)t=Kp();else if("x"===e)t=Gp();else{var r=Gp(),n=Kp();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function Qp(){var e=Zp(!0);return!e||(e(),!1)}function Jp(e,t,r){return function(n,o){var a;Fp(n)&&!Qp()&&(null==r||r(n,o),null===(a=e.animationState)||void 0===a||a.setActive(Tp.Hover,t))}}var eh=function(e,t){return!!t&&(e===t||eh(e,t.parentElement))};function th(t){return e.useEffect((function(){return function(){return t()}}),[])}var rh=function(e,t,r){return Math.min(Math.max(r,e),t)};function nh(e){var t,r,n=e.duration,o=void 0===n?800:n,a=e.bounce,i=void 0===a?.25:a,s=e.velocity,l=void 0===s?0:s,u=e.mass,c=void 0===u?1:u;Pd(o<=1e4,"Spring duration must be 10 seconds or less");var d=1-i;d=rh(.05,1,d),o=rh(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,r=t*o;return.001-(t-l)/oh(e,d)*Math.exp(-r)},r=function(e){var r=e*d*o,n=r*l+l,a=Math.pow(d,2)*Math.pow(e,2)*o,i=Math.exp(-r),s=oh(Math.pow(e,2),d);return(.001-t(e)>0?-1:1)*((n-a)*i)/s}):(t=function(e){return Math.exp(-e*o)*((e-l)*o+1)-.001},r=function(e){return Math.exp(-e*o)*(o*o*(l-e))});var f=function(e,t,r){for(var n=r,o=1;o<12;o++)n-=e(n)/t(n);return n}(t,r,5/o);if(o*=1e3,isNaN(f))return{stiffness:100,damping:10,duration:o};var p=Math.pow(f,2)*c;return{stiffness:p,damping:2*d*Math.sqrt(c*p),duration:o}}function oh(e,t){return e*Math.sqrt(1-t*t)}var ah=["duration","bounce"],ih=["stiffness","damping","mass"];function sh(e,t){return t.some((function(t){return void 0!==e[t]}))}function lh(e){var t=e.from,r=void 0===t?0:t,n=e.to,o=void 0===n?1:n,a=e.restSpeed,i=void 0===a?2:a,s=e.restDelta,l=Ed(e,["from","to","restSpeed","restDelta"]),u={done:!1,value:r},c=function(e){var t=kd({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!sh(e,ih)&&sh(e,ah)){var r=nh(e);(t=kd(kd(kd({},t),r),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=c.stiffness,f=c.damping,p=c.mass,h=c.velocity,m=c.duration,v=c.isResolvedFromDuration,g=uh,b=uh;function y(){var e=h?-h/1e3:0,t=o-r,n=f/(2*Math.sqrt(d*p)),a=Math.sqrt(d/p)/1e3;if(null!=s||(s=Math.abs(o-r)<=1?.01:.4),n<1){var i=oh(a,n);g=function(r){var s=Math.exp(-n*a*r);return o-s*((e+n*a*t)/i*Math.sin(i*r)+t*Math.cos(i*r))},b=function(r){var o=Math.exp(-n*a*r);return n*a*o*(Math.sin(i*r)*(e+n*a*t)/i+t*Math.cos(i*r))-o*(Math.cos(i*r)*(e+n*a*t)-i*t*Math.sin(i*r))}}else if(1===n)g=function(r){return o-Math.exp(-a*r)*(t+(e+a*t)*r)};else{var l=a*Math.sqrt(n*n-1);g=function(r){var i=Math.exp(-n*a*r),s=Math.min(l*r,300);return o-i*((e+n*a*t)*Math.sinh(s)+l*t*Math.cosh(s))/l}}}return y(),{next:function(e){var t=g(e);if(v)u.done=e>=m;else{var r=1e3*b(e),n=Math.abs(r)<=i,a=Math.abs(o-t)<=s;u.done=n&&a}return u.value=u.done?o:t,u},flipTarget:function(){var e;h=-h,r=(e=[o,r])[0],o=e[1],y()}}}lh.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var uh=function(e){return 0},ch=function(e,t,r){var n=t-e;return 0===n?1:(r-e)/n},dh=function(e,t,r){return-r*e+r*t+e},fh=function(e,t,r){var n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},ph=[Wf,Lf,Mf],hh=function(e){return ph.find((function(t){return t.test(e)}))},mh=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},vh=function(e,t){var r=hh(e),n=hh(t);jd(!!r,mh(e)),jd(!!n,mh(t)),jd(r.transform===n.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var o=r.parse(e),a=n.parse(t),i=kd({},o),s=r===Mf?dh:fh;return function(e){for(var t in i)"alpha"!==t&&(i[t]=s(o[t],a[t],e));return i.alpha=dh(o.alpha,a.alpha,e),r.transform(i)}},gh=function(e){return"number"==typeof e},bh=function(e,t){return function(r){return t(e(r))}},yh=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(bh)};function xh(e,t){return gh(e)?function(r){return dh(e,t,r)}:Hf.test(e)?vh(e,t):Eh(e,t)}var wh=function(e,t){var r=Cd([],e),n=r.length,o=e.map((function(e,r){return xh(e,t[r])}));return function(e){for(var t=0;t<n;t++)r[t]=o[t](e);return r}},Sh=function(e,t){var r=kd(kd({},e),t),n={};for(var o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=xh(e[o],t[o]));return function(e){for(var t in n)r[t]=n[t](e);return r}};function kh(e){for(var t=Yf.parse(e),r=t.length,n=0,o=0,a=0,i=0;i<r;i++)n||"number"==typeof t[i]?n++:void 0!==t[i].hue?a++:o++;return{parsed:t,numNumbers:n,numRGB:o,numHSL:a}}var Eh=function(e,t){var r=Yf.createTransformer(t),n=kh(e),o=kh(t);return jd(n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers,"Complex values '"+e+"' and '"+t+"' too different to mix. Ensure all colors are of the same type."),yh(wh(n.parsed,o.parsed),r)},Oh=function(e,t){return function(r){return dh(e,t,r)}};function Ch(e,t,r){for(var n=[],o=r||function(e){return"number"==typeof e?Oh:"string"==typeof e?Hf.test(e)?vh:Eh:Array.isArray(e)?wh:"object"==typeof e?Sh:void 0}(e[0]),a=e.length-1,i=0;i<a;i++){var s=o(e[i],e[i+1]);if(t){var l=Array.isArray(t)?t[i]:t;s=yh(l,s)}n.push(s)}return n}function _h(e,t,r){var n=void 0===r?{}:r,o=n.clamp,a=void 0===o||o,i=n.ease,s=n.mixer,l=e.length;jd(l===t.length,"Both input and output ranges must be the same length"),jd(!i||!Array.isArray(i)||i.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[l-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var u=Ch(t,i,s),c=2===l?function(e,t){var r=e[0],n=e[1],o=t[0];return function(e){return o(ch(r,n,e))}}(e,u):function(e,t){var r=e.length,n=r-1;return function(o){var a=0,i=!1;if(o<=e[0]?i=!0:o>=e[n]&&(a=n-1,i=!0),!i){for(var s=1;s<r&&!(e[s]>o||s===n);s++);a=s-1}var l=ch(e[a],e[a+1],o);return t[a](l)}}(e,u);return a?function(t){return c(rh(e[0],e[l-1],t))}:c}var Ah,Ph=function(e){return function(t){return 1-e(1-t)}},jh=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Rh=function(e){return function(t){return t*t*((e+1)*t-e)}},Th=function(e){return e},zh=(Ah=2,function(e){return Math.pow(e,Ah)}),Bh=Ph(zh),Dh=jh(zh),Fh=function(e){return 1-Math.sin(Math.acos(e))},Mh=Ph(Fh),Ih=jh(Mh),Nh=Rh(1.525),Lh=Ph(Nh),Wh=jh(Nh),Hh=function(e){var t=Rh(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),Vh=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},$h=Ph(Vh);function Uh(e,t){return e.map((function(){return t||Dh})).splice(0,e.length-1)}function qh(e){var t=e.from,r=void 0===t?0:t,n=e.to,o=void 0===n?1:n,a=e.ease,i=e.offset,s=e.duration,l=void 0===s?300:s,u={done:!1,value:r},c=Array.isArray(o)?o:[r,o],d=function(e,t){return e.map((function(e){return e*t}))}(i&&i.length===c.length?i:function(e){var t=e.length;return e.map((function(e,r){return 0!==r?r/(t-1):0}))}(c),l);function f(){return _h(d,c,{ease:Array.isArray(a)?a:Uh(c,a)})}var p=f();return{next:function(e){return u.value=p(e),u.done=e>=l,u},flipTarget:function(){c.reverse(),p=f()}}}var Yh={keyframes:qh,spring:lh,decay:function(e){var t=e.velocity,r=void 0===t?0:t,n=e.from,o=void 0===n?0:n,a=e.power,i=void 0===a?.8:a,s=e.timeConstant,l=void 0===s?350:s,u=e.restDelta,c=void 0===u?.5:u,d=e.modifyTarget,f={done:!1,value:o},p=i*r,h=o+p,m=void 0===d?h:d(h);return m!==h&&(p=m-o),{next:function(e){var t=-p*Math.exp(-e/l);return f.done=!(t>c||t<-c),f.value=f.done?m:m+t,f},flipTarget:function(){}}}};function Xh(e,t,r){return void 0===r&&(r=0),e-t-r}var Gh=function(e){var t=function(t){var r=t.delta;return e(r)};return{start:function(){return Nr.update(t,!0)},stop:function(){return Lr.update(t)}}};function Kh(e){var t,r,n,o,a,i=e.from,s=e.autoplay,l=void 0===s||s,u=e.driver,c=void 0===u?Gh:u,d=e.elapsed,f=void 0===d?0:d,p=e.repeat,h=void 0===p?0:p,m=e.repeatType,v=void 0===m?"loop":m,g=e.repeatDelay,b=void 0===g?0:g,y=e.onPlay,x=e.onStop,w=e.onComplete,S=e.onRepeat,k=e.onUpdate,E=Ed(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),O=E.to,C=0,_=E.duration,A=!1,P=!0,j=function(e){if(Array.isArray(e.to))return qh;if(Yh[e.type])return Yh[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?qh:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?lh:qh}(E);(null===(r=(t=j).needsInterpolation)||void 0===r?void 0:r.call(t,i,O))&&(a=_h([0,100],[i,O],{clamp:!1}),i=0,O=100);var R=j(kd(kd({},E),{from:i,to:O}));function T(){C++,"reverse"===v?f=function(e,t,r,n){return void 0===r&&(r=0),void 0===n&&(n=!0),n?Xh(t+-e,t,r):t-(e-t)+r}(f,_,b,P=C%2==0):(f=Xh(f,_,b),"mirror"===v&&R.flipTarget()),A=!1,S&&S()}function z(e){if(P||(e=-e),f+=e,!A){var t=R.next(Math.max(0,f));o=t.value,a&&(o=a(o)),A=P?t.done:f<=0}null==k||k(o),A&&(0===C&&(null!=_||(_=f)),C<h?function(e,t,r,n){return n?e>=t+r:e<=-r}(f,_,b,P)&&T():(n.stop(),w&&w()))}return l&&(null==y||y(),(n=c(z)).start()),{stop:function(){null==x||x(),n.stop()}}}function Zh(e,t){return t?e*(1e3/t):0}var Qh=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Jh=function(e){return Qh(e)&&e.hasOwnProperty("z")},em=function(e,t){return Math.abs(e-t)};function tm(e,t){if(gh(e)&&gh(t))return em(e,t);if(Qh(e)&&Qh(t)){var r=em(e.x,t.x),n=em(e.y,t.y),o=Jh(e)&&Jh(t)?em(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}var rm=function(e,t){return 1-3*t+3*e},nm=function(e,t){return 3*t-6*e},om=function(e){return 3*e},am=function(e,t,r){return((rm(t,r)*e+nm(t,r))*e+om(t))*e},im=function(e,t,r){return 3*rm(t,r)*e*e+2*nm(t,r)*e+om(t)};function sm(e,t,r,n){if(e===t&&r===n)return Th;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=am(.1*a,e,r);function i(t){for(var n=0,a=1;10!==a&&o[a]<=t;++a)n+=.1;--a;var i=n+.1*((t-o[a])/(o[a+1]-o[a])),s=im(i,e,r);return s>=.001?function(e,t,r,n){for(var o=0;o<8;++o){var a=im(t,r,n);if(0===a)return t;t-=(am(t,r,n)-e)/a}return t}(t,i,e,r):0===s?i:function(e,t,r,n,o){var a,i,s=0;do{(a=am(i=t+(r-t)/2,n,o)-e)>0?r=i:t=i}while(Math.abs(a)>1e-7&&++s<10);return i}(t,n,n+.1,e,r)}return function(e){return 0===e||1===e?e:am(i(e),t,n)}}var lm=function(e){return function(t){return e(t),null}},um={tap:lm((function(t){var r=t.onTap,n=t.onTapStart,o=t.onTapCancel,a=t.whileTap,i=t.visualElement,s=r||n||o||a,l=e.useRef(!1),u=e.useRef(null);function c(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function d(){var e;return c(),l.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(Tp.Tap,!1),!Qp()}function f(e,t){d()&&(eh(i.getInstance(),e.target)?null==r||r(e,t):null==o||o(e,t))}function p(e,t){d()&&(null==o||o(e,t))}Yp(i,"pointerdown",s?function(e,t){var r;c(),l.current||(l.current=!0,u.current=yh(qp(window,"pointerup",f),qp(window,"pointercancel",p)),null==n||n(e,t),null===(r=i.animationState)||void 0===r||r.setActive(Tp.Tap,!0))}:void 0),th(c)})),focus:lm((function(e){var t=e.whileFocus,r=e.visualElement;Dp(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Tp.Focus,!0)}:void 0),Dp(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Tp.Focus,!1)}:void 0)})),hover:lm((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,o=e.visualElement;Yp(o,"pointerenter",t||n?Jp(o,!0,t):void 0),Yp(o,"pointerleave",r||n?Jp(o,!1,r):void 0)}))};function cm(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var dm=function(e){return 1e3*e},fm={linear:Th,easeIn:zh,easeInOut:Dh,easeOut:Bh,circIn:Fh,circInOut:Ih,circOut:Mh,backIn:Nh,backInOut:Wh,backOut:Lh,anticipate:Hh,bounceIn:$h,bounceInOut:function(e){return e<.5?.5*(1-Vh(1-2*e)):.5*Vh(2*e-1)+.5},bounceOut:Vh},pm=function(e){if(Array.isArray(e)){jd(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=Od(e,4);return sm(t[0],t[1],t[2],t[3])}return"string"==typeof e?(jd(void 0!==fm[e],"Invalid easing type '"+e+"'"),fm[e]):e},hm=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Yf.test(t)||t.startsWith("url(")))},mm=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},vm=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},gm=function(){return{type:"keyframes",ease:"linear",duration:.3}},bm=function(e){return{type:"keyframes",duration:.8,values:e}},ym={x:mm,y:mm,z:mm,rotate:mm,rotateX:mm,rotateY:mm,rotateZ:mm,scaleX:vm,scaleY:vm,scale:vm,opacity:gm,backgroundColor:gm,color:gm,default:vm},xm=kd(kd({},Jf),{color:Hf,backgroundColor:Hf,outlineColor:Hf,fill:Hf,stroke:Hf,borderColor:Hf,borderTopColor:Hf,borderRightColor:Hf,borderBottomColor:Hf,borderLeftColor:Hf,filter:Zf,WebkitFilter:Zf}),wm=function(e){return xm[e]};function Sm(e,t){var r,n=wm(e);return n!==Zf&&(n=Yf),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var km=!1;function Em(e){var t=e.ease,r=e.times,n=e.yoyo,o=e.flip,a=e.loop,i=Ed(e,["ease","times","yoyo","flip","loop"]),s=kd({},i);return r&&(s.offset=r),i.duration&&(s.duration=dm(i.duration)),i.repeatDelay&&(s.repeatDelay=dm(i.repeatDelay)),t&&(s.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(pm):pm(t)),"tween"===i.type&&(s.type="keyframes"),(n||a||o)&&(Pd(!km,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),km=!0,n?s.repeatType="reverse":a?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=a||n||o||i.repeat),"spring"!==i.type&&(s.type="keyframes"),s}function Om(e,t,r){var n,o,a,i;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Cd([],Od(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Ed(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=kd(kd({},e),(o=r,a=t.to,i=Op(a)?bm:ym[o]||ym.default,kd({to:a},i(a))))),kd(kd({},t),Em(e))}function Cm(e,t,r,n,o){var a,i=Pm(n,e),s=null!==(a=i.from)&&void 0!==a?a:t.get(),l=hm(e,r);"none"===s&&l&&"string"==typeof r?s=Sm(e,r):_m(s)&&"string"==typeof r?s=Am(r):!Array.isArray(r)&&_m(r)&&"string"==typeof s&&(r=Am(s));var u=hm(e,s);return Pd(u===l,"You are trying to animate "+e+' from "'+s+'" to "'+r+'". '+s+" is not an animatable value - to enable this animation set "+s+" to a value animatable to "+r+" via the `style` property."),u&&l&&!1!==i.type?function(){var n={from:s,to:r,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function(e){var t,r=e.from,n=void 0===r?0:r,o=e.velocity,a=void 0===o?0:o,i=e.min,s=e.max,l=e.power,u=void 0===l?.8:l,c=e.timeConstant,d=void 0===c?750:c,f=e.bounceStiffness,p=void 0===f?500:f,h=e.bounceDamping,m=void 0===h?10:h,v=e.restDelta,g=void 0===v?1:v,b=e.modifyTarget,y=e.driver,x=e.onUpdate,w=e.onComplete;function S(e){return void 0!==i&&e<i||void 0!==s&&e>s}function k(e){return void 0===i?s:void 0===s||Math.abs(i-e)<Math.abs(s-e)?i:s}function E(e){null==t||t.stop(),t=Kh(kd(kd({},e),{driver:y,onUpdate:function(t){var r;null==x||x(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:w}))}function O(e){E(kd({type:"spring",stiffness:p,damping:m,restDelta:g},e))}if(S(n))O({from:n,velocity:a,to:k(n)});else{var C=u*a+n;void 0!==b&&(C=b(C));var _,A,P=k(C),j=P===i?-1:1;E({type:"decay",from:n,velocity:a,timeConstant:d,power:u,restDelta:g,modifyTarget:b,onUpdate:S(C)?function(e){_=A,A=e,a=Zh(e-_,Ur().delta),(1===j&&e>P||-1===j&&e<P)&&O({from:e,to:P,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(kd(kd({},n),i)):Kh(kd(kd({},Om(i,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;n.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e;return t.set(r),o(),null===(e=null==i?void 0:i.onComplete)||void 0===e||e.call(i),{stop:function(){}}}}function _m(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Am(e){return"number"==typeof e?0:Sm("",e)}function Pm(e,t){return e[t]||e.default||e}function jm(e,t,r,n){return void 0===n&&(n={}),t.start((function(o){var a,i,s=Cm(e,t,r,n,o),l=function(e,t){var r;return null!==(r=(Pm(e,t)||{}).delay)&&void 0!==r?r:0}(n,e),u=function(){return i=s()};return l?a=setTimeout(u,dm(l)):u(),function(){clearTimeout(a),null==i||i.stop()}}))}var Rm=function(e){return/^\-?\d*\.?\d+$/.test(e)};function Tm(e,t){-1===e.indexOf(t)&&e.push(t)}function zm(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Bm=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Tm(this.subscriptions,e),function(){return zm(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var o=0;o<n;o++){var a=this.subscriptions[o];a&&a(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Dm=function(){function e(e){var t,r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Bm,this.velocityUpdateSubscribers=new Bm,this.renderSubscribers=new Bm,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=Ur(),o=n.delta,a=n.timestamp;r.lastUpdated!==a&&(r.timeDelta=o,r.lastUpdated=a,Nr.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Nr.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Zh(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Fm(e){return new Dm(e)}var Mm=function(e){return function(t){return t.test(e)}},Im=[Of,Rf,jf,Pf,zf,Tf,{test:function(e){return"auto"===e},parse:function(e){return e}}],Nm=function(e){return Im.find(Mm(e))},Lm=Cd(Cd([],Od(Im)),[Hf,Yf]),Wm=function(e){return Lm.find(Mm(e))};function Hm(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Fm(r))}function Vm(e,t){if(t)return(t[e]||t.default||t).from}function $m(e,t,r){var n;void 0===r&&(r={});var o=Kd(e,t,r.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;r.transitionOverride&&(i=r.transitionOverride);var s=o?function(){return Um(e,o,r)}:function(){return Promise.resolve()},l=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var o=i.delayChildren,a=void 0===o?0:o,s=i.staggerChildren,l=i.staggerDirection;return function(e,t,r,n,o,a){void 0===r&&(r=0);void 0===n&&(n=0);void 0===o&&(o=1);var i=[],s=(e.variantChildren.size-1)*n,l=1===o?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),s-e*n};return Array.from(e.variantChildren).sort(qm).forEach((function(e,n){i.push($m(e,t,kd(kd({},a),{delay:r+l(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+n,s,l,r)}:function(){return Promise.resolve()},u=i.when;if(u){var c=Od("beforeChildren"===u?[s,l]:[l,s],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([s(),l(r.delay)])}function Um(e,t,r){var n,o=void 0===r?{}:r,a=o.delay,i=void 0===a?0:a,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=Ed(u,["transition","transitionEnd"]);s&&(d=s);var h=[],m=l&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[l]);for(var v in p){var g=e.getValue(v),b=p[v];if(!(!g||void 0===b||m&&Ym(m,v))){var y=jm(v,g,b,kd({delay:i},d));h.push(y)}}return Promise.all(h).then((function(){f&&function(e,t){var r=Kd(e,t),n=r?e.makeTargetAnimatable(r,!1):{},o=n.transitionEnd,a=void 0===o?{}:o;n.transition;var i=Ed(n,["transitionEnd","transition"]);for(var s in i=kd(kd({},i),a))Hm(e,s,Cp(i[s]))}(e,f)}))}function qm(e,t){return e.sortNodePosition(t)}function Ym(e,t){var r=e.protectedKeys,n=e.needsAnimating,o=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,o}var Xm=[Tp.Animate,Tp.Hover,Tp.Tap,Tp.Drag,Tp.Focus,Tp.Exit],Gm=Cd([],Od(Xm)).reverse(),Km=Xm.length;function Zm(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return $m(e,t,r)}));n=Promise.all(o)}else if("string"==typeof t)n=$m(e,t,r);else{var a="function"==typeof t?Kd(e,t,r.custom):t;n=Um(e,a,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}function Qm(e){var t,r=Zm(e),n=((t={})[Tp.Animate]=Jm(!0),t[Tp.Hover]=Jm(),t[Tp.Tap]=Jm(),t[Tp.Drag]=Jm(),t[Tp.Focus]=Jm(),t[Tp.Exit]=Jm(),t),o={},a=!0,i=function(t,r){var n=Kd(e,r);if(n){n.transition;var o=n.transitionEnd,a=Ed(n,["transition","transitionEnd"]);t=kd(kd(kd({},t),a),o)}return t};function s(t,s){for(var l,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set,p={},h=1/0,m=function(r){var o=Gm[r],m=n[o],v=null!==(l=u[o])&&void 0!==l?l:c[o],g=Xd(v),b=o===s?m.isActive:null;!1===b&&(h=r);var y=v===c[o]&&v!==u[o]&&g;if(y&&a&&e.manuallyAnimateOnMount&&(y=!1),m.protectedKeys=kd({},p),!m.isActive&&null===b||!v&&!m.prevProp||Ep(v)||"boolean"==typeof v)return"continue";var x=function(e,t){if("string"==typeof t)return t!==e;if(Yd(t))return!cm(t,e);return!1}(m.prevProp,v)||o===s&&m.isActive&&!y&&g||r>h&&g,w=Array.isArray(v)?v:[v],S=w.reduce(i,{});!1===b&&(S={});var k=m.prevResolvedValues,E=void 0===k?{}:k,O=kd(kd({},E),S),C=function(e){x=!0,f.delete(e),m.needsAnimating[e]=!0};for(var _ in O){var A=S[_],P=E[_];p.hasOwnProperty(_)||(A!==P?Op(A)&&Op(P)?cm(A,P)?m.protectedKeys[_]=!0:C(_):void 0!==A?C(_):f.add(_):void 0!==A&&f.has(_)?C(_):m.protectedKeys[_]=!0)}m.prevProp=v,m.prevResolvedValues=S,m.isActive&&(p=kd(kd({},p),S)),a&&e.blockInitialAnimation&&(x=!1),x&&!y&&d.push.apply(d,Cd([],Od(w.map((function(e){return{animation:e,options:kd({type:o},t)}})))))},v=0;v<Km;v++)m(v);if(o=kd({},p),f.size){var g={};f.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(g[t]=r)})),d.push({animation:g})}var b=Boolean(d.length);return a&&!1===u.initial&&!e.manuallyAnimateOnMount&&(b=!1),a=!1,b?r(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:s,setActive:function(t,r,o){var a;return n[t].isActive===r?Promise.resolve():(null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r,s(o,t))},setAnimateFunction:function(t){r=t(e)},getState:function(){return n}}}function Jm(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ev={animation:lm((function(t){var r=t.visualElement,n=t.animate;r.animationState||(r.animationState=Qm(r)),Ep(n)&&e.useEffect((function(){return n.subscribe(r)}),[n])})),exit:lm((function(t){var r=t.custom,n=t.visualElement,o=Od(Id(),2),a=o[0],i=o[1],s=e.useContext(Fd);e.useEffect((function(){var e,t,o=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Tp.Exit,!a,{custom:null!==(t=null==s?void 0:s.custom)&&void 0!==t?t:r});!a&&(null==o||o.then(i))}),[a])}))},tv=function(){function e(e,t,r){var n=this,o=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=ov(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=tm(e.offset,{x:0,y:0})>=3;if(t||r){var o=e.point,a=Ur().timestamp;n.history.push(kd(kd({},o),{timestamp:a}));var i=n.handlers,s=i.onStart,l=i.onMove;t||(s&&s(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),l&&l(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=rv(t,n.transformPagePoint),Fp(e)&&0===e.buttons?n.handlePointerUp(e,t):Nr.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,o=r.onEnd,a=r.onSessionEnd,i=ov(rv(t,n.transformPagePoint),n.history);n.startEvent&&o&&o(e,i),a&&a(e,i)},!(Mp(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=rv(Wp(e),this.transformPagePoint),i=a.point,s=Ur().timestamp;this.history=[kd(kd({},i),{timestamp:s})];var l=t.onSessionStart;l&&l(e,ov(a,this.history)),this.removeListeners=yh(qp(window,"pointermove",this.handlePointerMove),qp(window,"pointerup",this.handlePointerUp),qp(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Lr.update(this.updatePoint)},e}();function rv(e,t){return t?{point:t(e.point)}:e}function nv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ov(e,t){var r=e.point;return{point:r,delta:nv(r,iv(t)),offset:nv(r,av(t)),velocity:sv(t,.1)}}function av(e){return e[0]}function iv(e){return e[e.length-1]}function sv(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,o=iv(e);r>=0&&(n=e[r],!(o.timestamp-n.timestamp>dm(t)));)r--;if(!n)return{x:0,y:0};var a=(o.timestamp-n.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function lv(e){return e}function uv(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var cv={translate:0,scale:1,origin:0,originPoint:0};function dv(){return{x:kd({},cv),y:kd({},cv)}}function fv(e){return[e("x"),e("y")]}function pv(e,t,r){var n=t.min,o=t.max;return void 0!==n&&e<n?e=r?dh(n,e,r.min):Math.max(e,n):void 0!==o&&e>o&&(e=r?dh(o,e,r.max):Math.min(e,o)),e}function hv(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function mv(e,t){var r,n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=Od([o,n],2))[0],o=r[1]),{min:e.min+n,max:e.min+o}}function vv(e,t,r){return{min:gv(e,t),max:gv(e,r)}}function gv(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}function bv(e,t){return uv(function(e,t){var r=e.top,n=e.left,o=e.bottom,a=e.right;void 0===t&&(t=lv);var i=t({x:n,y:r}),s=t({x:a,y:o});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}function yv(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),tm(e,t)<r}function xv(e){return e.max-e.min}function wv(e,t){var r=.5,n=xv(e),o=xv(t);return o>n?r=ch(t.min,t.max-n,e.min):n>o&&(r=ch(e.min,e.max-o,t.min)),function(e){return rh(0,1,e)}(r)}function Sv(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=dh(t.min,t.max,e.origin),e.scale=xv(r)/xv(t),yv(e.scale,1,1e-4)&&(e.scale=1),e.translate=dh(r.min,r.max,e.origin)-e.originPoint,yv(e.translate)&&(e.translate=0)}function kv(e,t,r,n){Sv(e.x,t.x,r.x,Ev(n.originX)),Sv(e.y,t.y,r.y,Ev(n.originY))}function Ev(e){return"number"==typeof e?e:.5}function Ov(e,t,r){e.min=r.min+t.min,e.max=e.min+xv(t)}var Cv=function(e,t){return e.depth-t.depth};function _v(e){return e.projection.isEnabled||e.shouldResetTransform()}function Av(e,t){void 0===t&&(t=[]);var r=e.parent;return r&&Av(r,t),_v(e)&&t.push(e),t}function Pv(e){if(!e.shouldResetTransform()){var t,r=e.getLayoutState();e.notifyBeforeLayoutMeasure(r.layout),r.isHydrated=!0,r.layout=e.measureViewportBox(),r.layoutCorrected=(t=r.layout,{x:kd({},t.x),y:kd({},t.y)}),e.notifyLayoutMeasure(r.layout,e.prevViewportBox||r.layout),Nr.update((function(){return e.rebaseProjectionTarget()}))}}function jv(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Rv(e,t){return{x:jv(e.x,t.x),y:jv(e.y,t.y)}}function Tv(e,t){var r=e.getLayoutId(),n=t.getLayoutId();return r!==n||void 0===n&&e!==t}function zv(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function Bv(e,t){e.min=t.min,e.max=t.max}function Dv(e,t,r){return r+t*(e-r)}function Fv(e,t,r,n,o){return void 0!==o&&(e=Dv(e,o,n)),Dv(e,r,n)+t}function Mv(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=1),e.min=Fv(e.min,t,r,n,o),e.max=Fv(e.max,t,r,n,o)}function Iv(e,t){var r=t.x,n=t.y;Mv(e.x,r.translate,r.scale,r.originPoint),Mv(e.y,n.translate,n.scale,n.originPoint)}function Nv(e,t,r,n){var o=Od(n,3),a=o[0],i=o[1],s=o[2];e.min=t.min,e.max=t.max;var l=void 0!==r[s]?r[s]:.5,u=dh(t.min,t.max,l);Mv(e,r[a],r[i],u,r.scale)}var Lv=["x","scaleX","originX"],Wv=["y","scaleY","originY"];function Hv(e,t,r){Nv(e.x,t.x,r,Lv),Nv(e.y,t.y,r,Wv)}function Vv(e,t,r,n,o){return e=Dv(e-=t,1/r,n),void 0!==o&&(e=Dv(e,1/o,n)),e}function $v(e,t,r){var n=Od(r,3),o=n[0],a=n[1],i=n[2];!function(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5);var a=dh(e.min,e.max,n)-t;e.min=Vv(e.min,t,r,a,o),e.max=Vv(e.max,t,r,a,o)}(e,t[o],t[a],t[i],t.scale)}function Uv(e,t){$v(e.x,t,Lv),$v(e.y,t,Wv)}var qv=new Set;function Yv(e,t,r){e[r]||(e[r]=[]),e[r].push(t)}function Xv(e){return qv.add(e),function(){return qv.delete(e)}}function Gv(){if(qv.size){var e=0,t=[[]],r=[],n=function(r){return Yv(t,r,e)},o=function(t){Yv(r,t,e),e++};qv.forEach((function(t){t(n,o),e=0})),qv.clear();for(var a=r.length,i=0;i<=a;i++)t[i]&&t[i].forEach(Zv),r[i]&&r[i].forEach(Zv)}}var Kv,Zv=function(e){return e()},Qv=new WeakMap,Jv=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Qv.set(t,this)}return e.prototype.start=function(e,t){var r=this,n=void 0===t?{}:t,o=n.snapToCursor,a=void 0!==o&&o,i=n.cursorProgress,s=this.props.transformPagePoint;this.panSession=new tv(e,{onSessionStart:function(e){var t;r.stopMotion();var n=function(e){return Wp(e,"client")}(e).point;null===(t=r.cancelLayout)||void 0===t||t.call(r),r.cancelLayout=Xv((function(e,t){var o=Av(r.visualElement),s=function(e){var t=[],r=function(e){_v(e)&&t.push(e),e.children.forEach(r)};return e.children.forEach(r),t.sort(Cv)}(r.visualElement),l=Cd(Cd([],Od(o)),Od(s)),u=!1;r.isLayoutDrag()&&r.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){Pv(r.visualElement),s.forEach(Pv)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),a&&(u=r.snapToCursor(n))})),e((function(){Boolean(r.getAxisMotionValue("x")&&!r.isExternalDrag())||r.visualElement.rebaseProjectionTarget(!0,r.visualElement.measureViewportBox(!1)),r.visualElement.scheduleUpdateLayoutProjection();var e=r.visualElement.projection;fv((function(t){if(!u){var o=e.target[t],a=o.min,s=o.max;r.cursorProgress[t]=i?i[t]:ch(a,s,n[t])}var l=r.getAxisMotionValue(t);l&&(r.originPoint[t]=l.get())}))})),t((function(){Wr.update(),Wr.preRender(),Wr.render(),Wr.postRender()})),e((function(){return r.resolveDragConstraints()}))}))},onStart:function(e,t){var n,o,a,i=r.props,s=i.drag,l=i.dragPropagation;(!s||l||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=Zp(s),r.openGlobalLock))&&(Gv(),r.isDragging=!0,r.currentDirection=null,null===(o=(n=r.props).onDragStart)||void 0===o||o.call(n,e,t),null===(a=r.visualElement.animationState)||void 0===a||a.setActive(Tp.Drag,!0))},onMove:function(e,t){var n,o,a,i,s=r.props,l=s.dragPropagation,u=s.dragDirectionLock;if(l||r.openGlobalLock){var c=t.offset;if(u&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(c),void(null!==r.currentDirection&&(null===(o=(n=r.props).onDirectionLock)||void 0===o||o.call(n,r.currentDirection)));r.updateAxis("x",t.point,c),r.updateAxis("y",t.point,c),null===(i=(a=r.props).onDrag)||void 0===i||i.call(a,e,t),Kv=e}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,r=t.dragConstraints,n=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!r&&(qd(r)?this.resolveRefConstraints(o,r):function(e,t){var r=t.top,n=t.left,o=t.bottom,a=t.right;return{x:hv(e.x,n,a),y:hv(e.y,r,o)}}(o,r)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:vv(e,"left","right"),y:vv(e,"top","bottom")}}(n),this.constraints&&!this.hasMutatedConstraints&&fv((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var r=this.props,n=r.onMeasureDragConstraints,o=r.transformPagePoint,a=t.current;jd(null!==a,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=bv(a,o);var i=function(e,t){return{x:mv(e.x,t.x),y:mv(e.y,t.y)}}(e,this.constraintsBox);if(n){var s=n(function(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}(i));this.hasMutatedConstraints=!!s,s&&(i=uv(s))}return i},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Tp.Drag,!1)},e.prototype.stop=function(e,t){var r,n,o;null===(r=this.panSession)||void 0===r||r.end(),this.panSession=null;var a=this.isDragging;if(this.cancelDrag(),a){var i=t.velocity;this.animateDragEnd(i),null===(o=(n=this.props).onDragEnd)||void 0===o||o.call(n,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return fv((function(r){if(eg(r,t.props.drag,t.currentDirection)){var n=t.getAxisMotionValue(r);if(!n)return t.cursorProgress[r]=.5,!0;var o=t.visualElement.getLayoutState().layout,a=o[r].max-o[r].min,i=o[r].min+a/2,s=e[r]-i;t.originPoint[r]=e[r],n.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,r){if(eg(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,r):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var r=this.getAxisMotionValue(e);if(t&&r){var n=this.originPoint[e]+t[e],o=this.constraints?pv(n,this.constraints[e],this.elastic[e]):n;r.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var r,n=this.visualElement.getLayoutState().layout[e],o=n.max-n.min,a=this.cursorProgress[e],i=function(e,t,r,n,o){var a=e-t*r;return n?pv(a,n,o):a}(t[e],o,a,null===(r=this.constraints)||void 0===r?void 0:r[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,i,i+o)},e.prototype.setProps=function(e){var t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,o=void 0!==n&&n,a=e.dragPropagation,i=void 0!==a&&a,s=e.dragConstraints,l=void 0!==s&&s,u=e.dragElastic,c=void 0===u?.35:u,d=e.dragMomentum,f=void 0===d||d,p=Ed(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=kd({drag:r,dragDirectionLock:o,dragPropagation:i,dragConstraints:l,dragElastic:c,dragMomentum:f},p)},e.prototype.getAxisMotionValue=function(e){var t=this.props,r=t.layout,n=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:r||void 0!==n?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,r=e._dragY;return t||r},e.prototype.animateDragEnd=function(e){var t=this,r=this.props,n=r.drag,o=r.dragMomentum,a=r.dragElastic,i=r.dragTransition,s=function(e,t){void 0===t&&(t=!0);var r,n=e.getProjectionParent();return!!n&&(t?Uv(r=Rv(n.projection.target,e.projection.target),n.getLatestValues()):r=Rv(n.getLayoutState().layout,e.getLayoutState().layout),fv((function(t){return e.setProjectionTargetAxis(t,r[t].min,r[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),l=this.constraints||{};if(s&&Object.keys(l).length&&this.isLayoutDrag()){var u=this.visualElement.getProjectionParent();if(u){var c=Rv(u.projection.targetFinal,l);fv((function(e){var t=c[e],r=t.min,n=t.max;l[e]={min:isNaN(r)?void 0:r,max:isNaN(n)?void 0:n}}))}}var d=fv((function(r){var u;if(eg(r,n,t.currentDirection)){var c=null!==(u=null==l?void 0:l[r])&&void 0!==u?u:{},d=a?200:1e6,f=a?40:1e7,p=kd(kd({type:"inertia",velocity:o?e[r]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},i),c);return t.getAxisMotionValue(r)?t.startAxisValueAnimation(r,p):t.visualElement.startLayoutAnimation(r,p,s)}}));return Promise.all(d).then((function(){var e,r;null===(r=(e=t.props).onDragTransitionEnd)||void 0===r||r.call(e)}))},e.prototype.stopMotion=function(){var e=this;fv((function(t){var r=e.getAxisMotionValue(t);r?r.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var r=this.getAxisMotionValue(e);if(r){var n=r.get();return r.set(n),r.set(n),jm(e,r,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,r=t.drag;if(qd(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var n={x:0,y:0};fv((function(t){n[t]=wv(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){fv((function(t){if(eg(t,r,null)){var o=function(e,t,r){var n=e.max-e.min,o=dh(t.min,t.max-n,r);return{min:o,max:o+n}}(e.visualElement.projection.target[t],e.constraintsBox[t],n[t]),a=o.min,i=o.max;e.visualElement.setProjectionTargetAxis(t,a,i)}}))})),setTimeout(Gv,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Xv((function(r,n){var o=Av(t.visualElement);n((function(){return o.forEach((function(e){return e.resetTransform()}))})),r((function(){return Pv(t.visualElement)})),n((function(){return o.forEach((function(e){return e.restoreTransform()}))})),r((function(){t.resolveDragConstraints()})),e&&n(e)}))},e.prototype.mount=function(e){var t=this,r=qp(e.getInstance(),"pointerdown",(function(e){var r=t.props,n=r.drag,o=r.dragListener;n&&(void 0===o||o)&&t.start(e)})),n=Bp(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(Kv,{cursorProgress:a}),function(){null==r||r(),null==n||n(),null==o||o(),t.cancelDrag()}},e}();function eg(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var tg,rg,ng={pan:lm((function(t){var r=t.onPan,n=t.onPanStart,o=t.onPanEnd,a=t.onPanSessionStart,i=t.visualElement,s=r||n||o||a,l=e.useRef(null),u=e.useContext(Bd).transformPagePoint,c={onSessionStart:a,onStart:n,onMove:r,onEnd:function(e,t){l.current=null,o&&o(e,t)}};e.useEffect((function(){null!==l.current&&l.current.updateHandlers(c)})),Yp(i,"pointerdown",s&&function(e){l.current=new tv(e,c,{transformPagePoint:u})}),th((function(){return l.current&&l.current.end()}))})),drag:lm((function(t){var r=t.dragControls,n=t.visualElement,o=e.useContext(Bd).transformPagePoint,a=Md((function(){return new Jv({visualElement:n})}));a.setProps(kd(kd({},t),{transformPagePoint:o})),e.useEffect((function(){return r&&r.subscribe(a)}),[a]),e.useEffect((function(){return a.mount(n)}),[])}))};function og(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(tg||(tg={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(rg||(rg={}));var ag=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ig(e,t,r){void 0===r&&(r=1),jd(r<=4,'Max CSS variable fallback depth detected in property "'+e+'". This may indicate a circular fallback dependency.');var n=Od(function(e){var t=ag.exec(e);if(!t)return[,];var r=Od(t,3);return[r[1],r[2]]}(e),2),o=n[0],a=n[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():og(a)?ig(a,t,r+1):a}}function sg(e,t){return e/(t.max-t.min)*100}var lg={process:function(e,t,r){var n=r.target;if("string"==typeof e){if(!Rf.test(e))return e;e=parseFloat(e)}return sg(e,n.x)+"% "+sg(e,n.y)+"%"}},ug={borderRadius:kd(kd({},lg),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:lg,borderTopRightRadius:lg,borderBottomLeftRadius:lg,borderBottomRightRadius:lg,boxShadow:{process:function(e,t){var r=t.delta,n=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(ag,(function(e){return i.push(e),"_$css"})));var s=Yf.parse(e);if(s.length>5)return o;var l=Yf.createTransformer(e),u="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var f=dh(c,d,.5);"number"==typeof s[2+u]&&(s[2+u]/=f),"number"==typeof s[3+u]&&(s[3+u]/=f);var p=l(s);if(a){var h=0;p=p.replace("_$css",(function(){var e=i[h];return h++,e}))}return p}}},cg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,r,n){void 0===n&&(n={});var o=n.originBox,a=n.targetBox,i=n.visibilityAction,s=n.shouldStackAnimate,l=n.onComplete,u=n.prevParent,c=Ed(n,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,f=d.visualElement,p=d.layout;if(!1===s)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===s){s&&(t.isAnimatingTree=!0),r=o||r,e=a||e;var h=!1,m=f.getProjectionParent();if(m){var v=m.prevViewportBox,g=m.getLayoutState().layout;u&&(a&&(g=u.getLayoutState().layout),o&&!Tv(u,m)&&u.prevViewportBox&&(v=u.prevViewportBox)),v&&vg(u,o,a)&&(h=!0,r=Rv(v,r),e=Rv(g,e))}var b=dg(r,e),y=fv((function(n){var o,a;if("position"===p){var s=e[n].max-e[n].min;r[n].max=r[n].min+s}if(!f.projection.isTargetLocked)return void 0===i?b?t.animateAxis(n,e[n],r[n],kd(kd({},c),{isRelative:h})):(null===(a=(o=t.stopAxisAnimation)[n])||void 0===a||a.call(o),f.setProjectionTargetAxis(n,e[n].min,e[n].max,h)):void f.setVisibility(i===rg.Show)}));return f.syncRender(),Promise.all(y).then((function(){t.isAnimatingTree=!1,l&&l(),f.notifyLayoutAnimationComplete()}))}},t}return Sd(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=jm,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)af[t]=e[t]}(ug)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),fv((function(t){var r,n;return null===(n=(r=e.stopAxisAnimation)[t])||void 0===n?void 0:n.call(r)}))},t.prototype.animateAxis=function(e,t,r,n){var o,a,i=this,s=void 0===n?{}:n,l=s.transition,u=s.isRelative;if(!this.isAnimating[e]||!hg(t,this.currentAnimationTarget[e])){null===(a=(o=this.stopAxisAnimation)[e])||void 0===a||a.call(o),this.isAnimating[e]=!0;var c=this.props.visualElement,d=this.frameTarget[e],f=c.getProjectionAnimationProgress()[e];f.clearListeners(),f.set(0),f.set(0);var p=function(){var n=f.get()/1e3;!function(e,t,r,n){e.min=dh(t.min,r.min,n),e.max=dh(t.max,r.max,n)}(d,r,t,n),c.setProjectionTargetAxis(e,d.min,d.max,u)};p();var h=f.onChange(p);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,f.stop(),h()},this.currentAnimationTarget[e]=t;var m=l||c.getDefaultTransition()||mg;return jm("x"===e?"layoutX":"layoutY",f,1e3,m&&Pm(m,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(e.Component);function dg(e,t){return!(pg(e)||pg(t)||hg(e.x,t.x)&&hg(e.y,t.y))}var fg={min:0,max:0};function pg(e){return hg(e.x,fg)&&hg(e.y,fg)}function hg(e,t){return e.min===t.min&&e.max===t.max}var mg={duration:.45,ease:[.4,0,.1,1]};function vg(e,t,r){return e||!e&&!(t||r)}var gg={layoutReady:function(e){return e.notifyLayoutReady()}};function bg(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=void 0===t?gg:t,n=r.layoutReady,o=r.parent;Xv((function(t,r){var a=Array.from(e).sort(Cv),i=o?Av(o):[];r((function(){Cd(Cd([],Od(i)),Od(a)).forEach((function(e){return e.resetTransform()}))})),t((function(){a.forEach(Pv)})),r((function(){i.forEach((function(e){return e.restoreTransform()})),a.forEach(n)})),t((function(){a.forEach((function(e){e.isPresent&&(e.presence=tg.Present)}))})),r((function(){Wr.preRender(),Wr.render()})),t((function(){Nr.postRender((function(){return a.forEach(yg)})),e.clear()}))})),Gv()}}}function yg(e){e.prevViewportBox=e.projection.target}var xg=e.createContext(bg()),wg=e.createContext(bg());function Sg(e){return!!e.forceUpdate}var kg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Sd(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,r=e.framerSyncLayout,n=e.visualElement;Sg(t)&&t.register(n),Sg(r)&&r.register(n),n.onUnmount((function(){Sg(t)&&t.remove(n),Sg(r)&&r.remove(n)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,r=e.visualElement;return Sg(t)?t.syncUpdate():(!function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(r),t.add(r)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;Sg(e)||e.flush()},t.prototype.render=function(){return null},t}(i.default.Component);var Eg={measureLayout:function(t){var r=e.useContext(xg),n=e.useContext(wg);return i.default.createElement(kg,kd({},t,{syncLayout:r,framerSyncLayout:n}))},layoutAnimation:function(t){var r=Od(Id(),2)[1];return e.createElement(cg,kd({},t,{safeToRemove:r}))}};function Og(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:dv(),deltaFinal:dv(),deltaTransform:""}}var Cg=Og();function _g(e,t,r){var n=e.x,o=e.y,a="translate3d("+n.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(r){var i=r.rotate,s=r.rotateX,l=r.rotateY;i&&(a+="rotate("+i+") "),s&&(a+="rotateX("+s+") "),l&&(a+="rotateY("+l+") ")}return a+="scale("+n.scale+", "+o.scale+")",r||a!==Pg?a:""}function Ag(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var Pg=_g(Cg.delta,Cg.treeScale,{x:1,y:1}),jg=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Rg(e,t,r,n){var o,a,i=e.delta,s=e.layout,l=e.layoutCorrected,u=e.treeScale,c=t.target;a=s,Bv((o=l).x,a.x),Bv(o.y,a.y),function(e,t,r){var n=r.length;if(n){var o,a;t.x=t.y=1;for(var i=0;i<n;i++)a=(o=r[i]).getLayoutState().delta,t.x*=a.x.scale,t.y*=a.y.scale,Iv(e,a),zv(o)&&Hv(e,e,o.getLatestValues())}}(l,u,r),kv(i,l,c,n)}var Tg=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Tm(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){zm(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Cv),this.isDirty=!1,this.children.forEach(e)},e}();var zg=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.resetTransform,c=e.restoreTransform,d=e.removeValueFromRenderState,f=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,m=e.props,v=e.presenceId,g=e.blockInitialAnimation,b=e.visualState;void 0===t&&(t={});var y,x,w,S,k,E,O=b.latestValues,C=b.renderState,_=function(){var e=jg.map((function(){return new Bm})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return jg.forEach((function(n){var o;null===(o=t[n])||void 0===o||o.call(t);var a="on"+n,i=e[a];i&&(t[n]=r[a](i))}))}};return e.forEach((function(e,t){r["on"+jg[t]]=function(t){return e.add(t)},r["notify"+jg[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,Cd([],Od(t)))}})),r}(),A={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},P=A,j=O,R=Og(),T=!1,z=new Map,B=new Map,D={},F=kd({},O);function M(){y&&(q.isProjectionReady()&&(Hv(P.targetFinal,P.target,j),kv(R.deltaFinal,R.layoutCorrected,P.targetFinal,O)),I(),s(y,C))}function I(){var e=O;if(S&&S.isActive()){var r=S.getCrossfadeState(q);r&&(e=r)}n(q,C,e,P,R,t,m)}function N(){_.notifyUpdate(O)}function L(){q.layoutTree.forEach(Dg)}var W=p(m);for(var H in W){var V=W[H];void 0!==O[H]&&mf(V)&&V.set(O[H],!1)}var $=Zd(m),U=Qd(m),q=kd(kd({treeType:r,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,path:h?Cd(Cd([],Od(h.path)),[h]):[],layoutTree:h?h.layoutTree:new Tg,presenceId:v,projection:A,variantChildren:U?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==h?void 0:h.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(y)},mount:function(e){y=q.current=e,q.pointTo(q),U&&h&&!$&&(E=null==h?void 0:h.addVariantChild(q)),null==h||h.children.add(q)},unmount:function(){Lr.update(N),Lr.render(M),Lr.preRender(q.updateLayoutProjection),B.forEach((function(e){return e()})),q.stopLayoutAnimation(),q.layoutTree.remove(q),null==E||E(),null==h||h.children.delete(q),null==w||w(),_.clearAllListeners()},addVariantChild:function(e){var t,r=q.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&r===e.treeType?f(q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return U?q:null==h?void 0:h.getClosestVariantNode()},scheduleUpdateLayoutProjection:h?h.scheduleUpdateLayoutProjection:function(){return Nr.preRender(q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return m.layoutId},getInstance:function(){return y},getStaticValue:function(e){return O[e]},setStaticValue:function(e,t){return O[e]=t},getLatestValues:function(){return O},setVisibility:function(e){q.isVisible!==e&&(q.isVisible=e,q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(q,e,m,t)},addValue:function(e,t){q.hasValue(e)&&q.removeValue(e),z.set(e,t),O[e]=t.get(),function(e,t){var r=t.onChange((function(t){O[e]=t,m.onUpdate&&Nr.update(N,!1,!0)})),n=t.onRenderRequest(q.scheduleRender);B.set(e,(function(){r(),n()}))}(e,t)},removeValue:function(e){var t;z.delete(e),null===(t=B.get(e))||void 0===t||t(),B.delete(e),delete O[e],d(e,C)},hasValue:function(e){return z.has(e)},getValue:function(e,t){var r=z.get(e);return void 0===r&&void 0!==t&&(r=Fm(t),q.addValue(e,r)),r},forEachValue:function(e){return z.forEach(e)},readValue:function(e){var r;return null!==(r=O[e])&&void 0!==r?r:l(y,e,t)},setBaseTarget:function(e,t){F[e]=t},getBaseTarget:function(e){if(o){var t=o(m,e);if(void 0!==t&&!mf(t))return t}return F[e]}},_),{build:function(){return I(),C},scheduleRender:function(){Nr.render(M,!1,!0)},syncRender:M,setProps:function(e){m=e,_.updatePropListeners(e),D=function(e,t,r){var n;for(var o in t){var a=t[o],i=r[o];if(mf(a))e.addValue(o,a);else if(mf(i))e.addValue(o,Fm(a));else if(i!==a)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(a)}else e.addValue(o,Fm(null!==(n=e.getStaticValue(o))&&void 0!==n?n:a))}for(var o in r)void 0===t[o]&&e.removeValue(o);return t}(q,p(m),D)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==h?void 0:h.getVariantContext();if(!$){var t=(null==h?void 0:h.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var r={},n=0;n<Ig;n++){var o=Mg[n],a=m[o];(Xd(a)||!1===a)&&(r[o]=a)}return r},enableLayoutProjection:function(){A.isEnabled=!0,q.layoutTree.add(q)},lockProjectionTarget:function(){A.isTargetLocked=!0},unlockProjectionTarget:function(){q.stopLayoutAnimation(),A.isTargetLocked=!1},getLayoutState:function(){return R},setCrossfader:function(e){S=e},isProjectionReady:function(){return A.isEnabled&&A.isHydrated&&R.isHydrated},startLayoutAnimation:function(e,t,r){void 0===r&&(r=!1);var n=q.getProjectionAnimationProgress()[e],o=r?A.relativeTarget[e]:A.target[e],a=o.min,i=o.max-a;return n.clearListeners(),n.set(a),n.set(a),n.onChange((function(t){q.setProjectionTargetAxis(e,t,t+i,r)})),q.animateMotionValue(e,n,0,t)},stopLayoutAnimation:function(){fv((function(e){return q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var r=i(y,t);return e||Uv(r,O),r},getProjectionAnimationProgress:function(){return k||(k={x:Fm(0),y:Fm(0)}),k},setProjectionTargetAxis:function(e,t,r,n){var o;void 0===n&&(n=!1),n?(A.relativeTarget||(A.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=A.relativeTarget[e]):(A.relativeTarget=void 0,o=A.target[e]),A.isHydrated=!0,o.min=t,o.max=r,T=!0,_.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=R.layout);var r=q.getProjectionAnimationProgress(),n=r.x,o=r.y,a=!(A.relativeTarget||A.isTargetLocked||n.isAnimating()||o.isAnimating());(e||a)&&fv((function(e){var r=t[e],n=r.min,o=r.max;q.setProjectionTargetAxis(e,n,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var r=Rv(t.getLayoutState().layout,e.getLayoutState().layout);fv((function(t){e.setProjectionTargetAxis(t,r[t].min,r[t].max,!0)}))}else e.rebaseProjectionTarget()}(q),q.notifyLayoutUpdate(R.layout,q.prevViewportBox||R.layout,e)},resetTransform:function(){return u(q,y,m)},restoreTransform:function(){return c(y,C)},updateLayoutProjection:function(){if(q.isProjectionReady()){var e=R.delta,t=R.treeScale,r=t.x,n=t.y,o=R.deltaTransform;Rg(R,P,q.path,O),T&&q.notifyViewportBoxUpdate(P.target,e),T=!1;var a=_g(e,t);a===o&&r===t.x&&n===t.y||q.scheduleRender(),R.deltaTransform=a}},updateTreeLayoutProjection:function(){q.layoutTree.forEach(Bg),Nr.preRender(L,!1,!0)},getProjectionParent:function(){if(void 0===x){for(var e=!1,t=q.path.length-1;t>=0;t--){var r=q.path[t];if(r.projection.isEnabled){e=r;break}}x=e}return x},resolveRelativeTargetBox:function(){var e=q.getProjectionParent();if(A.relativeTarget&&e&&(function(e,t){Ov(e.target.x,e.relativeTarget.x,t.target.x),Ov(e.target.y,e.relativeTarget.y,t.target.y)}(A,e.projection),zv(e))){var t=A.target;Hv(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(m._layoutResetTransform)},pointTo:function(e){P=e.projection,j=e.getLatestValues(),null==w||w(),w=yh(e.onSetAxisTarget(q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;q.isPresent?q.presence=tg.Present:null===(e=q.layoutSafeToRemove)||void 0===e||e.call(q)})))},isPresent:!0,presence:tg.Entering});return q}};function Bg(e){e.resolveRelativeTargetBox()}function Dg(e){e.updateLayoutProjection()}var Fg,Mg=Cd(["initial"],Od(Xm)),Ig=Mg.length,Ng=new Set(["width","height","top","left","right","bottom","x","y"]),Lg=function(e){return Ng.has(e)},Wg=function(e,t){e.set(t,!1),e.set(t)},Hg=function(e){return e===Of||e===Rf};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Fg||(Fg={}));var Vg=function(e,t){return parseFloat(e.split(", ")[t])},$g=function(e,t){return function(r,n){var o=n.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return Vg(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?Vg(i[1],e):0}},Ug=new Set(["x","y","z"]),qg=lf.filter((function(e){return!Ug.has(e)}));var Yg={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:$g(4,13),y:$g(5,14)},Xg=function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=kd({},t),n=kd({},n);var o=Object.keys(t).filter(Lg),a=[],i=!1,s=[];if(o.forEach((function(o){var l=e.getValue(o);if(e.hasValue(o)){var u,c=r[o],d=t[o],f=Nm(c);if(Op(d))for(var p=d.length,h=null===d[0]?1:0;h<p;h++)u?jd(Nm(d[h])===u,"All keyframes must be of the same type"):(u=Nm(d[h]),jd(u===f||Hg(f)&&Hg(u),"Keyframes must be of the same dimension as the current value"));else u=Nm(d);if(f!==u)if(Hg(f)&&Hg(u)){var m=l.get();"string"==typeof m&&l.set(parseFloat(m)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&u===Rf&&(t[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==u?void 0:u.transform)&&(0===c||0===d)?0===c?l.set(u.transform(c)):t[o]=f.transform(d):(i||(a=function(e){var t=[];return qg.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),s.push(o),n[o]=void 0!==n[o]?n[o]:t[o],Wg(l,d))}})),s.length){var l=function(e,t,r){var n=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,s={top:a.top,left:a.left,bottom:a.bottom,right:a.right,transform:a.transform};"none"===i&&t.setStaticValue("display",e.display||"block"),t.syncRender();var l=t.measureViewportBox();return r.forEach((function(r){var o=t.getValue(r);Wg(o,Yg[r](n,s)),e[r]=Yg[r](l,a)})),e}(t,e,s);return a.length&&a.forEach((function(t){var r=Od(t,2),n=r[0],o=r[1];e.getValue(n).set(o)})),e.syncRender(),{target:l,transitionEnd:n}}return{target:t,transitionEnd:n}};function Gg(e,t,r,n){return function(e){return Object.keys(e).some(Lg)}(t)?Xg(e,t,r,n):{target:t,transitionEnd:n}}var Kg=function(e,t,r,n){var o=function(e,t,r){var n,o=Ed(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:r};for(var i in r&&(r=kd({},r)),e.forEachValue((function(e){var t=e.get();if(og(t)){var r=ig(t,a);r&&e.set(r)}})),o){var s=o[i];if(og(s)){var l=ig(s,a);l&&(o[i]=l,r&&(null!==(n=r[i])&&void 0!==n||(r[i]=s)))}}return{target:o,transitionEnd:r}}(e,t,n);return Gg(e,t=o.target,r,n=o.transitionEnd)};var Zg={treeType:"dom",readValueFromInstance:function(e,t){if(df(t)){var r=wm(t);return r&&r.default||0}var n,o=(n=e,window.getComputedStyle(n));return(gf(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return bv(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var o=r.transformValues;void 0===n&&(n=!0);var a=t.transition,i=t.transitionEnd,s=Ed(t,["transition","transitionEnd"]),l=function(e,t,r){var n,o,a={};for(var i in e)a[i]=null!==(n=Vm(i,t))&&void 0!==n?n:null===(o=r.getValue(i))||void 0===o?void 0:o.get();return a}(s,a||{},e);if(o&&(i&&(i=o(i)),s&&(s=o(s)),l&&(l=o(l))),n){!function(e,t,r){var n,o,a,i,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var u=0;u<l;u++){var c=s[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(n=r[c])&&void 0!==n?n:e.readValue(c))&&void 0!==o?o:t[c]),null!=f&&("string"==typeof f&&Rm(f)?f=parseFloat(f):!Wm(f)&&Yf.test(d)&&(f=Sm(c,d)),e.addValue(c,Fm(f)),null!==(a=(i=r)[c])&&void 0!==a||(i[c]=f),e.setBaseTarget(c,f))}}(e,s,l);var u=Kg(e,s,l,i);i=u.transitionEnd,s=u.target}return kd({transition:a,transitionEnd:i},s)},scrapeMotionValuesFromProps:Sp,build:function(e,t,r,n,o,a,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=n.isEnabled&&o.isHydrated;ep(t,r,n,o,a,i.transformTemplate,s?_g:void 0,s?Ag:void 0)},render:yp},Qg=zg(Zg),Jg=zg(kd(kd({},Zg),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return df(t)?(null===(r=wm(t))||void 0===r?void 0:r.default)||0:(t=xp.has(t)?t:bp(t),e.getAttribute(t))},scrapeMotionValuesFromProps:kp,build:function(e,t,r,n,o,a,i){var s=n.isEnabled&&o.isHydrated;pp(t,r,n,o,a,i.transformTemplate,s?_g:void 0,s?Ag:void 0)},render:wp})),eb=function(e,t){return of(e)?Jg(t,{enableHardwareAcceleration:!1}):Qg(t,{enableHardwareAcceleration:!0})},tb=kd(kd(kd(kd({},ev),um),ng),Eg),rb=rf((function(e,t){return function(e,t,r,n){var o=t.forwardMotionProps,a=void 0!==o&&o,i=of(e)?Rp:zp;return kd(kd({},i),{preloadedFeatures:r,useRender:vp(a),createVisualElement:n,Component:e})}(e,t,tb,eb)}));var nb=0;function ob(){var e=nb;return nb++,e}var ab=function(t){var r=t.children,n=t.initial,o=t.isPresent,a=t.onExitComplete,i=t.custom,s=t.presenceAffectsLayout,l=Md(ib),u=Md(ob),c=e.useMemo((function(){return{id:u,initial:n,isPresent:o,custom:i,onExitComplete:function(e){l.set(e,!0);var t=!0;l.forEach((function(e){e||(t=!1)})),t&&(null==a||a())},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),s?void 0:[o]);return e.useMemo((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[o]),e.useEffect((function(){!o&&!l.size&&(null==a||a())}),[o]),e.createElement(Fd.Provider,{value:c},r)};function ib(){return new Map}function sb(e){return e.key||""}var lb=function(t){var r=t.children,n=t.custom,o=t.initial,a=void 0===o||o,i=t.onExitComplete,s=t.exitBeforeEnter,l=t.presenceAffectsLayout,u=void 0===l||l,c=function(){var t=e.useRef(!1),r=Od(e.useState(0),2),n=r[0],o=r[1];return th((function(){return t.current=!0})),e.useCallback((function(){!t.current&&o(n+1)}),[n])}(),d=e.useContext(xg);Sg(d)&&(c=d.forceUpdate);var f=e.useRef(!0),p=function(t){var r=[];return e.Children.forEach(t,(function(t){e.isValidElement(t)&&r.push(t)})),r}(r),h=e.useRef(p),m=e.useRef(new Map).current,v=e.useRef(new Set).current;if(function(e,t){var r="production"!==process.env.NODE_ENV?new Set:null;e.forEach((function(e){var n=sb(e);"production"!==process.env.NODE_ENV&&r&&(r.has(n)&&console.warn('Children of AnimatePresence require unique keys. "'+n+'" is a duplicate.'),r.add(n)),t.set(n,e)}))}(p,m),f.current)return f.current=!1,e.createElement(e.Fragment,null,p.map((function(t){return e.createElement(ab,{key:sb(t),isPresent:!0,initial:!!a&&void 0,presenceAffectsLayout:u},t)})));for(var g=Cd([],Od(p)),b=h.current.map(sb),y=p.map(sb),x=b.length,w=0;w<x;w++){var S=b[w];-1===y.indexOf(S)?v.add(S):v.delete(S)}return s&&v.size&&(g=[]),v.forEach((function(t){if(-1===y.indexOf(t)){var r=m.get(t);if(r){var o=b.indexOf(t);g.splice(o,0,e.createElement(ab,{key:sb(r),isPresent:!1,onExitComplete:function(){m.delete(t),v.delete(t);var e=h.current.findIndex((function(e){return e.key===t}));h.current.splice(e,1),v.size||(h.current=p,c(),i&&i())},custom:n,presenceAffectsLayout:u},r))}}})),g=g.map((function(t){var r=t.key;return v.has(r)?t:e.createElement(ab,{key:sb(t),isPresent:!0,presenceAffectsLayout:u},t)})),h.current=g,"production"!==process.env.NODE_ENV&&s&&g.length>1&&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."),e.createElement(e.Fragment,null,v.size?g:g.map((function(t){return e.cloneElement(t)})))};function ub(){return ub=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ub.apply(this,arguments)}var cb={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},db={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},fb={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},pb={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},hb={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function mb(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return fb;case"left":return db;case"bottom":return hb;case"top":return pb}}var vb={enter:{duration:.2,ease:cb.easeOut},exit:{duration:.1,ease:cb.easeIn}},gb=(e,t)=>ub({},e,{delay:Ft(t)?t:null==t?void 0:t.enter}),bb=(e,t)=>ub({},e,{delay:Ft(t)?t:null==t?void 0:t.exit});function yb(){return yb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yb.apply(this,arguments)}var xb={exit:{height:{duration:.2,ease:cb.ease},opacity:{duration:.3,ease:cb.ease}},enter:{height:{duration:.3,ease:cb.ease},opacity:{duration:.4,ease:cb.ease}}},wb={exit:e=>{var t,r,{animateOpacity:n,startingHeight:o,transition:a,transitionEnd:i,delay:s}=e;return yb({},n&&{opacity:(r=o,null!=r&&parseInt(r.toString(),10)>0?1:0)},{overflow:"hidden",height:o,transitionEnd:null==i?void 0:i.exit,transition:null!=(t=null==a?void 0:a.exit)?t:bb(xb.exit,s)})},enter:e=>{var t,{animateOpacity:r,endingHeight:n,transition:o,transitionEnd:a,delay:i}=e;return yb({},r&&{opacity:1},{height:n,transitionEnd:null==a?void 0:a.enter,transition:null!=(t=null==o?void 0:o.enter)?t:gb(xb.enter,i)})}},Sb=e.forwardRef(((t,r)=>{var{in:n,unmountOnExit:o,animateOpacity:a=!0,startingHeight:i=0,endingHeight:s="auto",style:l,className:u,transition:c,transitionEnd:d}=t,f=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["in","unmountOnExit","animateOpacity","startingHeight","endingHeight","style","className","transition","transitionEnd"]),[p,h]=e.useState(!1);e.useEffect((()=>{var e=setTimeout((()=>{h(!0)}));return()=>clearTimeout(e)}),[]),Cr({condition:Boolean(i>0&&o),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});var m=parseFloat(i.toString())>0,v={startingHeight:i,endingHeight:s,animateOpacity:a,transition:p?c:{enter:{duration:0}},transitionEnd:Ut(d,{enter:{overflow:"initial"},exit:o?void 0:{display:m?"block":"none"}})},g=!o||n,b=n||o?"enter":"exit";return e.createElement(lb,{initial:!1,custom:v},g&&e.createElement(rb.div,yb({ref:r},f,{className:fr("chakra-collapse",u),style:yb({overflow:"hidden",display:"block"},l),custom:v,variants:wb,initial:!!o&&"exit",animate:b,exit:"exit"})))}));function kb(){return kb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kb.apply(this,arguments)}Vt&&(Sb.displayName="Collapse");var Eb={enter:function(e){var t,{transition:r,transitionEnd:n,delay:o}=void 0===e?{}:e;return{opacity:1,transition:null!=(t=null==r?void 0:r.enter)?t:gb(vb.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:function(e){var t,{transition:r,transitionEnd:n,delay:o}=void 0===e?{}:e;return{opacity:0,transition:null!=(t=null==r?void 0:r.exit)?t:bb(vb.exit,o),transitionEnd:null==n?void 0:n.exit}}},Ob={initial:"exit",animate:"enter",exit:"exit",variants:Eb},Cb=e.forwardRef(((t,r)=>{var{unmountOnExit:n,in:o,className:a,transition:i,transitionEnd:s,delay:l}=t,u=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["unmountOnExit","in","className","transition","transitionEnd","delay"]),c=o||n?"enter":"exit",d=!n||o&&n,f={transition:i,transitionEnd:s,delay:l};return e.createElement(lb,{custom:f},d&&e.createElement(rb.div,kb({ref:r,className:fr("chakra-fade",a),custom:f},Ob,{animate:c},u)))}));function _b(){return _b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_b.apply(this,arguments)}Vt&&(Cb.displayName="Fade");var Ab={exit:e=>{var t,{reverse:r,initialScale:n,transition:o,transitionEnd:a,delay:i}=e;return _b({opacity:0},r?{scale:n,transitionEnd:null==a?void 0:a.exit}:{transitionEnd:_b({scale:n},null==a?void 0:a.exit)},{transition:null!=(t=null==o?void 0:o.exit)?t:bb(vb.exit,i)})},enter:e=>{var t,{transitionEnd:r,transition:n,delay:o}=e;return{opacity:1,scale:1,transition:null!=(t=null==n?void 0:n.enter)?t:gb(vb.enter,o),transitionEnd:null==r?void 0:r.enter}}},Pb={initial:"exit",animate:"enter",exit:"exit",variants:Ab},jb=e.forwardRef(((t,r)=>{var{unmountOnExit:n,in:o,reverse:a=!0,initialScale:i=.95,className:s,transition:l,transitionEnd:u,delay:c}=t,d=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay"]),f=!n||o&&n,p=o||n?"enter":"exit",h={initialScale:i,reverse:a,transition:l,transitionEnd:u,delay:c};return e.createElement(lb,{custom:h},f&&e.createElement(rb.div,_b({ref:r,className:fr("chakra-offset-slide",s)},Pb,{animate:p,custom:h},d)))}));function Rb(){return Rb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rb.apply(this,arguments)}Vt&&(jb.displayName="ScaleFade");var Tb={exit:{duration:.15,ease:cb.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},zb={exit:e=>{var t,{direction:r,transition:n,transitionEnd:o,delay:a}=e,{exit:i}=mb({direction:r});return Rb({},i,{transition:null!=(t=null==n?void 0:n.exit)?t:bb(Tb.exit,a),transitionEnd:null==o?void 0:o.exit})},enter:e=>{var t,{direction:r,transitionEnd:n,transition:o,delay:a}=e,{enter:i}=mb({direction:r});return Rb({},i,{transition:null!=(t=null==o?void 0:o.enter)?t:gb(Tb.enter,a),transitionEnd:null==n?void 0:n.enter})}},Bb=e.forwardRef(((t,r)=>{var{direction:n="right",style:o,unmountOnExit:a,in:i,className:s,transition:l,transitionEnd:u,delay:c}=t,d=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"]),f=mb({direction:n}),p=Object.assign({position:"fixed"},f.position,o),h=!a||i&&a,m=i||a?"enter":"exit",v={transitionEnd:u,transition:l,direction:n,delay:c};return e.createElement(lb,{custom:v},h&&e.createElement(rb.div,Rb({ref:r,initial:"exit",className:fr("chakra-slide",s),animate:m,exit:"exit",custom:v,variants:zb,style:p},d)))}));function Db(){return Db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Db.apply(this,arguments)}Vt&&(Bb.displayName="Slide");var Fb={initial:e=>{var t,{offsetX:r,offsetY:n,transition:o,transitionEnd:a,delay:i}=e;return{opacity:0,x:r,y:n,transition:null!=(t=null==o?void 0:o.exit)?t:bb(vb.exit,i),transitionEnd:null==a?void 0:a.exit}},enter:e=>{var t,{transition:r,transitionEnd:n,delay:o}=e;return{opacity:1,x:0,y:0,transition:null!=(t=null==r?void 0:r.enter)?t:gb(vb.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:e=>{var t,{offsetY:r,offsetX:n,transition:o,transitionEnd:a,reverse:i,delay:s}=e,l={x:n,y:r};return Db({opacity:0,transition:null!=(t=null==o?void 0:o.exit)?t:bb(vb.exit,s)},i?Db({},l,{transitionEnd:null==a?void 0:a.exit}):{transitionEnd:Db({},l,null==a?void 0:a.exit)})}},Mb={initial:"initial",animate:"enter",exit:"exit",variants:Fb},Ib=e.forwardRef(((t,r)=>{var{unmountOnExit:n,in:o,reverse:a=!0,className:i,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:c,delay:d}=t,f=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay"]),p=!n||o&&n,h=o||n?"enter":"exit",m={offsetX:s,offsetY:l,reverse:a,transition:u,transitionEnd:c,delay:d};return e.createElement(lb,{custom:m},p&&e.createElement(rb.div,Db({ref:r,className:fr("chakra-offset-slide",i),custom:m},Mb,{animate:h},f)))}));function Nb(e){return e.sort(((e,t)=>{var r=e.compareDocumentPosition(t);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0}))}Vt&&(Ib.displayName="SlideFade");function Lb(e,t,r){var n=e+1;return r&&n>=t&&(n=0),n}function Wb(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var Hb="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function Vb(){return Vb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vb.apply(this,arguments)}function $b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Ub{constructor(){var e=this;$b(this,"descendants",new Map),$b(this,"register",(e=>{var t;if(null!=e)return"object"==typeof(t=e)&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?this.registerNode(e):t=>{this.registerNode(t,e)}})),$b(this,"unregister",(e=>{this.descendants.delete(e);var t=Nb(Array.from(this.descendants.keys()));this.assignIndex(t)})),$b(this,"destroy",(()=>{this.descendants.clear()})),$b(this,"assignIndex",(e=>{this.descendants.forEach((t=>{var r=e.indexOf(t.node);t.index=r,t.node.dataset.index=t.index.toString()}))})),$b(this,"count",(()=>this.descendants.size)),$b(this,"enabledCount",(()=>this.enabledValues().length)),$b(this,"values",(()=>Array.from(this.descendants.values()).sort(((e,t)=>e.index-t.index)))),$b(this,"enabledValues",(()=>this.values().filter((e=>!e.disabled)))),$b(this,"item",(e=>{if(0!==this.count())return this.values()[e]})),$b(this,"enabledItem",(e=>{if(0!==this.enabledCount())return this.enabledValues()[e]})),$b(this,"first",(()=>this.item(0))),$b(this,"firstEnabled",(()=>this.enabledItem(0))),$b(this,"last",(()=>this.item(this.descendants.size-1))),$b(this,"lastEnabled",(()=>{var e=this.enabledValues().length-1;return this.enabledItem(e)})),$b(this,"indexOf",(e=>{var t,r;return e&&null!=(t=null==(r=this.descendants.get(e))?void 0:r.index)?t:-1})),$b(this,"enabledIndexOf",(e=>null==e?-1:this.enabledValues().findIndex((t=>t.node.isSameNode(e))))),$b(this,"next",(function(t,r){void 0===r&&(r=!0);var n=Lb(t,e.count(),r);return e.item(n)})),$b(this,"nextEnabled",(function(t,r){void 0===r&&(r=!0);var n=e.item(t);if(n){var o=Lb(e.enabledIndexOf(n.node),e.enabledCount(),r);return e.enabledItem(o)}})),$b(this,"prev",(function(t,r){void 0===r&&(r=!0);var n=Wb(t,e.count()-1,r);return e.item(n)})),$b(this,"prevEnabled",(function(t,r){void 0===r&&(r=!0);var n=e.item(t);if(n){var o=Wb(e.enabledIndexOf(n.node),e.enabledCount()-1,r);return e.enabledItem(o)}})),$b(this,"registerNode",((e,t)=>{if(e&&!this.descendants.has(e)){var r=Nb(Array.from(this.descendants.keys()).concat(e));null!=t&&t.disabled&&(t.disabled=!!t.disabled);var n=Vb({node:e,index:-1},t);this.descendants.set(e,n),this.assignIndex(r)}}))}}var[qb,Yb]=an({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function Xb(){return[qb,()=>Yb(),()=>function(){var[t]=e.useState((()=>new Ub));return Hb((()=>()=>t.destroy())),t}(),t=>function(t){var r=Yb(),[n,o]=e.useState(-1),a=e.useRef(null);Hb((()=>()=>{a.current&&r.unregister(a.current)}),[]),Hb((()=>{if(a.current){var e=Number(a.current.dataset.index);n==e||Number.isNaN(e)||o(e)}}));var i=t?r.register(t):r.register;return{descendants:r,index:n,enabledIndex:r.enabledIndexOf(a.current),register:on(i,a)}}(t)]}function Gb(){return Gb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gb.apply(this,arguments)}function Kb(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var[Zb,Qb,Jb,ey]=Xb();function ty(t){var{onChange:r,defaultIndex:n,index:o,allowMultiple:a,allowToggle:i}=t,s=Kb(t,["onChange","defaultIndex","index","allowMultiple","allowToggle"]);!function(e){var t=e.index||e.defaultIndex,r=!Nt(t)&&!Mt(t)&&e.allowMultiple;Cr({condition:!!r,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: "+typeof t+","})}(t),function(e){Cr({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"})}(t);var l=Jb(),[u,c]=e.useState(-1);Rn((()=>{c(-1)}));var[d,f]=gn({value:o,defaultValue:()=>a?null!=n?n:[]:null!=n?n:-1,onChange:r});return{index:d,setIndex:f,htmlProps:s,getAccordionItemProps:e=>{var t=!1;null!==e&&(t=Mt(d)?d.includes(e):d===e);return{isOpen:t,onChange:t=>{if(null!==e)if(a&&Mt(d)){var r=t?function(e,t){return[...e,t]}(d,e):function(e,t){return e.filter((e=>e!==t))}(d,e);f(r)}else t?f(e):i&&f(-1)}}},focusedIndex:u,setFocusedIndex:c,descendants:l}}var[ry,ny]=an({name:"AccordionContext",errorMessage:"useAccordionContext: `context` is undefined. Seems you forgot to wrap the accordion components in `<Accordion />`"});function oy(t){var{isDisabled:r,isFocusable:n,id:o}=t,a=Kb(t,["isDisabled","isFocusable","id"]),{getAccordionItemProps:i,setFocusedIndex:s}=ny(),l=e.useRef(null),[u,c]=Sn(o,"accordion-button","accordion-panel");!function(e){Cr({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 "})}(t);var{register:d,index:f,descendants:p}=ey({disabled:r&&!n}),{isOpen:h,onChange:m}=i(-1===f?null:f);!function(e){Cr({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:h,isDisabled:r});var v=e.useCallback((()=>{null==m||m(!h),s(f)}),[f,s,h,m]),g=e.useCallback((e=>{var t={ArrowDown:()=>{var e=p.nextEnabled(f);e&&Ar(e.node)},ArrowUp:()=>{var e=p.prevEnabled(f);e&&Ar(e.node)},Home:()=>{var e=p.firstEnabled();e&&Ar(e.node)},End:()=>{var e=p.lastEnabled();e&&Ar(e.node)}},r=t[mr(e)];r&&(e.preventDefault(),r(e))}),[p,f]),b=e.useCallback((()=>{s(f)}),[s,f]),y=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),Gb({},e,{type:"button",ref:on(d,l,t),id:u,disabled:!!r,"aria-expanded":!!h,"aria-controls":c,onClick:Er(e.onClick,v),onFocus:Er(e.onFocus,b),onKeyDown:Er(e.onKeyDown,g)})}),[u,r,h,v,b,g,c,d]),x=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),Gb({},e,{ref:t,role:"region",id:c,"aria-labelledby":u,hidden:!h})}),[u,h,c]);return{isOpen:h,isDisabled:r,isFocusable:n,onOpen:()=>{null==m||m(!0)},onClose:()=>{null==m||m(!1)},getButtonProps:y,getPanelProps:x,htmlProps:a}}function ay(){return ay=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ay.apply(this,arguments)}function iy(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var sy=vi(((t,r)=>{var{children:n,reduceMotion:o}=t,a=iy(t,["children","reduceMotion"]),i=bi("Accordion",a),s=ty(Ja(a)),{htmlProps:l,descendants:u}=s,c=iy(s,["htmlProps","descendants"]),d=e.useMemo((()=>ay({},c,{reduceMotion:!!o})),[c,o]);return e.createElement(Zb,{value:u},e.createElement(ry,{value:d},e.createElement(Ka,{value:i},e.createElement(mi.div,ay({ref:r},l,{className:fr("chakra-accordion",a.className)}),n))))}));Vt&&(sy.displayName="Accordion");var[ly,uy]=an({name:"AccordionItemContext",errorMessage:"useAccordionItemContext: `context` is undefined. Seems you forgot to wrap the accordion item parts in `<AccordionItem />` "}),cy=vi(((t,r)=>{var{children:n,className:o}=t,a=oy(t),{htmlProps:i}=a,s=iy(a,["htmlProps"]),l=ay({},Za().container,{overflowAnchor:"none"}),u=e.useMemo((()=>s),[s]);return e.createElement(ly,{value:u},e.createElement(mi.div,ay({ref:r},i,{className:fr("chakra-accordion__item",o),__css:l}),kr(n,{isExpanded:!!s.isOpen,isDisabled:!!s.isDisabled})))}));Vt&&(cy.displayName="AccordionItem");var dy=vi(((t,r)=>{var{getButtonProps:n}=uy(),o=n(t,r),a=ay({display:"flex",alignItems:"center",width:"100%",outline:0},Za().button);return e.createElement(mi.button,ay({},o,{className:fr("chakra-accordion__button",t.className),__css:a}))}));Vt&&(dy.displayName="AccordionButton");var fy=vi(((t,r)=>{var{reduceMotion:n}=ny(),{getPanelProps:o,isOpen:a}=uy(),i=o(t,r),s=fr("chakra-accordion__panel",t.className),l=Za();n||delete i.hidden;var u=e.createElement(mi.div,ay({},i,{__css:l.panel,className:s}));return n?u:e.createElement(Sb,{in:a},u)}));Vt&&(fy.displayName="AccordionPanel");var py=t=>{var{isOpen:r,isDisabled:n}=uy(),{reduceMotion:o}=ny(),a=fr("chakra-accordion__icon",t.className),i=ay({opacity:n?.4:1,transform:r?"rotate(-180deg)":void 0,transition:o?void 0:"transform 0.2s",transformOrigin:"center"},Za().icon);return e.createElement(yd,ay({viewBox:"0 0 24 24","aria-hidden":!0,className:a,__css:i},t),e.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))};function hy(){return hy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hy.apply(this,arguments)}function my(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(py.displayName="AccordionIcon");var vy=e.forwardRef(((t,r)=>{var{htmlWidth:n,htmlHeight:o,alt:a}=t,i=my(t,["htmlWidth","htmlHeight","alt"]);return e.createElement("img",hy({width:n,height:o,ref:r,alt:a},i))})),gy=vi(((t,r)=>{var{fallbackSrc:n,fallback:o,src:a,srcSet:i,align:s,fit:l,loading:u,ignoreFallback:c,crossOrigin:d}=t,f=my(t,["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"]),p=null!=u||c||void 0===n&&void 0===o,h=function(t){var{loading:r,src:n,srcSet:o,onLoad:a,onError:i,crossOrigin:s,sizes:l,ignoreFallback:u}=t,[c,d]=e.useState("pending");e.useEffect((()=>{d(n?"loading":"pending")}),[n]);var f=e.useRef(),p=e.useCallback((()=>{if(n){h();var e=new Image;e.src=n,s&&(e.crossOrigin=s),o&&(e.srcset=o),l&&(e.sizes=l),r&&(e.loading=r),e.onload=e=>{h(),d("loaded"),null==a||a(e)},e.onerror=e=>{h(),d("failed"),null==i||i(e)},f.current=e}}),[n,s,o,l,a,i,r]),h=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return fn((()=>{if(!u)return"loading"===c&&p(),()=>{h()}}),[c,p,u]),u?"loaded":c}(hy({},t,{ignoreFallback:p})),m=hy({ref:r,objectFit:l,objectPosition:s},p?f:qt(f,["onError","onLoad"]));return"loaded"!==h?o||e.createElement(mi.img,hy({as:vy,className:"chakra-image__placeholder",src:n},m)):e.createElement(mi.img,hy({as:vy,src:a,srcSet:i,crossOrigin:d,loading:u,className:"chakra-image"},m))})),by=vi(((t,r)=>e.createElement(mi.img,hy({ref:r,as:vy,className:"chakra-image"},t))));function yy(){return yy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yy.apply(this,arguments)}Vt&&(gy.displayName="Image");var[xy,wy]=an({strict:!1,name:"ButtonGroupContext"}),Sy=vi(((t,r)=>{var{size:n,colorScheme:o,variant:a,className:i,spacing:s="0.5rem",isAttached:l,isDisabled:u}=t,c=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["size","colorScheme","variant","className","spacing","isAttached","isDisabled"]),d=fr("chakra-button__group",i),f=e.useMemo((()=>({size:n,colorScheme:o,variant:a,isDisabled:u})),[n,o,a,u]),p={display:"inline-flex"};return p=yy({},p,l?{"> *: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:s}}),e.createElement(xy,{value:f},e.createElement(mi.div,yy({ref:r,role:"group",__css:p,className:d},c)))}));Vt&&(Sy.displayName="ButtonGroup");var ky={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Ey=mi("span",{baseStyle:ky});Vt&&(Ey.displayName="VisuallyHidden");var Oy=mi("input",{baseStyle:ky});function Cy(){return Cy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cy.apply(this,arguments)}Vt&&(Oy.displayName="VisuallyHiddenInput");var _y=Ct({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ay=vi(((t,r)=>{var n=gi("Spinner",t),o=Ja(t),{label:a="Loading...",thickness:i="2px",speed:s="0.45s",emptyColor:l="transparent",className:u}=o,c=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,["label","thickness","speed","emptyColor","className"]),d=fr("chakra-spinner",u),f=Cy({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:l,borderLeftColor:l,animation:_y+" "+s+" linear infinite"},n);return e.createElement(mi.div,Cy({ref:r,__css:f,className:d},c),a&&e.createElement(Ey,null,a))}));function Py(){return Py=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Py.apply(this,arguments)}Vt&&(Ay.displayName="Spinner");var jy=t=>{var{label:r,placement:n,children:o=e.createElement(Ay,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:i}=t,s=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["label","placement","spacing","children","className","__css"]),l=fr("chakra-button__spinner",a),u="start"===n?"marginEnd":"marginStart",c=e.useMemo((()=>Py({display:"flex",alignItems:"center",position:r?"relative":"absolute",[u]:r?"0.5rem":0,fontSize:"1em",lineHeight:"normal"},i)),[i,r,u]);return e.createElement(mi.div,Py({className:l},s,{__css:c}),o)};function Ry(){return Ry=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ry.apply(this,arguments)}Vt&&(jy.displayName="ButtonSpinner");var Ty=t=>{var{children:r,className:n}=t,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["children","className"]),a=e.isValidElement(r)?e.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,i=fr("chakra-button__icon",n);return e.createElement(mi.span,Ry({display:"inline-flex",alignSelf:"center",flexShrink:0},o,{className:i}),a)};function zy(){return zy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zy.apply(this,arguments)}Vt&&(Ty.displayName="ButtonIcon");var By=vi(((t,r)=>{var n=wy(),o=gi("Button",zy({},n,t)),a=Ja(t),{isDisabled:i=(null==n?void 0:n.isDisabled),isLoading:s,isActive:l,isFullWidth:u,children:c,leftIcon:d,rightIcon:f,loadingText:p,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:g="start",className:b,as:y}=a,x=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(a,["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"]),w=e.useMemo((()=>{var e,t=Ut({},null!=(e=null==o?void 0:o._focus)?e:{},{zIndex:1});return zy({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},o,!!n&&{_focus:t})}),[o,n,u]),{ref:S,type:k}=function(t){var[r,n]=e.useState(!t),o=e.useCallback((e=>{e&&n("BUTTON"===e.tagName)}),[]);return{ref:o,type:r?"button":void 0}}(y),E={rightIcon:f,leftIcon:d,iconSpacing:h,children:c};return e.createElement(mi.button,zy({disabled:i||s,ref:Bn(r,S),as:y,type:null!=m?m:k,"data-active":cr(l),"data-loading":cr(s),__css:w,className:fr("chakra-button",b)},x),s&&"start"===g&&e.createElement(jy,{className:"chakra-button__spinner--start",label:p,placement:"start"},v),s?p||e.createElement(mi.span,{opacity:0},e.createElement(Dy,E)):e.createElement(Dy,E),s&&"end"===g&&e.createElement(jy,{className:"chakra-button__spinner--end",label:p,placement:"end"},v))}));function Dy(t){var{leftIcon:r,rightIcon:n,children:o,iconSpacing:a}=t;return e.createElement(e.Fragment,null,r&&e.createElement(Ty,{marginEnd:a},r),o,n&&e.createElement(Ty,{marginStart:a},n))}Vt&&(By.displayName="Button");var[Fy,My]=an({name:"CheckboxGroupContext",strict:!1});function Iy(){return Iy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Iy.apply(this,arguments)}var Ny="custom"in rb?rb.custom(mi.svg):rb(mi.svg),Ly=t=>e.createElement(Ny,Iy({width:"1.2em",viewBox:"0 0 12 10",variants:{unchecked:{opacity:0,strokeDashoffset:16},checked:{opacity:1,strokeDashoffset:0,transition:{duration:.2}}},style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16}},t),e.createElement("polyline",{points:"1.5 6 4.5 9 10.5 1"})),Wy=t=>e.createElement(Ny,Iy({width:"1.2em",viewBox:"0 0 24 24",variants:{unchecked:{scaleX:.65,opacity:0},checked:{scaleX:1,opacity:1,transition:{scaleX:{duration:0},opacity:{duration:.02}}}},style:{stroke:"currentColor",strokeWidth:4}},t),e.createElement("line",{x1:"21",x2:"3",y1:"12",y2:"12"})),Hy=t=>{var{open:r,children:n}=t;return e.createElement(lb,{initial:!1},r&&e.createElement(rb.div,{variants:{unchecked:{scale:.5},checked:{scale:1}},initial:"unchecked",animate:"checked",exit:"unchecked",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},n))},Vy=t=>{var{isIndeterminate:r,isChecked:n}=t,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["isIndeterminate","isChecked"]),a=r?Wy:Ly;return e.createElement(Hy,{open:n||r},e.createElement(a,o))};function $y(){return $y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$y.apply(this,arguments)}function Uy(t){void 0===t&&(t={});var{defaultIsChecked:r,defaultChecked:n=r,isChecked:o,isFocusable:a,isDisabled:i,isReadOnly:s,isRequired:l,onChange:u,isIndeterminate:c,isInvalid:d,name:f,value:p,id:h,onBlur:m,onFocus:v,tabIndex:g,"aria-label":b,"aria-labelledby":y,"aria-invalid":x,"aria-describedby":w}=t,S=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["defaultIsChecked","defaultChecked","isChecked","isFocusable","isDisabled","isReadOnly","isRequired","onChange","isIndeterminate","isInvalid","name","value","id","onBlur","onFocus","tabIndex","aria-label","aria-labelledby","aria-invalid","aria-describedby"]),k=pn(u),E=pn(m),O=pn(v),[C,_]=dn(),[A,P]=dn(),[j,R]=dn(),T=e.useRef(null),[z,B]=e.useState(!0),[D,F]=e.useState(!!n),[M,I]=vn(o,D);Cr({condition:!!r,message:'The "defaultIsChecked" prop has been deprecated and will be removed in a future version. Please use the "defaultChecked" prop instead, which mirrors default React checkbox behavior.'});var N=e.useCallback((e=>{s||i?e.preventDefault():(M||F(I?e.target.checked:!!c||e.target.checked),null==k||k(e))}),[s,i,I,M,c,k]);fn((()=>{T.current&&(T.current.indeterminate=Boolean(c))}),[c]);var L=i&&!a,W=e.useCallback((e=>{" "===e.key&&R.on()}),[R]),H=e.useCallback((e=>{" "===e.key&&R.off()}),[R]);fn((()=>{T.current&&(T.current.checked!==I&&F(T.current.checked))}),[T.current]);var V=e.useCallback((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);return $y({},e,{ref:t,"data-active":cr(j),"data-hover":cr(A),"data-checked":cr(I),"data-focus":cr(C),"data-indeterminate":cr(c),"data-disabled":cr(i),"data-invalid":cr(d),"data-readonly":cr(s),"aria-hidden":!0,onMouseDown:Er(e.onMouseDown,(e=>{e.preventDefault(),R.on()})),onMouseUp:Er(e.onMouseUp,R.off),onMouseEnter:Er(e.onMouseEnter,P.on),onMouseLeave:Er(e.onMouseLeave,P.off)})}),[j,I,i,C,A,c,d,s,R,P.off,P.on]),$=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),$y({},S,e,{ref:on(t,(e=>{e&&B("LABEL"===e.tagName)})),onClick:Er(e.onClick,(()=>{var e;z||(null==(e=T.current)||e.click(),Ar(T.current,{nextTick:!0}))})),"data-disabled":cr(i),"data-checked":cr(I),"data-invalid":cr(d)})}),[S,i,I,d,z]),U=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),$y({},e,{ref:on(T,t),type:"checkbox",name:f,value:p,id:h,tabIndex:g,onChange:Er(e.onChange,N),onBlur:Er(e.onBlur,E,_.off),onFocus:Er(e.onFocus,O,_.on),onKeyDown:Er(e.onKeyDown,W),onKeyUp:Er(e.onKeyUp,H),required:l,checked:I,disabled:L,readOnly:s,"aria-label":b,"aria-labelledby":y,"aria-invalid":x?Boolean(x):d,"aria-describedby":w,"aria-disabled":i,style:ky})}),[f,p,h,N,_.off,_.on,E,O,W,H,l,I,L,s,b,y,x,d,w,i,g]),q=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),$y({},e,{ref:t,onMouseDown:Er(e.onMouseDown,qy),onTouchStart:Er(e.onTouchStart,qy),"data-disabled":cr(i),"data-checked":cr(I),"data-invalid":cr(d)})}),[I,i,d]);return{state:{isInvalid:d,isFocused:C,isChecked:I,isActive:j,isHovered:A,isIndeterminate:c,isDisabled:i,isReadOnly:s,isRequired:l},getRootProps:$,getCheckboxProps:V,getInputProps:U,getLabelProps:q,htmlProps:S}}function qy(e){e.preventDefault(),e.stopPropagation()}function Yy(){return Yy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yy.apply(this,arguments)}var Xy=mi("span",{baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0}}),Gy=mi("label",{baseStyle:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative",_disabled:{cursor:"not-allowed"}}}),Ky=vi(((t,r)=>{var n=My(),o=bi("Checkbox",Yy({},n,t)),a=Ja(t),{spacing:i="0.5rem",className:s,children:l,iconColor:u,iconSize:c,icon:d=e.createElement(Vy,null),isChecked:f,isDisabled:p=(null==n?void 0:n.isDisabled),onChange:h}=a,m=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(a,["spacing","className","children","iconColor","iconSize","icon","isChecked","isDisabled","onChange"]),v=f;null!=n&&n.value&&a.value&&(v=n.value.includes(a.value));var g=h;null!=n&&n.onChange&&a.value&&(g=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.forEach((t=>{null==t||t(e)}))}}(n.onChange,h));var{state:b,getInputProps:y,getCheckboxProps:x,getLabelProps:w,getRootProps:S}=Uy(Yy({},m,{isDisabled:p,isChecked:v,onChange:g})),k=e.useMemo((()=>Yy({opacity:b.isChecked||b.isIndeterminate?1:0,transform:b.isChecked||b.isIndeterminate?"scale(1)":"scale(0.95)",fontSize:c,color:u},o.icon)),[u,c,b.isChecked,b.isIndeterminate,o.icon]),E=e.cloneElement(d,{__css:k,isIndeterminate:b.isIndeterminate,isChecked:b.isChecked});return e.createElement(Gy,Yy({__css:o.container,className:fr("chakra-checkbox",s)},S()),e.createElement("input",Yy({className:"chakra-checkbox__input"},y({},r))),e.createElement(Xy,Yy({__css:o.control,className:"chakra-checkbox__control"},x()),E),l&&e.createElement(mi.span,Yy({className:"chakra-checkbox__label"},w(),{__css:Yy({marginStart:i},o.label)}),l))}));function Zy(){return Zy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zy.apply(this,arguments)}Vt&&(Ky.displayName="Checkbox");var Qy=t=>e.createElement(yd,Zy({focusable:"false","aria-hidden":!0},t),e.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})),Jy=vi(((t,r)=>{var n=gi("CloseButton",t),o=Ja(t),{children:a,isDisabled:i,__css:s}=o,l=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,["children","isDisabled","__css"]);return e.createElement(mi.button,Zy({type:"button","aria-label":"Close",ref:r,disabled:i,__css:Zy({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},n,s)},l),a||e.createElement(Qy,{width:"1em",height:"1em"}))}));function ex(){return ex=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ex.apply(this,arguments)}function tx(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(Jy.displayName="CloseButton");var[rx,nx]=an({strict:!1,name:"FormControlContext"});var ox=vi(((t,r)=>{var n=bi("Form",t),o=function(t){var{id:r,isRequired:n,isInvalid:o,isDisabled:a,isReadOnly:i}=t,s=tx(t,["id","isRequired","isInvalid","isDisabled","isReadOnly"]),l=wn(),u=r||"field-"+l,c=u+"-label",d=u+"-feedback",f=u+"-helptext",[p,h]=e.useState(!1),[m,v]=e.useState(!1),[g,b]=dn(),y=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),ex({id:f},e,{ref:on(t,(e=>{e&&v(!0)}))})}),[f]),x=e.useCallback((function(e,t){var r,n;return void 0===e&&(e={}),void 0===t&&(t=null),ex({},e,{ref:t,"data-focus":cr(g),"data-disabled":cr(a),"data-invalid":cr(o),"data-readonly":cr(i),id:null!=(r=e.id)?r:c,htmlFor:null!=(n=e.htmlFor)?n:u})}),[u,a,g,o,i,c]),w=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),ex({id:d},e,{ref:on(t,(e=>{e&&h(!0)})),"aria-live":"polite"})}),[d]),S=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),ex({},e,s,{ref:t,role:"group"})}),[s]),k=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),ex({},e,{ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})}),[]);return{isRequired:!!n,isInvalid:!!o,isReadOnly:!!i,isDisabled:!!a,isFocused:!!g,onFocus:b.on,onBlur:b.off,hasFeedbackText:p,setHasFeedbackText:h,hasHelpText:m,setHasHelpText:v,id:u,labelId:c,feedbackId:d,helpTextId:f,htmlProps:s,getHelpTextProps:y,getErrorMessageProps:w,getRootProps:S,getLabelProps:x,getRequiredIndicatorProps:k}}(Ja(t)),{getRootProps:a}=o,i=tx(o,["getRootProps","htmlProps"]),s=fr("chakra-form-control",t.className),l=e.useMemo((()=>i),[i]);return e.createElement(rx,{value:l},e.createElement(Ka,{value:n},e.createElement(mi.div,ex({},a({},r),{className:s,__css:n.container}))))}));Vt&&(ox.displayName="FormControl");var ax=vi(((t,r)=>{var n=nx(),o=Za(),a=fr("chakra-form__helper-text",t.className);return e.createElement(mi.div,ex({},null==n?void 0:n.getHelpTextProps(t,r),{__css:o.helperText,className:a}))}));function ix(){return ix=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ix.apply(this,arguments)}function sx(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function lx(e){var t=function(e){var t,r,n,o=nx(),{id:a,disabled:i,readOnly:s,required:l,isRequired:u,isInvalid:c,isReadOnly:d,isDisabled:f,onFocus:p,onBlur:h}=e,m=sx(e,["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"]),v=e["aria-describedby"]?[e["aria-describedby"]]:[];null!=o&&o.hasFeedbackText&&null!=o&&o.isInvalid&&v.push(o.feedbackId);null!=o&&o.hasHelpText&&v.push(o.helpTextId);return ix({},m,{"aria-describedby":v.join(" ")||void 0,id:null!=a?a:null==o?void 0:o.id,isDisabled:null!=(t=null!=i?i:f)?t:null==o?void 0:o.isDisabled,isReadOnly:null!=(r=null!=s?s:d)?r:null==o?void 0:o.isReadOnly,isRequired:null!=(n=null!=l?l:u)?n:null==o?void 0:o.isRequired,isInvalid:null!=c?c:null==o?void 0:o.isInvalid,onFocus:Er(null==o?void 0:o.onFocus,p),onBlur:Er(null==o?void 0:o.onBlur,h)})}(e),{isDisabled:r,isInvalid:n,isReadOnly:o,isRequired:a}=t;return ix({},sx(t,["isDisabled","isInvalid","isReadOnly","isRequired"]),{disabled:r,readOnly:o,required:a,"aria-invalid":dr(n),"aria-required":dr(a),"aria-readonly":dr(o)})}function ux(){return ux=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ux.apply(this,arguments)}function cx(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(ax.displayName="FormHelperText");var dx=mi("div");Vt&&(dx.displayName="Box");var fx=vi(((t,r)=>{var{size:n,centerContent:o=!0}=t,a=cx(t,["size","centerContent"]),i=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return e.createElement(dx,ux({ref:r,boxSize:n,__css:ux({},i,{flexShrink:0,flexGrow:0})},a))}));Vt&&(fx.displayName="Square");var px=vi(((t,r)=>{var{size:n}=t,o=cx(t,["size"]);return e.createElement(fx,ux({size:n,ref:r,borderRadius:"9999px"},o))}));function hx(){return hx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hx.apply(this,arguments)}Vt&&(px.displayName="Circle");var mx=vi(((t,r)=>{var n=Ja(t),{className:o,centerContent:a}=n,i=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(n,["className","centerContent"]),s=gi("Container",t);return e.createElement(mi.div,hx({ref:r,className:fr("chakra-container",o)},i,{__css:hx({},s,a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))}));function vx(){return vx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vx.apply(this,arguments)}Vt&&(mx.displayName="Container");var gx=vi(((t,r)=>{var{direction:n,align:o,justify:a,wrap:i,basis:s,grow:l,shrink:u}=t,c=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["direction","align","justify","wrap","basis","grow","shrink"]),d={display:"flex",flexDirection:n,alignItems:o,justifyContent:a,flexWrap:i,flexBasis:s,flexGrow:l,flexShrink:u};return e.createElement(mi.div,vx({ref:r,__css:d},c))}));function bx(){return bx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bx.apply(this,arguments)}function yx(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(gx.displayName="Flex");var xx=vi(((t,r)=>{var{area:n,templateAreas:o,gap:a,rowGap:i,columnGap:s,column:l,row:u,autoFlow:c,autoRows:d,templateRows:f,autoColumns:p,templateColumns:h}=t,m=yx(t,["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"]),v={display:"grid",gridArea:n,gridTemplateAreas:o,gridGap:a,gridRowGap:i,gridColumnGap:s,gridAutoColumns:p,gridColumn:l,gridRow:u,gridAutoFlow:c,gridAutoRows:d,gridTemplateRows:f,gridTemplateColumns:h};return e.createElement(mi.div,bx({ref:r,__css:v},m))}));function wx(e){return rn(e,(e=>"auto"===e?"auto":"span "+e+"/span "+e))}Vt&&(xx.displayName="Grid");var Sx=vi(((t,r)=>{var{colSpan:n,colStart:o,colEnd:a,rowEnd:i,rowSpan:s,rowStart:l}=t,u=yx(t,["colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart"]),c=Zt({gridColumn:wx(n),gridRow:wx(s),gridColumnStart:o,gridColumnEnd:a,gridRowStart:l,gridRowEnd:i});return e.createElement(mi.div,bx({ref:r,__css:c},u))}));function kx(){return kx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kx.apply(this,arguments)}var Ex=vi(((t,r)=>{var n=gi("Heading",t),o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(Ja(t),["className"]);return e.createElement(mi.h2,kx({ref:r,className:fr("chakra-heading",t.className)},o,{__css:n}))}));function Ox(){return Ox=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ox.apply(this,arguments)}Vt&&(Ex.displayName="Heading");var Cx=vi(((t,r)=>{var n=gi("Link",t),o=Ja(t),{className:a,isExternal:i}=o,s=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(o,["className","isExternal"]);return e.createElement(mi.a,Ox({target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,ref:r,className:fr("chakra-link",a)},s,{__css:n}))}));function _x(){return _x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_x.apply(this,arguments)}function Ax(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(Cx.displayName="Link");var Px=vi(((t,r)=>{var n=bi("List",t),o=Ja(t),{children:a,styleType:i="none",stylePosition:s,spacing:l}=o,u=Ax(o,["children","styleType","stylePosition","spacing"]),c=sn(a),d=l?{"& > *:not(style) ~ *:not(style)":{mt:l}}:{};return e.createElement(Ka,{value:n},e.createElement(mi.ul,_x({ref:r,listStyleType:i,listStylePosition:s,role:"list",__css:_x({},n.container,d)},u),c))}));Vt&&(Px.displayName="List");var jx=vi(((t,r)=>{var n=Ax(t,["as"]);return e.createElement(Px,_x({ref:r,as:"ol",styleType:"decimal",marginStart:"1em"},n))}));Vt&&(jx.displayName="OrderedList");var Rx=vi(((t,r)=>{var n=Ax(t,["as"]);return e.createElement(Px,_x({ref:r,as:"ul",styleType:"initial",marginStart:"1em"},n))}));Vt&&(Rx.displayName="UnorderedList");var Tx=vi(((t,r)=>{var n=Za();return e.createElement(mi.li,_x({ref:r},t,{__css:n.item}))}));Vt&&(Tx.displayName="ListItem");var zx=vi(((t,r)=>{var n=Za();return e.createElement(yd,_x({ref:r,role:"presentation"},t,{__css:n.icon}))}));Vt&&(zx.displayName="ListIcon");var Bx="& > *:not(style) ~ *:not(style)";function Dx(){return Dx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dx.apply(this,arguments)}var Fx=t=>e.createElement(mi.div,Dx({className:"chakra-stack__item"},t,{__css:Dx({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)})),Mx=vi(((t,r)=>{var{isInline:n,direction:o,align:a,justify:i,spacing:s="0.5rem",wrap:l,children:u,divider:c,className:d,shouldWrapChildren:f}=t,p=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"]),h=n?"row":null!=o?o:"column",m=e.useMemo((()=>function(e){var{spacing:t,direction:r}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:r,[Bx]:rn(r,(e=>n[e]))}}({direction:h,spacing:s})),[h,s]),v=e.useMemo((()=>function(e){var{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":rn(r,(e=>n[e]))}}({spacing:s,direction:h})),[s,h]),g=!!c,b=!f&&!g,y=sn(u),x=b?y:y.map(((t,r)=>{var n=void 0!==t.key?t.key:r,o=r+1===y.length,a=f?e.createElement(Fx,{key:n},t):t;if(!g)return a;var i=o?null:e.cloneElement(c,{__css:v});return e.createElement(e.Fragment,{key:n},a,i)})),w=fr("chakra-stack",d);return e.createElement(mi.div,Dx({ref:r,display:"flex",alignItems:a,justifyContent:i,flexDirection:m.flexDirection,flexWrap:l,className:w,__css:g?{}:{[Bx]:m[Bx]}},p),x)}));Vt&&(Mx.displayName="Stack");var Ix=vi(((t,r)=>e.createElement(Mx,Dx({align:"center"},t,{direction:"row",ref:r}))));Vt&&(Ix.displayName="HStack");var Nx=vi(((t,r)=>e.createElement(Mx,Dx({align:"center"},t,{direction:"column",ref:r}))));function Lx(){return Lx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lx.apply(this,arguments)}Vt&&(Nx.displayName="VStack");var Wx=vi(((t,r)=>{var n=gi("Text",t),o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(Ja(t),["className","align","decoration","casing"]),a=Zt({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return e.createElement(mi.p,Lx({ref:r,className:fr("chakra-text",t.className)},a,o,{__css:n}))}));Vt&&(Wx.displayName="Text");var Hx=ur?e.useLayoutEffect:e.useEffect;function Vx(t){var r=Yn(),n=Array.isArray(t)?t:[t],o=ur&&"matchMedia"in r.window,[a,i]=e.useState(n.map((e=>!!o&&!!r.window.matchMedia(e).matches)));return Hx((()=>{if(o){var e=n.map((e=>r.window.matchMedia(e))),t=e.map((()=>{var t=()=>{var t=e.map((e=>e.matches));((e,t)=>e.length===t.length&&e.every(((e,r)=>e===t[r])))(a,t)||i(t)};return r.window.addEventListener("resize",t),t}));return()=>{e.forEach(((e,n)=>{r.window.removeEventListener("resize",t[n])}))}}}),[t]),a}function $x(e){return Object.entries(e).sort(((e,t)=>Number.parseInt(e[1],10)>Number.parseInt(t[1],10)?1:-1)).map(((e,t,r)=>{var[n,o]=e,a=r[t+1],i=a?a[1]:void 0,s=function(e,t){if(!(parseInt(e,10)>=0||t))return"";var r="(min-width: "+qx(e)+")";if(!t)return r;r&&(r+=" and ");return r+="(max-width: "+qx(function(e){return((e,t)=>{if("number"==typeof e)return""+(e+t);return e.replace(Ux,(e=>""+(parseFloat(e)+t)))})(e,e.endsWith("px")?-1:-.01)}(t))+")",r}(o,i);return{minWidth:o,maxWidth:i,breakpoint:n,query:s}}))}var Ux=/([0-9]+\.?[0-9]*)/;function qx(e){return Ft(e)?e+"px":e}function Yx(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function Xx(){return Xx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xx.apply(this,arguments)}function Gx(){return Gx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gx.apply(this,arguments)}function Kx(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var Zx=vi(((t,r)=>{var n=bi("Table",t),o=Ja(t),{className:a}=o,i=Kx(o,["className"]);return e.createElement(Ka,{value:n},e.createElement(mi.table,Gx({role:"table",ref:r,__css:n.table,className:fr("chakra-table",a)},i)))}));Vt&&(Zx.displayName="Table");var Qx=vi(((t,r)=>{var{placement:n="bottom"}=t,o=Kx(t,["placement"]),a=Za();return e.createElement(mi.caption,Gx({},o,{ref:r,__css:Gx({},a.caption,{captionSide:n})}))}));Vt&&(Qx.displayName="TableCaption");var Jx=vi(((t,r)=>{var n=Za();return e.createElement(mi.thead,Gx({},t,{ref:r,__css:n.thead}))})),ew=vi(((t,r)=>{var n=Za();return e.createElement(mi.tbody,Gx({},t,{ref:r,__css:n.tbody}))})),tw=vi(((t,r)=>{var n=Za();return e.createElement(mi.tfoot,Gx({},t,{ref:r,__css:n.tfoot}))})),rw=vi(((t,r)=>{var{isNumeric:n}=t,o=Kx(t,["isNumeric"]),a=Za();return e.createElement(mi.th,Gx({},o,{ref:r,__css:a.th,"data-is-numeric":n}))})),nw=vi(((t,r)=>{var n=Za();return e.createElement(mi.tr,Gx({role:"row"},t,{ref:r,__css:n.tr}))})),ow=vi(((t,r)=>{var{isNumeric:n}=t,o=Kx(t,["isNumeric"]),a=Za();return e.createElement(mi.td,Gx({role:"gridcell"},o,{ref:r,__css:a.td,"data-is-numeric":n}))}));function aw(){return aw=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aw.apply(this,arguments)}function iw(e){var t=e.target,{tagName:r,isContentEditable:n}=t;return"INPUT"!==r&&"TEXTAREA"!==r&&!0!==n}function sw(t){void 0===t&&(t={});var{ref:r,isDisabled:n,isFocusable:o,clickOnEnter:a=!0,clickOnSpace:i=!0,onMouseDown:s,onMouseUp:l,onClick:u,onKeyDown:c,onKeyUp:d,tabIndex:f,onMouseOver:p,onMouseLeave:h}=t,m=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"]),[v,g]=e.useState(!0),[b,y]=e.useState(!1),x=function(){var t=e.useRef(new Map),r=t.current,n=e.useCallback(((e,r,n,o)=>{t.current.set(n,{type:r,el:e,options:o}),e.addEventListener(r,n,o)}),[]),o=e.useCallback(((e,r,n,o)=>{e.removeEventListener(r,n,o),t.current.delete(n)}),[]);return e.useEffect((()=>()=>{r.forEach(((e,t)=>{o(e.el,e.type,t,e.options)}))}),[o,r]),{add:n,remove:o}}(),w=v?f:f||0,S=n&&!o,k=e.useCallback((e=>{if(n)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==u||u(e)}),[n,u]),E=e.useCallback((e=>{b&&iw(e)&&(e.preventDefault(),e.stopPropagation(),y(!1),x.remove(document,"keyup",E,!1))}),[b,x]),O=e.useCallback((e=>{if(null==c||c(e),!(n||e.defaultPrevented||e.metaKey)&&iw(e.nativeEvent)&&!v){var t=a&&"Enter"===e.key;if(i&&" "===e.key&&(e.preventDefault(),y(!0)),t)e.preventDefault(),e.currentTarget.click();x.add(document,"keyup",E,!1)}}),[n,v,c,a,i,x,E]),C=e.useCallback((e=>{(null==d||d(e),n||e.defaultPrevented||e.metaKey)||iw(e.nativeEvent)&&!v&&i&&" "===e.key&&(e.preventDefault(),y(!1),e.currentTarget.click())}),[i,v,n,d]),_=e.useCallback((e=>{0===e.button&&(y(!1),x.remove(document,"mouseup",_,!1))}),[x]),A=e.useCallback((e=>{if(!vr(e)){if(n)return e.stopPropagation(),void e.preventDefault();v||y(!0),e.currentTarget.focus({preventScroll:!0}),x.add(document,"mouseup",_,!1),null==s||s(e)}}),[n,v,s,x,_]),P=e.useCallback((e=>{vr(e)||(v||y(!1),null==l||l(e))}),[l,v]),j=e.useCallback((e=>{n?e.preventDefault():null==p||p(e)}),[n,p]),R=e.useCallback((e=>{b&&(e.preventDefault(),y(!1)),null==h||h(e)}),[b,h]),T=on(r,(e=>{e&&"BUTTON"!==e.tagName&&g(!1)}));return aw({},m,v?{ref:T,type:"button","aria-disabled":S?void 0:n,disabled:S,onClick:k,onMouseDown:s,onMouseUp:l,onKeyUp:d,onKeyDown:c,onMouseOver:p,onMouseLeave:h}:{ref:T,role:"button","data-active":cr(b),"aria-disabled":n?"true":void 0,tabIndex:S?void 0:w,onClick:k,onMouseDown:A,onMouseUp:P,onKeyUp:C,onKeyDown:O,onMouseOver:j,onMouseLeave:R})}function lw(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function uw(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function cw(e){var t=uw(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dw(e){return e instanceof uw(e).Element||e instanceof Element}function fw(e){return e instanceof uw(e).HTMLElement||e instanceof HTMLElement}function pw(e){return e?(e.nodeName||"").toLowerCase():null}function hw(e){return(dw(e)?e.ownerDocument:e.document).documentElement}function mw(e){return lw(hw(e)).left+cw(e).scrollLeft}function vw(e){return uw(e).getComputedStyle(e)}function gw(e){var t=vw(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function bw(e,t,r){void 0===r&&(r=!1);var n=hw(t),o=lw(e),a=fw(t),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(a||!a&&!r)&&(("body"!==pw(t)||gw(n))&&(i=function(e){return e!==uw(e)&&fw(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:cw(e);var t}(t)),fw(t)?((s=lw(t)).x+=t.clientLeft,s.y+=t.clientTop):n&&(s.x=mw(n))),{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function yw(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function xw(e){return"html"===pw(e)?e:e.assignedSlot||e.parentNode||e.host||hw(e)}function ww(e){return["html","body","#document"].indexOf(pw(e))>=0?e.ownerDocument.body:fw(e)&&gw(e)?e:ww(xw(e))}function Sw(e,t){void 0===t&&(t=[]);var r=ww(e),n="body"===pw(r),o=uw(r),a=n?[o].concat(o.visualViewport||[],gw(r)?r:[]):r,i=t.concat(a);return n?i:i.concat(Sw(xw(a)))}function kw(e){return["table","td","th"].indexOf(pw(e))>=0}function Ew(e){if(!fw(e)||"fixed"===vw(e).position)return null;var t=e.offsetParent;if(t){var r=hw(t);if("body"===pw(t)&&"static"===vw(t).position&&"static"!==vw(r).position)return r}return t}function Ow(e){for(var t=uw(e),r=Ew(e);r&&kw(r)&&"static"===vw(r).position;)r=Ew(r);return r&&"body"===pw(r)&&"static"===vw(r).position?t:r||function(e){for(var t=xw(e);fw(t)&&["html","body"].indexOf(pw(t))<0;){var r=vw(t);if("none"!==r.transform||"none"!==r.perspective||r.willChange&&"auto"!==r.willChange)return t;t=t.parentNode}return null}(e)||t}var Cw="top",_w="bottom",Aw="right",Pw="left",jw=[Cw,_w,Aw,Pw],Rw=jw.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),Tw=[].concat(jw,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),zw=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Bw(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}function Dw(e){var t;return function(){return t||(t=new Promise((function(r){Promise.resolve().then((function(){t=void 0,r(e())}))}))),t}}function Fw(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return[].concat(r).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Mw='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Iw=["name","enabled","phase","fn","effect","requires","options"];function Nw(e){return e.split("-")[0]}function Lw(e,t){var r=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(r){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ww(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Hw(e,t){return"viewport"===t?Ww(function(e){var t=uw(e),r=hw(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,s=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,s=n.offsetTop)),{width:o,height:a,x:i+mw(e),y:s}}(e)):fw(t)?function(e){var t=lw(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ww(function(e){var t=hw(e),r=cw(e),n=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-r.scrollLeft+mw(e),s=-r.scrollTop;return"rtl"===vw(n||t).direction&&(i+=Math.max(t.clientWidth,n?n.clientWidth:0)-o),{width:o,height:a,x:i,y:s}}(hw(e)))}function Vw(e,t,r){var n="clippingParents"===t?function(e){var t=Sw(xw(e)),r=["absolute","fixed"].indexOf(vw(e).position)>=0&&fw(e)?Ow(e):e;return dw(r)?t.filter((function(e){return dw(e)&&Lw(e,r)&&"body"!==pw(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),a=o[0],i=o.reduce((function(t,r){var n=Hw(e,r);return t.top=Math.max(n.top,t.top),t.right=Math.min(n.right,t.right),t.bottom=Math.min(n.bottom,t.bottom),t.left=Math.max(n.left,t.left),t}),Hw(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function $w(e){return e.split("-")[1]}function Uw(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qw(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?Nw(o):null,i=o?$w(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(a){case Cw:t={x:s,y:r.y-n.height};break;case _w:t={x:s,y:r.y+r.height};break;case Aw:t={x:r.x+r.width,y:l};break;case Pw:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var u=a?Uw(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case"start":t[u]=Math.floor(t[u])-Math.floor(r[c]/2-n[c]/2);break;case"end":t[u]=Math.floor(t[u])+Math.ceil(r[c]/2-n[c]/2)}}return t}function Yw(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Xw(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Gw(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,a=r.boundary,i=void 0===a?"clippingParents":a,s=r.rootBoundary,l=void 0===s?"viewport":s,u=r.elementContext,c=void 0===u?"popper":u,d=r.altBoundary,f=void 0!==d&&d,p=r.padding,h=void 0===p?0:p,m=Yw("number"!=typeof h?h:Xw(h,jw)),v="popper"===c?"reference":"popper",g=e.elements.reference,b=e.rects.popper,y=e.elements[f?v:c],x=Vw(dw(y)?y:y.contextElement||hw(e.elements.popper),i,l),w=lw(g),S=qw({reference:w,element:b,strategy:"absolute",placement:o}),k=Ww(Object.assign(Object.assign({},b),S)),E="popper"===c?k:w,O={top:x.top-E.top+m.top,bottom:E.bottom-x.bottom+m.bottom,left:x.left-E.left+m.left,right:E.right-x.right+m.right},C=e.modifiersData.offset;if("popper"===c&&C){var _=C[o];Object.keys(O).forEach((function(e){var t=[Aw,_w].indexOf(e)>=0?1:-1,r=[Cw,_w].indexOf(e)>=0?"y":"x";O[e]+=_[r]*t}))}return O}var Kw="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Zw={placement:"bottom",modifiers:[],strategy:"absolute"};function Qw(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Jw(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,a=void 0===o?Zw:o;return function(e,t,r){void 0===r&&(r=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Zw),a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,l={state:o,setOptions:function(r){u(),o.options=Object.assign(Object.assign(Object.assign({},a),o.options),r),o.scrollParents={reference:dw(e)?Sw(e):e.contextElement?Sw(e.contextElement):[],popper:Sw(t)};var s=function(e){var t=Bw(e);return zw.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}(function(e){var t=e.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign(Object.assign(Object.assign({},r),t),{},{options:Object.assign(Object.assign({},r.options),t.options),data:Object.assign(Object.assign({},r.data),t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,o.options.modifiers)));if(o.orderedModifiers=s.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){var c=function(e,t){var r=new Set;return e.filter((function(e){var n=t(e);if(!r.has(n))return r.add(n),!0}))}([].concat(s,o.options.modifiers),(function(e){return e.name}));if(function(e){e.forEach((function(t){Object.keys(t).forEach((function(r){switch(r){case"name":"string"!=typeof t.name&&console.error(Fw(Mw,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(Fw(Mw,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":zw.indexOf(t.phase)<0&&console.error(Fw(Mw,t.name,'"phase"',"either "+zw.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(Fw(Mw,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":"function"!=typeof t.effect&&console.error(Fw(Mw,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(Fw(Mw,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Fw(Mw,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Iw.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+r+'" was provided.')}t.requires&&t.requires.forEach((function(r){null==e.find((function(e){return e.name===r}))&&console.error(Fw('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),r,r))}))}))}))}(c),"auto"===Nw(o.options.placement))o.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var d=vw(t);[d.marginTop,d.marginRight,d.marginBottom,d.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,a=e.effect;if("function"==typeof a){var s=a({state:o,name:t,instance:l,options:n}),u=function(){};i.push(s||u)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,r=e.popper;if(Qw(t,r)){o.rects={reference:bw(t,Ow(r),"fixed"===o.options.strategy),popper:yw(r)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0,a=0;a<o.orderedModifiers.length;a++){if("production"!==process.env.NODE_ENV&&(n+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==o.reset){var i=o.orderedModifiers[a],u=i.fn,c=i.options,d=void 0===c?{}:c,f=i.name;"function"==typeof u&&(o=u({state:o,options:d,name:f,instance:l})||o)}else o.reset=!1,a=-1}}else"production"!==process.env.NODE_ENV&&console.error(Kw)}},update:Dw((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){u(),s=!0}};if(!Qw(e,t))return"production"!==process.env.NODE_ENV&&console.error(Kw),l;function u(){i.forEach((function(e){return e()})),i=[]}return l.setOptions(r).then((function(e){!s&&r.onFirstUpdate&&r.onFirstUpdate(e)})),l}}var eS={passive:!0};var tS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,s=void 0===i||i,l=uw(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",r.update,eS)})),s&&l.addEventListener("resize",r.update,eS),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",r.update,eS)})),s&&l.removeEventListener("resize",r.update,eS)}},data:{}};var rS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nS(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,u=function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Math.round(t*n)/n||0,y:Math.round(r*n)/n||0}}(a),c=u.x,d=u.y,f=a.hasOwnProperty("x"),p=a.hasOwnProperty("y"),h=Pw,m=Cw,v=window;if(l){var g=Ow(r);g===uw(r)&&(g=hw(r)),o===Cw&&(m=_w,d-=g.clientHeight-n.height,d*=s?1:-1),o===Pw&&(h=Aw,c-=g.clientWidth-n.width,c*=s?1:-1)}var b,y=Object.assign({position:i},l&&rS);return s?Object.assign(Object.assign({},y),{},((b={})[m]=p?"0":"",b[h]=f?"0":"",b.transform=(v.devicePixelRatio||1)<2?"translate("+c+"px, "+d+"px)":"translate3d("+c+"px, "+d+"px, 0)",b)):Object.assign(Object.assign({},y),{},((t={})[m]=p?d+"px":"",t[h]=f?c+"px":"",t.transform="",t))}var oS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,a=r.adaptive,i=void 0===a||a;if("production"!==process.env.NODE_ENV){var s=vw(t.elements.popper).transitionProperty||"";i&&["transform","top","right","bottom","left"].some((function(e){return s.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var l={placement:Nw(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),nS(Object.assign(Object.assign({},l),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),nS(Object.assign(Object.assign({},l),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}};var aS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=Tw.reduce((function(e,r){return e[r]=function(e,t,r){var n=Nw(e),o=[Pw,Cw].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign(Object.assign({},t),{},{placement:e})):r,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[Pw,Aw].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}(r,t.rects,a),e}),{}),s=i[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=i}},iS={left:"right",right:"left",bottom:"top",top:"bottom"};function sS(e){return e.replace(/left|right|bottom|top/g,(function(e){return iS[e]}))}var lS={start:"end",end:"start"};function uS(e){return e.replace(/start|end/g,(function(e){return lS[e]}))}function cS(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,u=void 0===l?Tw:l,c=$w(n),d=c?s?Rw:Rw.filter((function(e){return $w(e)===c})):jw,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=f.reduce((function(t,r){return t[r]=Gw(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[Nw(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var dS={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,s=void 0===i||i,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,h=void 0===p||p,m=r.allowedAutoPlacements,v=t.options.placement,g=Nw(v),b=l||(g===v||!h?[sS(v)]:function(e){if("auto"===Nw(e))return[];var t=sS(e);return[uS(e),t,uS(t)]}(v)),y=[v].concat(b).reduce((function(e,r){return e.concat("auto"===Nw(r)?cS(t,{placement:r,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,E=y[0],O=0;O<y.length;O++){var C=y[O],_=Nw(C),A="start"===$w(C),P=[Cw,_w].indexOf(_)>=0,j=P?"width":"height",R=Gw(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),T=P?A?Aw:Pw:A?_w:Cw;x[j]>w[j]&&(T=sS(T));var z=sS(T),B=[];if(a&&B.push(R[_]<=0),s&&B.push(R[T]<=0,R[z]<=0),B.every((function(e){return e}))){E=C,k=!1;break}S.set(C,B)}if(k)for(var D=function(e){var t=y.find((function(t){var r=S.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},F=h?3:1;F>0;F--){if("break"===D(F))break}t.placement!==E&&(t.modifiersData[n]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function fS(e,t,r){return Math.max(e,Math.min(t,r))}var pS={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=void 0===o||o,i=r.altAxis,s=void 0!==i&&i,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,f=r.tether,p=void 0===f||f,h=r.tetherOffset,m=void 0===h?0:h,v=Gw(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=Nw(t.placement),b=$w(t.placement),y=!b,x=Uw(g),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,O="function"==typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,C={x:0,y:0};if(S){if(a){var _="y"===x?Cw:Pw,A="y"===x?_w:Aw,P="y"===x?"height":"width",j=S[x],R=S[x]+v[_],T=S[x]-v[A],z=p?-E[P]/2:0,B="start"===b?k[P]:E[P],D="start"===b?-E[P]:-k[P],F=t.elements.arrow,M=p&&F?yw(F):{width:0,height:0},I=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},N=I[_],L=I[A],W=fS(0,k[P],M[P]),H=y?k[P]/2-z-W-N-O:B-W-N-O,V=y?-k[P]/2+z+W+L+O:D+W+L+O,$=t.elements.arrow&&Ow(t.elements.arrow),U=$?"y"===x?$.clientTop||0:$.clientLeft||0:0,q=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,Y=S[x]+H-q-U,X=S[x]+V-q,G=fS(p?Math.min(R,Y):R,j,p?Math.max(T,X):T);S[x]=G,C[x]=G-j}if(s){var K="x"===x?Cw:Pw,Z="x"===x?_w:Aw,Q=S[w],J=fS(Q+v[K],Q,Q-v[Z]);S[w]=J,C[w]=J-Q}t.modifiersData[n]=C}},requiresIfExists:["offset"]};var hS={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=r.elements.arrow,a=r.modifiersData.popperOffsets,i=Nw(r.placement),s=Uw(i),l=[Pw,Aw].indexOf(i)>=0?"height":"width";if(o&&a){var u=r.modifiersData[n+"#persistent"].padding,c=yw(o),d="y"===s?Cw:Pw,f="y"===s?_w:Aw,p=r.rects.reference[l]+r.rects.reference[s]-a[s]-r.rects.popper[l],h=a[s]-r.rects.reference[s],m=Ow(o),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,g=p/2-h/2,b=u[d],y=v-c[l]-u[f],x=v/2-c[l]/2+g,w=fS(b,x,y),S=s;r.modifiersData[n]=((t={})[S]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,r=e.options,n=e.name,o=r.element,a=void 0===o?"[data-popper-arrow]":o,i=r.padding,s=void 0===i?0:i;null!=a&&("string"!=typeof a||(a=t.elements.popper.querySelector(a)))&&("production"!==process.env.NODE_ENV&&(fw(a)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),Lw(t.elements.popper,a)?(t.elements.arrow=a,t.modifiersData[n+"#persistent"]={padding:Yw("number"!=typeof s?s:Xw(s,jw))}):"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mS(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function vS(e){return[Cw,Aw,_w,Pw].some((function(t){return e[t]>=0}))}var gS=Jw({defaultModifiers:[tS,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=qw({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},oS,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];fw(o)&&pw(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});fw(n)&&pw(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},aS,dS,pS,hS,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Gw(t,{elementContext:"reference"}),s=Gw(t,{altBoundary:!0}),l=mS(i,n),u=mS(s,o,a),c=vS(l),d=vS(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});function bS(){return bS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bS.apply(this,arguments)}var yS=(e,t)=>({var:e,varRef:t?"var("+e+", "+t+")":"var("+e+")"}),xS={arrowShadowColor:yS("--popper-arrow-shadow-color"),arrowSize:yS("--popper-arrow-size","8px"),arrowSizeHalf:yS("--popper-arrow-size-half"),arrowBg:yS("--popper-arrow-bg"),transformOrigin:yS("--popper-transform-origin"),arrowOffset:yS("--popper-arrow-offset")};var wS={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},SS={scroll:!0,resize:!0};var kS={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{var{state:t}=e;t.styles.popper.width=t.rects.reference.width+"px"},effect:e=>{var{state:t}=e;return()=>{var e=t.elements.reference;t.elements.popper.style.width=e.offsetWidth+"px"}}},ES={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{var{state:t}=e;OS(t)},effect:e=>{var{state:t}=e;return()=>{OS(t)}}},OS=e=>{var t;e.elements.popper.style.setProperty(xS.transformOrigin.var,(t=e.placement,wS[t]))},CS={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{var{state:t}=e;_S(t)}},_S=e=>{var t;if(e.placement){var r=AS(e.placement);if(null!=(t=e.elements)&&t.arrow&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:xS.arrowSize.varRef,height:xS.arrowSize.varRef,zIndex:-1});var n={[xS.arrowSizeHalf.var]:"calc("+xS.arrowSize.varRef+" / 2)",[xS.arrowOffset.var]:"calc("+xS.arrowSizeHalf.varRef+" * -1)"};for(var o in n)e.elements.arrow.style.setProperty(o,n[o])}}},AS=e=>e.startsWith("top")?{property:"bottom",value:xS.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:xS.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:xS.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:xS.arrowOffset.varRef}:void 0,PS={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{var{state:t}=e;jS(t)},effect:e=>{var{state:t}=e;return()=>{jS(t)}}},jS=e=>{if(e.elements.arrow){var t,r=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(r)Object.assign(r.style,{transform:"rotate(45deg)",background:xS.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:(t=e.placement,t.includes("top")?"1px 1px 1px 0 var(--popper-arrow-shadow-color)":t.includes("bottom")?"-1px -1px 1px 0 var(--popper-arrow-shadow-color)":t.includes("right")?"-1px 1px 1px 0 var(--popper-arrow-shadow-color)":t.includes("left")?"1px -1px 1px 0 var(--popper-arrow-shadow-color)":void 0)})}},RS={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},TS={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function zS(){return zS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zS.apply(this,arguments)}function BS(t){void 0===t&&(t={});var{enabled:r=!0,modifiers:n,placement:o="bottom",strategy:a="absolute",arrowPadding:i=8,eventListeners:s=!0,offset:l,gutter:u=8,flip:c=!0,boundary:d="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=t,m=e.useRef(null),v=e.useRef(null),g=e.useRef(null),b=function(e,t){var r,n;void 0===t&&(t="ltr");var o=(null==(r=RS[e])?void 0:r[t])||e;return"ltr"===t?o:null!=(n=TS[e])?n:o}(o,h),y=e.useRef((()=>{})),x=e.useCallback((()=>{var e;r&&m.current&&v.current&&(null==y.current||y.current(),g.current=gS(m.current,v.current,{placement:b,modifiers:[PS,CS,ES,zS({},kS,{enabled:!!p}),zS({name:"eventListeners"},(e=s,"object"==typeof e?{enabled:!0,options:bS({},SS,e)}:{enabled:e,options:SS})),{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:null!=l?l:[0,u]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:d}},...null!=n?n:[]],strategy:a}),g.current.forceUpdate(),y.current=g.current.destroy)}),[b,r,n,p,s,i,l,u,c,f,d,a]);e.useEffect((()=>()=>{var e;m.current||v.current||(null==(e=g.current)||e.destroy(),g.current=null)}),[]);var w=e.useCallback((e=>{m.current=e,x()}),[x]),S=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),zS({},e,{ref:on(w,t)})}),[w]),k=e.useCallback((e=>{v.current=e,x()}),[x]),E=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),zS({},e,{ref:on(k,t),style:zS({},e.style,{position:a,minWidth:"max-content",inset:"0 auto auto 0"})})}),[a,k]),O=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),zS({},function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["size","shadowColor","bg","style"]),{ref:t,"data-popper-arrow":"",style:DS(e)})}),[]),C=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),zS({},e,{ref:t,"data-popper-arrow-inner":""})}),[]);return{update(){var e;null==(e=g.current)||e.update()},forceUpdate(){var e;null==(e=g.current)||e.forceUpdate()},transformOrigin:xS.transformOrigin.varRef,referenceRef:w,popperRef:k,getPopperProps:E,getArrowProps:O,getArrowInnerProps:C,getReferenceProps:S}}function DS(e){var{size:t,shadowColor:r,bg:n,style:o}=e,a=zS({},o,{position:"absolute"});return t&&(a["--popper-arrow-size"]=t),r&&(a["--popper-arrow-shadow-color"]=r),n&&(a["--popper-arrow-bg"]=n),a}var[FS,MS]=an({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"});function IS(){return IS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},IS.apply(this,arguments)}var NS=e=>{if(e)return Ut(e,{enter:{visibility:"visible"},exit:{transitionEnd:{visibility:"hidden"}}})},LS=rb(mi.section),WS=i.default.forwardRef(((e,t)=>{var{isOpen:r}=MS();return i.default.createElement(LS,IS({ref:t,variants:NS(e.variants)},e,{initial:!1,animate:r?"enter":"exit"}))}));function HS(){return HS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},HS.apply(this,arguments)}WS.defaultProps={variants:{exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}}};var VS={click:"click",hover:"hover"};function $S(t){void 0===t&&(t={});var{closeOnBlur:r=!0,closeOnEsc:n=!0,initialFocusRef:o,id:a,returnFocusOnClose:i=!0,autoFocus:s=!0,arrowSize:l,arrowShadowColor:u,trigger:c=VS.click,openDelay:d=200,closeDelay:f=200,isLazy:p,lazyBehavior:h="unmount",computePositionOnMount:m}=t,v=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["closeOnBlur","closeOnEsc","initialFocusRef","id","returnFocusOnClose","autoFocus","arrowSize","arrowShadowColor","trigger","openDelay","closeDelay","isLazy","lazyBehavior","computePositionOnMount"]),{isOpen:g,onClose:b,onOpen:y,onToggle:x}=En(t),w=e.useRef(null),S=e.useRef(null),k=e.useRef(!1),E=e.useRef(!1);g&&(E.current=!0);var[O,C]=e.useState(!1),[_,A]=e.useState(!1),[P,j,R,T]=Sn(a,"popover-trigger","popover-content","popover-header","popover-body"),{referenceRef:z,getArrowProps:B,getPopperProps:D,getArrowInnerProps:F,forceUpdate:M}=BS(HS({},v,{enabled:g||!!m}));An({enabled:g,ref:w}),_n(S,{focusRef:w,visible:g,shouldFocus:i&&c===VS.click}),jn(S,{focusRef:o,visible:g,shouldFocus:s&&c===VS.click});var I=jr({hasBeenSelected:E.current,isLazy:p,lazyBehavior:h,isSelected:g}),N=e.useCallback((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var o=HS({},e,{style:HS({},e.style,{transformOrigin:xS.transformOrigin.varRef,[xS.arrowSize.var]:l?er(l):void 0,[xS.arrowShadowColor.var]:u}),ref:on(S,t),children:I?e.children:null,id:j,tabIndex:-1,role:"dialog",onKeyDown:Er(e.onKeyDown,(e=>{n&&"Escape"===e.key&&b()})),onBlur:Er(e.onBlur,(e=>{var t=function(e){var t,r,n=pr(null!=(t=e.target)?t:e.currentTarget);return null!=(r=e.relatedTarget)?r:n}(e),n=hr(S.current,t),o=hr(w.current,t);g&&r&&(!n&&!o)&&b()})),"aria-labelledby":O?R:void 0,"aria-describedby":_?T:void 0});return c===VS.hover&&(o.role="tooltip",o.onMouseEnter=Er(e.onMouseEnter,(()=>{k.current=!0})),o.onMouseLeave=Er(e.onMouseLeave,(()=>{k.current=!1,setTimeout(b,f)}))),o}),[I,j,O,R,_,T,c,n,b,g,r,f,u,l]),L=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),D(HS({},e,{style:HS({visibility:g?"visible":"hidden"},e.style)}),t)}),[g,D]),W=e.useRef(),H=e.useRef(),V=e.useCallback((function(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=HS({},e,{ref:on(w,t,z),id:P,"aria-haspopup":"dialog","aria-expanded":g,"aria-controls":j});return c===VS.click&&(r.onClick=Er(e.onClick,x)),c===VS.hover&&(r.onFocus=Er(e.onFocus,y),r.onBlur=Er(e.onBlur,b),r.onKeyDown=Er(e.onKeyDown,(e=>{"Escape"===e.key&&b()})),r.onMouseEnter=Er(e.onMouseEnter,(()=>{k.current=!0,W.current=window.setTimeout(y,d)})),r.onMouseLeave=Er(e.onMouseLeave,(()=>{k.current=!1,W.current&&(clearTimeout(W.current),W.current=void 0),H.current=window.setTimeout((()=>{!1===k.current&&b()}),f)}))),r}),[P,g,j,c,z,x,y,b,d,f]);e.useEffect((()=>()=>{W.current&&clearTimeout(W.current),H.current&&clearTimeout(H.current)}),[]);var $=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HS({},e,{id:R,ref:on(t,(e=>{C(!!e)}))})}),[R]),U=e.useCallback((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),HS({},e,{id:T,ref:on(t,(e=>{A(!!e)}))})}),[T]);return{forceUpdate:M,isOpen:g,onClose:b,getArrowProps:B,getArrowInnerProps:F,getPopoverPositionerProps:L,getPopoverProps:N,getTriggerProps:V,getHeaderProps:$,getBodyProps:U}}function US(){return US=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},US.apply(this,arguments)}function qS(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var YS=t=>{var r=bi("Popover",t),n=Ja(t),{children:o}=n,a=$S(US({},qS(n,["children"]),{direction:Ga().direction}));return e.createElement(FS,{value:a},e.createElement(Ka,{value:r},kr(o,{isOpen:a.isOpen,onClose:a.onClose,forceUpdate:a.forceUpdate})))};Vt&&(YS.displayName="Popover");var XS=t=>{var r=e.Children.only(t.children),{getTriggerProps:n}=MS();return e.cloneElement(r,n(r.props,r.ref))};Vt&&(XS.displayName="PopoverTrigger");var GS=vi(((t,r)=>{var{rootProps:n}=t,o=qS(t,["rootProps"]),{getPopoverProps:a,getPopoverPositionerProps:i}=MS(),s=Za(),l=US({position:"relative",display:"flex",flexDirection:"column"},s.content);return e.createElement(mi.div,US({},i(n),{__css:s.popper,className:"chakra-popover__popper"}),e.createElement(WS,US({},a(o,r),{className:fr("chakra-popover__content",t.className),__css:l})))}));Vt&&(GS.displayName="PopoverContent");var KS=vi(((t,r)=>{var{getHeaderProps:n}=MS(),o=Za();return e.createElement(mi.header,US({},n(t,r),{className:fr("chakra-popover__header",t.className),__css:o.header}))}));Vt&&(KS.displayName="PopoverHeader");var ZS=vi(((t,r)=>{var{getBodyProps:n}=MS(),o=Za();return e.createElement(mi.div,US({},n(t,r),{className:fr("chakra-popover__body",t.className),__css:o.body}))}));Vt&&(ZS.displayName="PopoverBody");var QS=t=>{var{onClose:r}=MS(),n=Za();return e.createElement(Jy,US({size:"sm",onClick:r,className:fr("chakra-popover__close-btn",t.className),__css:n.closeButton},t))};Vt&&(QS.displayName="PopoverCloseButton");var JS=t=>{var r,{bg:n,bgColor:o,backgroundColor:a}=t,{getArrowProps:i,getArrowInnerProps:s}=MS(),l=Za(),u=null!=(r=null!=n?n:o)?r:a;return e.createElement(mi.div,US({},i(),{className:"chakra-popover__arrow-positioner"}),e.createElement(mi.div,US({className:fr("chakra-popover__arrow",t.className)},s(t),{__css:US({},l.arrow,{"--popper-arrow-bg":u?"colors."+u+", "+u:void 0})})))};Vt&&(JS.displayName="PopoverArrow");var ek=Ct({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),tk=Ct({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});function rk(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function nk(){return nk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nk.apply(this,arguments)}Ct({"0%":{left:"-40%"},"100%":{left:"100%"}}),Ct({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});var ok=t=>e.createElement(mi.circle,nk({cx:50,cy:50,r:42,fill:"transparent"},t));Vt&&(ok.displayName="Circle");var ak=t=>{var{size:r,isIndeterminate:n}=t,o=rk(t,["size","isIndeterminate"]);return e.createElement(mi.svg,nk({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?tk+" 2s linear infinite":void 0}},o))};Vt&&(ak.displayName="Shape");var ik=t=>{var r,{size:n="48px",max:o=100,min:a=0,valueText:i,getValueText:s,value:l,capIsRound:u,children:c,thickness:d="10px",color:f="#0078d4",trackColor:p="#edebe9",isIndeterminate:h}=t,m=rk(t,["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"]),v=function(e){var{value:t=0,min:r,max:n,valueText:o,getValueText:a,isIndeterminate:i}=e,s=function(e,t,r){return 100*(e-t)/(r-t)}(t,r,n);return{bind:{"data-indeterminate":i?"":void 0,"aria-valuemax":n,"aria-valuemin":r,"aria-valuenow":i?void 0:t,"aria-valuetext":(()=>{if(null!=t)return It(a)?a(t,s):o})(),role:"progressbar"},percent:s,value:t}}({min:a,max:o,value:l,valueText:i,getValueText:s,isIndeterminate:h}),g=h?void 0:2.64*(null!=(r=v.percent)?r:0),b=Nt(g)?void 0:g+" "+(264-g),y=h?{css:{animation:ek+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:b,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},x={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n};return e.createElement(mi.div,nk({className:"chakra-progress"},v.bind,m,{__css:x}),e.createElement(ak,{size:n,isIndeterminate:h},e.createElement(ok,{stroke:p,strokeWidth:d,className:"chakra-progress__track"}),e.createElement(ok,nk({stroke:f,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:u?"round":void 0,opacity:0!==v.value||h?void 0:0},y))),c)};Vt&&(ik.displayName="CircularProgress");var sk=mi("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function lk(){return lk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lk.apply(this,arguments)}function uk(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(sk.displayName="CircularProgressLabel");var ck=vi(((t,r)=>{var{children:n,placeholder:o,className:a}=t,i=uk(t,["children","placeholder","className"]);return e.createElement(mi.select,lk({},i,{ref:r,className:fr("chakra-select",a)}),o&&e.createElement("option",{value:""},o),n)}));Vt&&(ck.displayName="SelectField");var dk=vi(((t,r)=>{var n=bi("Select",t),o=Ja(t),{rootProps:a,placeholder:i,icon:s,color:l,height:u,h:c,minH:d,minHeight:f,iconColor:p,iconSize:h}=o,m=uk(o,["rootProps","placeholder","icon","color","height","h","minH","minHeight","iconColor","iconSize","isFullWidth"]),[v,g]=function(e,t){var r={},n={};return Object.keys(e).forEach((o=>{t.includes(o)?r[o]=e[o]:n[o]=e[o]})),[r,n]}(m,ma),b=lx(g),y={width:"100%",height:"fit-content",position:"relative",color:l},x=Ut({},n.field,{paddingEnd:"2rem",_focus:{zIndex:"unset"}});return e.createElement(mi.div,lk({className:"chakra-select__wrapper",__css:y},v,a),e.createElement(ck,lk({ref:r,height:null!=c?c:u,minH:null!=d?d:f,placeholder:i},b,{__css:x}),t.children),e.createElement(hk,lk({"data-disabled":cr(b.disabled)},(p||l)&&{color:p||l},{__css:n.icon},h&&{fontSize:h}),s))}));Vt&&(dk.displayName="Select");var fk=t=>e.createElement("svg",lk({viewBox:"0 0 24 24"},t),e.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),pk=mi("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),hk=t=>{var{children:r=e.createElement(fk,null)}=t,n=uk(t,["children"]),o=e.cloneElement(r,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return e.createElement(pk,lk({},n,{className:"chakra-select__icon-wrapper"}),e.isValidElement(r)?o:null)};function mk(){return mk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mk.apply(this,arguments)}function vk(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}Vt&&(hk.displayName="SelectIcon");var[gk,bk,yk,xk]=Xb();var[wk,Sk]=an({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function kk(e,t){return e+"--tab-"+t}function Ek(e,t){return e+"--tabpanel-"+t}function Ok(){return Ok=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ok.apply(this,arguments)}function Ck(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var _k=vi(((t,r)=>{var n=bi("Tabs",t),o=Ja(t),{children:a,className:i}=o,s=function(t){var{defaultIndex:r,onChange:n,index:o,isManual:a,isLazy:i,lazyBehavior:s="unmount",orientation:l="horizontal",direction:u="ltr"}=t,c=vk(t,["defaultIndex","onChange","index","isManual","isLazy","lazyBehavior","orientation","direction"]),[d,f]=e.useState(null!=r?r:0),[p,h]=gn({defaultValue:null!=r?r:0,value:o,onChange:n});e.useEffect((()=>{null!=o&&f(o)}),[o]);var m=yk();return{id:wn(t.id,"tabs"),selectedIndex:p,focusedIndex:d,setSelectedIndex:h,setFocusedIndex:f,isManual:a,isLazy:i,lazyBehavior:s,orientation:l,descendants:m,direction:u,htmlProps:c}}(Ck(o,["children","className"])),{htmlProps:l,descendants:u}=s,c=Ck(s,["htmlProps","descendants"]),d=e.useMemo((()=>c),[c]),f=qt(l,["isFitted"]);return e.createElement(gk,{value:u},e.createElement(wk,{value:d},e.createElement(Ka,{value:n},e.createElement(mi.div,Ok({className:fr("chakra-tabs",i),ref:r},f,{__css:n.root}),a))))}));Vt&&(_k.displayName="Tabs");var Ak=vi(((t,r)=>{var n=Za(),o=function(e){var{isDisabled:t,isFocusable:r}=e,n=vk(e,["isDisabled","isFocusable"]),{setSelectedIndex:o,isManual:a,id:i,setFocusedIndex:s,selectedIndex:l}=Sk(),{index:u,register:c}=xk({disabled:t&&!r}),d=u===l,f=sw(mk({},n,{ref:on(c,e.ref),isDisabled:t,isFocusable:r,onClick:Er(e.onClick,(()=>{o(u)}))}));return mk({},f,{id:kk(i,u),role:"tab",tabIndex:d?0:-1,type:"button","aria-selected":d,"aria-controls":Ek(i,u),onFocus:t?void 0:Er(e.onFocus,(()=>{s(u),!a&&(!t||!r)&&o(u)}))})}(Ok({},t,{ref:r})),a=Ok({outline:"0",display:"flex",alignItems:"center",justifyContent:"center"},n.tab);return e.createElement(mi.button,Ok({},o,{className:fr("chakra-tabs__tab",t.className),__css:a}))}));Vt&&(Ak.displayName="Tab");var Pk=vi(((t,r)=>{var n=function(t){var{focusedIndex:r,orientation:n,direction:o}=Sk(),a=bk(),i=e.useCallback((e=>{var t=()=>{var e=a.nextEnabled(r);e&&Ar(e.node)},i=()=>{var e=a.prevEnabled(r);e&&Ar(e.node)},s="horizontal"===n,l="vertical"===n,u=mr(e),c={["ltr"===o?"ArrowLeft":"ArrowRight"]:()=>s&&i(),["ltr"===o?"ArrowRight":"ArrowLeft"]:()=>s&&t(),ArrowDown:()=>l&&t(),ArrowUp:()=>l&&i(),Home:()=>{var e=a.firstEnabled();e&&Ar(e.node)},End:()=>{var e=a.lastEnabled();e&&Ar(e.node)}},d=c[u];d&&(e.preventDefault(),d(e))}),[a,r,n,o]);return mk({},t,{role:"tablist","aria-orientation":n,onKeyDown:Er(t.onKeyDown,i)})}(Ok({},t,{ref:r})),o=Ok({display:"flex"},Za().tablist);return e.createElement(mi.div,Ok({},n,{className:fr("chakra-tabs__tablist",t.className),__css:o}))}));Vt&&(Pk.displayName="TabList");var jk=vi(((t,r)=>{var n=function(t){var{isSelected:r,id:n,children:o}=t,a=vk(t,["isSelected","id","children"]),{isLazy:i,lazyBehavior:s}=Sk(),l=e.useRef(!1);return r&&(l.current=!0),mk({tabIndex:0},a,{children:jr({hasBeenSelected:l.current,isSelected:r,isLazy:i,lazyBehavior:s})?o:null,role:"tabpanel",hidden:!r,id:n})}(Ok({},t,{ref:r})),o=Za();return e.createElement(mi.div,Ok({outline:"0"},n,{className:fr("chakra-tabs__tab-panel",t.className),__css:o.tabpanel}))}));Vt&&(jk.displayName="TabPanel");var Rk=vi(((t,r)=>{var n=function(t){var r=Sk(),{id:n,selectedIndex:o}=r,a=sn(t.children).map(((t,r)=>e.cloneElement(t,{isSelected:r===o,id:Ek(n,r),"aria-labelledby":kk(n,r)})));return mk({},t,{children:a})}(t),o=Za();return e.createElement(mi.div,Ok({},n,{width:"100%",ref:r,className:fr("chakra-tabs__tab-panels",t.className),__css:o.tabpanels}))}));Vt&&(Rk.displayName="TabPanels");var Tk=vi(((t,r)=>{var n=function(){var t=Sk(),r=bk(),{selectedIndex:n,orientation:o}=t,a="horizontal"===o,i="vertical"===o,[s,l]=e.useState((()=>a?{left:0,width:0}:i?{top:0,height:0}:void 0)),[u,c]=e.useState(!1);return fn((()=>{if(!Nt(n)){var e=r.item(n);if(!Nt(e)){a&&l({left:e.node.offsetLeft,width:e.node.offsetWidth}),i&&l({top:e.node.offsetTop,height:e.node.offsetHeight});var t=requestAnimationFrame((()=>{c(!0)}));return()=>{t&&cancelAnimationFrame(t)}}}}),[n,a,i,r]),mk({position:"absolute",transitionProperty:"left, right, top, bottom",transitionDuration:u?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},s)}(),o=Ok({},t.style,n),a=Za();return e.createElement(mi.div,Ok({ref:r},t,{className:fr("chakra-tabs__tab-indicator",t.className),style:o,__css:a.indicator}))}));Vt&&(Tk.displayName="TabIndicator");var zk,Bk,Dk=function(e){return e&&e.Math==Math&&e},Fk=Dk("object"==typeof globalThis&&globalThis)||Dk("object"==typeof window&&window)||Dk("object"==typeof self&&self)||Dk("object"==typeof ge&&ge)||function(){return this}()||Function("return this")(),Mk=function(e){try{return!!e()}catch(e){return!0}},Ik=!Mk((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Nk=Function.prototype,Lk=Nk.apply,Wk=Nk.call,Hk="object"==typeof Reflect&&Reflect.apply||(Ik?Wk.bind(Lk):function(){return Wk.apply(Lk,arguments)}),Vk=Function.prototype,$k=Vk.bind,Uk=Vk.call,qk=Ik&&$k.bind(Uk,Uk),Yk=Ik?function(e){return e&&qk(e)}:function(e){return e&&function(){return Uk.apply(e,arguments)}},Xk=function(e){return"function"==typeof e},Gk=!Mk((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Kk=Function.prototype.call,Zk=Ik?Kk.bind(Kk):function(){return Kk.apply(Kk,arguments)},Qk={}.propertyIsEnumerable,Jk=Object.getOwnPropertyDescriptor,eE={f:Jk&&!Qk.call({1:2},1)?function(e){var t=Jk(this,e);return!!t&&t.enumerable}:Qk},tE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},rE=Yk({}.toString),nE=Yk("".slice),oE=function(e){return nE(rE(e),8,-1)},aE=Fk.Object,iE=Yk("".split),sE=Mk((function(){return!aE("z").propertyIsEnumerable(0)}))?function(e){return"String"==oE(e)?iE(e,""):aE(e)}:aE,lE=Fk.TypeError,uE=function(e){if(null==e)throw lE("Can't call method on "+e);return e},cE=function(e){return sE(uE(e))},dE=function(e){return"object"==typeof e?null!==e:Xk(e)},fE={},pE=function(e){return Xk(e)?e:void 0},hE=function(e,t){return arguments.length<2?pE(fE[e])||pE(Fk[e]):fE[e]&&fE[e][t]||Fk[e]&&Fk[e][t]},mE=Yk({}.isPrototypeOf),vE=hE("navigator","userAgent")||"",gE=Fk.process,bE=Fk.Deno,yE=gE&&gE.versions||bE&&bE.version,xE=yE&&yE.v8;xE&&(Bk=(zk=xE.split("."))[0]>0&&zk[0]<4?1:+(zk[0]+zk[1])),!Bk&&vE&&(!(zk=vE.match(/Edge\/(\d+)/))||zk[1]>=74)&&(zk=vE.match(/Chrome\/(\d+)/))&&(Bk=+zk[1]);var wE=Bk,SE=!!Object.getOwnPropertySymbols&&!Mk((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&wE&&wE<41})),kE=SE&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,EE=Fk.Object,OE=kE?function(e){return"symbol"==typeof e}:function(e){var t=hE("Symbol");return Xk(t)&&mE(t.prototype,EE(e))},CE=Fk.String,_E=function(e){try{return CE(e)}catch(e){return"Object"}},AE=Fk.TypeError,PE=function(e){if(Xk(e))return e;throw AE(_E(e)+" is not a function")},jE=function(e,t){var r=e[t];return null==r?void 0:PE(r)},RE=Fk.TypeError,TE=Object.defineProperty,zE=Fk["__core-js_shared__"]||function(e,t){try{TE(Fk,e,{value:t,configurable:!0,writable:!0})}catch(r){Fk[e]=t}return t}("__core-js_shared__",{}),BE=ye((function(e){(e.exports=function(e,t){return zE[e]||(zE[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),DE=Fk.Object,FE=function(e){return DE(uE(e))},ME=Yk({}.hasOwnProperty),IE=Object.hasOwn||function(e,t){return ME(FE(e),t)},NE=0,LE=Math.random(),WE=Yk(1..toString),HE=function(e){return"Symbol("+(void 0===e?"":e)+")_"+WE(++NE+LE,36)},VE=BE("wks"),$E=Fk.Symbol,UE=$E&&$E.for,qE=kE?$E:$E&&$E.withoutSetter||HE,YE=function(e){if(!IE(VE,e)||!SE&&"string"!=typeof VE[e]){var t="Symbol."+e;SE&&IE($E,e)?VE[e]=$E[e]:VE[e]=kE&&UE?UE(t):qE(t)}return VE[e]},XE=Fk.TypeError,GE=YE("toPrimitive"),KE=function(e,t){if(!dE(e)||OE(e))return e;var r,n=jE(e,GE);if(n){if(void 0===t&&(t="default"),r=Zk(n,e,t),!dE(r)||OE(r))return r;throw XE("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&Xk(r=e.toString)&&!dE(n=Zk(r,e)))return n;if(Xk(r=e.valueOf)&&!dE(n=Zk(r,e)))return n;if("string"!==t&&Xk(r=e.toString)&&!dE(n=Zk(r,e)))return n;throw RE("Can't convert object to primitive value")}(e,t)},ZE=function(e){var t=KE(e,"string");return OE(t)?t:t+""},QE=Fk.document,JE=dE(QE)&&dE(QE.createElement),eO=function(e){return JE?QE.createElement(e):{}},tO=!Gk&&!Mk((function(){return 7!=Object.defineProperty(eO("div"),"a",{get:function(){return 7}}).a})),rO=Object.getOwnPropertyDescriptor,nO={f:Gk?rO:function(e,t){if(e=cE(e),t=ZE(t),tO)try{return rO(e,t)}catch(e){}if(IE(e,t))return tE(!Zk(eE.f,e,t),e[t])}},oO=/#|\.prototype\./,aO=function(e,t){var r=sO[iO(e)];return r==uO||r!=lO&&(Xk(t)?Mk(t):!!t)},iO=aO.normalize=function(e){return String(e).replace(oO,".").toLowerCase()},sO=aO.data={},lO=aO.NATIVE="N",uO=aO.POLYFILL="P",cO=aO,dO=Yk(Yk.bind),fO=function(e,t){return PE(e),void 0===t?e:Ik?dO(e,t):function(){return e.apply(t,arguments)}},pO=Gk&&Mk((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),hO=Fk.String,mO=Fk.TypeError,vO=function(e){if(dE(e))return e;throw mO(hO(e)+" is not an object")},gO=Fk.TypeError,bO=Object.defineProperty,yO=Object.getOwnPropertyDescriptor,xO={f:Gk?pO?function(e,t,r){if(vO(e),t=ZE(t),vO(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=yO(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return bO(e,t,r)}:bO:function(e,t,r){if(vO(e),t=ZE(t),vO(r),tO)try{return bO(e,t,r)}catch(e){}if("get"in r||"set"in r)throw gO("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},wO=Gk?function(e,t,r){return xO.f(e,t,tE(1,r))}:function(e,t,r){return e[t]=r,e},SO=nO.f,kO=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return Hk(e,this,arguments)};return t.prototype=e.prototype,t},EO=function(e,t){var r,n,o,a,i,s,l,u,c=e.target,d=e.global,f=e.stat,p=e.proto,h=d?Fk:f?Fk[c]:(Fk[c]||{}).prototype,m=d?fE:fE[c]||wO(fE,c,{})[c],v=m.prototype;for(o in t)r=!cO(d?o:c+(f?".":"#")+o,e.forced)&&h&&IE(h,o),i=m[o],r&&(s=e.noTargetGet?(u=SO(h,o))&&u.value:h[o]),a=r&&s?s:t[o],r&&typeof i==typeof a||(l=e.bind&&r?fO(a,Fk):e.wrap&&r?kO(a):p&&Xk(a)?Yk(a):a,(e.sham||a&&a.sham||i&&i.sham)&&wO(l,"sham",!0),wO(m,o,l),p&&(IE(fE,n=c+"Prototype")||wO(fE,n,{}),wO(fE[n],o,a),e.real&&v&&!v[o]&&wO(v,o,a)))},OO=Math.ceil,CO=Math.floor,_O=function(e){var t=+e;return t!=t||0===t?0:(t>0?CO:OO)(t)},AO=Math.max,PO=Math.min,jO=function(e,t){var r=_O(e);return r<0?AO(r+t,0):PO(r,t)},RO=Math.min,TO=function(e){return(t=e.length)>0?RO(_O(t),9007199254740991):0;var t},zO=function(e){return function(t,r,n){var o,a=cE(t),i=TO(a),s=jO(n,i);if(e&&r!=r){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===r)return e||s||0;return!e&&-1}},BO={includes:zO(!0),indexOf:zO(!1)},DO={},FO=BO.indexOf,MO=Yk([].push),IO=function(e,t){var r,n=cE(e),o=0,a=[];for(r in n)!IE(DO,r)&&IE(n,r)&&MO(a,r);for(;t.length>o;)IE(n,r=t[o++])&&(~FO(a,r)||MO(a,r));return a},NO=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],LO=Object.keys||function(e){return IO(e,NO)},WO=Mk((function(){LO(1)}));EO({target:"Object",stat:!0,forced:WO},{keys:function(e){return LO(FE(e))}});var HO=fE.Object.keys,VO=HO,$O=Array.isArray||function(e){return"Array"==oE(e)},UO={};UO[YE("toStringTag")]="z";var qO,YO="[object z]"===String(UO),XO=YE("toStringTag"),GO=Fk.Object,KO="Arguments"==oE(function(){return arguments}()),ZO=YO?oE:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=GO(e),XO))?r:KO?oE(t):"Object"==(n=oE(t))&&Xk(t.callee)?"Arguments":n},QO=Fk.String,JO=function(e){if("Symbol"===ZO(e))throw TypeError("Cannot convert a Symbol value to a string");return QO(e)},eC=Gk&&!pO?Object.defineProperties:function(e,t){vO(e);for(var r,n=cE(t),o=LO(t),a=o.length,i=0;a>i;)xO.f(e,r=o[i++],n[r]);return e},tC={f:eC},rC=hE("document","documentElement"),nC=BE("keys"),oC=function(e){return nC[e]||(nC[e]=HE(e))},aC=oC("IE_PROTO"),iC=function(){},sC=function(e){return"<script>"+e+"<\/script>"},lC=function(e){e.write(sC("")),e.close();var t=e.parentWindow.Object;return e=null,t},uC=function(){try{qO=new ActiveXObject("htmlfile")}catch(e){}var e,t;uC="undefined"!=typeof document?document.domain&&qO?lC(qO):((t=eO("iframe")).style.display="none",rC.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(sC("document.F=Object")),e.close(),e.F):lC(qO);for(var r=NO.length;r--;)delete uC.prototype[NO[r]];return uC()};DO[aC]=!0;var cC=Object.create||function(e,t){var r;return null!==e?(iC.prototype=vO(e),r=new iC,iC.prototype=null,r[aC]=e):r=uC(),void 0===t?r:tC.f(r,t)},dC=NO.concat("length","prototype"),fC={f:Object.getOwnPropertyNames||function(e){return IO(e,dC)}},pC=function(e,t,r){var n=ZE(t);n in e?xO.f(e,n,tE(0,r)):e[n]=r},hC=Fk.Array,mC=Math.max,vC=fC.f,gC="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],bC=function(e){try{return vC(e)}catch(e){return function(e,t,r){for(var n=TO(e),o=jO(t,n),a=jO(void 0===r?n:r,n),i=hC(mC(a-o,0)),s=0;o<a;o++,s++)pC(i,s,e[o]);return i.length=s,i}(gC)}},yC={f:function(e){return gC&&"Window"==oE(e)?bC(e):vC(cE(e))}},xC={f:Object.getOwnPropertySymbols},wC=Yk([].slice),SC=function(e,t,r,n){n&&n.enumerable?e[t]=r:wO(e,t,r)},kC={f:YE},EC=xO.f,OC=function(e){var t=fE.Symbol||(fE.Symbol={});IE(t,e)||EC(t,e,{value:kC.f(e)})},CC=YO?{}.toString:function(){return"[object "+ZO(this)+"]"},_C=xO.f,AC=YE("toStringTag"),PC=function(e,t,r,n){if(e){var o=r?e:e.prototype;IE(o,AC)||_C(o,AC,{configurable:!0,value:t}),n&&!YO&&wO(o,"toString",CC)}},jC=Yk(Function.toString);Xk(zE.inspectSource)||(zE.inspectSource=function(e){return jC(e)});var RC,TC,zC,BC=zE.inspectSource,DC=Fk.WeakMap,FC=Xk(DC)&&/native code/.test(BC(DC)),MC=Fk.TypeError,IC=Fk.WeakMap;if(FC||zE.state){var NC=zE.state||(zE.state=new IC),LC=Yk(NC.get),WC=Yk(NC.has),HC=Yk(NC.set);RC=function(e,t){if(WC(NC,e))throw new MC("Object already initialized");return t.facade=e,HC(NC,e,t),t},TC=function(e){return LC(NC,e)||{}},zC=function(e){return WC(NC,e)}}else{var VC=oC("state");DO[VC]=!0,RC=function(e,t){if(IE(e,VC))throw new MC("Object already initialized");return t.facade=e,wO(e,VC,t),t},TC=function(e){return IE(e,VC)?e[VC]:{}},zC=function(e){return IE(e,VC)}}var $C={set:RC,get:TC,has:zC,enforce:function(e){return zC(e)?TC(e):RC(e,{})},getterFor:function(e){return function(t){var r;if(!dE(t)||(r=TC(t)).type!==e)throw MC("Incompatible receiver, "+e+" required");return r}}},UC=function(){},qC=[],YC=hE("Reflect","construct"),XC=/^\s*(?:class|function)\b/,GC=Yk(XC.exec),KC=!XC.exec(UC),ZC=function(e){if(!Xk(e))return!1;try{return YC(UC,qC,e),!0}catch(e){return!1}},QC=function(e){if(!Xk(e))return!1;switch(ZO(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return KC||!!GC(XC,BC(e))}catch(e){return!0}};QC.sham=!0;var JC=!YC||Mk((function(){var e;return ZC(ZC.call)||!ZC(Object)||!ZC((function(){e=!0}))||e}))?QC:ZC,e_=YE("species"),t_=Fk.Array,r_=function(e,t){return new(function(e){var t;return $O(e)&&(t=e.constructor,(JC(t)&&(t===t_||$O(t.prototype))||dE(t)&&null===(t=t[e_]))&&(t=void 0)),void 0===t?t_:t}(e))(0===t?0:t)},n_=Yk([].push),o_=function(e){var t=1==e,r=2==e,n=3==e,o=4==e,a=6==e,i=7==e,s=5==e||a;return function(l,u,c,d){for(var f,p,h=FE(l),m=sE(h),v=fO(u,c),g=TO(m),b=0,y=d||r_,x=t?y(l,g):r||i?y(l,0):void 0;g>b;b++)if((s||b in m)&&(p=v(f=m[b],b,h),e))if(t)x[b]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:n_(x,f)}else switch(e){case 4:return!1;case 7:n_(x,f)}return a?-1:n||o?o:x}},a_={forEach:o_(0),map:o_(1),filter:o_(2),some:o_(3),every:o_(4),find:o_(5),findIndex:o_(6),filterReject:o_(7)},i_=a_.forEach,s_=oC("hidden"),l_=YE("toPrimitive"),u_=$C.set,c_=$C.getterFor("Symbol"),d_=Object.prototype,f_=Fk.Symbol,p_=f_&&f_.prototype,h_=Fk.TypeError,m_=Fk.QObject,v_=hE("JSON","stringify"),g_=nO.f,b_=xO.f,y_=yC.f,x_=eE.f,w_=Yk([].push),S_=BE("symbols"),k_=BE("op-symbols"),E_=BE("string-to-symbol-registry"),O_=BE("symbol-to-string-registry"),C_=BE("wks"),__=!m_||!m_.prototype||!m_.prototype.findChild,A_=Gk&&Mk((function(){return 7!=cC(b_({},"a",{get:function(){return b_(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=g_(d_,t);n&&delete d_[t],b_(e,t,r),n&&e!==d_&&b_(d_,t,n)}:b_,P_=function(e,t){var r=S_[e]=cC(p_);return u_(r,{type:"Symbol",tag:e,description:t}),Gk||(r.description=t),r},j_=function(e,t,r){e===d_&&j_(k_,t,r),vO(e);var n=ZE(t);return vO(r),IE(S_,n)?(r.enumerable?(IE(e,s_)&&e[s_][n]&&(e[s_][n]=!1),r=cC(r,{enumerable:tE(0,!1)})):(IE(e,s_)||b_(e,s_,tE(1,{})),e[s_][n]=!0),A_(e,n,r)):b_(e,n,r)},R_=function(e,t){vO(e);var r=cE(t),n=LO(r).concat(D_(r));return i_(n,(function(t){Gk&&!Zk(T_,r,t)||j_(e,t,r[t])})),e},T_=function(e){var t=ZE(e),r=Zk(x_,this,t);return!(this===d_&&IE(S_,t)&&!IE(k_,t))&&(!(r||!IE(this,t)||!IE(S_,t)||IE(this,s_)&&this[s_][t])||r)},z_=function(e,t){var r=cE(e),n=ZE(t);if(r!==d_||!IE(S_,n)||IE(k_,n)){var o=g_(r,n);return!o||!IE(S_,n)||IE(r,s_)&&r[s_][n]||(o.enumerable=!0),o}},B_=function(e){var t=y_(cE(e)),r=[];return i_(t,(function(e){IE(S_,e)||IE(DO,e)||w_(r,e)})),r},D_=function(e){var t=e===d_,r=y_(t?k_:cE(e)),n=[];return i_(r,(function(e){!IE(S_,e)||t&&!IE(d_,e)||w_(n,S_[e])})),n};if(SE||(SC(p_=(f_=function(){if(mE(p_,this))throw h_("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?JO(arguments[0]):void 0,t=HE(e),r=function(e){this===d_&&Zk(r,k_,e),IE(this,s_)&&IE(this[s_],t)&&(this[s_][t]=!1),A_(this,t,tE(1,e))};return Gk&&__&&A_(d_,t,{configurable:!0,set:r}),P_(t,e)}).prototype,"toString",(function(){return c_(this).tag})),SC(f_,"withoutSetter",(function(e){return P_(HE(e),e)})),eE.f=T_,xO.f=j_,tC.f=R_,nO.f=z_,fC.f=yC.f=B_,xC.f=D_,kC.f=function(e){return P_(YE(e),e)},Gk&&b_(p_,"description",{configurable:!0,get:function(){return c_(this).description}})),EO({global:!0,wrap:!0,forced:!SE,sham:!SE},{Symbol:f_}),i_(LO(C_),(function(e){OC(e)})),EO({target:"Symbol",stat:!0,forced:!SE},{for:function(e){var t=JO(e);if(IE(E_,t))return E_[t];var r=f_(t);return E_[t]=r,O_[r]=t,r},keyFor:function(e){if(!OE(e))throw h_(e+" is not a symbol");if(IE(O_,e))return O_[e]},useSetter:function(){__=!0},useSimple:function(){__=!1}}),EO({target:"Object",stat:!0,forced:!SE,sham:!Gk},{create:function(e,t){return void 0===t?cC(e):R_(cC(e),t)},defineProperty:j_,defineProperties:R_,getOwnPropertyDescriptor:z_}),EO({target:"Object",stat:!0,forced:!SE},{getOwnPropertyNames:B_,getOwnPropertySymbols:D_}),EO({target:"Object",stat:!0,forced:Mk((function(){xC.f(1)}))},{getOwnPropertySymbols:function(e){return xC.f(FE(e))}}),v_){var F_=!SE||Mk((function(){var e=f_();return"[null]"!=v_([e])||"{}"!=v_({a:e})||"{}"!=v_(Object(e))}));EO({target:"JSON",stat:!0,forced:F_},{stringify:function(e,t,r){var n=wC(arguments),o=t;if((dE(t)||void 0!==e)&&!OE(e))return $O(t)||(t=function(e,t){if(Xk(o)&&(t=Zk(o,this,e,t)),!OE(t))return t}),n[1]=t,Hk(v_,null,n)}})}if(!p_[l_]){var M_=p_.valueOf;SC(p_,l_,(function(e){return Zk(M_,this)}))}PC(f_,"Symbol"),DO[s_]=!0;var I_=fE.Object.getOwnPropertySymbols,N_=I_,L_=YE("species"),W_=function(e){return wE>=51||!Mk((function(){var t=[];return(t.constructor={})[L_]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},H_=a_.filter,V_=W_("filter");EO({target:"Array",proto:!0,forced:!V_},{filter:function(e){return H_(this,e,arguments.length>1?arguments[1]:void 0)}});var $_=function(e){return fE[e+"Prototype"]},U_=$_("Array").filter,q_=Array.prototype,Y_=function(e){var t=e.filter;return e===q_||mE(q_,e)&&t===q_.filter?U_:t},X_=nO.f,G_=Mk((function(){X_(1)}));EO({target:"Object",stat:!0,forced:!Gk||G_,sham:!Gk},{getOwnPropertyDescriptor:function(e,t){return X_(cE(e),t)}});var K_=ye((function(e){var t=fE.Object,r=e.exports=function(e,r){return t.getOwnPropertyDescriptor(e,r)};t.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),Z_=K_,Q_=Yk([].concat),J_=hE("Reflect","ownKeys")||function(e){var t=fC.f(vO(e)),r=xC.f;return r?Q_(t,r(e)):t};EO({target:"Object",stat:!0,sham:!Gk},{getOwnPropertyDescriptors:function(e){for(var t,r,n=cE(e),o=nO.f,a=J_(n),i={},s=0;a.length>s;)void 0!==(r=o(n,t=a[s++]))&&pC(i,t,r);return i}});var eA=fE.Object.getOwnPropertyDescriptors,tA=Object.assign,rA=Object.defineProperty,nA=Yk([].concat),oA=!tA||Mk((function(){if(Gk&&1!==tA({b:1},tA(rA({},"a",{enumerable:!0,get:function(){rA(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=tA({},e)[r]||LO(tA({},t)).join("")!=n}))?function(e,t){for(var r=FE(e),n=arguments.length,o=1,a=xC.f,i=eE.f;n>o;)for(var s,l=sE(arguments[o++]),u=a?nA(LO(l),a(l)):LO(l),c=u.length,d=0;c>d;)s=u[d++],Gk&&!Zk(i,l,s)||(r[s]=l[s]);return r}:tA;EO({target:"Object",stat:!0,forced:Object.assign!==oA},{assign:oA});var aA=fE.Object.assign;function iA(){return iA=aA||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},iA.apply(this,arguments)}var sA,lA,uA=I_,cA=BO.indexOf,dA=Yk([].indexOf),fA=!!dA&&1/dA([1],1,-0)<0,pA=!!(lA=[]["indexOf"])&&Mk((function(){lA.call(null,sA||function(){return 1},1)}));EO({target:"Array",proto:!0,forced:fA||!pA},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return fA?dA(this,e,t)||0:cA(this,e,t)}});var hA=$_("Array").indexOf,mA=Array.prototype,vA=function(e){var t=e.indexOf;return e===mA||mE(mA,e)&&t===mA.indexOf?hA:t},gA=HO;function bA(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=gA(e);for(n=0;n<a.length;n++)r=a[n],vA(t).call(t,r)>=0||(o[r]=e[r]);return o}(e,t);if(uA){var a=uA(e);for(n=0;n<a.length;n++)r=a[n],vA(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var yA=xO.f;EO({target:"Object",stat:!0,forced:Object.defineProperty!==yA,sham:!Gk},{defineProperty:yA});var xA=ye((function(e){var t=fE.Object,r=e.exports=function(e,r,n){return t.defineProperty(e,r,n)};t.defineProperty.sham&&(r.sham=!0)})),wA=xA,SA=wA;function kA(e,t,r){return t in e?SA(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var EA={parts:["container","button","panel","icon"],baseStyle:{container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},panel:{pt:2,px:4,pb:5},icon:{fontSize:"1.25em"}}},OA=ye((function(e){!function(t){var r=/^\s+/,n=/\s+$/,o=0,a=t.round,i=t.min,s=t.max,l=t.random;function u(e,l){if(l=l||{},(e=e||"")instanceof u)return e;if(!(this instanceof u))return new u(e,l);var c=function(e){var o={r:0,g:0,b:0},a=1,l=null,u=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(r,"").replace(n,"").toLowerCase();var t,o=!1;if(_[e])e=_[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=M.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=M.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=M.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=M.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=M.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=M.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=M.hex8.exec(e))return{r:T(t[1]),g:T(t[2]),b:T(t[3]),a:F(t[4]),format:o?"name":"hex8"};if(t=M.hex6.exec(e))return{r:T(t[1]),g:T(t[2]),b:T(t[3]),format:o?"name":"hex"};if(t=M.hex4.exec(e))return{r:T(t[1]+""+t[1]),g:T(t[2]+""+t[2]),b:T(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:o?"name":"hex8"};if(t=M.hex3.exec(e))return{r:T(t[1]+""+t[1]),g:T(t[2]+""+t[2]),b:T(t[3]+""+t[3]),format:o?"name":"hex"};return!1}(e));"object"==typeof e&&(I(e.r)&&I(e.g)&&I(e.b)?(o=function(e,t,r){return{r:255*j(e,255),g:255*j(t,255),b:255*j(r,255)}}(e.r,e.g,e.b),d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):I(e.h)&&I(e.s)&&I(e.v)?(l=B(e.s),u=B(e.v),o=function(e,r,n){e=6*j(e,360),r=j(r,100),n=j(n,100);var o=t.floor(e),a=e-o,i=n*(1-r),s=n*(1-a*r),l=n*(1-(1-a)*r),u=o%6;return{r:255*[n,s,i,i,l,n][u],g:255*[l,n,n,s,i,i][u],b:255*[i,i,l,n,n,s][u]}}(e.h,l,u),d=!0,f="hsv"):I(e.h)&&I(e.s)&&I(e.l)&&(l=B(e.s),c=B(e.l),o=function(e,t,r){var n,o,a;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=j(e,360),t=j(t,100),r=j(r,100),0===t)n=o=a=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,l,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(a=e.a));return a=P(a),{ok:d,format:e.format||f,r:i(255,s(o.r,0)),g:i(255,s(o.g,0)),b:i(255,s(o.b,0)),a:a}}(e);this._originalInput=e,this._r=c.r,this._g=c.g,this._b=c.b,this._a=c.a,this._roundA=a(100*this._a)/100,this._format=l.format||c.format,this._gradientType=l.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=c.ok,this._tc_id=o++}function c(e,t,r){e=j(e,255),t=j(t,255),r=j(r,255);var n,o,a=s(e,t,r),l=i(e,t,r),u=(a+l)/2;if(a==l)n=o=0;else{var c=a-l;switch(o=u>.5?c/(2-a-l):c/(a+l),a){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:o,l:u}}function d(e,t,r){e=j(e,255),t=j(t,255),r=j(r,255);var n,o,a=s(e,t,r),l=i(e,t,r),u=a,c=a-l;if(o=0===a?0:c/a,a==l)n=0;else{switch(a){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:o,v:u}}function f(e,t,r,n){var o=[z(a(e).toString(16)),z(a(t).toString(16)),z(a(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function p(e,t,r,n){return[z(D(n)),z(a(e).toString(16)),z(a(t).toString(16)),z(a(r).toString(16))].join("")}function h(e,t){t=0===t?0:t||10;var r=u(e).toHsl();return r.s-=t/100,r.s=R(r.s),u(r)}function m(e,t){t=0===t?0:t||10;var r=u(e).toHsl();return r.s+=t/100,r.s=R(r.s),u(r)}function v(e){return u(e).desaturate(100)}function g(e,t){t=0===t?0:t||10;var r=u(e).toHsl();return r.l+=t/100,r.l=R(r.l),u(r)}function b(e,t){t=0===t?0:t||10;var r=u(e).toRgb();return r.r=s(0,i(255,r.r-a(-t/100*255))),r.g=s(0,i(255,r.g-a(-t/100*255))),r.b=s(0,i(255,r.b-a(-t/100*255))),u(r)}function y(e,t){t=0===t?0:t||10;var r=u(e).toHsl();return r.l-=t/100,r.l=R(r.l),u(r)}function x(e,t){var r=u(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,u(r)}function w(e){var t=u(e).toHsl();return t.h=(t.h+180)%360,u(t)}function S(e){var t=u(e).toHsl(),r=t.h;return[u(e),u({h:(r+120)%360,s:t.s,l:t.l}),u({h:(r+240)%360,s:t.s,l:t.l})]}function k(e){var t=u(e).toHsl(),r=t.h;return[u(e),u({h:(r+90)%360,s:t.s,l:t.l}),u({h:(r+180)%360,s:t.s,l:t.l}),u({h:(r+270)%360,s:t.s,l:t.l})]}function E(e){var t=u(e).toHsl(),r=t.h;return[u(e),u({h:(r+72)%360,s:t.s,l:t.l}),u({h:(r+216)%360,s:t.s,l:t.l})]}function O(e,t,r){t=t||6,r=r||30;var n=u(e).toHsl(),o=360/r,a=[u(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(u(n));return a}function C(e,t){t=t||6;for(var r=u(e).toHsv(),n=r.h,o=r.s,a=r.v,i=[],s=1/t;t--;)i.push(u({h:n,s:o,v:a})),a=(a+s)%1;return i}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,n,o=this.toRgb();return e=o.r/255,r=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=a(360*e.h),r=a(100*e.s),n=a(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=c(this._r,this._g,this._b),t=a(360*e.h),r=a(100*e.s),n=a(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var i=[z(a(e).toString(16)),z(a(t).toString(16)),z(a(r).toString(16)),z(D(n))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*j(this._r,255))+"%",g:a(100*j(this._g,255))+"%",b:a(100*j(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*j(this._r,255))+"%, "+a(100*j(this._g,255))+"%, "+a(100*j(this._b,255))+"%)":"rgba("+a(100*j(this._r,255))+"%, "+a(100*j(this._g,255))+"%, "+a(100*j(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=u(e);r="#"+p(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(b,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},u.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:B(e[n]));e=r}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:l(),g:l(),b:l()})},u.mix=function(e,t,r){r=0===r?0:r||50;var n=u(e).toRgb(),o=u(t).toRgb(),a=r/100;return u({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},u.readability=function(e,r){var n=u(e),o=u(r);return(t.max(n.getLuminance(),o.getLuminance())+.05)/(t.min(n.getLuminance(),o.getLuminance())+.05)},u.isReadable=function(e,t,r){var n,o,a=u.readability(e,t);switch(o=!1,n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r),n.level+n.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},u.mostReadable=function(e,t,r){var n,o,a,i,s=null,l=0;o=(r=r||{}).includeFallbackColors,a=r.level,i=r.size;for(var c=0;c<t.length;c++)(n=u.readability(e,t[c]))>l&&(l=n,s=u(t[c]));return u.isReadable(e,s,{level:a,size:i})||!o?s:(r.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],r))};var _=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},A=u.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(_);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=i(r,s(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function R(e){return i(1,s(0,e))}function T(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function B(e){return e<=1&&(e=100*e+"%"),e}function D(e){return t.round(255*parseFloat(e)).toString(16)}function F(e){return T(e)/255}var M=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function I(e){return!!M.CSS_UNIT.exec(e)}e.exports?e.exports=u:window.tinycolor=u}(Math)}));var CA=e=>{var t=typeof e;return null!=e&&("object"===t||"function"===t)&&!function(e){return Array.isArray(e)}(e)},_A="production"!==process.env.NODE_ENV;var AA=function(e){var t;return function(){if(e){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t=e.apply(this,n),e=null}return t}}((e=>{var{condition:t,message:r}=e;t&&_A&&console.warn(r)}));var PA=(e=>{var t=new WeakMap;return(r,n,o,a)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);var i=t.get(r);if(i.has(n))return i.get(n);var s=e(r,n,o,a);return i.set(n,s),s}})((function(e,t,r,n){var o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e})),jA=(e,t,r)=>{var n=PA(e,"colors."+t,t);return OA(n).isValid()?n:r},RA=e=>t=>"dark"===(e=>t=>{var r=jA(t,e);return OA(r).isDark()?"dark":"light"})(e)(t),TA=(e,t)=>r=>{var n=jA(r,e);return OA(n).setAlpha(t).toRgbString()};function zA(e,t){return void 0===e&&(e="1rem"),void 0===t&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+t+" 25%,\n transparent 25%,\n transparent 50%,\n "+t+" 50%,\n "+t+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function BA(e){var t,r=OA.random().toHexString();return!e||CA(t=e)&&0===Object.keys(t).length?r:e.string&&e.colors?function(e,t){var r=0;if(0===e.length)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){var t=0;if(0===e.length)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;for(var n="#",o=0;o<3;o+=1){n+=("00"+(t>>8*o&255).toString(16)).substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}function DA(e,t){return r=>"dark"===r.colorMode?t:e}function FA(e){var{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}function MA(){return MA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},MA.apply(this,arguments)}var IA=e=>(AA(["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")),MA({base:"0em"},e));function NA(e){var{theme:t,colorScheme:r}=e;return DA(jA(t,r+".100",r),TA(r+".200",.16)(t))(e)}var LA={subtle:function(e){var{colorScheme:t}=e;return{container:{bg:NA(e)},icon:{color:DA(t+".500",t+".200")(e)}}},"left-accent":function(e){var{colorScheme:t}=e;return{container:{pl:3,borderLeftWidth:"4px",borderLeftColor:DA(t+".500",t+".200")(e),bg:NA(e)},icon:{color:DA(t+".500",t+".200")(e)}}},"top-accent":function(e){var{colorScheme:t}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:DA(t+".500",t+".200")(e),bg:NA(e)},icon:{color:DA(t+".500",t+".200")(e)}}},solid:function(e){var{colorScheme:t}=e;return{container:{bg:DA(t+".500",t+".200")(e),color:DA("white","gray.900")(e)}}}},WA={parts:["container","title","description","icon"],baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,mr:2},description:{lineHeight:6},icon:{flexShrink:0,mr:3,w:5,h:6}},variants:LA,defaultProps:{variant:"subtle",colorScheme:"blue"}},HA={px:"1px",0:"0",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function VA(){return VA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},VA.apply(this,arguments)}var $A=VA({},HA,{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}});function UA(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:DA("white","gray.800")(e)}}function qA(e){return{bg:DA("gray.200","whiteAlpha.400")(e)}}function YA(e){var{name:t,theme:r}=e,n=t?BA({string:t}):"gray.400",o="white";return RA(n)(r)||(o="gray.800"),{bg:n,color:o,borderColor:DA("white","gray.800")(e),verticalAlign:"top"}}function XA(e){var t=$A[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=t?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=t?t:e)+" / 2.5)",lineHeight:"100%"!==e?null!=t?t:e:void 0}}}var GA={parts:["container","excessLabel","badge","label"],baseStyle:e=>({badge:UA(e),excessLabel:qA(e),container:YA(e)}),sizes:{"2xs":XA("4"),xs:XA("6"),sm:XA("8"),md:XA("12"),lg:XA("16"),xl:XA("24"),"2xl":XA("32"),full:XA("100%")},defaultProps:{size:"md"}};var KA={solid:function(e){var{colorScheme:t,theme:r}=e;return{bg:DA(t+".500",TA(t+".500",.6)(r))(e),color:DA("white","whiteAlpha.800")(e)}},subtle:function(e){var{colorScheme:t,theme:r}=e;return{bg:DA(t+".100",TA(t+".200",.16)(r))(e),color:DA(t+".800",t+".200")(e)}},outline:function(e){var{colorScheme:t,theme:r}=e,n=TA(t+".200",.8)(r),o=DA(jA(r,t+".500"),n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},ZA={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:KA,defaultProps:{variant:"subtle",colorScheme:"gray"}},QA={parts:["container","item","link","separator"],baseStyle:{link:{transition:"all 0.15s ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}}};function JA(){return JA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},JA.apply(this,arguments)}function eP(e){var{colorScheme:t,theme:r}=e;if("gray"===t)return{color:DA("inherit","whiteAlpha.900")(e),_hover:{bg:DA("gray.100","whiteAlpha.200")(e)},_active:{bg:DA("gray.200","whiteAlpha.300")(e)}};var n=TA(t+".200",.12)(r),o=TA(t+".200",.24)(r);return{color:DA(t+".600",t+".200")(e),bg:"transparent",_hover:{bg:DA(t+".50",n)(e)},_active:{bg:DA(t+".100",o)(e)}}}var tP={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}};var rP={ghost:eP,outline:function(e){var{colorScheme:t}=e,r=DA("gray.200","whiteAlpha.300")(e);return JA({border:"1px solid",borderColor:"gray"===t?r:"currentColor"},eP(e))},solid:function(e){var{colorScheme:t}=e;if("gray"===t){var r=DA("gray.100","whiteAlpha.200")(e);return{bg:r,_hover:{bg:DA("gray.200","whiteAlpha.300")(e),_disabled:{bg:r}},_active:{bg:DA("gray.300","whiteAlpha.400")(e)}}}var{bg:n=t+".500",color:o="white",hoverBg:a=t+".600",activeBg:i=t+".700"}=tP[t]||{},s=DA(n,t+".200")(e);return{bg:s,color:DA(o,"gray.800")(e),_hover:{bg:DA(a,t+".300")(e),_disabled:{bg:s}},_active:{bg:DA(i,t+".400")(e)}}},link:function(e){var{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:DA(t+".500",t+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:DA(t+".700",t+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},nP={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:rP,sizes:{lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}};function oP(e){var{colorScheme:t}=e;return{w:"100%",transition:"box-shadow 250ms",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:DA(t+".500",t+".200")(e),borderColor:DA(t+".500",t+".200")(e),color:DA("white","gray.900")(e),_hover:{bg:DA(t+".600",t+".300")(e),borderColor:DA(t+".600",t+".300")(e)},_disabled:{borderColor:DA("gray.200","transparent")(e),bg:DA("gray.200","whiteAlpha.300")(e),color:DA("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:DA(t+".500",t+".200")(e),borderColor:DA(t+".500",t+".200")(e),color:DA("white","gray.900")(e)},_disabled:{bg:DA("gray.100","whiteAlpha.100")(e),borderColor:DA("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:DA("red.500","red.300")(e)}}}var aP={userSelect:"none",_disabled:{opacity:.4}},iP={parts:["container","control","label","icon"],baseStyle:e=>({control:oP(e),label:aP}),sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}};var sP={baseStyle:function(e){return{borderRadius:"md",transition:"all 0.2s",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:DA("blackAlpha.100","whiteAlpha.100")(e)},_active:{bg:DA("blackAlpha.200","whiteAlpha.200")(e)},_focus:{boxShadow:"outline"}}},sizes:{lg:{w:"40px",h:"40px",fontSize:"16px"},md:{w:"32px",h:"32px",fontSize:"12px"},sm:{w:"24px",h:"24px",fontSize:"10px"}},defaultProps:{size:"md"}},{variants:lP,defaultProps:uP}=ZA,cP={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:lP,defaultProps:uP},dP={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},fP={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},pP={bg:"blackAlpha.600",zIndex:"modal"};function hP(e){var{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto"}}function mP(e){var{scrollBehavior:t}=e;return{borderRadius:"md",bg:DA("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===t?"calc(100vh - 7.5rem)":void 0,boxShadow:DA("lg","dark-lg")(e)}}var vP={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},gP={position:"absolute",top:2,insetEnd:3};function bP(e){var{scrollBehavior:t}=e;return{px:6,py:2,flex:1,overflow:"inside"===t?"auto":void 0}}var yP={px:6,py:4};function xP(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh"}}:{dialog:{maxW:e}}}var wP={parts:["overlay","dialogContainer","dialog","header","closeButton","body","footer"],baseStyle:e=>({overlay:pP,dialogContainer:hP(e),dialog:mP(e),header:vP,closeButton:gP,body:bP(e),footer:yP}),sizes:{xs:xP("xs"),sm:xP("sm"),md:xP("md"),lg:xP("lg"),xl:xP("xl"),"2xl":xP("2xl"),"3xl":xP("3xl"),"4xl":xP("4xl"),"5xl":xP("5xl"),"6xl":xP("6xl"),full:xP("full")},defaultProps:{size:"md"}};function SP(){return SP=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},SP.apply(this,arguments)}function kP(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var EP={bg:"blackAlpha.600",zIndex:"overlay"},OP={display:"flex",zIndex:"modal",justifyContent:"center"};function CP(e){var{isFullHeight:t}=e;return SP({},t&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:DA("white","gray.700")(e),color:"inherit",boxShadow:DA("lg","dark-lg")(e)})}var _P={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},AP={position:"absolute",top:2,insetEnd:3},PP={px:6,py:2,flex:1,overflow:"auto"},jP={px:6,py:4},RP={parts:wP.parts,baseStyle:e=>({overlay:EP,dialogContainer:OP,dialog:CP(e),header:_P,closeButton:AP,body:PP,footer:jP}),sizes:{xs:kP("xs"),sm:kP("md"),md:kP("lg"),lg:kP("2xl"),xl:kP("4xl"),full:kP("full")},defaultProps:{size:"xs"}},TP={parts:["preview","input"],baseStyle:{preview:{borderRadius:"md",py:"3px",transition:"all 0.2s"},input:{borderRadius:"md",py:"3px",transition:"all 0.2s",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}}};function zP(e){return{ml:1,color:DA("red.500","red.300")(e)}}function BP(e){return{mt:2,color:DA("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}}var DP={parts:["requiredIndicator","helperText"],baseStyle:e=>({requiredIndicator:zP(e),helperText:BP(e)})},FP={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transition:"all 0.2s",opacity:1,_disabled:{opacity:.4}}},MP={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},IP={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}};function NP(e){var{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||DA("blue.500","blue.300")(e),errorBorderColor:r||DA("red.500","red.300")(e)}}var LP={outline:function(e){var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=NP(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:DA("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:jA(t,n),boxShadow:"0 0 0 1px "+jA(t,n)},_focus:{zIndex:1,borderColor:jA(t,r),boxShadow:"0 0 0 1px "+jA(t,r)}},addon:{border:"1px solid",borderColor:DA("inherit","whiteAlpha.50")(e),bg:DA("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=NP(e);return{field:{border:"2px solid",borderColor:"transparent",bg:DA("gray.100","whiteAlpha.50")(e),_hover:{bg:DA("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:jA(t,n)},_focus:{bg:"transparent",borderColor:jA(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:DA("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=NP(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,pl:0,pr:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:jA(t,n),boxShadow:"0px 1px 0px 0px "+jA(t,n)},_focus:{borderColor:jA(t,r),boxShadow:"0px 1px 0px 0px "+jA(t,r)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,paddingX:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",pl:0,pr:0,height:"auto"},addon:{bg:"transparent",pl:0,pr:0,height:"auto"}}},WP={parts:["field","addon"],baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transition:"all 0.2s"}},sizes:{lg:{field:IP.lg,addon:IP.lg},md:{field:IP.md,addon:IP.md},sm:{field:IP.sm,addon:IP.sm},xs:{field:IP.xs,addon:IP.xs}},variants:LP,defaultProps:{size:"md",variant:"outline"}};var HP={baseStyle:function(e){return{bg:DA("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},VP={baseStyle:{transition:"all 0.15s ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},$P={parts:["container","item","icon"],baseStyle:{container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}}};function UP(e){return{bg:DA("#fff","gray.700")(e),boxShadow:DA("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}}function qP(e){return{py:"0.4rem",px:"0.8rem",transition:"background 50ms ease-in 0s",_focus:{bg:DA("gray.100","whiteAlpha.100")(e)},_active:{bg:DA("gray.200","whiteAlpha.200")(e)},_expanded:{bg:DA("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}var YP,XP={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},GP={opacity:.6},KP={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ZP={parts:["item","command","list","button","groupTitle","divider"],baseStyle:e=>({list:UP(e),item:qP(e),groupTitle:XP,command:GP,divider:KP})},QP={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}};function JP(){return JP=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},JP.apply(this,arguments)}var{variants:ej,defaultProps:tj}=WP,rj=null==(YP=WP.baseStyle)?void 0:YP.field,nj={width:"24px"};function oj(e){return{borderLeft:"1px solid",borderLeftColor:DA("inherit","whiteAlpha.300")(e),color:DA("inherit","whiteAlpha.800")(e),_active:{bg:DA("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}function aj(e){var t=WP.sizes[e],r={lg:"md",md:"md",sm:"sm",xs:"sm"},n=QP.fontSizes[t.field.fontSize];return{field:JP({},t.field,{verticalAlign:"top"}),stepper:{fontSize:"calc("+n+" * 0.75)",_first:{borderTopRightRadius:r[e]},_last:{borderBottomRightRadius:r[e],mt:"-1px",borderTopWidth:1}}}}var ij={parts:["field","stepper","stepperGroup"],baseStyle:e=>({field:rj,stepperGroup:nj,stepper:oj(e)}),sizes:{xs:aj("xs"),sm:aj("sm"),md:aj("md"),lg:aj("lg")},variants:ej,defaultProps:tj};function sj(){return sj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sj.apply(this,arguments)}var lj=sj({},WP.baseStyle.field,{textAlign:"center"}),uj={outline:e=>WP.variants.outline(e).field,flushed:e=>WP.variants.flushed(e).field,filled:e=>WP.variants.filled(e).field,unstyled:WP.variants.unstyled.field},cj={baseStyle:lj,sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:uj,defaultProps:WP.defaultProps},dj={w:"100%",maxW:"xs",zIndex:10};function fj(e){return{bg:DA("white","gray.700")(e),border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}}function pj(e){return{bg:DA("white","gray.700")(e)}}var hj={px:3,py:2,borderBottomWidth:"1px"},mj={px:3,py:2},vj={px:3,py:2,borderTopWidth:"1px"},gj={parts:["popper","content","header","body","footer","arrow"],baseStyle:e=>({popper:dj,content:fj(e),header:hj,body:mj,footer:vj,arrow:pj(e)})};function bj(){return bj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bj.apply(this,arguments)}var yj={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"};function xj(e){return{bg:DA("gray.100","whiteAlpha.300")(e)}}function wj(e){return bj({transition:"all 0.3s"},function(e){var{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,a=DA(zA(),zA("1rem","rgba(0,0,0,0.1)"))(e),i=DA(t+".500",t+".200")(e),s="linear-gradient(\n to right,\n transparent 0%,\n "+jA(r,i)+" 50%,\n transparent 100%\n )";return bj({},!n&&o&&a,n?{bgImage:s}:{bgColor:i})}(e))}var Sj={parts:["track","filledTrack","panel"],sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:e=>({label:yj,filledTrack:wj(e),track:xj(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function kj(){return kj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kj.apply(this,arguments)}function Ej(e){var{control:t}=iP.baseStyle(e);return kj({},t,{borderRadius:"full",_checked:kj({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})}var Oj={parts:["container","control","label"],baseStyle:e=>({label:iP.baseStyle(e).label,control:Ej(e)}),sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}};function Cj(){return Cj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cj.apply(this,arguments)}function _j(e){return Cj({},WP.baseStyle.field,{appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:DA("white","gray.700")(e)}})}var Aj={width:"1.5rem",height:"100%",right:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Pj={parts:["field","icon"],baseStyle:e=>({field:_j(e),icon:Aj}),sizes:Ut({},WP.sizes,{xs:{icon:{right:"0.25rem"}}}),variants:WP.variants,defaultProps:WP.defaultProps},jj=(e,t)=>Ct({from:{borderColor:e,background:e},to:{borderColor:t,background:t}}),Rj={baseStyle:e=>{var t=DA("gray.100","gray.800")(e),r=DA("gray.400","gray.600")(e),{startColor:n=t,endColor:o=r,speed:a,theme:i}=e,s=jA(i,n),l=jA(i,o);return{opacity:.7,borderRadius:"2px",borderColor:s,background:l,animation:a+"s linear infinite alternate "+jj(s,l)}}},Tj={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",left:"1.5rem",bg:DA("white","gray.700")(e)}})};function zj(){return zj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zj.apply(this,arguments)}var Bj=e=>{var{orientation:t}=e;return zj({_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},FA({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}}))};function Dj(e){return{borderRadius:"sm",bg:DA("gray.200","whiteAlpha.200")(e),_disabled:{bg:DA("gray.300","whiteAlpha.300")(e)}}}function Fj(e){return zj({zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transition:"transform 0.2s",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return FA({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(e))}function Mj(e){var{colorScheme:t}=e;return{bg:DA(t+".500",t+".200")(e)}}var Ij={lg:function(e){return{thumb:{w:"16px",h:"16px"},track:FA({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:FA({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:FA({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},Nj={parts:["container","thumb","track","filledTrack"],sizes:Ij,baseStyle:e=>({container:Bj(e),track:Dj(e),thumb:Fj(e),filledTrack:Mj(e)}),defaultProps:{size:"md",colorScheme:"blue"}},Lj={sizes:{xs:{w:"0.75rem",h:"0.75rem"},sm:{w:"1rem",h:"1rem"},md:{w:"1.5rem",h:"1.5rem"},lg:{w:"2rem",h:"2rem"},xl:{w:"3rem",h:"3rem"}},defaultProps:{size:"md"}},Wj={parts:["label","number","icon","helpText"],baseStyle:{label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{mr:1,w:"14px",h:"14px",verticalAlign:"middle"}},sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}};function Hj(e){var{colorScheme:t}=e;return{borderRadius:"full",p:"2px",transition:"all 120ms",bg:DA("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:DA(t+".500",t+".200")(e)}}}var Vj={bg:"white",transition:"transform 250ms",borderRadius:"full",transform:"translateX(0)"},$j={parts:["track","thumb"],baseStyle:e=>({track:Hj(e),thumb:Vj}),sizes:{sm:{track:{w:"1.375rem",h:"0.75rem"},thumb:{w:"0.75rem",h:"0.75rem",_checked:{transform:"translateX(0.625rem)"}}},md:{track:{w:"1.875rem",h:"1rem"},thumb:{w:"1rem",h:"1rem",_checked:{transform:"translateX(0.875rem)"}}},lg:{track:{w:"2.875rem",h:"1.5rem"},thumb:{w:"1.5rem",h:"1.5rem",_checked:{transform:"translateX(1.375rem)"}}}},defaultProps:{size:"md",colorScheme:"blue"}};function Uj(){return Uj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Uj.apply(this,arguments)}var qj={"&[data-is-numeric=true]":{textAlign:"right"}},Yj={simple:e=>{var{colorScheme:t}=e;return{th:Uj({color:DA("gray.600","gray.400")(e),borderBottom:"1px",borderColor:DA(t+".100",t+".700")(e)},qj),td:Uj({borderBottom:"1px",borderColor:DA(t+".100",t+".700")(e)},qj),caption:{color:DA("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:t}=e;return{th:Uj({color:DA("gray.600","gray.400")(e),borderBottom:"1px",borderColor:DA(t+".100",t+".700")(e)},qj),td:Uj({borderBottom:"1px",borderColor:DA(t+".100",t+".700")(e)},qj),caption:{color:DA("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:DA(t+".100",t+".700")(e)},td:{background:DA(t+".100",t+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},Xj={parts:["table","thead","tbody","tr","th","td","caption"],baseStyle:{table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"left"},td:{textAlign:"left"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},variants:Yj,sizes:{sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}};function Gj(e){var{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}}function Kj(e){var{isFitted:t}=e;return{flex:t?1:void 0,transition:"all 0.2s",_focus:{zIndex:1,boxShadow:"outline"}}}function Zj(e){var{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}}var Qj={p:4};var Jj={line:function(e){var{colorScheme:t,orientation:r}=e,n="vertical"===r?"borderLeft":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===r?"ml":"mb"]:"-2px",_selected:{color:DA(t+".600",t+".300")(e),borderColor:"currentColor"},_active:{bg:DA("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:function(e){var{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:DA(t+".600",t+".300")(e),borderColor:"inherit",borderBottomColor:DA("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:DA("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{mr:"-1px"},_selected:{bg:DA("#fff","gray.800")(e),color:DA(t+".600",t+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:jA(r,t+".700"),bg:jA(r,t+".100")}}}},"solid-rounded":function(e){var{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:DA("gray.600","inherit")(e),_selected:{color:DA("#fff","gray.800")(e),bg:DA(t+".600",t+".300")(e)}}}},unstyled:{}},eR={parts:["root","tablist","tab","tabpanels","tabpanel","indicator"],baseStyle:e=>({root:Gj(e),tab:Kj(e),tablist:Zj(e),tabpanel:Qj}),sizes:{sm:{tab:{py:"0.25rem",px:"1rem",fontSize:"0.85rem"}},md:{tab:{fontSize:"1rem",py:"0.5rem",px:"1rem"}},lg:{tab:{fontSize:"1.15rem",py:"0.75rem",px:"1rem"}}},variants:Jj,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},tR={subtle:e=>({container:ZA.variants.subtle(e)}),solid:e=>({container:ZA.variants.solid(e)}),outline:e=>({container:ZA.variants.outline(e)})},rR={parts:["container","label","closeButton"],variants:tR,baseStyle:{container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",borderRadius:"full",ms:"0.375rem",me:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{me:"-2px",ms:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}};function nR(){return nR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nR.apply(this,arguments)}var oR=nR({},WP.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short"}),aR={outline:e=>WP.variants.outline(e).field,flushed:e=>WP.variants.flushed(e).field,filled:e=>WP.variants.filled(e).field,unstyled:WP.variants.unstyled.field},iR={xs:WP.sizes.xs.field,sm:WP.sizes.sm.field,md:WP.sizes.md.field,lg:WP.sizes.lg.field};var sR={baseStyle:function(e){return{px:"8px",py:"2px",bg:DA("gray.700","gray.300")(e),color:DA("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}};function lR(e){return{color:DA("red.500","red.300")(e),mt:2,fontSize:"sm"}}function uR(e){return{marginEnd:"0.5em",color:DA("red.500","red.300")(e)}}var cR={parts:["text","icon"],baseStyle:e=>({text:lR(e),icon:uR(e)})},dR={Accordion:EA,Alert:WA,Avatar:GA,Badge:ZA,Breadcrumb:QA,Button:nP,Checkbox:iP,CloseButton:sP,Code:cP,Container:dP,Divider:fP,Drawer:RP,Editable:TP,Form:DP,FormLabel:FP,Heading:MP,Input:WP,Kbd:HP,Link:VP,List:$P,Menu:ZP,Modal:wP,NumberInput:ij,PinInput:cj,Popover:gj,Progress:Sj,Radio:Oj,Select:Pj,Skeleton:Rj,SkipLink:Tj,Slider:Nj,Spinner:Lj,Stat:Wj,Switch:$j,Table:Xj,Tabs:eR,Tag:rR,Textarea:{baseStyle:oR,sizes:iR,variants:aR,defaultProps:{size:"md",variant:"outline"}},Tooltip:sR,FormError:cR};function fR(){return fR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fR.apply(this,arguments)}var pR={global:e=>({body:{fontFamily:"body",color:DA("gray.800","whiteAlpha.900")(e),bg:DA("white","gray.800")(e),transition:"background-color 0.2s",lineHeight:"base"},"*::placeholder":{color:DA("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:DA("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})};function hR(){return hR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hR.apply(this,arguments)}var mR=hR({direction:"ltr"},fR({breakpoints:IA({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}}},QP,{sizes:$A,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:HA,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}}),{components:dR,styles:pR,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}});function vR(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function gR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vR(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):vR(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var bR={_disabled:{bg:"gray.medium",borderColor:"gray.medium",color:"gray.dark"}},yR={primary:{bg:"primary.default",borderColor:"primary.default",color:"white",_hover:gR({bg:"primary.600",borderColor:"primary.600",color:"white"},bR)},primaryOnDark:{bg:"yellow.default",borderColor:"yellow.default",color:"black",_hover:gR({bg:"yellow.500",borderColor:"yellow.500",color:"black"},bR),_focus:{boxShadow:"0 0 0 3px rgba(255, 255, 255, 0.7)"}},secondary:{bg:"white",borderColor:"gray.medium",color:"primary.default",_hover:gR({borderColor:"primary.default",color:"primary.600"},bR)},secondaryOnDark:{bg:"none",borderColor:"white",color:"white",_hover:gR({bg:"white",borderColor:"white",color:"black"},bR),_focus:{boxShadow:"0 0 0 3px rgba(255, 255, 255, 0.7)"}},textButton:{bg:"none",borderWidth:"none",borderRadius:"unset",color:"primary.default",h:"unset",m:"unset",minW:"unset",p:"unset",lineHeight:1,_disabled:{bg:"none",color:"gray.dark"},_hover:{color:"primary.700",_disabled:{color:"gray.dark"}}},textButtonOnDark:{bg:"none",borderRadius:"unset",borderWidth:"none",color:"white",h:"unset",m:"unset",minW:"unset",p:"unset",_disabled:{bg:"none",color:"white",opacity:".7"},_hover:{color:"white",opacity:".8",_disabled:{opacity:".7"}}}},xR=l.default(mR.components.Button,{variants:yR,baseStyle:{px:8,py:3,fontSize:"base",lineHeight:.875,fontWeight:"semibold",borderWidth:"1px",borderStyle:"solid",borderRadius:"1.25rem",textTransform:"capitalize",transition:"all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)",_disabled:{cursor:"not-allowed",opacity:1,bg:"gray.medium",borderColor:"gray.medium",color:"gray.dark"},"& svg":{display:"block"}},defaultProps:{size:null}}),wR={as:s.default.string,asAnchor:s.default.bool,isExternal:s.default.bool,isLoading:s.default.bool,isActive:s.default.bool,isDisabled:s.default.bool,loadingText:s.default.string,isFullWidth:s.default.bool,type:s.default.oneOf(["button","reset","submit"]),leftIcon:s.default.node,rightIcon:s.default.node,iconSpacing:s.default.oneOfType([s.default.number,s.default.string]),spinner:s.default.node,variant:s.default.oneOf(VO(yR))},SR=["asAnchor","isExternal"];function kR(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function ER(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kR(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):kR(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var OR,CR,_R=e.forwardRef(OR=function(e,t){var r=e.asAnchor,n=e.isExternal,o=bA(e,SR);return i.default.createElement(By,iA({iconSpacing:2},o,(r||"a"===o.as)&&function(){return ER({as:"a",type:null},arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&{target:"_blank",rel:"noopener noreferrer"})}(n),{ref:t}))});CR=_R,_R.propTypes=wR,_R.defaultProps={variant:"primary",type:"button"},$RefreshReg$(OR,"Button$forwardRef"),$RefreshReg$(CR,"Button");var AR={"5xl":"3.5rem","4xl":"3rem","3xl":"2.5rem","2xl":"2rem",xl:"1.5rem",lg:"1.25rem",md:"1.125rem",base:"1rem",sm:"0.875rem",xs:"0.75rem"},PR={light:300,normal:400,semibold:600,bold:700};function jR(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function RR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jR(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):jR(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var TR={lineHeight:1.5,fontWeight:PR.normal},zR={body:RR(RR({},TR),{},{fontSize:{base:AR.base,desktop:AR.base}}),body2:RR(RR({},TR),{},{fontSize:{base:AR.sm,desktop:AR.sm}}),caption:RR(RR({},TR),{},{fontSize:{base:AR.xs,desktop:AR.xs}})},BR={variant:zR.body},DR=l.default(mR.components.Text,{variants:zR,baseStyle:TR,defaultProps:BR}),FR=!Mk((function(){return Object.isExtensible(Object.preventExtensions({}))})),MR=Mk((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),IR=Object.isExtensible,NR=Mk((function(){IR(1)}))||MR?function(e){return!!dE(e)&&((!MR||"ArrayBuffer"!=oE(e))&&(!IR||IR(e)))}:IR,LR=ye((function(e){var t=xO.f,r=!1,n=HE("meta"),o=0,a=function(e){t(e,n,{value:{objectID:"O"+o++,weakData:{}}})},i=e.exports={enable:function(){i.enable=function(){},r=!0;var e=fC.f,t=Yk([].splice),o={};o[n]=1,e(o).length&&(fC.f=function(r){for(var o=e(r),a=0,i=o.length;a<i;a++)if(o[a]===n){t(o,a,1);break}return o},EO({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:yC.f}))},fastKey:function(e,t){if(!dE(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!IE(e,n)){if(!NR(e))return"F";if(!t)return"E";a(e)}return e[n].objectID},getWeakData:function(e,t){if(!IE(e,n)){if(!NR(e))return!0;if(!t)return!1;a(e)}return e[n].weakData},onFreeze:function(e){return FR&&r&&NR(e)&&!IE(e,n)&&a(e),e}};DO[n]=!0}));LR.enable,LR.fastKey,LR.getWeakData,LR.onFreeze;var WR=LR.onFreeze,HR=Object.freeze,VR=Mk((function(){HR(1)}));function $R(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function UR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$R(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):$R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}EO({target:"Object",stat:!0,forced:VR,sham:!FR},{freeze:function(e){return HR&&dE(e)?HR(WR(e)):e}});var qR,YR,XR=(0,fE.Object.freeze)({bold:"b",strong:"strong",italic:"i",emphasis:"em",small:"small",strikethrough:"s",underline:"u"}),GR=["as","variant"],KR=vi(qR=function(e,t){var r=e.as,n=e.variant,o=bA(e,GR);return i.default.createElement(Wx,iA({variant:n,as:r},function(e){var t,r=e.as,n=e.variant,o=Number(zR["".concat(n)].fontSize.base.replace("rem","")),a=Number(zR["".concat(n)].fontSize.desktop.replace("rem",""));switch(r){case XR.bold:case XR.strong:t=UR(UR({},zR["".concat(n)]),{},{fontWeight:PR.semibold});break;case XR.italic:case XR.emphasis:t=UR(UR({},zR["".concat(n)]),{},{fontStyle:"italic"});break;case XR.underline:t=UR(UR({},zR["".concat(n)]),{},{textDecoration:"underline"});break;case XR.strikethrough:t=UR(UR({},zR["".concat(n)]),{},{textDecoration:"line-through"});break;case XR.small:t=UR(UR({},zR["".concat(n)]),{},{fontSize:{base:"".concat(.8*o,"rem"),desktop:"".concat(.8*a,"rem")}});break;default:t=UR({},zR["".concat(n)])}return t}({as:r,variant:n}),o,{ref:t}))});YR=KR,KR.defaultProps={as:"p",variant:"body"},KR.propTypes={children:s.default.node,as:s.default.oneOf(["a","abbr","address","article","aside","b","bdi","bdo","blockquote","button","caption","cite","code","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","fieldset","figure","footer","form","header","hgroup","i","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meter","nav","noscript","object","ol","optgroup","option","output","p","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video"]),variant:s.default.oneOf(VO(zR))},$RefreshReg$(qR,"Text$forwardRef"),$RefreshReg$(YR,"Text");var ZR,QR,JR={gap:{base:4,tablet:8},templateColumns:"repeat(12, 1fr)"},eT={gap:4},tT=["isCompact"],rT=e.forwardRef(ZR=function(e,t){var r=e.isCompact,n=bA(e,tT);return i.default.createElement(xx,iA({},JR,r&&eT,n,{ref:t}))});QR=rT,rT.propTypes={isCompact:s.default.bool},rT.defaultProps={isCompact:!1},$RefreshReg$(ZR,"Grid$forwardRef"),$RefreshReg$(QR,"Grid");var nT,oT,aT={colSpan:12},iT=e.forwardRef(nT=function(e,t){return i.default.createElement(Sx,iA({},aT,e,{ref:t}))});oT=iT,$RefreshReg$(nT,"GridItem$forwardRef"),$RefreshReg$(oT,"GridItem");var sT,lT,uT,cT,dT=["type"],fT={as:"ul",styleType:"disc"},pT={as:"ol",styleType:"decimal"},hT={unset:"unset",revert:"revert",inside:"inside",outside:"outside",initial:"initial",inherit:"inherit"},mT={ordered:"ordered",unstyled:"unstyled",unordered:"unordered"},vT=e.forwardRef(sT=function(e,t){var r=e.type,n=bA(e,dT);return i.default.createElement(Px,iA({},function(e){switch(e){case mT.ordered:return pT;case mT.unordered:return fT;default:return}}(r),n,{ref:t}))});lT=vT,vT.defaultProps={type:mT.unstyled,stylePosition:hT.inside},vT.propTypes={stylePosition:s.default.oneOf(VO(hT)),type:s.default.oneOf(VO(mT))},$RefreshReg$(sT,"List$forwardRef"),$RefreshReg$(lT,"List");var gT,bT,yT=mR.components.Spinner,xT={xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl","2xl":"2xl","3xl":"3xl","4xl":"4xl","5xl":"5xl","6xl":"6xl","7xl":"7xl","8xl":"8xl","9xl":"9xl","10xl":"10xl"},wT=l.default(yT.sizes,(kA(uT={},xT["2xl"],{w:"4rem",h:"4rem"}),kA(uT,xT["3xl"],{w:"5rem",h:"5rem"}),kA(uT,xT["4xl"],{w:"6rem",h:"6rem"}),kA(uT,xT["5xl"],{w:"7rem",h:"7rem"}),kA(uT,xT["6xl"],{w:"8rem",h:"8rem"}),kA(uT,xT["7xl"],{w:"9rem",h:"9rem"}),kA(uT,xT["8xl"],{w:"10rem",h:"10rem"}),kA(uT,xT["9xl"],{w:"11rem",h:"11rem"}),kA(uT,xT["10xl"],{w:"12rem",h:"12rem"}),uT)),ST=(kA(cT={},xT.xl,3),kA(cT,xT["2xl"],4),kA(cT,xT["3xl"],5),kA(cT,xT["4xl"],6),kA(cT,xT["5xl"],7),kA(cT,xT["6xl"],8),kA(cT,xT["7xl"],9),kA(cT,xT["8xl"],10),kA(cT,xT["9xl"],11),kA(cT,xT["10xl"],12),cT),kT={sizes:wT,defaultProps:{speed:"2s",size:xT["2xl"],thickness:ST[xT["2xl"]]}},ET=["size","thickness"],OT=e.forwardRef(gT=function(e,t){var r=e.size,n=e.thickness,o=bA(e,ET),a=n?"".concat(n,"px"):ST[r]?"".concat(ST[r],"px"):"2px";return i.default.createElement(Ay,iA({ref:t,role:"status",color:"primary.default",emptyColor:"gray.medium",thickness:a,size:r||xT["2xl"]},o))});function CT(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function _T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?CT(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):CT(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}bT=OT,OT.propTypes={color:s.default.string,thickness:s.default.number,emptyColor:s.default.string,size:s.default.oneOf(VO(xT)),speed:s.default.string},$RefreshReg$(gT,"Spinner$forwardRef"),$RefreshReg$(bT,"Spinner");var AT,PT,jT={lineHeight:1.5,fontWeight:PR.semibold},RT={h1:_T(_T({},jT),{},{fontSize:{base:AR["2xl"],desktop:AR["3xl"]}}),h2:_T(_T({},jT),{},{fontSize:{base:AR.xl,desktop:AR["2xl"]}}),h3:_T(_T({},jT),{},{fontSize:{base:AR.lg,desktop:AR.xl}}),h4:_T(_T({},jT),{},{fontSize:{base:AR.base,desktop:AR.lg}}),h5:_T(_T({},jT),{},{fontSize:{base:AR.base,desktop:AR.base}}),h6:_T(_T({},jT),{},{fontSize:{base:AR.sm,desktop:AR.sm}})},TT={variants:RT,baseStyle:jT,defaultProps:{variant:RT.h2}},zT=e.forwardRef(AT=function(e,t){return i.default.createElement(Ex,iA({},e,{ref:t,variant:e.variant||e.as||"h2"}))});PT=zT,zT.propTypes={children:s.default.node,as:s.default.oneOf(VO(RT)),variant:s.default.oneOf(VO(RT))},$RefreshReg$(AT,"Heading$forwardRef"),$RefreshReg$(PT,"Heading");var BT,DT,FT={px:4,mx:"auto",maxW:{base:"container.base",tablet:"container.tablet",desktop:"container.desktop"}},MT=e.forwardRef(BT=function(e,t){return i.default.createElement(mx,iA({},FT,e,{ref:t}))});DT=MT,$RefreshReg$(BT,"Container$forwardRef"),$RefreshReg$(DT,"Container");var IT=YE("isConcatSpreadable"),NT=Fk.TypeError,LT=wE>=51||!Mk((function(){var e=[];return e[IT]=!1,e.concat()[0]!==e})),WT=W_("concat"),HT=function(e){if(!dE(e))return!1;var t=e[IT];return void 0!==t?!!t:$O(e)};EO({target:"Array",proto:!0,forced:!LT||!WT},{concat:function(e){var t,r,n,o,a,i=FE(this),s=r_(i,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(HT(a=-1===t?i:arguments[t])){if(l+(o=TO(a))>9007199254740991)throw NT("Maximum allowed index exceeded");for(r=0;r<o;r++,l++)r in a&&pC(s,l,a[r])}else{if(l>=9007199254740991)throw NT("Maximum allowed index exceeded");pC(s,l++,a)}return s.length=l,s}});var VT=$_("Array").concat,$T=Array.prototype,UT=function(e){var t=e.concat;return e===$T||mE($T,e)&&t===$T.concat?VT:t},qT={container:{base:"100%",tablet:"45rem",desktop:"72rem"},0:"0",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem",px:"1px",full:"100%",max:"max-content",min:"min-content"};function YT(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function XT(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?YT(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):YT(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var GT={50:"#f6f7f9",100:"#e1e6ec",200:"#cbd4de",300:"#afbdcc",400:"#94a7ba",500:"#7890a8",600:"#5c7995",700:"#3b5261",800:"#2f3f4b",900:"#26323c"},KT={50:"#f6fbfd",100:"#e6f8fd",200:"#c0e9fb",300:"#96d3fa",400:"#5baafa",500:"#1271eb",600:"#1d58f2",700:"#1b46da",800:"#1735a6",900:"#132b7f"},ZT={50:"#f4fafc",100:"#e4f7fb",200:"#bfebf6",300:"#92d9f4",400:"#51b7f0",500:"#2590ea",600:"#1a6cda",700:"#1b55b6",800:"#194185",900:"#002d5b"},QT={50:"#ecf8f7",100:"#d3f7ef",200:"#a4f3d9",300:"#65eabf",400:"#1edb96",500:"#09c66a",600:"#08ad50",700:"#008547",800:"#11703e",900:"#115a35"},JT={50:"#f9f5e5",100:"#faf0bd",200:"#f6e67c",300:"#f1d439",400:"#ffbf02",500:"#e19706",600:"#cf7404",700:"#ae5708",800:"#8e440e",900:"#743710"},ez={50:"#fdf9f8",100:"#fdeef3",200:"#fbcee6",300:"#fba4d1",400:"#fc6bad",500:"#fc4086",600:"#f7265f",700:"#e01438",800:"#b4193c",900:"#901530"},tz={primary:XT(XT({},KT),{},{default:KT[500]}),secondary:XT(XT({},ZT),{},{default:ZT[900]}),gray:XT(XT({},GT),{},{light:GT[50],medium:GT[200],dark:GT[600]}),red:XT(XT({},ez),{},{default:ez[700]}),green:XT(XT({},QT),{},{default:QT[700]}),yellow:XT(XT({},JT),{},{default:JT[400]}),success:QT[700],warning:JT[400],error:ez[700],accent:GT[200],text:{primary:{light:"#000000",dark:"#ffffff"},secondary:{light:GT[600]},link:{light:KT[500],dark:"#ffffff"}},background:{gray:GT[50],white:"#ffffff"},white:"#ffffff",black:"#000000",brandBlue:"#0082ff"},rz=IA({mobileXL:"30rem",tablet:"48rem",desktop:"64rem",desktopXL:"90rem"}),nz=Object.freeze({__proto__:null,sizes:qT,colors:tz,zIndices:{hide:-100,auto:"auto",base:0,layer1:100,layer2:200,layer3:300,layer4:400,layer5:500,layer6:600,layer7:700,layer8:800,layer9:900,layer10:1e3},breakpoints:rz,fonts:{heading:"Open Sans",body:"Open Sans"},fontSizes:AR,fontWeights:PR}),oz=function(){return i.default.createElement(Et,{styles:"\n @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');\n /* Copied from https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap */\n /* latin-ext */\n @font-face {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 700;\n src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN7rgOXOhpKKSTj5PW.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n /* latin-ext */\n @font-face {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 300;\n src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n }\n "})};az=oz;var az,iz,sz=function(e){var t,r,n,o,a,s;return e.useLegacyOverrides?i.default.createElement(Et,{styles:UT(t=UT(r=UT(n=UT(o=UT(a=UT(s="\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n font-weight: ".concat(PR.semibold,";\n }\n\n .heading-sm {\n font-size: ")).call(s,AR.base,";\n }\n .heading-md {\n font-size: ")).call(a,AR.md,";\n }\n .heading-lg {\n font-size: ")).call(o,AR["5xl"],";\n }\n\n p {\n line-height: 1.5;\n }\n\n a {\n outline: none;\n text-align: left;\n color: ")).call(n,tz.primary.default,";\n text-decoration: none;\n\n &:active,\n &:focus {\n outline: none;\n }\n\n &:hover {\n color: ")).call(r,tz.primary[700],";\n }\n }\n\n small {\n font-size: ")).call(t,AR.xs,";\n }\n\n ")}):null};iz=sz,sz.propTypes={useLegacyOverrides:s.default.bool},$RefreshReg$(az,"Fonts"),$RefreshReg$(iz,"LegacyOverrides");var lz={item:{mb:2}},uz=l.default(mR.components.List,{baseStyle:lz});function cz(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function dz(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cz(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):cz(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var fz={table:{borderCollapse:"collapse",color:"text.primary.light",width:"100%"},thead:{borderBottom:"1px",borderColor:"gray.medium"},th:{fontFamily:"heading",fontSize:RT.h4.fontSize,fontWeight:"semibold",letterSpacing:"unset",padding:4,textAlign:"start",textTransform:"none"},tr:{borderBottom:"1px",borderColor:"gray.medium",_last:{border:"none"}},td:{padding:4,textAlign:"start"}},pz={table:{backgroundColor:"background.white",borderRadius:6,boxShadow:"md",marginBottom:1}},hz={parts:["table","thead","tbody","tr","th","td","caption"],variants:{rounded:pz,roundedGray:{table:dz(dz({},pz.table),{},{backgroundColor:"background.gray"})}},baseStyle:fz,defaultProps:{variant:"rounded"}},mz={transition:"all 0.15s ease-out",color:"text.link.light",fontWeight:"semibold",_hover:{color:"primary.600"},_focus:{boxShadow:"outline"},"& svg":{d:"inline-block",verticalAlign:"initial"}},vz={baseStyle:mz,variants:{standard:mz,onDark:{color:"text.link.dark",_hover:{color:"text.link.dark",opacity:".8"}}},defaultProps:{variant:"standard"}},gz={panel:{pt:0,px:0,pb:6},button:{fontSize:RT.h4.fontSize,fontWeight:"semibold",px:0,py:{base:4,tablet:6},"& svg":{color:"primary.default"}},container:{borderTopWidth:"1px",borderColor:"gray.medium",_last:{borderBottomWidth:"1px"}}},bz=l.default(mR.components.Accordion,{parts:["container","button","panel"],baseStyle:gz}),yz=l.default(mR.components.Tabs,{variants:{line:{tablist:{borderBottom:"2px solid",borderColor:"inherit"},tab:{color:"gray.600",borderBottom:"2px solid",borderColor:"transparent",marginBottom:"-2px",_selected:{color:"black",borderColor:"primary.default",fontWeight:"semibold"},_focus:{boxShadow:"none"},_active:{color:"black",bg:"transparent"},_disabled:{opacity:.4,cursor:"not-allowed"}}}}}),xz=l.default(mR.components.Select,{variants:{outline:{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:"gray.300"},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:"error",boxShadow:function(e){return"0 0 0 1px ".concat(e.colors.error)}},_focus:{zIndex:1,borderColor:"primary.400",boxShadow:function(e){return"0 0 0 1px ".concat(e.colors.primary[400])}}},addon:{border:"1px solid",borderColor:"inherit",bg:"gray.100"}}}}),wz=l.default(mR.components.Checkbox,{baseStyle:{control:{borderWidth:"2px",borderStyle:"solid",borderImage:"initial",borderRadius:"var(--chakra-radii-sm)",borderColor:"gray.200",_hover:{borderColor:"gray.300"},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_focus:{zIndex:1,borderColor:"primary.400",boxShadow:function(e){return"0 0 0 1px ".concat(e.colors.primary[400])}}}}}),Sz={marginBottom:2,fontWeight:"semibold"},kz={padding:4,marginBottom:0,maxWidth:"20rem"},Ez=l.default(mR.components.Popover,{parts:["popper","content","header","body"],baseStyle:function(e){return{header:Sz,content:kz,body:{fontSize:"sm"},popper:(t=e,r=t.variant,{borderRadius:4,boxShadow:"2px 2px 4px 0 rgba(0,45,91,0.1)",color:"dark"===r?"white":"black",background:"dark"===r?"secondary.default":"white",borderColor:"gray.100","--popper-arrow-shadow-color":function(e){return e.colors.gray[100]},borderWidth:"1px",borderStyle:"solid"})};var t,r}}),Oz=Object.freeze({__proto__:null,List:uz,Table:hz,Text:DR,Link:vz,Accordion:bz,Button:xR,GridItem:aT,Spinner:kT,Heading:TT,Tabs:yz,Select:xz,Checkbox:wz,Popover:Ez});function Cz(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function _z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cz(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):Cz(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var Az,Pz,jz=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[...t],o=t[t.length-1];return dd(o)&&n.length>1?n=n.slice(0,n.length-1):o=pd,_r(...n.map((e=>t=>It(e)?e(t):md(t,e))))(o)}({initialColorMode:"light",useSystemColorMode:!1,styles:{global:{"html, body":{color:"text.primary.light"},svg:{display:"inline-block"}}},remToPixels:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;return e?"".concat(t*Number(e.replace("rem",""))):0}},_z(_z(_z({},mR),nz),{},{components:Oz})),Rz=["theme","useLegacyOverrides","children"],Tz=e.forwardRef(Az=function(e,t){var r=e.theme,n=e.useLegacyOverrides,o=e.children,a=bA(e,Rz);return i.default.createElement(hd,iA({},a,{ref:t,theme:l.default(jz,r)}),i.default.createElement(oz,null),i.default.createElement(sz,{useLegacyOverrides:n}),o)});Pz=Tz,Tz.propTypes={useLegacyOverrides:s.default.bool,children:s.default.node,theme:s.default.object},$RefreshReg$(Az,"ThemeProvider$forwardRef"),$RefreshReg$(Pz,"ThemeProvider");var zz,Bz,Dz=e.forwardRef(zz=function(e,t){return i.default.createElement(dx,iA({position:"relative",padding:4,bgColor:"background.white",borderRadius:"lg",boxShadow:"2px 2px 4px 0 rgba(0,45,91,0.1)"},e,{ref:t}))});Bz=Dz,$RefreshReg$(zz,"Card$forwardRef"),$RefreshReg$(Bz,"Card");var Fz=wA;function Mz(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Iz(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(r){void 0===e[r]?e[r]=t[r]:Mz(t[r])&&Mz(e[r])&&Object.keys(t[r]).length>0&&Iz(e[r],t[r])}))}var Nz="undefined"!=typeof document?document:{},Lz={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};Iz(Nz,Lz);var Wz="undefined"!=typeof window?window:{};Iz(Wz,{document:Lz,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var Hz=xe(Object.freeze({__proto__:null,document:Nz,extend:Iz,window:Wz})),Vz=ye((function(e,t){Fz(t,"__esModule",{value:!0}),t.default=void 0;var r=(Hz.window.navigator&&Hz.window.navigator.appVersion||"").toLowerCase(),n=(Hz.window.navigator&&Hz.window.navigator.userAgent||"").toLowerCase(),o=(Hz.window.navigator&&Hz.window.navigator.vendor||"").toLowerCase(),a={"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t}},i=function(e,t){var r=String(t),n=Number(r.match(/\d+/)||NaN),o=r.match(/^[<>]=?|/)[0];return a[o]?a[o](e,n):e===n||n!=n},s={isBrowser:function(){return"undefined"!=typeof window},isChrome:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=/google inc/.test(o)?t.match(/(?:chrome|crios)\/(\d+)/):null;return null!==r&&!this.isOpera(e,t)&&i(r[1],e)},isFirefox:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/(?:firefox|fxios)\/(\d+)/);return null!==r&&i(r[1],e)},isSafari:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/version\/(\d+).+?safari/);return null!==r&&i(r[1],e)},isEdge:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/edge\/(\d+)/);return null!==r&&i(r[1],e)},isIE:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/(?:msie |trident.+?; rv:)(\d+)/);return null!==r&&i(r[1],e)},isOpera:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/(?:^opera.+?version|opr)\/(\d+)/);return null!==r&&i(r[1],e)},isiOS:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return this.isiPhone(null,e)||this.isiPad(null,e)||this.isiPod(null,e)},isiPhone:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=this.isiPad(null,t)?null:t.match(/iphone(?:.+?os (\d+))?/i);return null!==r&&i(r[1]||1,e)},isiPad:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/ipad.+?os (\d+)/i);return null!==r&&i(r[1],e)},isiPod:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=t.match(/ipod.+?os (\d+)/i);return null!==r&&i(r[1],e)},isAndroid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return/android/i.test(e)},isAndroidPhone:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return/android/i.test(e)&&/mobile/i.test(e)},isAndroidTablet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return/android/i.test(e)&&!/mobile/i.test(e)},isBlackberry:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return/blackberry/i.test(e)||/bb10/i.test(e)},isWindowsPhone:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return this.isWindows()&&/phone/i.test(e)},isWindowsTablet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return this.isWindows()&&!this.isWindowsPhone(e)&&/touch/i.test(e)},isWindows:function(){return/win/i.test(r)},isTablet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return this.isiPad(null,e)||this.isAndroidTablet(e)||this.isWindowsTablet(e)},isMobileDevice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return this.isiPhone(null,e)||this.isiPod(null,e)||this.isAndroidPhone(e)||this.isBlackberry(e)||this.isWindowsPhone(e)},isTouchDevice:function(){return Boolean(Hz.document)&&("ontouchstart"in Hz.document.documentElement||"DocumentTouch"in Hz.document.documentElement&&Hz.document instanceof window.DocumentTouch)},isHighDensityDisplay:function(){return Hz.window.matchMedia&&(Hz.window.matchMedia("only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)").matches||Hz.window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)").matches)||Hz.window.devicePixelRatio&&Hz.window.devicePixelRatio>1.3},getBrowserCategory:function(){return this.isChrome()?"Chrome":this.isFirefox()?"Firefox":this.isSafari()?"Safari":this.isEdge()||this.isIE()?"IE/Edge":"Other"}},l=s;t.default=l}));be(Vz);var $z=Vz,Uz=["isSSR","cloudinaryImageId","cloudinaryTemplate","cloudinaryCloudName","htmlWidth","htmlHeight","quality","lazyLoad"];function qz(e,t){var r=VO(e);if(N_){var n=N_(e);t&&(n=Y_(n).call(n,(function(t){return Z_(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yz(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qz(Object(r),!0).forEach((function(t){kA(e,t,r[t])})):eA?Object.defineProperties(e,eA(r)):qz(Object(r)).forEach((function(t){Object.defineProperty(e,t,Z_(r,t))}))}return e}var Xz,Gz=function(e){var t,r=e.isSSR,n=e.cloudinaryImageId,o=e.cloudinaryTemplate,a=e.cloudinaryCloudName,s=e.htmlWidth,l=e.htmlHeight,c=e.quality,d=e.lazyLoad,f=bA(e,Uz);(n||o)&&Boolean(s)&&Boolean(l)&&(t=function(e){var t,r,n=e.cloudinaryImageId,o=e.cloudinaryTemplate,a=e.cloudinaryCloudName,i=e.htmlWidth,s=e.htmlHeight,l=e.quality,c=UT(t=UT(r="https://res.cloudinary.com/".concat(a,"/image/upload/$w_{{WIDTH}},$h_{{HEIGHT}},$q_{{QUALITY}}/c_fill,f_auto,fl_progressive,dpr_")).call(r,$z.isHighDensityDisplay()?2:1,",h_$h,q_$q,w_$w/")).call(t,n),d=o||c;return u.default(d,{interpolate:/{{([\s\S]+?)}}/g})({WIDTH:i,HEIGHT:s,QUALITY:l})}({cloudinaryImageId:n,cloudinaryTemplate:o,cloudinaryCloudName:a,htmlWidth:s,htmlHeight:l,quality:c}));var p=Yz(Yz({},f),{},{src:t||f.src,htmlWidth:s,htmlHeight:l},d&&{loading:"lazy"});return r?i.default.createElement(by,p):i.default.createElement(gy,p)};Xz=Gz,Gz.propTypes={isSSR:s.default.bool,cloudinaryCloudName:s.default.string,cloudinaryImageId:s.default.string,cloudinaryTemplate:s.default.string,htmlWidth:s.default.number,htmlHeight:s.default.number,quality:s.default.number,lazyLoad:s.default.bool},Gz.defaultProps={isSSR:!1,quality:50,cloudinaryCloudName:"spothero"},$RefreshReg$(Xz,"Image");var Kz,Zz=["color","loaderBackgroundColor","isInfinite","size","thickness","trackColor","value"],Qz=function(e){var t=e.color,r=void 0===t?"success":t,n=e.loaderBackgroundColor,o=void 0===n?"transparent":n,a=e.isInfinite,s=void 0===a||a,l=e.size,u=void 0===l?12:l,c=e.thickness,d=void 0===c?2:c,f=e.trackColor,p=void 0===f?"gray.medium":f,h=e.value,m=void 0===h?0:h,v=bA(e,Zz),g={color:r,isIndeterminate:s,size:u,thickness:d,trackColor:p,value:m,capIsRound:!0};return i.default.createElement(ik,iA({sx:{"& svg > circle:first-of-type":{fill:o}}},g,v))};Kz=Qz,Qz.propTypes={color:s.default.string,isInfinite:s.default.bool,loaderBackgroundColor:s.default.string,size:s.default.oneOfType([s.default.string,s.default.number]),thickness:s.default.oneOfType([s.default.string,s.default.number]),trackColor:s.default.string,value:s.default.number},$RefreshReg$(Kz,"Loader");var Jz=a_.map,eB=W_("map");EO({target:"Array",proto:!0,forced:!eB},{map:function(e){return Jz(this,e,arguments.length>1?arguments[1]:void 0)}});var tB,rB,nB=$_("Array").map,oB=Array.prototype,aB=function(e){var t=e.map;return e===oB||mE(oB,e)&&t===oB.map?nB:t},iB=["children"],sB=e.forwardRef(tB=function(t,r){var n,o=t.children,a=bA(t,iB);return i.default.createElement(YS,iA({},a,{ref:r}),aB(n=e.Children.toArray(o)).call(n,(function(n,o){return e.cloneElement(n,{ref:r,variant:t.variant,key:"Popover-child-".concat(o)})})))});rB=sB,sB.propTypes={children:s.default.node,variant:s.default.oneOf(["light","dark"])},$RefreshReg$(tB,"Popover$forwardRef"),$RefreshReg$(rB,"Popover");var lB,uB,cB=e.forwardRef(lB=function(e,t){return i.default.createElement(JS,iA({ref:t},e,{backgroundColor:"dark"===e.variant?"secondary.default":"white"}))});uB=cB,$RefreshReg$(lB,"PopoverArrow$forwardRef"),$RefreshReg$(uB,"PopoverArrow");var dB,fB,pB=function(e){return{bgColor:"dark"===e?"gray.600":"gray.50"}},hB=e.forwardRef(dB=function(e,t){return i.default.createElement(QS,iA({ref:t},e,{color:"dark"===(r=e.variant)?"white":"black",fontSize:"0.5rem",position:"absolute",top:0,right:0,padding:4,borderTopRightRadius:4,_hover:pB(r),_focus:pB(r)}));var r});fB=hB,$RefreshReg$(dB,"PopoverCloseButton$forwardRef"),$RefreshReg$(fB,"PopoverCloseButton");var mB,vB,gB=["header","variant","children","hideCloseButton"],bB=e.forwardRef(mB=function(e,t){var r=e.header,n=e.variant,o=e.children,a=e.hideCloseButton,s=bA(e,gB);return i.default.createElement(GS,iA({},s,{ref:t}),i.default.createElement(cB,{variant:n}),a?null:i.default.createElement(hB,{variant:n}),r?i.default.createElement(KS,null,r):null,i.default.createElement(ZS,null,o))});vB=bB,bB.propTypes={children:s.default.node,hideCloseButton:s.default.bool,variant:s.default.oneOf(["light","dark"]),header:s.default.oneOfType([s.default.node,s.default.string])},bB.defaultProps={variant:"light",hideCloseButton:!1},$RefreshReg$(mB,"PopoverContent$forwardRef"),$RefreshReg$(vB,"PopoverContent");var yB=Promise.resolve().then((function(){return require("./ImageCarousel-bfdd3dbe.js")}));exports.Accordion=sy,exports.AccordionButton=dy,exports.AccordionIcon=py,exports.AccordionItem=cy,exports.AccordionPanel=fy,exports.Box=dx,exports.Button=_R,exports.ButtonGroup=Sy,exports.Card=Dz,exports.Checkbox=Ky,exports.Container=MT,exports.Fade=Cb,exports.Flex=gx,exports.Grid=rT,exports.GridItem=iT,exports.HStack=Ix,exports.Heading=zT,exports.Icon=yd,exports.Image=Gz,exports.ImageCarousel=yB,exports.Link=Cx,exports.List=vT,exports.ListItem=Tx,exports.Loader=Qz,exports.Popover=sB,exports.PopoverContent=bB,exports.PopoverTrigger=XS,exports.Portal=Wn,exports.ScaleFade=jb,exports.Select=dk,exports.Slide=Bb,exports.SlideFade=Ib,exports.Spinner=OT,exports.Tab=Ak,exports.TabList=Pk,exports.TabPanel=jk,exports.TabPanels=Rk,exports.Table=Zx,exports.TableCaption=Qx,exports.Tabs=_k,exports.Tbody=ew,exports.Td=ow,exports.Text=KR,exports.Tfoot=tw,exports.Th=rw,exports.Thead=Jx,exports.ThemeProvider=Tz,exports.Tr=nw,exports._export=EO,exports._extends=iA,exports._objectWithoutProperties=bA,exports.aCallable=PE,exports.anObject=vO,exports.arrayIteration=a_,exports.arrayMethodHasSpeciesSupport=W_,exports.arraySlice=wC,exports.classof=ZO,exports.concat=UT,exports.createCommonjsModule=ye,exports.createIcon=function(t){var{viewBox:r="0 0 24 24",d:n,path:o,displayName:a,defaultProps:i={}}=t,s=vi(((t,a)=>e.createElement(yd,xd({ref:a,viewBox:r},i,t),null!=o?o:e.createElement("path",{fill:"currentColor",d:n}))));return Vt&&(s.displayName=a),s},exports.createNonEnumerableProperty=wO,exports.createProperty=pC,exports.createPropertyDescriptor=tE,exports.defineProperty=Fz,exports.defineWellKnownSymbol=OC,exports.descriptors=Gk,exports.entryVirtual=$_,exports.fails=Mk,exports.functionBindContext=fO,exports.functionCall=Zk,exports.functionUncurryThis=Yk,exports.getCjsExportFromNamespace=xe,exports.getMethod=jE,exports.getOwnPropertyDescriptor=Z_,exports.global_1=Fk,exports.hasOwnProperty_1=IE,exports.internalMetadata=LR,exports.internalState=$C,exports.isArray=$O,exports.isCallable=Xk,exports.isConstructor=JC,exports.isObject=dE,exports.lengthOfArrayLike=TO,exports.map=aB,exports.nativeWeakMap=FC,exports.objectCreate=cC,exports.objectDefineProperty=xO,exports.objectIsExtensible=NR,exports.objectIsPrototypeOf=mE,exports.path=fE,exports.redefine=SC,exports.requireObjectCoercible=uE,exports.setToStringTag=PC,exports.sharedKey=oC,exports.toAbsoluteIndex=jO,exports.toIndexedObject=cE,exports.toIntegerOrInfinity=_O,exports.toObject=FE,exports.toString_1=JO,exports.tryToString=_E,exports.unwrapExports=be,exports.useBreakpointValue=function(e,t){var r=function(e){var{breakpoints:t}=Ga(),r=Yn(),n=i.default.useMemo((()=>$x(Xx({base:"0px"},t))),[t]),[o,a]=i.default.useState((()=>{if(e){var t=n.find((t=>{var{breakpoint:r}=t;return r===e}));if(t)return Yx(t,["query"])}})),s=null==o?void 0:o.breakpoint,l=i.default.useCallback(((e,t)=>{e.matches&&s!==t.breakpoint&&a(t)}),[s]);return i.default.useEffect((()=>{var e=new Set;return n.forEach((t=>{var{query:n}=t,o=Yx(t,["query"]),a=r.window.matchMedia(n);l(a,o);var i=()=>{l(a,o)};return a.addListener(i),e.add({mediaQuery:a,handleChange:i}),()=>{a.removeListener(i)}})),()=>{e.forEach((e=>{var{mediaQuery:t,handleChange:r}=e;t.removeListener(r)})),e.clear()}}),[n,t,l,r.window]),s}(t),n=Ga();if(r){var o=Object.keys(n.breakpoints),a=Mt(e)?Jt(Object.entries(function(e,t){void 0===t&&(t=tn);var r={};return e.forEach(((e,n)=>{var o=t[n];null!=e&&(r[o]=e)})),r}(e,o)).map((e=>{var[t,r]=e;return[t,r]}))):e;return function(e,t,r){void 0===r&&(r=tn);var n=Object.keys(e).indexOf(t);if(-1!==n)return e[t];for(var o=r.indexOf(t);o>=0;){if(null!=e[r[o]]){n=o;break}o-=1}return-1!==n?e[r[n]]:void 0}(a,r,o)}},exports.useClipboard=function(t,r){void 0===r&&(r={});var[n,o]=e.useState(!1),a="number"==typeof r?{timeout:r}:r,{timeout:i=1500}=a,s=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(a,["timeout"]),l=e.useCallback((()=>{var e=mn(t,s);o(e)}),[t,s]);return e.useEffect((()=>{var e=null;return n&&(e=window.setTimeout((()=>{o(!1)}),i)),()=>{e&&window.clearTimeout(e)}}),[i,n]),{value:t,onCopy:l,hasCopied:n}},exports.useControllableProp=vn,exports.useControllableState=gn,exports.useDisclosure=En,exports.useMediaQuery=Vx,exports.usePrefersReducedMotion=function(){var[e]=Vx("(prefers-reduced-motion: reduce)");return e},exports.useTheme=Ga,exports.useToken=function(e,t,r){var n=Ga();if(Array.isArray(t)){var o=[];return r&&(o=Array.isArray(r)?r:[r]),t.map(((t,r)=>{var a;return ti(n,e+"."+t,null!=(a=o[r])?a:t)}))}return ti(n,e+"."+t,r)},exports.wellKnownSymbol=YE,exports.wellKnownSymbolWrapped=kC;
|
|
25
|
-
//# sourceMappingURL=index-fa71d123.js.map
|