@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,24 +0,0 @@
|
|
|
1
|
-
import e,{createContext as r,useContext as t,createElement as n,Fragment as o,forwardRef as a,useRef as i,useLayoutEffect as s,Children as l,isValidElement as u,useState as c,useCallback as d,useEffect as f,useMemo as p,memo as h,Component as m,cloneElement as v}from"react";import g from"prop-types";import b from"lodash/merge";import y from"lodash/template";import{createPortal as x}from"react-dom";var w=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.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 r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var t=64===e.charCodeAt(0)&&105===e.charCodeAt(1);t&&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||!t}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{n.insertRule(e,n.cssRules.length)}catch(r){"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+'"',r)}}else r.appendChild(document.createTextNode(e));this.ctr++},r.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}(),S="-ms-",k="-moz-",O="-webkit-",_=Math.abs,E=String.fromCharCode,A=Object.assign;function C(e){return e.trim()}function P(e,r,t){return e.replace(r,t)}function j(e,r){return e.indexOf(r)}function T(e,r){return 0|e.charCodeAt(r)}function R(e,r,t){return e.slice(r,t)}function z(e){return e.length}function B(e){return e.length}function D(e,r){return r.push(e),e}var F=1,N=1,I=0,M=0,L=0,W="";function H(e,r,t,n,o,a,i){return{value:e,root:r,parent:t,type:n,props:o,children:a,line:F,column:N,length:i,return:""}}function V(e,r){return A(H("",null,null,"",null,null,0),e,{length:-e.length},r)}function $(){return L=M>0?T(W,--M):0,N--,10===L&&(N=1,F--),L}function U(){return L=M<I?T(W,M++):0,N++,10===L&&(N=1,F++),L}function q(){return T(W,M)}function Y(){return M}function X(e,r){return R(W,e,r)}function G(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 K(e){return F=N=1,I=z(W=e),M=0,[]}function Z(e){return W="",e}function Q(e){return C(X(M-1,re(91===e?e+2:40===e?e+1:e)))}function J(e){for(;(L=q())&&L<33;)U();return G(e)>2||G(L)>3?"":" "}function ee(e,r){for(;--r&&U()&&!(L<48||L>102||L>57&&L<65||L>70&&L<97););return X(e,Y()+(r<6&&32==q()&&32==U()))}function re(e){for(;U();)switch(L){case e:return M;case 34:case 39:34!==e&&39!==e&&re(L);break;case 40:41===e&&re(e);break;case 92:U()}return M}function te(e,r){for(;U()&&e+L!==57&&(e+L!==84||47!==q()););return"/*"+X(r,M-1)+"*"+E(47===e?e:U())}function ne(e){for(;!G(q());)U();return X(e,M)}function oe(e){return Z(ae("",null,null,null,[""],e=K(e),0,[0],e))}function ae(e,r,t,n,o,a,i,s,l){for(var u=0,c=0,d=i,f=0,p=0,h=0,m=1,v=1,g=1,b=0,y="",x=o,w=a,S=n,k=y;v;)switch(h=b,b=U()){case 40:if(108!=h&&58==k.charCodeAt(d-1)){-1!=j(k+=P(Q(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:k+=Q(b);break;case 9:case 10:case 13:case 32:k+=J(h);break;case 92:k+=ee(Y()-1,7);continue;case 47:switch(q()){case 42:case 47:D(se(te(U(),Y()),r,t),l);break;default:k+="/"}break;case 123*m:s[u++]=z(k)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:p>0&&z(k)-d&&D(p>32?le(k+";",n,t,d-1):le(P(k," ","")+";",n,t,d-2),l);break;case 59:k+=";";default:if(D(S=ie(k,r,t,u,c,o,s,y,x=[],w=[],d),a),123===b)if(0===c)ae(k,r,S,S,x,a,d,s,w);else switch(f){case 100:case 109:case 115:ae(e,S,S,n&&D(ie(e,S,S,0,0,o,s,y,o,x=[],d),w),o,w,d,s,n?x:w);break;default:ae(k,S,S,S,[""],w,0,s,w)}}u=c=p=0,m=g=1,y=k="",d=i;break;case 58:d=1+z(k),p=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==$())continue;switch(k+=E(b),b*m){case 38:g=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(z(k)-1)*g,g=1;break;case 64:45===q()&&(k+=Q(U())),f=q(),c=d=z(y=k+=ne(Y())),b++;break;case 45:45===h&&2==z(k)&&(m=0)}}return a}function ie(e,r,t,n,o,a,i,s,l,u,c){for(var d=o-1,f=0===o?a:[""],p=B(f),h=0,m=0,v=0;h<n;++h)for(var g=0,b=R(e,d+1,d=_(m=i[h])),y=e;g<p;++g)(y=C(m>0?f[g]+" "+b:P(b,/&\f/g,f[g])))&&(l[v++]=y);return H(e,r,t,0===o?"rule":s,l,u,c)}function se(e,r,t){return H(e,r,t,"comm",E(L),R(e,2,-2),0)}function le(e,r,t,n){return H(e,r,t,"decl",R(e,0,n),R(e,n+1,-1),n)}function ue(e,r){switch(function(e,r){return(((r<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3)}(e,r)){case 5103:return O+"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 O+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+k+e+S+e+e;case 6828:case 4268:return O+e+S+e+e;case 6165:return O+e+S+"flex-"+e+e;case 5187:return O+e+P(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return O+e+S+"flex-item-"+P(e,/flex-|-self/,"")+e;case 4675:return O+e+S+"flex-line-pack"+P(e,/align-content|flex-|-self/,"")+e;case 5548:return O+e+S+P(e,"shrink","negative")+e;case 5292:return O+e+S+P(e,"basis","preferred-size")+e;case 6060:return O+"box-"+P(e,"-grow","")+O+e+S+P(e,"grow","positive")+e;case 4554:return O+P(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return P(P(P(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return P(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return P(P(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4095:case 3583:case 4068:case 2532:return P(e,/(.+)-inline(.+)/,O+"$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(z(e)-1-r>6)switch(T(e,r+1)){case 109:if(45!==T(e,r+4))break;case 102:return P(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+k+(108==T(e,r+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?ue(P(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==T(e,r+1))break;case 6444:switch(T(e,z(e)-3-(~j(e,"!important")&&10))){case 107:return P(e,":",":"+O)+e;case 101:return P(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===T(e,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+S+"$2box$3")+e}break;case 5936:switch(T(e,r+11)){case 114:return O+e+S+P(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+S+P(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+S+P(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return O+e+S+e+e}return e}function ce(e,r){for(var t="",n=B(e),o=0;o<n;o++)t+=r(e[o],o,e,r)||"";return t}function de(e,r,t,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+"{"+ce(e.children,n)+"}";case"rule":e.value=e.props.join(",")}return z(t=ce(e.children,n))?e.return=e.value+"{"+t+"}":""}function fe(e){var r=B(e);return function(t,n,o,a){for(var i="",s=0;s<r;s++)i+=e[s](t,n,o,a)||"";return i}}var pe=function(e){var r=new WeakMap;return function(t){if(r.has(t))return r.get(t);var n=e(t);return r.set(t,n),n}};function he(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var me=function(e,r,t){for(var n=0,o=0;n=o,o=q(),38===n&&12===o&&(r[t]=1),!G(o);)U();return X(e,M)},ve=function(e,r){return Z(function(e,r){var t=-1,n=44;do{switch(G(n)){case 0:38===n&&12===q()&&(r[t]=1),e[t]+=me(M-1,r,t);break;case 2:e[t]+=Q(n);break;case 4:if(44===n){e[++t]=58===q()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=E(n)}}while(n=U());return e}(K(e),r))},ge=new WeakMap,be=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||ge.get(t))&&!n){ge.set(e,!0);for(var o=[],a=ve(r,o),i=t.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]}}},ye=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},xe=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},we=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Se=function(e,r,t){xe(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."),we(e)):function(e,r){for(var t=e-1;t>=0;t--)if(!xe(r[t]))return!0;return!1}(r,t)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),we(e)))},ke="undefined"!=typeof document,Oe=ke?void 0:pe((function(){return he((function(){var e={};return function(r){return e[r]}}))})),_e=[function(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case"decl":e.return=ue(e.value,e.length);break;case"@keyframes":return ce([V(e,{value:P(e.value,"@","@"+O)})],n);case"rule":if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ce([V(e,{props:[P(r,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return ce([V(e,{props:[P(r,/:(plac\w+)/,":-webkit-input-$1")]}),V(e,{props:[P(r,/:(plac\w+)/,":-moz-$1")]}),V(e,{props:[P(r,/:(plac\w+)/,S+"input-$1")]})],n)}return""}))}}],Ee=function(e){var r=e.key;if("production"!==process.env.NODE_ENV&&!r)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(ke&&"css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||_e;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o,a,i={},s=[];ke&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)i[r[t]]=!0;s.push(e)})));var l,u=[be,ye];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(r,t,n){if("rule"===r.type){var o,a=r.value.match(/(:first|:nth|:nth-last)-child/g);if(a&&!0!==e.compat){var i=t>0?n[t-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 g.compat}}),Se),ke){var c,d=[de,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&"comm"!==e.type&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=fe(u.concat(n,d));a=function(e,r,t,n){c=t,"production"!==process.env.NODE_ENV&&void 0!==r.map&&(c={insert:function(e){t.insert(e+r.map)}}),function(e){ce(oe(e),f)}(e?e+"{"+r.styles+"}":r.styles),n&&(g.inserted[r.name]=!0)}}else{var p=[de],h=fe(u.concat(n,p)),m=Oe(n)(r),v=function(e,r){var t=r.name;return void 0===m[t]&&(m[t]=function(e){return ce(oe(e),h)}(e?e+"{"+r.styles+"}":r.styles)),m[t]};a=function(e,r,t,n){var o=r.name,a=v(e,r);return void 0===g.compat?(n&&(g.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==r.map?a+r.map:a):n?void(g.inserted[o]=a):a}}var g={key:r,sheet:new w({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return g.sheet.hydrate(s),g};function Ae(){return Ae=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ae.apply(this,arguments)}var Ce="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function je(e,r){return e(r={exports:{}},r.exports),r.exports}function Te(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 Re="function"==typeof Symbol&&Symbol.for,ze=Re?Symbol.for("react.element"):60103,Be=Re?Symbol.for("react.portal"):60106,De=Re?Symbol.for("react.fragment"):60107,Fe=Re?Symbol.for("react.strict_mode"):60108,Ne=Re?Symbol.for("react.profiler"):60114,Ie=Re?Symbol.for("react.provider"):60109,Me=Re?Symbol.for("react.context"):60110,Le=Re?Symbol.for("react.async_mode"):60111,We=Re?Symbol.for("react.concurrent_mode"):60111,He=Re?Symbol.for("react.forward_ref"):60112,Ve=Re?Symbol.for("react.suspense"):60113,$e=Re?Symbol.for("react.suspense_list"):60120,Ue=Re?Symbol.for("react.memo"):60115,qe=Re?Symbol.for("react.lazy"):60116,Ye=Re?Symbol.for("react.block"):60121,Xe=Re?Symbol.for("react.fundamental"):60117,Ge=Re?Symbol.for("react.responder"):60118,Ke=Re?Symbol.for("react.scope"):60119;function Ze(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case ze:switch(e=e.type){case Le:case We:case De:case Ne:case Fe:case Ve:return e;default:switch(e=e&&e.$$typeof){case Me:case He:case qe:case Ue:case Ie:return e;default:return r}}case Be:return r}}}function Qe(e){return Ze(e)===We}var Je={AsyncMode:Le,ConcurrentMode:We,ContextConsumer:Me,ContextProvider:Ie,Element:ze,ForwardRef:He,Fragment:De,Lazy:qe,Memo:Ue,Portal:Be,Profiler:Ne,StrictMode:Fe,Suspense:Ve,isAsyncMode:function(e){return Qe(e)||Ze(e)===Le},isConcurrentMode:Qe,isContextConsumer:function(e){return Ze(e)===Me},isContextProvider:function(e){return Ze(e)===Ie},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ze},isForwardRef:function(e){return Ze(e)===He},isFragment:function(e){return Ze(e)===De},isLazy:function(e){return Ze(e)===qe},isMemo:function(e){return Ze(e)===Ue},isPortal:function(e){return Ze(e)===Be},isProfiler:function(e){return Ze(e)===Ne},isStrictMode:function(e){return Ze(e)===Fe},isSuspense:function(e){return Ze(e)===Ve},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===De||e===We||e===Ne||e===Fe||e===Ve||e===$e||"object"==typeof e&&null!==e&&(e.$$typeof===qe||e.$$typeof===Ue||e.$$typeof===Ie||e.$$typeof===Me||e.$$typeof===He||e.$$typeof===Xe||e.$$typeof===Ge||e.$$typeof===Ke||e.$$typeof===Ye)},typeOf:Ze},er=je((function(e,r){"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=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 r=e.$$typeof;switch(r){case t: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 r}}case n:return r}}}var w=u,S=c,k=l,O=s,_=t,E=d,A=o,C=m,P=h,j=n,T=i,R=a,z=f,B=!1;function D(e){return x(e)===c}r.AsyncMode=w,r.ConcurrentMode=S,r.ContextConsumer=k,r.ContextProvider=O,r.Element=_,r.ForwardRef=E,r.Fragment=A,r.Lazy=C,r.Memo=P,r.Portal=j,r.Profiler=T,r.StrictMode=R,r.Suspense=z,r.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},r.isConcurrentMode=D,r.isContextConsumer=function(e){return x(e)===l},r.isContextProvider=function(e){return x(e)===s},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},r.isForwardRef=function(e){return x(e)===d},r.isFragment=function(e){return x(e)===o},r.isLazy=function(e){return x(e)===m},r.isMemo=function(e){return x(e)===h},r.isPortal=function(e){return x(e)===n},r.isProfiler=function(e){return x(e)===i},r.isStrictMode=function(e){return x(e)===a},r.isSuspense=function(e){return x(e)===f},r.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)},r.typeOf=x}()}));er.AsyncMode,er.ConcurrentMode,er.ContextConsumer,er.ContextProvider,er.Element,er.ForwardRef,er.Fragment,er.Lazy,er.Memo,er.Portal,er.Profiler,er.StrictMode,er.Suspense,er.isAsyncMode,er.isConcurrentMode,er.isContextConsumer,er.isContextProvider,er.isElement,er.isForwardRef,er.isFragment,er.isLazy,er.isMemo,er.isPortal,er.isProfiler,er.isStrictMode,er.isSuspense,er.isValidElementType,er.typeOf;var rr=je((function(e){"production"===process.env.NODE_ENV?e.exports=Je:e.exports=er})),tr={};tr[rr.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tr[rr.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var nr="undefined"!=typeof document;function or(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var ar=function(e,r,t){!function(e,r,t){var n=e.key+"-"+r.name;(!1===t||!1===nr&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=r.styles)}(e,r,t);var n=e.key+"-"+r.name;if(void 0===e.inserted[r.name]){var o="",a=r;do{var i=e.insert(r===a?"."+n:"",a,e.sheet,!0);nr||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!nr&&0!==o.length)return o}};var ir={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},sr="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",lr="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ur=/[A-Z]|^ms/g,cr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dr=function(e){return 45===e.charCodeAt(1)},fr=function(e){return null!=e&&"boolean"!=typeof e},pr=he((function(e){return dr(e)?e:e.replace(ur,"-$&").toLowerCase()})),hr=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(cr,(function(e,r,t){return kr={name:r,styles:t,next:kr},r}))}return 1===ir[e]||dr(e)||"number"!=typeof r||0===r?r:r+"px"};if("production"!==process.env.NODE_ENV){var mr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,vr=["normal","none","initial","inherit","unset"],gr=hr,br=/^-ms-/,yr=/-(.)/g,xr={};hr=function(e,r){if("content"===e&&("string"!=typeof r||-1===vr.indexOf(r)&&!mr.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||'"'!==r.charAt(0)&&"'"!==r.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var t=gr(e,r);return""===t||dr(e)||-1===e.indexOf("-")||void 0!==xr[e]||(xr[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(br,"ms-").replace(yr,(function(e,r){return r.toUpperCase()}))+"?")),t}}function wr(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===t.toString())throw new Error("Component selectors can only be used in conjunction with @emotion/babel-plugin.");return t}switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return kr={name:t.name,styles:t.styles,next:kr},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)kr={name:n.name,styles:n.styles,next:kr},n=n.next;var o=t.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==t.map&&(o+=t.map),o}return function(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=wr(e,r,t[o])+";";else for(var a in t){var i=t[a];if("object"!=typeof i)null!=r&&void 0!==r[i]?n+=a+"{"+r[i]+"}":fr(i)&&(n+=pr(a)+":"+hr(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!=r&&void 0!==r[i[0]]){var s=wr(e,r,i);switch(a){case"animation":case"animationName":n+=pr(a)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(lr),n+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)fr(i[l])&&(n+=pr(a)+":"+hr(a,i[l])+";")}}return n}(e,r,t);case"function":if(void 0!==e){var a=kr,i=t(e);return kr=a,wr(e,r,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=t.replace(cr,(function(e,r,t){var n="animation"+s.length;return s.push("const "+n+" = keyframes`"+t.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==r)return t;var u=r[t];return void 0!==u?u:t}var Sr,kr,Or=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Sr=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var _r=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";kr=void 0;var a,i=e[0];null==i||void 0===i.raw?(n=!1,o+=wr(t,r,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(sr),o+=i[0]);for(var s=1;s<e.length;s++)o+=wr(t,r,e[s]),n&&("production"!==process.env.NODE_ENV&&void 0===i[s]&&console.error(sr),o+=i[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Sr,(function(e){return a=e,""}))),Or.lastIndex=0;for(var l,u="";null!==(l=Or.exec(o));)u+="-"+l[1];var c=function(e){for(var r,t=0,n=0,o=e.length;o>=4;++n,o-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(o)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:o,map:a,next:kr,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:kr}},Er="undefined"!=typeof document,Ar=Object.prototype.hasOwnProperty,Cr=r("undefined"!=typeof HTMLElement?Ee({key:"css"}):null);Cr.Provider;var Pr=function(e){return a((function(r,n){var o=t(Cr);return e(r,o,n)}))};Er||(Pr=function(e){return function(r){var o=t(Cr);return null===o?(o=Ee({key:"css"}),n(Cr.Provider,{value:o},e(r,o))):e(r,o)}});var jr=r({}),Tr=pe((function(e){return pe((function(r){return function(e,r){if("function"==typeof r){var t=r(e);if("production"!==process.env.NODE_ENV&&(null==t||"object"!=typeof t||Array.isArray(t)))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return t}if("production"!==process.env.NODE_ENV&&(null==r||"object"!=typeof r||Array.isArray(r)))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Ae({},e,{},r)}(e,r)}))})),Rr=function(e){var r=t(jr);return e.theme!==r&&(r=Tr(r)(e.theme)),n(jr.Provider,{value:r},e.children)},zr=Pr((function(e,r,a){var i=e.css;"string"==typeof i&&void 0!==r.registered[i]&&(i=r.registered[i]);var s=e.__EMOTION_TYPE_PLEASE_DO_NOT_USE__,l=[i],u="";"string"==typeof e.className?u=or(r.registered,l,e.className):null!=e.className&&(u=e.className+" ");var c=_r(l,void 0,"function"==typeof i||Array.isArray(i)?t(jr):void 0);if("production"!==process.env.NODE_ENV&&-1===c.name.indexOf("-")){var d=e.__EMOTION_LABEL_PLEASE_DO_NOT_USE__;d&&(c=_r([c,"label:"+d+";"]))}var f=ar(r,c,"string"==typeof s);u+=r.key+"-"+c.name;var p={};for(var h in e)!Ar.call(e,h)||"css"===h||"__EMOTION_TYPE_PLEASE_DO_NOT_USE__"===h||"production"!==process.env.NODE_ENV&&"__EMOTION_LABEL_PLEASE_DO_NOT_USE__"===h||(p[h]=e[h]);p.ref=a,p.className=u;var m=n(s,p);if(!Er&&void 0!==f){for(var v,g=c.name,b=c.next;void 0!==b;)g+=" "+b.name,b=b.next;return n(o,null,n("style",((v={})["data-emotion"]=r.key+" "+g,v.dangerouslySetInnerHTML={__html:f},v.nonce=r.sheet.nonce,v)),m)}return m}));"production"!==process.env.NODE_ENV&&(zr.displayName="EmotionCssPropInternal");var Br=!1,Dr=Pr((function(e,r){"production"===process.env.NODE_ENV||Br||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Br=!0);var o=e.styles,a=_r([o],void 0,"function"==typeof o||Array.isArray(o)?t(jr):void 0);if(!Er){for(var l,u=a.name,c=a.styles,d=a.next;void 0!==d;)u+=" "+d.name,c+=d.styles,d=d.next;var f=!0===r.compat,p=r.insert("",{name:u,styles:c},r.sheet,f);return f?null:n("style",((l={})["data-emotion"]=r.key+"-global "+u,l.dangerouslySetInnerHTML={__html:p},l.nonce=r.sheet.nonce,l))}var h=i();return s((function(){var e=r.key+"-global",t=new w({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=document.querySelector('style[data-emotion="'+e+" "+a.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==n&&t.hydrate([n]),h.current=t,function(){t.flush()}}),[r]),s((function(){void 0!==a.next&&ar(r,a.next,!0);var e=h.current;if(e.tags.length){var t=e.tags[e.tags.length-1].nextElementSibling;e.before=t,e.flush()}r.insert("",a,e,!1)}),[r,a.name]),null}));function Fr(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return _r(r)}"production"!==process.env.NODE_ENV&&(Dr.displayName="EmotionGlobal");var Nr=function(){var e=Fr.apply(void 0,arguments),r="animation-"+e.name;return{name:r,styles:"@keyframes "+r+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ir=function e(r){for(var t=r.length,n=0,o="";n<t;n++){var a=r[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 Mr(e,r,t){var n=[],o=or(e,n,t);return n.length<2?t:o+r(n)}var Lr=Pr((function(e,r){var a,i="",s="",l=!1,u=function(){if(l&&"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 o=_r(t,r.registered);if(Er)ar(r,o,!1);else{var a=ar(r,o,!1);void 0!==a&&(i+=a)}return Er||(s+=" "+o.name),r.key+"-"+o.name},c={css:u,cx:function(){if(l&&"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 Mr(r.registered,u,Ir(t))},theme:t(jr)},d=e.children(c);return l=!0,Er||0===i.length?d:n(o,null,n("style",((a={})["data-emotion"]=r.key+" "+s.substring(1),a.dangerouslySetInnerHTML={__html:i},a.nonce=r.sheet.nonce,a)),d)}));if("production"!==process.env.NODE_ENV&&(Lr.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var Wr="undefined"!=typeof document,Hr="undefined"!=typeof jest;if(Wr&&!Hr){var Vr=Wr?window:global,$r="__EMOTION_REACT_"+"11.1.5".split(".")[0]+"__";Vr[$r]&&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."),Vr[$r]=!0}}var Ur=()=>n(Dr,{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 qr(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function Yr(e){return"number"==typeof e}function Xr(e){return Array.isArray(e)}function Gr(e){return"function"==typeof e}function Kr(e){return void 0===e||void 0===e}function Zr(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!Xr(e)}function Qr(e){return"[object String]"===Object.prototype.toString.call(e)}function Jr(e){return/^var\(--.+\)$/.test(e)}var et="production"!==process.env.NODE_ENV;function rt(e){return"current"in e}process.env.NODE_ENV;var tt=je((function(e,r){var t="__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 Ce&&Ce&&Ce.Object===Object&&Ce,d="object"==typeof self&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),p=r&&!r.nodeType&&r,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,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var x=Array.prototype,w=Function.prototype,S=Object.prototype,k=f["__core-js_shared__"],O=w.toString,_=S.hasOwnProperty,E=function(){var e=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),A=S.toString,C=O.call(Object),P=RegExp("^"+O.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=m?f.Buffer:void 0,T=f.Symbol,R=f.Uint8Array,z=j?j.allocUnsafe:void 0,B=function(e,r){return function(t){return e(r(t))}}(Object.getPrototypeOf,Object),D=Object.create,F=S.propertyIsEnumerable,N=x.splice,I=T?T.toStringTag:void 0,M=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(r){if(!Ee(r))return{};if(D)return D(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function q(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function Y(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function X(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function G(e){var r=this.__data__=new Y(e);this.size=r.size}function K(e,r){var t=we(e),n=!t&&xe(e),o=!t&&!n&&ke(e),a=!t&&!n&&!o&&Pe(e),i=t||n||o||a,s=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],l=s.length;for(var u in e)!r&&!_.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,r,t){(void 0!==t&&!ye(e[r],t)||void 0===t&&!(r in e))&&ee(e,r,t)}function Q(e,r,t){var n=e[r];_.call(e,r)&&ye(n,t)&&(void 0!==t||r in e)||ee(e,r,t)}function J(e,r){for(var t=e.length;t--;)if(ye(e[t][0],r))return t;return-1}function ee(e,r,t){"__proto__"==r&&M?M(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}q.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},q.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},q.prototype.get=function(e){var r=this.__data__;if($){var n=r[e];return n===t?void 0:n}return _.call(r,e)?r[e]:void 0},q.prototype.has=function(e){var r=this.__data__;return $?void 0!==r[e]:_.call(r,e)},q.prototype.set=function(e,r){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$&&void 0===r?t:r,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var r=this.__data__,t=J(r,e);return!(t<0)&&(t==r.length-1?r.pop():N.call(r,t,1),--this.size,!0)},Y.prototype.get=function(e){var r=this.__data__,t=J(r,e);return t<0?void 0:r[t][1]},Y.prototype.has=function(e){return J(this.__data__,e)>-1},Y.prototype.set=function(e,r){var t=this.__data__,n=J(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,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 r=ce(this,e).delete(e);return this.size-=r?1:0,r},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,r){var t=ce(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},G.prototype.clear=function(){this.__data__=new Y,this.size=0},G.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},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,r){var t=this.__data__;if(t instanceof Y){var n=t.__data__;if(!V||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new X(n)}return t.set(e,r),this.size=t.size,this};var re,te=function(e,r,t){for(var n=-1,o=Object(e),a=t(e),i=a.length;i--;){var s=a[re?i:++n];if(!1===r(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 r=_.call(e,I),t=e[I];try{e[I]=void 0;var n=!0}catch(e){}var o=A.call(e);n&&(r?e[I]=t:delete e[I]);return o}(e):function(e){return A.call(e)}(e)}function oe(e){return Ae(e)&&ne(e)==o}function ae(e){return!(!Ee(e)||(r=e,E&&E in r))&&(Oe(e)?P:s).test(function(e){if(null!=e){try{return O.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var r}function ie(e){if(!Ee(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=pe(e),t=[];for(var n in e)("constructor"!=n||!r&&_.call(e,n))&&t.push(n);return t}function se(e,r,t,n,o){e!==r&&te(r,(function(a,s){if(o||(o=new G),Ee(a))!function(e,r,t,n,o,a,s){var l=he(e,t),u=he(r,t),c=s.get(u);if(c)return void Z(e,t,c);var d=a?a(l,u,t+"",e,r,s):void 0,f=void 0===d;if(f){var p=we(u),h=!p&&ke(u),m=!p&&!h&&Pe(u);d=u,p||h||m?we(l)?d=l:Ae(x=l)&&Se(x)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(l):h?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=z?z(t):new e.constructor(t);return e.copy(n),n}(u,!0)):m?(f=!1,v=u,g=!0?(b=v.buffer,y=new b.constructor(b.byteLength),new R(y).set(new R(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 r=B(e);if(null===r)return!0;var t=_.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&O.call(t)==C}(u)||xe(u)?(d=l,xe(l)?d=function(e){return function(e,r,t,n){var o=!t;t||(t={});var a=-1,i=r.length;for(;++a<i;){var s=r[a],l=n?n(t[s],e[s],s,t,e):void 0;void 0===l&&(l=e[s]),o?ee(t,s,l):Q(t,s,l)}return t}(e,je(e))}(l):Ee(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,t,d)}(e,r,s,t,se,n,o);else{var l=n?n(he(e,s),a,s+"",e,r,o):void 0;void 0===l&&(l=a),Z(e,s,l)}}),je)}function le(e,r){return be(function(e,r,t){return r=W(void 0===r?e.length-1:r,0),function(){for(var n=arguments,o=-1,a=W(n.length-r,0),i=Array(a);++o<a;)i[o]=n[r+o];o=-1;for(var s=Array(r+1);++o<r;)s[o]=n[o];return s[r]=t(i),y(e,this,s)}}(e,r,ze),e+"")}var ue=M?function(e,r){return M(e,"toString",{configurable:!0,enumerable:!1,value:(t=r,function(){return t}),writable:!0});var t}:ze;function ce(e,r){var t,n,o=e.__data__;return("string"==(n=typeof(t=r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?o["string"==typeof r?"string":"hash"]:o.map}function de(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return ae(t)?t:void 0}function fe(e,r){var t=typeof e;return!!(r=null==r?n:r)&&("number"==t||"symbol"!=t&&l.test(e))&&e>-1&&e%1==0&&e<r}function pe(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||S)}function he(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}var me,ve,ge,be=(me=ue,ve=0,ge=0,function(){var e=H(),r=16-(e-ge);if(ge=e,r>0){if(++ve>=800)return arguments[0]}else ve=0;return me.apply(void 0,arguments)});function ye(e,r){return e===r||e!=e&&r!=r}var xe=oe(function(){return arguments}())?oe:function(e){return Ae(e)&&_.call(e,"callee")&&!F.call(e,"callee")},we=Array.isArray;function Se(e){return null!=e&&_e(e.length)&&!Oe(e)}var ke=L||function(){return!1};function Oe(e){if(!Ee(e))return!1;var r=ne(e);return r==a||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function _e(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function Ee(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Pe=b?function(e){return function(r){return e(r)}}(b):function(e){return Ae(e)&&_e(e.length)&&!!u[ne(e)]};function je(e){return Se(e)?K(e,!0):ie(e)}var Te,Re=(Te=function(e,r,t,n){se(e,r,t,n)},le((function(e,r){var t=-1,n=r.length,o=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(o=Te.length>3&&"function"==typeof o?(n--,o):void 0,a&&function(e,r,t){if(!Ee(t))return!1;var n=typeof r;return!!("number"==n?Se(t)&&fe(r,t.length):"string"==n&&r in t)&&ye(t[r],e)}(r[0],r[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++t<n;){var i=r[t];i&&Te(e,i,t,o)}return e})));function ze(e){return e}e.exports=Re}));function nt(e,r){var t={};return Object.keys(e).forEach((n=>{r.includes(n)||(t[n]=e[n])})),t}var ot,at,it=(ot=function(e,r,t,n){var o="string"==typeof r?r.split("."):[r];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?t:e},at=new WeakMap,(e,r,t,n)=>{if(void 0===e)return ot(e,r,t);at.has(e)||at.set(e,new Map);var o=at.get(e);if(o.has(r))return o.get(r);var a=ot(e,r,t,n);return o.set(r,a),a});function st(e,r){var t={};return Object.keys(e).forEach((n=>{var o=e[n];r(o,n,e)&&(t[n]=o)})),t}var lt=e=>st(e,(e=>null!=e)),ut=e=>Object.keys(e),ct=e=>e.reduce(((e,r)=>{var[t,n]=r;return e[t]=n,e}),{});function dt(e){if(null==e)return e;var{unitless:r}=function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e);return r||Yr(e)?e+"px":e}var ft=(e,r)=>parseInt(e[1],10)>parseInt(r[1],10)?1:-1,pt=e=>ct(Object.entries(e).sort(ft));function ht(e){var r=pt(e);return Object.assign(Object.values(r),r)}function mt(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+dt(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+dt(r)+")"),t.join(" ")}function vt(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=ht(e),n=Object.entries(e).sort(ft).map(((e,r,t)=>{var n,[o,a]=e,[,i]=null!=(n=t[r+1])?n:[];return i=parseFloat(i)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=dt(e))?r:e).endsWith("px")?-1:-.0635;return Yr(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(e=>""+(parseFloat(e)+t)))}(i):void 0,{breakpoint:o,minW:a,maxW:i,maxWQuery:mt(null,i),minWQuery:mt(a),minMaxQuery:mt(a,i)}})),o=function(e){var r=Object.keys(pt(e));return new Set(r)}(e),a=Array.from(o.values());return{keys:o,normalized:t,isResponsive(e){var r=Object.keys(e);return r.length>0&&r.every((e=>o.has(e)))},asObject:pt(e),asArray:ht(e),details:n,media:[null,...t.map((e=>mt(e))).slice(1)],toArrayValue(e){if(!Zr(e))throw new Error("toArrayValue: value must be an object");for(var r=a.map((r=>{var t;return null!=(t=e[r])?t:null}));null===qr(r);)r.pop();return r},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,r,t)=>{var n=a[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}function gt(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function bt(e){var r;return!!gt(e)&&e instanceof(null!=(r=e.ownerDocument.defaultView)?r:window).HTMLElement}function yt(e){var r;return gt(e)&&null!=(r=e.ownerDocument)?r:document}var xt=!("undefined"==typeof window||!window.document||!window.document.createElement),wt=e=>e?"":void 0,St=e=>!!e||void 0,kt=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter(Boolean).join(" ")};function Ot(e){var r=yt(e);return null==r?void 0:r.activeElement}function _t(e,r){return!!e&&(e===r||e.contains(r))}function Et(e){var{key:r,keyCode:t}=e;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function At(e){return 0!==e.button}var Ct=e=>e.hasAttribute("tabindex");function Pt(e){return(bt(e)?yt(e):document).activeElement===e}function jt(e){return!(!e.parentElement||!jt(e.parentElement))||e.hidden}function Tt(e){if(!bt(e)||jt(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var{localName:r}=e;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;var t={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return r in t?t[r]():!!function(e){var r=e.getAttribute("contenteditable");return"false"!==r&&null!=r}(e)||Ct(e)}function Rt(e){return!!e&&(bt(e)&&Tt(e)&&!(e=>Ct(e)&&-1===e.tabIndex)(e))}var zt=["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 Bt(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return Gr(e)?e(...t):e}function Dt(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((r=>(null==r||r(e),null==e?void 0:e.defaultPrevented)))}}var Ft=()=>{},Nt=function(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];r=e.apply(this,n),e=null}return r}}((e=>()=>{var{condition:r,message:t}=e;r&&et&&console.warn(t)})),It=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return e=>r.reduce(((e,r)=>r(e)),e)};function Mt(e,r){void 0===r&&(r={});var{isActive:t=Pt,nextTick:n,preventScroll:o=!0,selectTextIfInput:a=!0}=r;if(!e||t(e))return-1;function i(){if(e){if(function(){if(null==Lt){Lt=!1;try{document.createElement("div").focus({get preventScroll(){return Lt=!0,!0}})}catch(e){}}return Lt}())e.focus({preventScroll:o});else if(e.focus(),o){var r=function(e){var r,t=yt(e),n=null!=(r=t.defaultView)?r:window,o=e.parentNode,a=[],i=t.scrollingElement||t.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:r,scrollTop:t,scrollLeft:n}of e)r.scrollTop=t,r.scrollLeft=n}(r)}(function(e){return bt(e)&&"input"===e.tagName.toLowerCase()&&"select"in e})(e)&&a&&e.select()}else Nt({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"})}return n?requestAnimationFrame(i):(i(),-1)}var Lt=null;function Wt(e){var{hasBeenSelected:r,isLazy:t,isSelected:n,lazyBehavior:o="unmount"}=e;return!t||(!!n||!("keepMounted"!==o||!r))}var Ht="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},Vt="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(Ht())}),16.666666666666668)};var $t=!0,Ut=!1,qt=!1,Yt={delta:0,timestamp:0},Xt=["read","update","preRender","render","postRender"],Gt=Xt.reduce((function(e,r){return e[r]=function(e){var r=[],t=[],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?r:t;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&o&&(n=r.length)),e},cancel:function(e){var r=t.indexOf(e);-1!==r&&t.splice(r,1),a.delete(e)},process:function(s){var l;if(o=!0,r=(l=[t,r])[0],(t=l[1]).length=0,n=r.length)for(var u=0;u<n;u++){var c=r[u];c(s),a.has(c)&&(i.schedule(c),e())}o=!1}};return i}((function(){return Ut=!0})),e}),{}),Kt=Xt.reduce((function(e,r){var t=Gt[r];return e[r]=function(e,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),Ut||rn(),t.schedule(e,r,n)},e}),{}),Zt=Xt.reduce((function(e,r){return e[r]=Gt[r].cancel,e}),{}),Qt=Xt.reduce((function(e,r){return e[r]=function(){return Gt[r].process(Yt)},e}),{}),Jt=function(e){return Gt[e].process(Yt)},en=function(e){Ut=!1,Yt.delta=$t?16.666666666666668:Math.max(Math.min(e-Yt.timestamp,40),1),Yt.timestamp=e,qt=!0,Xt.forEach(Jt),qt=!1,Ut&&($t=!1,Vt(en))},rn=function(){Ut=!0,$t=!0,qt||Vt(en)},tn=function(){return Yt};function nn(e){return!!e.touches}function on(e){return r=>{var t=function(e){var r;return null!=(r=e.view)?r:window}(r),n=r instanceof t.MouseEvent;(!n||n&&0===r.button)&&e(r)}}var an={pageX:0,pageY:0};function sn(e,r){void 0===r&&(r="page");var t=e.touches[0]||e.changedTouches[0]||an;return{x:t[r+"X"],y:t[r+"Y"]}}function ln(e,r){return void 0===r&&(r="page"),{x:e[r+"X"],y:e[r+"Y"]}}var un=function(e,r){void 0===r&&(r=!1);var t=r=>e(r,function(e,r){return void 0===r&&(r="page"),{point:nn(e)?sn(e,r):ln(e,r)}}(r));return r?on(t):t},cn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},dn={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function fn(e){return xt&&null===window.onpointerdown?e:xt&&null===window.ontouchstart?dn[e]:xt&&null===window.onmousedown?cn[e]:e}var pn=Object.freeze(["base","sm","md","lg","xl","2xl"]);function hn(e,r){return Xr(e)?e.map((e=>null===e?null:r(e))):Zr(e)?ut(e).reduce(((t,n)=>(t[n]=r(e[n]),t)),{}):null!=e?r(e):null}function mn(e,r){if(null!=e)if(Gr(e))e(r);else try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}}function vn(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return e=>{r.forEach((r=>mn(r,e)))}}function gn(e){void 0===e&&(e={});var{strict:n=!0,errorMessage:o="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:a}=e,i=r(void 0);return i.displayName=a,[i.Provider,function e(){var r=t(i);if(!r&&n){var a=new Error(o);throw a.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(a,e),a}return r},i]}function bn(e){return l.toArray(e).filter((e=>u(e)))}var[yn,xn]=gn({strict:!1,name:"PortalManagerContext"});function wn(e){var{children:r,zIndex:t}=e;return n(yn,{value:{zIndex:t}},r)}function Sn(e){void 0===e&&(e=!1);var[r,t]=c(e),n=d((()=>{t(!0)}),[]),o=d((()=>{t(!1)}),[]),a=d((()=>{t((e=>!e))}),[]);return[r,{on:n,off:o,toggle:a}]}et&&(wn.displayName="PortalManager");var kn=xt?s:f;function On(e,r){void 0===r&&(r=[]);var t=i(e);return kn((()=>{t.current=e})),d((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),r)}var _n={"text/plain":"Text","text/html":"Url",default:"Text"};var En=function(e,r){var t,n,o,a,i,s,l=!1;r||(r={}),t=r.debug||!1;try{if(o=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var r=document.activeElement,t=[],n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));switch(r.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":r.blur();break;default:r=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||t.forEach((function(r){e.addRange(r)})),r&&r.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(),r.format)if(n.preventDefault(),void 0===n.clipboardData){t&&console.warn("unable to use e.clipboardData"),t&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=_n[r.format]||_n.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(r.format,e);r.onCopy&&(n.preventDefault(),r.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){t&&console.error("unable to copy using execCommand: ",o),t&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",e),r.onCopy&&r.onCopy(window.clipboardData),l=!0}catch(o){t&&console.error("unable to copy using clipboardData: ",o),t&&console.error("falling back to prompt"),n=function(e){var r=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,r)}("message"in r?r.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 An(e,r){void 0===r&&(r={});var[t,n]=c(!1),o="number"==typeof r?{timeout:r}:r,{timeout:a=1500}=o,i=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(o,["timeout"]),s=d((()=>{var r=En(e,i);n(r)}),[e,i]);return f((()=>{var e=null;return t&&(e=window.setTimeout((()=>{n(!1)}),a)),()=>{e&&window.clearTimeout(e)}}),[a,t]),{value:e,onCopy:s,hasCopied:t}}function Cn(e,r){var t=void 0!==e;return[t,t&&void 0!==e?e:r]}function Pn(e){var{value:r,defaultValue:t,onChange:n,shouldUpdate:o=((e,r)=>e!==r)}=e,a=On(n),i=On(o),[s,l]=c(t),u=void 0!==r,f=u?r:s,p=d((e=>{var r=Bt(e,f);i(f,r)&&(u||l(r),a(r))}),[u,a,f,i]);return[f,p]}var jn={prefix:Math.round(1e10*Math.random()),current:0},Tn=r(jn),Rn=h((e=>{var{children:r}=e,o=t(Tn),a=o===jn,i=p((()=>({prefix:a?0:++o.prefix,current:0})),[a,o]);return n(Tn.Provider,{value:i},r)}));function zn(e,r){var n=t(Tn);return p((()=>e||[r,n.prefix,++n.current].filter(Boolean).join("-")),[e,r])}function Bn(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var o=zn(e);return p((()=>t.map((e=>e+"-"+o))),[o,t])}function Dn(){return Dn=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Dn.apply(this,arguments)}function Fn(e){void 0===e&&(e={});var{onClose:r,onOpen:t,isOpen:n,id:o}=e,a=On(t),i=On(r),[s,l]=c(e.defaultIsOpen||!1),[u,f]=Cn(n,s),p=zn(o,"disclosure"),h=d((()=>{u||l(!1),null==i||i()}),[u,i]),m=d((()=>{u||l(!0),null==a||a()}),[u,a]),v=d((()=>{(f?h:m)()}),[f,m,h]);return{isOpen:!!f,onOpen:m,onClose:h,onToggle:v,isControlled:u,getButtonProps:function(e){return void 0===e&&(e={}),Dn({},e,{"aria-expanded":"true","aria-controls":p,onClick:Dt(e.onClick,v)})},getDisclosureProps:function(e){return void 0===e&&(e={}),Dn({},e,{hidden:!f,id:p})}}}function Nn(e,r,t,n){var o=On(r);return f((()=>{var r,a=null!=(r=Bt(t))?r:document;return a.addEventListener(e,o,n),()=>{a.removeEventListener(e,o,n)}}),[e,t,n,o]),()=>{var r;(null!=(r=Bt(t))?r:document).removeEventListener(e,o,n)}}var In=(e,r)=>{var t=i(!1);return f((()=>{if(t.current)return e();t.current=!0}),r),t.current};function Mn(e,r){var{shouldFocus:t,visible:n,focusRef:o}=r,a=t&&!n;In((()=>{if(a&&!function(e){var r=e.current;if(!r)return!1;var t=Ot(r);return!!t&&!_t(r,t)&&!!Rt(t)}(e)){var r=(null==o?void 0:o.current)||e.current;r&&Mt(r,{nextTick:!0})}}),[a,e,o])}function Ln(e){var r,{ref:t,elements:n,enabled:o}=e,a=(r="Safari",!!xt&&function(e){var{userAgent:r,vendor:t}=e,n=/(android)/i.test(r);switch(!0){case/CriOS/.test(r):return"Chrome for iOS";case/Edg\//.test(r):return"Edge";case n&&/Silk\//.test(r):return"Silk";case/Chrome/.test(r)&&/Google Inc/.test(t):return"Chrome";case/Firefox\/\d+\.\d+$/.test(r):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(r):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(r):return"Safari";case/AppleWebKit/.test(r):return"WebKit";default:return null}}(window.navigator)===r);!function(e,r,t,n){Nn(fn(r),un(t,"pointerdown"===r),e,n)}((()=>yt(t.current)),"pointerdown",(e=>{if(a&&o){var r=e.target,i=(null!=n?n:[t]).some((e=>_t(rt(e)?e.current:e,r)));!Pt(r)&&i&&(e.preventDefault(),Mt(r))}}))}var Wn={preventScroll:!0,shouldFocus:!1};function Hn(e,r){void 0===r&&(r=Wn);var{focusRef:t,preventScroll:n,shouldFocus:o,visible:a}=r,i=rt(e)?e.current:e,s=o&&a,l=d((()=>{if(i&&s&&!_t(i,document.activeElement))if(null!=t&&t.current)Mt(t.current,{preventScroll:n,nextTick:!0});else{var e=function(e){var r=Array.from(e.querySelectorAll(zt));return r.unshift(e),r.filter(Tt).filter((e=>"none"!==window.getComputedStyle(e).display))}(i);e.length>0&&Mt(e[0],{preventScroll:n,nextTick:!0})}}),[s,n,i,t]);In((()=>{l()}),[l]),Nn("transitionend",l,i)}function Vn(e,r){return void 0===r&&(r=[]),f((()=>()=>e()),r)}function $n(){var e=i(!1),[r,t]=c(0);return Vn((()=>{e.current=!0})),d((()=>{e.current||t(r+1)}),[r])}function Un(e,r){if(null!=e)if("function"!=typeof e)try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}else e(r)}function qn(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return p((()=>r.every((e=>null==e))?null:e=>{r.forEach((r=>{r&&Un(r,e)}))}),r)}function Yn(){return Yn=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Yn.apply(this,arguments)}var[Xn,Gn]=gn({strict:!1,name:"PortalContext"}),Kn=e=>n("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children),Zn=e=>{var{appendToParentPortal:r,children:t}=e,o=i(null),a=i(null),s=$n(),l=Gn(),u=xn();kn((()=>{if(o.current){var e=o.current.ownerDocument,t=r&&null!=l?l:e.body;if(t){a.current=e.createElement("div"),a.current.className="chakra-portal",t.appendChild(a.current),s();var n=a.current;return()=>{t.contains(n)&&t.removeChild(n)}}}}),[]);var c=null!=u&&u.zIndex?n(Kn,{zIndex:null==u?void 0:u.zIndex},t):t;return a.current?x(n(Xn,{value:a.current},c),a.current):n("span",{ref:o})},Qn=e=>{var{children:r,containerRef:t,appendToParentPortal:o}=e,a=t.current,i=null!=a?a:xt?document.body:void 0,s=p((()=>{var e=null==a?void 0:a.ownerDocument.createElement("div");return e&&(e.className="chakra-portal"),e}),[a]),l=$n();return kn((()=>{l()}),[]),kn((()=>{if(s&&i)return i.appendChild(s),()=>{i.removeChild(s)}}),[s,i]),i&&s?x(n(Xn,{value:o?s:null},r),s):null};function Jn(e){var{containerRef:r}=e,t=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["containerRef"]);return r?n(Qn,Yn({containerRef:r},t)):n(Zn,t)}Jn.defaultProps={appendToParentPortal:!0},Jn.className="chakra-portal",Jn.selector=".chakra-portal",et&&(Jn.displayName="Portal");var eo={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},ro=()=>{},to={document:eo,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:ro,removeEventListener:ro,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:ro,removeListener:ro}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:ro,setInterval:()=>0,clearInterval:ro},no=xt?{window:window,document:document}:{window:to,document:eo},oo=r(no);function ao(){return t(oo)}function io(r){var{children:t,environment:n}=r,[o,a]=c(null),i=p((()=>{var e,r=null==o?void 0:o.ownerDocument,t=null==o?void 0:o.ownerDocument.defaultView;return null!=(e=null!=n?n:r?{document:r,window:t}:void 0)?e:no}),[o,n]),s=!o&&!n;return e.createElement(oo.Provider,{value:i},t,s&&e.createElement("span",{ref:e=>{e&&a(e)}}))}et&&(oo.displayName="EnvironmentContext"),et&&(io.displayName="EnvironmentProvider");var so="chakra-ui-light",lo="chakra-ui-dark",uo={classList:{add:Ft,remove:Ft}};function co(e,r){var t=(e=>xt?e.body:uo)(r);t.classList.add(e?lo:so),t.classList.remove(e?so:lo)}var fo="(prefers-color-scheme: dark)";function po(e){var r;return(null!=(r=function(e){var r=null==window.matchMedia?void 0:window.matchMedia(e);if(r)return!!r.media===r.matches}(fo))?r:"dark"===e)?"dark":"light"}var ho=()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),mo=e=>{xt&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)},vo=()=>"undefined"!=typeof Storage,go={get(e){if(!vo())return e;try{var r=localStorage.getItem("chakra-ui-color-mode");return null!=r?r:e}catch(r){return et&&console.log(r),e}},set(e){if(vo())try{localStorage.setItem("chakra-ui-color-mode",e)}catch(e){et&&console.log(e)}},type:"localStorage"},bo=r({});et&&(bo.displayName="ColorModeContext");var yo=()=>{var e=t(bo);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function xo(e){var{value:r,children:t,options:{useSystemColorMode:o,initialColorMode:a},colorModeManager:i=go}=e,s="dark"===a?"dark":"light",[l,u]=c("cookie"===i.type?i.get(s):s),{document:h}=ao();f((()=>{if(xt&&"localStorage"===i.type){var e=o?po(s):ho()||i.get()||po(s);e&&u(e)}}),[i,o,s]),f((()=>{var e="dark"===l;co(e,h),mo(e?"dark":"light")}),[l,h]);var m=d((function(e,r){if(void 0===r&&(r=!1),r){if(i.get()&&!o)return}else i.set(e);u(e)}),[i,o]),v=d((()=>{m("light"===l?"dark":"light")}),[l,m]);f((()=>{var e,r=o||"system"===a;return r&&(e=function(e){if(!("matchMedia"in window))return Ft;var r=window.matchMedia(fo),t=()=>{e(r.matches?"dark":"light",!0)};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}}(m)),()=>{e&&r&&e()}}),[m,o,a]);var g=p((()=>({colorMode:null!=r?r:l,toggleColorMode:r?Ft:v,setColorMode:r?Ft:m})),[l,m,v,r]);return n(bo.Provider,{value:g},t)}et&&(xo.displayName="ColorModeProvider");function wo(e){var{scale:r,transform:t,compose:n}=e;return(e,o)=>{var a,i=((e,r)=>t=>{var n=String(r),o=e?e+"."+n:n;return Zr(t.__cssMap)&&o in t.__cssMap?t.__cssMap[o].varRef:r})(r,e)(o),s=null!=(a=null==t?void 0:t(i,o))?a:i;return n&&(s=n(s,o)),s}}function So(e,r){return t=>{var n={property:t,scale:e};return n.transform=wo({scale:e,transform:r}),n}}var ko=e=>{var{rtl:r,ltr:t}=e;return e=>"rtl"===e.direction?r:t};var Oo=["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 _o={"--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(" ")},Eo={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 Ao={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Co={"& > :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))"}},Po={"& > :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 jo(e,r){jo=function(e,r){return new a(e,void 0,r)};var t=Ro(RegExp),n=RegExp.prototype,o=new WeakMap;function a(e,r,n){var a=t.call(this,e,r);return o.set(a,n||o.get(e)),a}function i(e,r){var t=o.get(r);return Object.keys(t).reduce((function(r,n){return r[n]=e[t[n]],r}),Object.create(null))}return To(a,t),a.prototype.exec=function(e){var r=n.exec.call(this,e);return r&&(r.groups=i(r,this)),r},a.prototype[Symbol.replace]=function(e,r){if("string"==typeof r){var t=o.get(this);return n[Symbol.replace].call(this,e,r.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+t[r]})))}if("function"==typeof r){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)),r.apply(this,e)}))}return n[Symbol.replace].call(this,e,r)},jo.apply(this,arguments)}function To(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Do(e,r)}function Ro(e){var r="function"==typeof Map?new Map:void 0;return Ro=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!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return zo(e,arguments,Fo(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Do(t,e)},Ro(e)}function zo(e,r,t){return zo=Bo()?Reflect.construct:function(e,r,t){var n=[null];n.push.apply(n,r);var o=new(Function.bind.apply(e,n));return t&&Do(o,t.prototype),o},zo.apply(null,arguments)}function Bo(){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 Do(e,r){return Do=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},Do(e,r)}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Fo(e)}var No={"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"},Io=new Set(Object.values(No)),Mo=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Lo=e=>e.trim();var Wo=e=>Qr(e)&&e.includes("(")&&e.includes(")"),Ho=e=>r=>e+"("+r+")",Vo={filter:e=>"auto"!==e?e:_o,backdropFilter:e=>"auto"!==e?e:Eo,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(", ")}}(Vo.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))",...Oo].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Oo].join(" "):e,px(e){if(null==e)return e;var{unitless:r}=(e=>{var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}})(e);return r||Yr(e)?e+"px":e},fraction:e=>!Yr(e)||e>1?e:100*e+"%",float:(e,r)=>"rtl"===r.direction?{left:"right",right:"left"}[e]:e,degree(e){if(Jr(e)||null==e)return e;var r=Qr(e)&&!e.endsWith("deg");return Yr(e)||r?e+"deg":e},gradient:(e,r)=>function(e,r){var t,n;if(null==e||Mo.has(e))return e;var o=jo(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:a,values:i}=null!=(t=null==(n=o.exec(e))?void 0:n.groups)?t:{};if(!a||!i)return e;var s=a.includes("-gradient")?a:a+"-gradient",[l,...u]=i.split(",").map(Lo).filter(Boolean);if(0===(null==u?void 0:u.length))return e;var c=l in No?No[l]:l;u.unshift(c);var d=u.map((e=>{if(Io.has(e))return e;var t=e.indexOf(" "),[n,o]=-1!==t?[e.substr(0,t),e.substr(t+1)]:[e],a=Wo(o)?o:o&&o.split(" "),i="colors."+n,s=i in r.__cssMap?r.__cssMap[i].varRef:n;return a?[s,a].join(" "):s}));return s+"("+d.join(", ")+")"}(e,null!=r?r:{}),blur:Ho("blur"),opacity:Ho("opacity"),brightness:Ho("brightness"),contrast:Ho("contrast"),dropShadow:Ho("drop-shadow"),grayscale:Ho("grayscale"),hueRotate:Ho("hue-rotate"),invert:Ho("invert"),saturate:Ho("saturate"),sepia:Ho("sepia"),bgImage:e=>null==e||Wo(e)||Mo.has(e)?e:"url("+e+")",outline(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var r,{space:t,divide:n}=null!=(r=Ao[e])?r:{},o={flexDirection:e};return t&&(o[t]=1),n&&(o[n]=1),o}};function $o(){return $o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},$o.apply(this,arguments)}var Uo={borderWidths:So("borderWidths"),borderStyles:So("borderStyles"),colors:So("colors"),borders:So("borders"),radii:So("radii",Vo.px),space:So("space",Vo.px),spaceT:So("space",Vo.px),degreeT:e=>({property:e,transform:Vo.degree}),prop:(e,r,t)=>$o({property:e,scale:r},r&&{transform:wo({scale:r,transform:t})}),propT:(e,r)=>({property:e,transform:r}),sizes:So("sizes",Vo.px),sizesT:So("sizes",Vo.fraction),shadows:So("shadows"),logical:function(e){var{property:r,scale:t,transform:n}=e;return{scale:t,property:ko(r),transform:t?wo({scale:t,compose:n}):n}},blur:So("blur",Vo.blur)},qo={background:Uo.colors("background"),backgroundColor:Uo.colors("backgroundColor"),backgroundImage:Uo.propT("backgroundImage",Vo.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Vo.bgClip},bgSize:Uo.prop("backgroundSize"),bgPosition:Uo.prop("backgroundPosition"),bg:Uo.colors("background"),bgColor:Uo.colors("backgroundColor"),bgPos:Uo.prop("backgroundPosition"),bgRepeat:Uo.prop("backgroundRepeat"),bgAttachment:Uo.prop("backgroundAttachment"),bgGradient:Uo.propT("backgroundImage",Vo.gradient),bgClip:{transform:Vo.bgClip}};Object.assign(qo,{bgImage:qo.backgroundImage,bgImg:qo.backgroundImage});var Yo={border:Uo.borders("border"),borderWidth:Uo.borderWidths("borderWidth"),borderStyle:Uo.borderStyles("borderStyle"),borderColor:Uo.colors("borderColor"),borderRadius:Uo.radii("borderRadius"),borderTop:Uo.borders("borderTop"),borderBlockStart:Uo.borders("borderBlockStart"),borderTopLeftRadius:Uo.radii("borderTopLeftRadius"),borderStartStartRadius:Uo.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Uo.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Uo.radii("borderTopRightRadius"),borderStartEndRadius:Uo.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Uo.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Uo.borders("borderRight"),borderInlineEnd:Uo.borders("borderInlineEnd"),borderBottom:Uo.borders("borderBottom"),borderBlockEnd:Uo.borders("borderBlockEnd"),borderBottomLeftRadius:Uo.radii("borderBottomLeftRadius"),borderBottomRightRadius:Uo.radii("borderBottomRightRadius"),borderLeft:Uo.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Uo.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Uo.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Uo.borders(["borderLeft","borderRight"]),borderInline:Uo.borders("borderInline"),borderY:Uo.borders(["borderTop","borderBottom"]),borderBlock:Uo.borders("borderBlock"),borderTopWidth:Uo.borderWidths("borderTopWidth"),borderBlockStartWidth:Uo.borderWidths("borderBlockStartWidth"),borderTopColor:Uo.colors("borderTopColor"),borderBlockStartColor:Uo.colors("borderBlockStartColor"),borderTopStyle:Uo.borderStyles("borderTopStyle"),borderBlockStartStyle:Uo.borderStyles("borderBlockStartStyle"),borderBottomWidth:Uo.borderWidths("borderBottomWidth"),borderBlockEndWidth:Uo.borderWidths("borderBlockEndWidth"),borderBottomColor:Uo.colors("borderBottomColor"),borderBlockEndColor:Uo.colors("borderBlockEndColor"),borderBottomStyle:Uo.borderStyles("borderBottomStyle"),borderBlockEndStyle:Uo.borderStyles("borderBlockEndStyle"),borderLeftWidth:Uo.borderWidths("borderLeftWidth"),borderInlineStartWidth:Uo.borderWidths("borderInlineStartWidth"),borderLeftColor:Uo.colors("borderLeftColor"),borderInlineStartColor:Uo.colors("borderInlineStartColor"),borderLeftStyle:Uo.borderStyles("borderLeftStyle"),borderInlineStartStyle:Uo.borderStyles("borderInlineStartStyle"),borderRightWidth:Uo.borderWidths("borderRightWidth"),borderInlineEndWidth:Uo.borderWidths("borderInlineEndWidth"),borderRightColor:Uo.colors("borderRightColor"),borderInlineEndColor:Uo.colors("borderInlineEndColor"),borderRightStyle:Uo.borderStyles("borderRightStyle"),borderInlineEndStyle:Uo.borderStyles("borderInlineEndStyle"),borderTopRadius:Uo.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Uo.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Uo.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Uo.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Yo,{rounded:Yo.borderRadius,roundedTop:Yo.borderTopRadius,roundedTopLeft:Yo.borderTopLeftRadius,roundedTopRight:Yo.borderTopRightRadius,roundedTopStart:Yo.borderStartStartRadius,roundedTopEnd:Yo.borderStartEndRadius,roundedBottom:Yo.borderBottomRadius,roundedBottomLeft:Yo.borderBottomLeftRadius,roundedBottomRight:Yo.borderBottomRightRadius,roundedBottomStart:Yo.borderEndStartRadius,roundedBottomEnd:Yo.borderEndEndRadius,roundedLeft:Yo.borderLeftRadius,roundedRight:Yo.borderRightRadius,roundedStart:Yo.borderInlineStartRadius,roundedEnd:Yo.borderInlineEndRadius,borderStart:Yo.borderInlineStart,borderEnd:Yo.borderInlineEnd,borderTopStartRadius:Yo.borderStartStartRadius,borderTopEndRadius:Yo.borderStartEndRadius,borderBottomStartRadius:Yo.borderEndStartRadius,borderBottomEndRadius:Yo.borderEndEndRadius,borderStartRadius:Yo.borderInlineStartRadius,borderEndRadius:Yo.borderInlineEndRadius,borderStartWidth:Yo.borderInlineStartWidth,borderEndWidth:Yo.borderInlineEndWidth,borderStartColor:Yo.borderInlineStartColor,borderEndColor:Yo.borderInlineEndColor,borderStartStyle:Yo.borderInlineStartStyle,borderEndStyle:Yo.borderInlineEndStyle});var Xo={color:Uo.colors("color"),textColor:Uo.colors("color"),fill:Uo.colors("fill"),stroke:Uo.colors("stroke")},Go={boxShadow:Uo.shadows("boxShadow"),mixBlendMode:!0,blendMode:Uo.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Uo.prop("backgroundBlendMode"),opacity:!0};Object.assign(Go,{shadow:Go.boxShadow});var Ko={filter:{transform:Vo.filter},blur:Uo.blur("--chakra-blur"),brightness:Uo.propT("--chakra-brightness",Vo.brightness),contrast:Uo.propT("--chakra-contrast",Vo.contrast),hueRotate:Uo.degreeT("--chakra-hue-rotate"),invert:Uo.propT("--chakra-invert",Vo.invert),saturate:Uo.propT("--chakra-saturate",Vo.saturate),dropShadow:Uo.propT("--chakra-drop-shadow",Vo.dropShadow),backdropFilter:{transform:Vo.backdropFilter},backdropBlur:Uo.blur("--chakra-backdrop-blur"),backdropBrightness:Uo.propT("--chakra-backdrop-brightness",Vo.brightness),backdropContrast:Uo.propT("--chakra-backdrop-contrast",Vo.contrast),backdropHueRotate:Uo.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:Uo.propT("--chakra-backdrop-invert",Vo.invert),backdropSaturate:Uo.propT("--chakra-backdrop-saturate",Vo.saturate)},Zo={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Vo.flexDirection},experimental_spaceX:{static:Co,transform:wo({scale:"space",transform:e=>null!==e?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:Po,transform:wo({scale:"space",transform:e=>null!=e?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Uo.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(Zo,{flexDir:Zo.flexDirection});var Qo={gridGap:Uo.space("gridGap"),gridColumnGap:Uo.space("gridColumnGap"),gridRowGap:Uo.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},Jo={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Vo.outline},outlineOffset:!0,outlineColor:Uo.colors("outlineColor")},ea={width:Uo.sizesT("width"),inlineSize:Uo.sizesT("inlineSize"),height:Uo.sizes("height"),blockSize:Uo.sizes("blockSize"),boxSize:Uo.sizes(["width","height"]),minWidth:Uo.sizes("minWidth"),minInlineSize:Uo.sizes("minInlineSize"),minHeight:Uo.sizes("minHeight"),minBlockSize:Uo.sizes("minBlockSize"),maxWidth:Uo.sizes("maxWidth"),maxInlineSize:Uo.sizes("maxInlineSize"),maxHeight:Uo.sizes("maxHeight"),maxBlockSize:Uo.sizes("maxBlockSize"),d:Uo.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Uo.propT("float",Vo.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ea,{w:ea.width,h:ea.height,minW:ea.minWidth,maxW:ea.maxWidth,minH:ea.minHeight,maxH:ea.maxHeight,overscroll:ea.overscrollBehavior,overscrollX:ea.overscrollBehaviorX,overscrollY:ea.overscrollBehaviorY});var ra={listStyleType:!0,listStylePosition:!0,listStylePos:Uo.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Uo.prop("listStyleImage")},ta={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},na={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},oa=(e,r,t)=>{var n={},o=it(e,r,{});for(var a in o){a in t&&null!=t[a]||(n[a]=o[a])}return n},aa={srOnly:{transform:e=>!0===e?ta:"focusable"===e?na:{}},layerStyle:{processResult:!0,transform:(e,r,t)=>oa(r,"layerStyles."+e,t)},textStyle:{processResult:!0,transform:(e,r,t)=>oa(r,"textStyles."+e,t)},apply:{processResult:!0,transform:(e,r,t)=>oa(r,e,t)}},ia={position:!0,pos:Uo.prop("position"),zIndex:Uo.prop("zIndex","zIndices"),inset:Uo.spaceT(["top","right","bottom","left"]),insetX:Uo.spaceT(["left","right"]),insetInline:Uo.spaceT("insetInline"),insetY:Uo.spaceT(["top","bottom"]),insetBlock:Uo.spaceT("insetBlock"),top:Uo.spaceT("top"),insetBlockStart:Uo.spaceT("insetBlockStart"),bottom:Uo.spaceT("bottom"),insetBlockEnd:Uo.spaceT("insetBlockEnd"),left:Uo.spaceT("left"),insetInlineStart:Uo.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Uo.spaceT("right"),insetInlineEnd:Uo.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(ia,{insetStart:ia.insetInlineStart,insetEnd:ia.insetInlineEnd});var sa={ring:{transform:Vo.ring},ringColor:Uo.colors("--chakra-ring-color"),ringOffset:Uo.prop("--chakra-ring-offset-width"),ringOffsetColor:Uo.colors("--chakra-ring-offset-color"),ringInset:Uo.prop("--chakra-ring-inset")},la={margin:Uo.spaceT("margin"),marginTop:Uo.spaceT("marginTop"),marginBlockStart:Uo.spaceT("marginBlockStart"),marginRight:Uo.spaceT("marginRight"),marginInlineEnd:Uo.spaceT("marginInlineEnd"),marginBottom:Uo.spaceT("marginBottom"),marginBlockEnd:Uo.spaceT("marginBlockEnd"),marginLeft:Uo.spaceT("marginLeft"),marginInlineStart:Uo.spaceT("marginInlineStart"),marginX:Uo.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Uo.spaceT("marginInline"),marginY:Uo.spaceT(["marginTop","marginBottom"]),marginBlock:Uo.spaceT("marginBlock"),padding:Uo.space("padding"),paddingTop:Uo.space("paddingTop"),paddingBlockStart:Uo.space("paddingBlockStart"),paddingRight:Uo.space("paddingRight"),paddingBottom:Uo.space("paddingBottom"),paddingBlockEnd:Uo.space("paddingBlockEnd"),paddingLeft:Uo.space("paddingLeft"),paddingInlineStart:Uo.space("paddingInlineStart"),paddingInlineEnd:Uo.space("paddingInlineEnd"),paddingX:Uo.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Uo.space("paddingInline"),paddingY:Uo.space(["paddingTop","paddingBottom"]),paddingBlock:Uo.space("paddingBlock")};Object.assign(la,{m:la.margin,mt:la.marginTop,mr:la.marginRight,me:la.marginInlineEnd,marginEnd:la.marginInlineEnd,mb:la.marginBottom,ml:la.marginLeft,ms:la.marginInlineStart,marginStart:la.marginInlineStart,mx:la.marginX,my:la.marginY,p:la.padding,pt:la.paddingTop,py:la.paddingY,px:la.paddingX,pb:la.paddingBottom,pl:la.paddingLeft,ps:la.paddingInlineStart,paddingStart:la.paddingInlineStart,pr:la.paddingRight,pe:la.paddingInlineEnd,paddingEnd:la.paddingInlineEnd});var ua={textDecorationColor:Uo.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Uo.shadows("textShadow")},ca={clipPath:!0,transform:Uo.propT("transform",Vo.transform),transformOrigin:!0,translateX:Uo.spaceT("--chakra-translate-x"),translateY:Uo.spaceT("--chakra-translate-y"),skewX:Uo.degreeT("--chakra-skew-x"),skewY:Uo.degreeT("--chakra-skew-y"),scaleX:Uo.prop("--chakra-scale-x"),scaleY:Uo.prop("--chakra-scale-y"),scale:Uo.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Uo.degreeT("--chakra-rotate")},da={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Uo.prop("transitionDuration","transition.duration"),transitionProperty:Uo.prop("transitionProperty","transition.property"),transitionTimingFunction:Uo.prop("transitionTimingFunction","transition.easing")},fa={fontFamily:Uo.prop("fontFamily","fonts"),fontSize:Uo.prop("fontSize","fontSizes",Vo.px),fontWeight:Uo.prop("fontWeight","fontWeights"),lineHeight:Uo.prop("lineHeight","lineHeights"),letterSpacing:Uo.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"}}}},pa=e=>e+":hover &, "+e+"[data-hover] &",ha=e=>e+":focus &, "+e+"[data-focus] &",ma=e=>e+":focus-visible &",va=e=>e+":active &, "+e+"[data-active] &",ga=e=>e+":disabled &, "+e+"[data-disabled] &",ba=e=>e+":invalid &, "+e+"[data-invalid] &",ya=e=>e+":checked &, "+e+"[data-checked] &",xa=e=>wa(e,"[role=group]","[data-group]",".group"),wa=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(e).join(", ")},Sa={_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:xa(pa),_groupFocus:xa(ha),_groupFocusVisible:xa(ma),_groupActive:xa(va),_groupDisabled:xa(ga),_groupInvalid:xa(ba),_groupChecked:xa(ya),_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]"},ka=ut(Sa);function Oa(){return Oa=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Oa.apply(this,arguments)}var _a=tt({},qo,Yo,Xo,Zo,ea,Ko,sa,Jo,Qo,aa,ia,Go,la,fa,ua,ca,ra,da),Ea=Object.assign({},la,ea,Zo,Qo,ia),Aa=ut(Ea),Ca=[...ut(_a),...ka],Pa=Oa({},_a,Sa),ja=e=>e in Pa,Ta=(e,r)=>e.startsWith("--")&&Qr(r)&&!Jr(r),Ra=(e,r)=>{var t,n;if(null==r)return r;var o=r=>{var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},a=e=>{var r;return null!=(r=o(e))?r:e},i=r.split(",").map((e=>e.trim())),[s,l]=i;return r=null!=(t=null!=(n=o(s))?n:a(l))?t:a(r)};function za(e){var{configs:r={},pseudos:t={},theme:n}=e;return function e(o,a){void 0===a&&(a=!1);var i=Bt(o,n),s=(e=>r=>{if(!r.__breakpoints)return e;var{isResponsive:t,toArrayValue:n,media:o}=r.__breakpoints,a={};for(var i in e){var s=Bt(e[i],r);if(null!=s)if(s=Zr(s)&&t(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=Bt(s[u],n);u in t&&(u=t[u]),Ta(u,m)&&(m=Ra(n,m));var v=r[u];if(!0===v&&(v={property:u}),Zr(m)){var g;l[u]=null!=(g=l[u])?g:{},l[u]=tt({},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=Bt(null==(p=v)?void 0:p.property,n);if(!a&&null!=(h=v)&&h.static){var x=Bt(v.static,n);l=tt({},l,x)}if(y&&Array.isArray(y))for(var w of y)l[w]=b;else y?"&"===y&&Zr(b)?l=tt({},l,b):l[y]=b:Zr(b)?l=tt({},l,b):l[u]=b}}return l}}var Ba=e=>r=>za({theme:r,pseudos:Sa,configs:_a})(e);function Da(e){return Zr(e)&&e.reference?e.reference:String(e)}var Fa=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(Da).join(" "+e+" ").replace(/calc/g,"")},Na=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Fa("+",...r)+")"},Ia=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Fa("-",...r)+")"},Ma=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Fa("*",...r)+")"},La=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Fa("/",...r)+")"},Wa=e=>{var r=Da(e);return null==r||Number.isNaN(parseFloat(r))?Ma(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},Ha=Object.assign((e=>({add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Ha(Na(e,...t))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Ha(Ia(e,...t))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Ha(Ma(e,...t))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Ha(La(e,...t))},negate:()=>Ha(Wa(e)),toString:()=>e.toString()})),{add:Na,subtract:Ia,multiply:Ma,divide:La,negate:Wa});function Va(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?r.replace(".","\\."):e}function $a(e,r){return"var("+Va(e)+(r?", "+r:"")+")"}function Ua(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,Va(e)].filter(Boolean).join("-")}(e,r)}function qa(e,r,t){var n=Ua(e,t);return{variable:n,reference:$a(n,r)}}function Ya(){return Ya=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ya.apply(this,arguments)}function Xa(e,r){var t={cssMap:{},cssVars:{}};return function(e,r){(function e(t,n){return void 0===n&&(n=[]),Xr(t)?t.map(((r,t)=>e(r,[...n,String(t)]))):Zr(t)?ct(Object.entries(t).map((r=>{var[t,o]=r;return[t,e(o,[...n,t])]}))):r(t,n)})(e)}(e,((e,n)=>{var o,[a]=n,i=null!=(o=Ga[a])?o:Ga.defaultHandler,{cssVars:s,cssMap:l}=i(n,e,r);Object.assign(t.cssVars,s),Object.assign(t.cssMap,l)})),t}var Ga={space:(e,r,t)=>{var n=Ga.defaultHandler(e,r,t),[o,...a]=e,i=o+".-"+a.join("."),s=e.join("-"),{variable:l,reference:u}=qa(s,void 0,t.cssVarPrefix),c=Ha.negate(r),d=Ha.negate(u);return{cssVars:n.cssVars,cssMap:Ya({},n.cssMap,{[i]:{value:""+c,var:""+l,varRef:d}})}},defaultHandler:(e,r,t)=>{var n=e.join("."),o=e.join("-"),{variable:a,reference:i}=qa(o,void 0,t.cssVarPrefix);return{cssVars:{[a]:r},cssMap:{[n]:{value:r,var:a,varRef:i}}}}};var Ka=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Za(e){return function(e,r){var t={};return r.forEach((r=>{r in e&&(t[r]=e[r])})),t}(e,Ka)}function Qa(e){return function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["__cssMap","__cssVars","__breakpoints"])}function Ja(){return Ja=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ja.apply(this,arguments)}var ei="undefined"!=typeof Element,ri="function"==typeof Map,ti="function"==typeof Set,ni="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function oi(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var t,n,o,a;if(Array.isArray(e)){if((t=e.length)!=r.length)return!1;for(n=t;0!=n--;)if(!oi(e[n],r[n]))return!1;return!0}if(ri&&e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!r.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!oi(n.value[1],r.get(n.value[0])))return!1;return!0}if(ti&&e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!r.has(n.value[0]))return!1;return!0}if(ni&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if((t=e.length)!=r.length)return!1;for(n=t;0!=n--;)if(e[n]!==r[n])return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((t=(o=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(n=t;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,o[n]))return!1;if(ei&&e instanceof Element)return!1;for(n=t;0!=n--;)if(("_owner"!==o[n]&&"__v"!==o[n]&&"__o"!==o[n]||!e.$$typeof)&&!oi(e[o[n]],r[o[n]]))return!1;return!0}return e!=e&&r!=r}var ai=function(e,r){try{return oi(e,r)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},ii=e=>{var{cssVarsRoot:r=":host, :root",theme:t,children:o}=e,a=p((()=>function(e){var r,t=Qa(e),n=Za(t),o=null==(r=t.config)?void 0:r.cssVarPrefix,{cssMap:a,cssVars:i}=Xa(n,{cssVarPrefix:o});return Object.assign(t,{__cssVars:Ja({},{"--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:vt(t.breakpoints)}),t}(t)),[t]);return n(Rr,{theme:a},n(Dr,{styles:e=>({[r]:e.__cssVars})}),o)};function si(){var e=t(jr);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var[li,ui]=gn({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),ci=()=>{var{colorMode:e}=yo();return n(Dr,{styles:r=>{var t=Bt(it(r,"styles.global"),{theme:r,colorMode:e});if(t)return Ba(t)(r)}})};function di(e){return nt(e,["styleConfig","size","variant","colorScheme"])}function fi(){return fi=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},fi.apply(this,arguments)}var pi=(e,r,t)=>{var n,o;if(null==r)return r;var a=r=>{var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.value};return null!=(n=null!=(o=a(r))?o:a(t))?n:t};function hi(e,r,t){var n=si();if(Array.isArray(r)){var o=[];return t&&(o=Array.isArray(t)?t:[t]),r.map(((r,t)=>{var a;return pi(n,e+"."+r,null!=(a=o[t])?a:r)}))}return pi(n,e+"."+r,t)}function mi(){return mi=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},mi.apply(this,arguments)}var vi=/^((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)-.*))$/,gi=he((function(e){return vi.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),bi=function(e){return"theme"!==e},yi=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?gi:bi},xi=function(e,r,t){var n;if(r){var o=r.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(r){return e.__emotion_forwardProp(r)&&o(r)}:o}return"function"!=typeof n&&t&&(n=e.__emotion_forwardProp),n},wi="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",Si="undefined"!=typeof document,ki=function e(r,a){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 i,s,l=r.__emotion_real===r,u=l&&r.__emotion_base||r;void 0!==a&&(i=a.label,s=a.target);var c=xi(r,a,l),d=c||yi(u),f=!d("as");return function(){var p=arguments,h=l&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==i&&h.push("label:"+i+";"),null==p[0]||void 0===p[0].raw)h.push.apply(h,p);else{"production"!==process.env.NODE_ENV&&void 0===p[0][0]&&console.error(wi),h.push(p[0][0]);for(var m=p.length,v=1;v<m;v++)"production"!==process.env.NODE_ENV&&void 0===p[0][v]&&console.error(wi),h.push(p[v],p[0][v])}var g=Pr((function(e,r,a){var i=f&&e.as||u,l="",p=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=t(jr)}"string"==typeof e.className?l=or(r.registered,p,e.className):null!=e.className&&(l=e.className+" ");var g=_r(h.concat(p),r.registered,m),b=ar(r,g,"string"==typeof i);l+=r.key+"-"+g.name,void 0!==s&&(l+=" "+s);var y=f&&void 0===c?yi(i):d,x={};for(var w in e)f&&"as"===w||y(w)&&(x[w]=e[w]);x.className=l,x.ref=a;var S=n(i,x);if(!Si&&void 0!==b){for(var k,O=g.name,_=g.next;void 0!==_;)O+=" "+_.name,_=_.next;return n(o,null,n("style",((k={})["data-emotion"]=r.key+" "+O,k.dangerouslySetInnerHTML={__html:b},k.nonce=r.sheet.nonce,k)),S)}return S}));return g.displayName=void 0!==i?i:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",g.defaultProps=r.defaultProps,g.__emotion_real=g,g.__emotion_base=u,g.__emotion_styles=h,g.__emotion_forwardProp=c,Object.defineProperty(g,"toString",{value:function(){return void 0===s&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+s}}),g.withComponent=function(r,t){return e(r,mi({},a,{},t,{shouldForwardProp:xi(g,t,!0)})).apply(void 0,h)},g}}.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){ki[e]=ki(e)}));var Oi=new Set([...Ca,"textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),_i=new Set(["htmlWidth","htmlHeight","htmlSize"]),Ei=e=>_i.has(e)||!Oi.has(e);function Ai(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}var Ci=function(e,r){var t=null!=r?r:{},{baseStyle:n}=t,o=Ai(t,["baseStyle"]);o.shouldForwardProp||(o.shouldForwardProp=Ei);var a=(e=>{var{baseStyle:r}=e;return e=>{var{css:t,__css:n,sx:o}=e,a=st(Ai(e,["theme","css","__css","sx"]),((e,r)=>ja(r))),i=Bt(r,e),s=Object.assign({},n,i,lt(a),o),l=Ba(s)(e.theme);return t?[l,t]:l}})({baseStyle:n});return ki(e,o)(a)};function Pi(e){return a(e)}function ji(e,r,t){var n;void 0===r&&(r={}),void 0===t&&(t={});var{styleConfig:o}=r,a=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(r,["styleConfig"]),{theme:s,colorMode:l}=fi({},yo(),{theme:si()}),u=it(s,"components."+e),c=o||u,d=tt({theme:s,colorMode:l},null!=(n=null==c?void 0:c.defaultProps)?n:{},lt(nt(a,["children"]))),f=i({});if(c){var p,h,m,v,g,b,y=Bt(null!=(p=c.baseStyle)?p:{},d),x=Bt(null!=(h=null==(m=c.variants)?void 0:m[d.variant])?h:{},d),w=Bt(null!=(v=null==(g=c.sizes)?void 0:g[d.size])?v:{},d),S=tt({},y,w,x);null!=(b=t)&&b.isMultiPart&&c.parts&&c.parts.forEach((e=>{var r;S[e]=null!=(r=S[e])?r:{}})),ai(f.current,S)||(f.current=S)}return f.current}function Ti(e,r){return ji(e,r,{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=>{Ci[e]=Ci(e)}));function Ri(e,r){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===r?e:Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*r),10)/100),Math.abs(e-r)<1e-6?1:e=360===r?(e<0?e%r+r:e%r)/parseFloat(String(r)):e%r/parseFloat(String(r))}function zi(e){return Math.min(1,Math.max(0,e))}function Bi(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Di(e){return e<=1?100*Number(e)+"%":e}function Fi(e){return 1===e.length?"0"+e:String(e)}function Ni(e,r,t){e=Ri(e,255),r=Ri(r,255),t=Ri(t,255);var n=Math.max(e,r,t),o=Math.min(e,r,t),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=(r-t)/l+(r<t?6:0);break;case r:a=(t-e)/l+2;break;case t:a=(e-r)/l+4}a/=6}return{h:a,s:i,l:s}}function Ii(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*t*(r-e):t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}function Mi(e,r,t){e=Ri(e,255),r=Ri(r,255),t=Ri(t,255);var n=Math.max(e,r,t),o=Math.min(e,r,t),a=0,i=n,s=n-o,l=0===n?0:s/n;if(n===o)a=0;else{switch(n){case e:a=(r-t)/s+(r<t?6:0);break;case r:a=(t-e)/s+2;break;case t:a=(e-r)/s+4}a/=6}return{h:a,s:l,v:i}}function Li(e,r,t,n){var o=[Fi(Math.round(e).toString(16)),Fi(Math.round(r).toString(16)),Fi(Math.round(t).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 Wi(e){return Math.round(255*parseFloat(e)).toString(16)}function Hi(e){return Vi(e)/255}function Vi(e){return parseInt(e,16)}var $i={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 Ui(e){var r={r:0,g:0,b:0},t=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 r=!1;if($i[e])e=$i[e],r=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var t=Gi.rgb.exec(e);if(t)return{r:t[1],g:t[2],b:t[3]};if(t=Gi.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=Gi.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=Gi.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=Gi.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=Gi.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=Gi.hex8.exec(e))return{r:Vi(t[1]),g:Vi(t[2]),b:Vi(t[3]),a:Hi(t[4]),format:r?"name":"hex8"};if(t=Gi.hex6.exec(e))return{r:Vi(t[1]),g:Vi(t[2]),b:Vi(t[3]),format:r?"name":"hex"};if(t=Gi.hex4.exec(e))return{r:Vi(t[1]+t[1]),g:Vi(t[2]+t[2]),b:Vi(t[3]+t[3]),a:Hi(t[4]+t[4]),format:r?"name":"hex8"};if(t=Gi.hex3.exec(e))return{r:Vi(t[1]+t[1]),g:Vi(t[2]+t[2]),b:Vi(t[3]+t[3]),format:r?"name":"hex"};return!1}(e)),"object"==typeof e&&(Ki(e.r)&&Ki(e.g)&&Ki(e.b)?(r=function(e,r,t){return{r:255*Ri(e,255),g:255*Ri(r,255),b:255*Ri(t,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Ki(e.h)&&Ki(e.s)&&Ki(e.v)?(n=Di(e.s),o=Di(e.v),r=function(e,r,t){e=6*Ri(e,360),r=Ri(r,100),t=Ri(t,100);var n=Math.floor(e),o=e-n,a=t*(1-r),i=t*(1-o*r),s=t*(1-(1-o)*r),l=n%6;return{r:255*[t,i,a,a,s,t][l],g:255*[s,t,t,i,a,a][l],b:255*[a,a,s,t,t,i][l]}}(e.h,n,o),i=!0,s="hsv"):Ki(e.h)&&Ki(e.s)&&Ki(e.l)&&(n=Di(e.s),a=Di(e.l),r=function(e,r,t){var n,o,a;if(e=Ri(e,360),r=Ri(r,100),t=Ri(t,100),0===r)o=t,a=t,n=t;else{var i=t<.5?t*(1+r):t+r-t*r,s=2*t-i;n=Ii(s,i,e+1/3),o=Ii(s,i,e),a=Ii(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")&&(t=e.a)),t=Bi(t),{ok:i,format:e.format||s,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:t}}var qi="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",Yi="[\\s|\\(]+("+qi+")[,|\\s]+("+qi+")[,|\\s]+("+qi+")\\s*\\)?",Xi="[\\s|\\(]+("+qi+")[,|\\s]+("+qi+")[,|\\s]+("+qi+")[,|\\s]+("+qi+")\\s*\\)?",Gi={CSS_UNIT:new RegExp(qi),rgb:new RegExp("rgb"+Yi),rgba:new RegExp("rgba"+Xi),hsl:new RegExp("hsl"+Yi),hsla:new RegExp("hsla"+Xi),hsv:new RegExp("hsv"+Yi),hsva:new RegExp("hsva"+Xi),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 Ki(e){return Boolean(Gi.CSS_UNIT.exec(String(e)))}var Zi=function(){function e(r,t){var n;if(void 0===r&&(r=""),void 0===t&&(t={}),r instanceof e)return r;"number"==typeof r&&(r=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(r)),this.originalInput=r;var o=Ui(r);this.originalInput=r,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=t.format)&&void 0!==n?n:o.format,this.gradientType=t.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(),r=e.r/255,t=e.g/255,n=e.b/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.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=Bi(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=Mi(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=Mi(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var e=Ni(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=Ni(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHex=function(e){return void 0===e&&(e=!1),Li(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,r,t,n,o){var a=[Fi(Math.round(e).toString(16)),Fi(Math.round(r).toString(16)),Fi(Math.round(t).toString(16)),Fi(Wi(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),r=Math.round(this.g),t=Math.round(this.b);return 1===this.a?"rgb("+e+", "+r+", "+t+")":"rgba("+e+", "+r+", "+t+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var e=function(e){return Math.round(100*Ri(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*Ri(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="#"+Li(this.r,this.g,this.b,!1),r=0,t=Object.entries($i);r<t.length;r++){var n=t[r],o=n[0];if(e===n[1])return o}return!1},e.prototype.toString=function(e){var r=Boolean(e);e=null!=e?e:this.format;var t=!1,n=this.a<1&&this.a>=0;return r||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||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(r){void 0===r&&(r=10);var t=this.toHsl();return t.l+=r/100,t.l=zi(t.l),new e(t)},e.prototype.brighten=function(r){void 0===r&&(r=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),new e(t)},e.prototype.darken=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l-=r/100,t.l=zi(t.l),new e(t)},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(r){void 0===r&&(r=10);var t=this.toHsl();return t.s-=r/100,t.s=zi(t.s),new e(t)},e.prototype.saturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s+=r/100,t.s=zi(t.s),new e(t)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(r){var t=this.toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,new e(t)},e.prototype.mix=function(r,t){void 0===t&&(t=50);var n=this.toRgb(),o=new e(r).toRgb(),a=t/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(r,t){void 0===r&&(r=6),void 0===t&&(t=30);var n=this.toHsl(),o=360/t,a=[this];for(n.h=(n.h-(o*r>>1)+720)%360;--r;)n.h=(n.h+o)%360,a.push(new e(n));return a},e.prototype.complement=function(){var r=this.toHsl();return r.h=(r.h+180)%360,new e(r)},e.prototype.monochromatic=function(r){void 0===r&&(r=6);for(var t=this.toHsv(),n=t.h,o=t.s,a=t.v,i=[],s=1/r;r--;)i.push(new e({h:n,s:o,v:a})),a=(a+s)%1;return i},e.prototype.splitcomplement=function(){var r=this.toHsl(),t=r.h;return[this,new e({h:(t+72)%360,s:r.s,l:r.l}),new e({h:(t+216)%360,s:r.s,l:r.l})]},e.prototype.onBackground=function(r){var t=this.toRgb(),n=new e(r).toRgb();return new e({r:n.r+(t.r-n.r)*t.a,g:n.g+(t.g-n.g)*t.a,b:n.b+(t.b-n.b)*t.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(r){for(var t=this.toHsl(),n=t.h,o=[this],a=360/r,i=1;i<r;i++)o.push(new e({h:(n+i*a)%360,s:t.s,l:t.l}));return o},e.prototype.equals=function(r){return this.toRgbString()===new e(r).toRgbString()},e}();function Qi(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var r=e.count,t=[];for(e.count=void 0;r>t.length;)e.count=null,e.seed&&(e.seed+=1),t.push(Qi(e));return e.count=r,t}var n=function(e,r){var t=es(function(e){var r=parseInt(e,10);if(!Number.isNaN(r)&&r<360&&r>0)return[r,r];if("string"==typeof e){var t=ts.find((function(r){return r.name===e}));if(t){var n=rs(t);if(n.hueRange)return n.hueRange}var o=new Zi(e);if(o.isValid){var a=o.toHsv().h;return[a,a]}}return[0,360]}(e),r);t<0&&(t=360+t);return t}(e.hue,e.seed),o=function(e,r){if("monochrome"===r.hue)return 0;if("random"===r.luminosity)return es([0,100],r.seed);var t=Ji(e).saturationRange,n=t[0],o=t[1];switch(r.luminosity){case"bright":n=55;break;case"dark":n=o-10;break;case"light":o=55}return es([n,o],r.seed)}(n,e),a=function(e,r,t){var n=function(e,r){for(var t=Ji(e).lowerBounds,n=0;n<t.length-1;n++){var o=t[n][0],a=t[n][1],i=t[n+1][0],s=t[n+1][1];if(r>=o&&r<=i){var l=(s-a)/(i-o);return l*r+(a-l*o)}}return 0}(e,r),o=100;switch(t.luminosity){case"dark":o=n+20;break;case"light":n=(o+n)/2;break;case"random":n=0,o=100}return es([n,o],t.seed)}(n,o,e),i={h:n,s:o,v:a};return void 0!==e.alpha&&(i.a=e.alpha),new Zi(i)}function Ji(e){e>=334&&e<=360&&(e-=360);for(var r=0,t=ts;r<t.length;r++){var n=rs(t[r]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function es(e,r){if(void 0===r)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var t=e[1]||1,n=e[0]||0,o=(r=(9301*r+49297)%233280)/233280;return Math.floor(n+o*(t-n))}function rs(e){var r=e.lowerBounds[0][0],t=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:[r,t],brightnessRange:[n,o]}}var ts=[{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 ns(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!function(e){return Array.isArray(e)}(e)}process.env.NODE_ENV,process.env.NODE_ENV;var os=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})};function as(e,r){for(var t=0;t<r.length;t++){var n=r[t];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 is=function(){function e(e){var r=this;this.map={},this.called=!1,this.assert=function(){if(r.called)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r.called=!0},this.parts=function(){r.assert();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0,a=t;o<a.length;o++){var i=a[o];r.map[i]=r.toPart(i)}return r},this.extend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0,a=t;o<a.length;o++){var i=a[o];i in r.map||(r.map[i]=r.toPart(i))}return r},this.toPart=function(e){var t="chakra-"+(["container","root"].includes(null!=e?e:"")?[r.name]:[r.name,e]).filter(Boolean).join("__");return{className:t,selector:"."+t,toString:function(){return e}}},this.__type={}}var r,t,n;return r=e,(t=[{key:"selectors",get:function(){return os(Object.entries(this.map).map((function(e){return[e[0],e[1].selector]})))}},{key:"classNames",get:function(){return os(Object.entries(this.map).map((function(e){return[e[0],e[1].className]})))}},{key:"keys",get:function(){return Object.keys(this.map)}}])&&as(r.prototype,t),n&&as(r,n),e}();function ss(e){return new is(e)}function ls(e){return ns(e)&&e.reference?e.reference:String(e)}var us=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(ls).join(" "+e+" ").replace(/calc/g,"")},cs=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+us.apply(void 0,["+"].concat(r))+")"},ds=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+us.apply(void 0,["-"].concat(r))+")"},fs=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+us.apply(void 0,["*"].concat(r))+")"},ps=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+us.apply(void 0,["/"].concat(r))+")"},hs=function(e){var r=ls(e);return null==r||Number.isNaN(parseFloat(r))?fs(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},ms=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return ms(cs.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return ms(ds.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return ms(fs.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return ms(ps.apply(void 0,[e].concat(t)))},negate:function(){return ms(hs(e))},toString:function(){return e.toString()}}}),{add:cs,subtract:ds,multiply:fs,divide:ps,negate:hs}),vs=ss("accordion").parts("container","item","button","panel").extend("icon"),gs=ss("alert").parts("title","description","container").extend("icon"),bs=ss("avatar").parts("label","badge","container").extend("excessLabel","group"),ys=ss("breadcrumb").parts("link","item","container").extend("separator");ss("button").parts();var xs=ss("checkbox").parts("control","icon","container").extend("label");ss("progress").parts("track","filledTrack").extend("label");var ws=ss("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ss=ss("editable").parts("preview","input"),ks=ss("form").parts("container","requiredIndicator","helperText"),Os=ss("formError").parts("text","icon"),_s=ss("input").parts("addon","field","element"),Es=ss("list").parts("container","item","icon"),As=ss("menu").parts("button","list","item").extend("groupTitle","command","divider"),Cs=ss("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Ps=ss("numberinput").parts("root","field","stepperGroup","stepper");ss("pininput").parts("field");var js=ss("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Ts=ss("progress").parts("label","filledTrack","track"),Rs=ss("radio").parts("container","control","label"),zs=ss("select").parts("field","icon"),Bs=ss("slider").parts("container","track","thumb","filledTrack"),Ds=ss("stat").parts("container","label","helpText","number","icon"),Fs=ss("switch").parts("container","track","thumb"),Ns=ss("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Is=ss("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Ms=ss("tag").parts("container","label","closeButton"),Ls={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"}},Ws={parts:vs.keys,baseStyle:Ls},Hs=(e,r,t)=>{var n=it(e,"colors."+r,r),{isValid:o}=new Zi(n);return o?n:t},Vs=e=>r=>"dark"===(e=>r=>{var t=Hs(r,e);return new Zi(t).isDark()?"dark":"light"})(e)(r),$s=(e,r)=>t=>{var n=Hs(t,e);return new Zi(n).setAlpha(r).toRgbString()};function Us(e,r){return void 0===e&&(e="1rem"),void 0===r&&(r="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+r+" 25%,\n transparent 25%,\n transparent 50%,\n "+r+" 50%,\n "+r+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function qs(e){var r,t=Qi().toHexString();return!e||Zr(r=e)&&0===Object.keys(r).length?t:e.string&&e.colors?function(e,r){var t=0;if(0===e.length)return r[0];for(var n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t=(t%r.length+r.length)%r.length,r[t]}(e.string,e.colors):e.string&&!e.colors?function(e){var r=0;if(0===e.length)return r.toString();for(var t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;for(var n="#",o=0;o<3;o+=1){n+=("00"+(r>>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):t}function Ys(e,r){return t=>"dark"===t.colorMode?r:e}function Xs(e){var{orientation:r,vertical:t,horizontal:n}=e;return r?"vertical"===r?t:n:{}}function Gs(){return Gs=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Gs.apply(this,arguments)}function Ks(e){return Zr(e)&&e.reference?e.reference:String(e)}var Zs=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(Ks).join(" "+e+" ").replace(/calc/g,"")},Qs=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Zs("+",...r)+")"},Js=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Zs("-",...r)+")"},el=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Zs("*",...r)+")"},rl=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Zs("/",...r)+")"},tl=e=>{var r=Ks(e);return null==r||Number.isNaN(parseFloat(r))?el(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},nl=Object.assign((e=>({add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return nl(Qs(e,...t))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return nl(Js(e,...t))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return nl(el(e,...t))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return nl(rl(e,...t))},negate:()=>nl(tl(e)),toString:()=>e.toString()})),{add:Qs,subtract:Js,multiply:el,divide:rl,negate:tl});function ol(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?r.replace(".","\\."):e}function al(e,r){return"var("+ol(e)+(r?", "+r:"")+")"}function il(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,ol(e)].filter(Boolean).join("-")}(e,r)}function sl(e,r){var t=il(e,null==r?void 0:r.prefix);return{variable:t,reference:al(t,ll(null==r?void 0:r.fallback))}}function ll(e){return"string"==typeof e?e:null==e?void 0:e.reference}function ul(e){var{theme:r,colorScheme:t}=e;return Ys(Hs(r,t+".100",t),$s(t+".200",.16)(r))(e)}var cl={subtle:e=>{var{colorScheme:r}=e;return{container:{bg:ul(e)},icon:{color:Ys(r+".500",r+".200")(e)}}},"left-accent":e=>{var{colorScheme:r}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:Ys(r+".500",r+".200")(e),bg:ul(e)},icon:{color:Ys(r+".500",r+".200")(e)}}},"top-accent":e=>{var{colorScheme:r}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:Ys(r+".500",r+".200")(e),bg:ul(e)},icon:{color:Ys(r+".500",r+".200")(e)}}},solid:e=>{var{colorScheme:r}=e;return{container:{bg:Ys(r+".500",r+".200")(e),color:Ys("white","gray.900")(e)}}}},dl={parts:gs.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:cl,defaultProps:{variant:"subtle",colorScheme:"blue"}},fl={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 pl(){return pl=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},pl.apply(this,arguments)}var hl=pl({},fl,{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"}}),ml=e=>({transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:Ys("white","gray.800")(e)}),vl=e=>({bg:Ys("gray.200","whiteAlpha.400")(e)}),gl=e=>{var{name:r,theme:t}=e,n=r?qs({string:r}):"gray.400",o="white";return Vs(n)(t)||(o="gray.800"),{bg:n,color:o,borderColor:Ys("white","gray.800")(e),verticalAlign:"top"}};function bl(e){var r=hl[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=r?r:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=r?r:e)+" / 2.5)",lineHeight:"100%"!==e?null!=r?r:e:void 0}}}var yl={"2xs":bl("4"),xs:bl("6"),sm:bl("8"),md:bl("12"),lg:bl("16"),xl:bl("24"),"2xl":bl("32"),full:bl("100%")},xl={parts:bs.keys,baseStyle:e=>({badge:ml(e),excessLabel:vl(e),container:gl(e)}),sizes:yl,defaultProps:{size:"md"}},wl={solid:e=>{var{colorScheme:r,theme:t}=e;return{bg:Ys(r+".500",$s(r+".500",.6)(t))(e),color:Ys("white","whiteAlpha.800")(e)}},subtle:e=>{var{colorScheme:r,theme:t}=e;return{bg:Ys(r+".100",$s(r+".200",.16)(t))(e),color:Ys(r+".800",r+".200")(e)}},outline:e=>{var{colorScheme:r,theme:t}=e,n=$s(r+".200",.8)(t),o=Ys(Hs(t,r+".500"),n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},Sl={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:wl,defaultProps:{variant:"subtle",colorScheme:"gray"}},kl={link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},Ol={parts:ys.keys,baseStyle:kl};function _l(){return _l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},_l.apply(this,arguments)}var El=e=>{var{colorScheme:r,theme:t}=e;if("gray"===r)return{color:Ys("inherit","whiteAlpha.900")(e),_hover:{bg:Ys("gray.100","whiteAlpha.200")(e)},_active:{bg:Ys("gray.200","whiteAlpha.300")(e)}};var n=$s(r+".200",.12)(t),o=$s(r+".200",.24)(t);return{color:Ys(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:Ys(r+".50",n)(e)},_active:{bg:Ys(r+".100",o)(e)}}},Al={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Cl={ghost:El,outline:e=>{var{colorScheme:r}=e,t=Ys("gray.200","whiteAlpha.300")(e);return _l({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},El(e))},solid:e=>{var r,{colorScheme:t}=e;if("gray"===t){var n=Ys("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:Ys("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:Ys("gray.300","whiteAlpha.400")(e)}}}var{bg:o=t+".500",color:a="white",hoverBg:i=t+".600",activeBg:s=t+".700"}=null!=(r=Al[t])?r:{},l=Ys(o,t+".200")(e);return{bg:l,color:Ys(a,"gray.800")(e),_hover:{bg:Ys(i,t+".300")(e),_disabled:{bg:l}},_active:{bg:Ys(s,t+".400")(e)}}},link:e=>{var{colorScheme:r}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Ys(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Ys(r+".700",r+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},Pl={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:Cl,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"}},jl=e=>{var{colorScheme:r}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Ys(r+".500",r+".200")(e),borderColor:Ys(r+".500",r+".200")(e),color:Ys("white","gray.900")(e),_hover:{bg:Ys(r+".600",r+".300")(e),borderColor:Ys(r+".600",r+".300")(e)},_disabled:{borderColor:Ys("gray.200","transparent")(e),bg:Ys("gray.200","whiteAlpha.300")(e),color:Ys("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Ys(r+".500",r+".200")(e),borderColor:Ys(r+".500",r+".200")(e),color:Ys("white","gray.900")(e)},_disabled:{bg:Ys("gray.100","whiteAlpha.100")(e),borderColor:Ys("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:Ys("red.500","red.300")(e)}}},Tl={userSelect:"none",_disabled:{opacity:.4}},Rl={transitionProperty:"transform",transitionDuration:"normal"},zl={parts:xs.keys,baseStyle:e=>({icon:Rl,control:jl(e),label:Tl}),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"}},Bl=sl("close-button-size"),Dl={baseStyle:e=>{var r=Ys("blackAlpha.100","whiteAlpha.100")(e),t=Ys("blackAlpha.200","whiteAlpha.200")(e);return{w:[Bl.reference],h:[Bl.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:t},_focus:{boxShadow:"outline"}}},sizes:{lg:{[Bl.variable]:"40px",fontSize:"16px"},md:{[Bl.variable]:"32px",fontSize:"12px"},sm:{[Bl.variable]:"24px",fontSize:"10px"}},defaultProps:{size:"md"}},{variants:Fl,defaultProps:Nl}=Sl,Il={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:Fl,defaultProps:Nl},Ml={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},Ll={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}};function Wl(){return Wl=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wl.apply(this,arguments)}function Hl(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Vl={bg:"blackAlpha.600",zIndex:"overlay"},$l={display:"flex",zIndex:"modal",justifyContent:"center"},Ul=e=>{var{isFullHeight:r}=e;return Wl({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:Ys("white","gray.700")(e),color:"inherit",boxShadow:Ys("lg","dark-lg")(e)})},ql={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Yl={position:"absolute",top:2,insetEnd:3},Xl={px:6,py:2,flex:1,overflow:"auto"},Gl={px:6,py:4},Kl={xs:Hl("xs"),sm:Hl("md"),md:Hl("lg"),lg:Hl("2xl"),xl:Hl("4xl"),full:Hl("full")},Zl={parts:ws.keys,baseStyle:e=>({overlay:Vl,dialogContainer:$l,dialog:Ul(e),header:ql,closeButton:Yl,body:Xl,footer:Gl}),sizes:Kl,defaultProps:{size:"xs"}},Ql={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}}},Jl={parts:Ss.keys,baseStyle:Ql},eu=e=>({marginStart:1,color:Ys("red.500","red.300")(e)}),ru=e=>({mt:2,color:Ys("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}),tu={parts:ks.keys,baseStyle:e=>({container:{width:"100%",position:"relative"},requiredIndicator:eu(e),helperText:ru(e)})},nu={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},ou={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"}},au={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"}},iu={lg:{field:au.lg,addon:au.lg},md:{field:au.md,addon:au.md},sm:{field:au.sm,addon:au.sm},xs:{field:au.xs,addon:au.xs}};function su(e){var{focusBorderColor:r,errorBorderColor:t}=e;return{focusBorderColor:r||Ys("blue.500","blue.300")(e),errorBorderColor:t||Ys("red.500","red.300")(e)}}var lu={outline:e=>{var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=su(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Ys("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Hs(r,n),boxShadow:"0 0 0 1px "+Hs(r,n)},_focus:{zIndex:1,borderColor:Hs(r,t),boxShadow:"0 0 0 1px "+Hs(r,t)}},addon:{border:"1px solid",borderColor:Ys("inherit","whiteAlpha.50")(e),bg:Ys("gray.100","whiteAlpha.300")(e)}}},filled:e=>{var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=su(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Ys("gray.100","whiteAlpha.50")(e),_hover:{bg:Ys("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Hs(r,n)},_focus:{bg:"transparent",borderColor:Hs(r,t)}},addon:{border:"2px solid",borderColor:"transparent",bg:Ys("gray.100","whiteAlpha.50")(e)}}},flushed:e=>{var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=su(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Hs(r,n),boxShadow:"0px 1px 0px 0px "+Hs(r,n)},_focus:{borderColor:Hs(r,t),boxShadow:"0px 1px 0px 0px "+Hs(r,t)}},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"}}},uu={parts:_s.keys,baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:iu,variants:lu,defaultProps:{size:"md",variant:"outline"}},cu={baseStyle:e=>({bg:Ys("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"})},du={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},fu={container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}},pu={parts:Es.keys,baseStyle:fu},hu=e=>({bg:Ys("#fff","gray.700")(e),boxShadow:Ys("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}),mu=e=>({py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:Ys("gray.100","whiteAlpha.100")(e)},_active:{bg:Ys("gray.200","whiteAlpha.200")(e)},_expanded:{bg:Ys("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}),vu={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},gu={opacity:.6},bu={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},yu={transitionProperty:"common",transitionDuration:"normal"},xu={parts:As.keys,baseStyle:e=>({button:yu,list:hu(e),item:mu(e),groupTitle:vu,command:gu,divider:bu})},wu={bg:"blackAlpha.600",zIndex:"modal"},Su=e=>{var{isCentered:r,scrollBehavior:t}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:"inside"===t?"hidden":"auto"}},ku=e=>{var{scrollBehavior:r}=e;return{borderRadius:"md",bg:Ys("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:Ys("lg","dark-lg")(e)}},Ou={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},_u={position:"absolute",top:2,insetEnd:3},Eu=e=>{var{scrollBehavior:r}=e;return{px:6,py:2,flex:1,overflow:"inside"===r?"auto":void 0}},Au={px:6,py:4};function Cu(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh",my:0}}:{dialog:{maxW:e}}}var Pu,ju,Tu={xs:Cu("xs"),sm:Cu("sm"),md:Cu("md"),lg:Cu("lg"),xl:Cu("xl"),"2xl":Cu("2xl"),"3xl":Cu("3xl"),"4xl":Cu("4xl"),"5xl":Cu("5xl"),"6xl":Cu("6xl"),full:Cu("full")},Ru={parts:Cs.keys,baseStyle:e=>({overlay:wu,dialogContainer:Su(e),dialog:ku(e),header:Ou,closeButton:_u,body:Eu(e),footer:Au}),sizes:Tu,defaultProps:{size:"md"}},zu={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 Bu(){return Bu=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Bu.apply(this,arguments)}var{variants:Du,defaultProps:Fu}=uu,Nu=sl("number-input-stepper-width"),Iu=sl("number-input-input-padding"),Mu=nl(Nu).add("0.5rem").toString(),Lu={[Nu.variable]:"24px",[Iu.variable]:Mu},Wu=null!=(Pu=null==(ju=uu.baseStyle)?void 0:ju.field)?Pu:{},Hu={width:[Nu.reference]},Vu=e=>({borderStart:"1px solid",borderStartColor:Ys("inherit","whiteAlpha.300")(e),color:Ys("inherit","whiteAlpha.800")(e),_active:{bg:Ys("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}});function $u(e){var r,t,n=uu.sizes[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(r=null==(t=n.field)?void 0:t.fontSize)?r:"md",i=zu.fontSizes[a.toString()];return{field:Bu({},n.field,{paddingInlineEnd:Iu.reference,verticalAlign:"top"}),stepper:{fontSize:nl(i).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}}}var Uu,qu={xs:$u("xs"),sm:$u("sm"),md:$u("md"),lg:$u("lg")},Yu={parts:Ps.keys,baseStyle:e=>({root:Lu,field:Wu,stepperGroup:Hu,stepper:Vu(e)}),sizes:qu,variants:Du,defaultProps:Fu};function Xu(){return Xu=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Xu.apply(this,arguments)}var Gu=Xu({},uu.baseStyle.field,{textAlign:"center"}),Ku={outline:e=>{var r;return null!=(r=uu.variants.outline(e).field)?r:{}},flushed:e=>{var r;return null!=(r=uu.variants.flushed(e).field)?r:{}},filled:e=>{var r;return null!=(r=uu.variants.filled(e).field)?r:{}},unstyled:null!=(Uu=uu.variants.unstyled.field)?Uu:{}},Zu={baseStyle:Gu,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:Ku,defaultProps:uu.defaultProps},Qu=sl("popper-bg"),Ju=sl("popper-arrow-bg"),ec=sl("popper-arrow-shadow-color"),rc={zIndex:10},tc=e=>{var r=Ys("white","gray.700")(e),t=Ys("gray.200","whiteAlpha.300")(e);return{[Qu.variable]:"colors."+r,bg:Qu.reference,[Ju.variable]:Qu.reference,[ec.variable]:"colors."+t,width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}},nc={px:3,py:2,borderBottomWidth:"1px"},oc={px:3,py:2},ac={px:3,py:2,borderTopWidth:"1px"},ic={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},sc={parts:js.keys,baseStyle:e=>({popper:rc,content:tc(e),header:nc,body:oc,footer:ac,arrow:{},closeButton:ic})};function lc(){return lc=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},lc.apply(this,arguments)}var uc={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},cc=e=>({bg:Ys("gray.100","whiteAlpha.300")(e)}),dc=e=>lc({transitionProperty:"common",transitionDuration:"slow"},function(e){var{colorScheme:r,theme:t,isIndeterminate:n,hasStripe:o}=e,a=Ys(Us(),Us("1rem","rgba(0,0,0,0.1)"))(e),i=Ys(r+".500",r+".200")(e),s="linear-gradient(\n to right,\n transparent 0%,\n "+Hs(t,i)+" 50%,\n transparent 100%\n )";return lc({},!n&&o&&a,n?{bgImage:s}:{bgColor:i})}(e)),fc={parts:Ts.keys,sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:e=>({label:uc,filledTrack:dc(e),track:cc(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function pc(){return pc=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},pc.apply(this,arguments)}var hc=e=>{var{control:r={}}=zl.baseStyle(e);return pc({},r,{borderRadius:"full",_checked:pc({},r._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},mc={parts:Rs.keys,baseStyle:e=>({label:zl.baseStyle(e).label,control:hc(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 vc(){return vc=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},vc.apply(this,arguments)}var gc=e=>vc({},uu.baseStyle.field,{bg:Ys("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:Ys("white","gray.700")(e)}}),bc={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},yc=vc({},uu.sizes,{xs:vc({},uu.sizes.xs,{icon:{insetEnd:"0.25rem"}})}),xc={parts:zs.keys,baseStyle:e=>({field:gc(e),icon:bc}),sizes:yc,variants:uu.variants,defaultProps:uu.defaultProps},wc=(e,r)=>Nr({from:{borderColor:e,background:e},to:{borderColor:r,background:r}}),Sc={baseStyle:e=>{var r=Ys("gray.100","gray.800")(e),t=Ys("gray.400","gray.600")(e),{startColor:n=r,endColor:o=t,speed:a,theme:i}=e,s=Hs(i,n),l=Hs(i,o);return{opacity:.7,borderRadius:"2px",borderColor:s,background:l,animation:a+"s linear infinite alternate "+wc(s,l)}}},kc={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:Ys("white","gray.700")(e)}})};function Oc(){return Oc=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Oc.apply(this,arguments)}var _c=e=>{var{orientation:r}=e;return Oc({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Xs({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},Ec=e=>({overflow:"hidden",borderRadius:"sm",bg:Ys("gray.200","whiteAlpha.200")(e),_disabled:{bg:Ys("gray.300","whiteAlpha.300")(e)}}),Ac=e=>Oc({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 Xs({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)),Cc=e=>{var{colorScheme:r}=e;return{width:"inherit",height:"inherit",bg:Ys(r+".500",r+".200")(e)}},Pc={lg:e=>({thumb:{w:"16px",h:"16px"},track:Xs({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),md:e=>({thumb:{w:"14px",h:"14px"},track:Xs({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}),sm:e=>({thumb:{w:"10px",h:"10px"},track:Xs({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})})},jc={parts:Bs.keys,sizes:Pc,baseStyle:e=>({container:_c(e),track:Ec(e),thumb:Ac(e),filledTrack:Cc(e)}),defaultProps:{size:"md",colorScheme:"blue"}},Tc=sl("spinner-size"),Rc={baseStyle:{width:[Tc.reference],height:[Tc.reference]},sizes:{xs:{[Tc.variable]:"0.75rem"},sm:{[Tc.variable]:"1rem"},md:{[Tc.variable]:"1.5rem"},lg:{[Tc.variable]:"2rem"},xl:{[Tc.variable]:"3rem"}},defaultProps:{size:"md"}},zc={container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},Bc={parts:Ds.keys,baseStyle:zc,sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}},Dc=sl("switch-track-width"),Fc=sl("switch-track-height"),Nc=sl("switch-track-diff"),Ic=nl.subtract(Dc,Fc),Mc=sl("switch-thumb-x"),Lc=e=>{var{colorScheme:r}=e;return{borderRadius:"full",p:"2px",width:[Dc.reference],height:[Fc.reference],transitionProperty:"common",transitionDuration:"fast",bg:Ys("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:Ys(r+".500",r+".200")(e)}}},Wc={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Fc.reference],height:[Fc.reference],_checked:{transform:"translateX("+Mc.reference+")"}},Hc={sm:{container:{[Dc.variable]:"1.375rem",[Fc.variable]:"0.75rem"}},md:{container:{[Dc.variable]:"1.875rem",[Fc.variable]:"1rem"}},lg:{container:{[Dc.variable]:"2.875rem",[Fc.variable]:"1.5rem"}}},Vc={parts:Fs.keys,baseStyle:e=>({container:{[Nc.variable]:Ic,[Mc.variable]:Nc.reference,_rtl:{[Mc.variable]:nl(Nc).negate().toString()}},track:Lc(e),thumb:Wc}),sizes:Hc,defaultProps:{size:"md",colorScheme:"blue"}};function $c(){return $c=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},$c.apply(this,arguments)}var Uc,qc,Yc,Xc,Gc,Kc={"&[data-is-numeric=true]":{textAlign:"end"}},Zc={simple:e=>{var{colorScheme:r}=e;return{th:$c({color:Ys("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Ys(r+".100",r+".700")(e)},Kc),td:$c({borderBottom:"1px",borderColor:Ys(r+".100",r+".700")(e)},Kc),caption:{color:Ys("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:r}=e;return{th:$c({color:Ys("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Ys(r+".100",r+".700")(e)},Kc),td:$c({borderBottom:"1px",borderColor:Ys(r+".100",r+".700")(e)},Kc),caption:{color:Ys("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Ys(r+".100",r+".700")(e)},td:{background:Ys(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},Qc={parts:Ns.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:Zc,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"}},Jc=e=>{var{orientation:r}=e;return{display:"vertical"===r?"flex":"block"}},ed=e=>{var{isFitted:r}=e;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},rd=e=>{var{align:r="start",orientation:t}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===t?"column":"row"}},td={p:4},nd={line:e=>{var{colorScheme:r,orientation:t}=e,n="vertical"===t?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===t?"marginStart":"marginBottom"]:"-2px",_selected:{color:Ys(r+".600",r+".300")(e),borderColor:"currentColor"},_active:{bg:Ys("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:e=>{var{colorScheme:r}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:Ys(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:Ys("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":e=>{var{colorScheme:r}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:Ys("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:Ys("#fff","gray.800")(e),color:Ys(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":e=>{var{colorScheme:r,theme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Hs(t,r+".700"),bg:Hs(t,r+".100")}}}},"solid-rounded":e=>{var{colorScheme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:Ys("gray.600","inherit")(e),_selected:{color:Ys("#fff","gray.800")(e),bg:Ys(r+".600",r+".300")(e)}}}},unstyled:{}},od={parts:Is.keys,baseStyle:e=>({root:Jc(e),tab:ed(e),tablist:rd(e),tabpanel:td}),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:nd,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},ad={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}}},id={subtle:e=>({container:Sl.variants.subtle(e)}),solid:e=>({container:Sl.variants.solid(e)}),outline:e=>({container:Sl.variants.outline(e)})},sd={parts:Ms.keys,variants:id,baseStyle:ad,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 ld(){return ld=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ld.apply(this,arguments)}var ud=ld({},uu.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),cd={outline:e=>{var r;return null!=(r=uu.variants.outline(e).field)?r:{}},flushed:e=>{var r;return null!=(r=uu.variants.flushed(e).field)?r:{}},filled:e=>{var r;return null!=(r=uu.variants.filled(e).field)?r:{}},unstyled:null!=(Uc=uu.variants.unstyled.field)?Uc:{}},dd={baseStyle:ud,sizes:{xs:null!=(qc=uu.sizes.xs.field)?qc:{},sm:null!=(Yc=uu.sizes.sm.field)?Yc:{},md:null!=(Xc=uu.sizes.md.field)?Xc:{},lg:null!=(Gc=uu.sizes.lg.field)?Gc:{}},variants:cd,defaultProps:{size:"md",variant:"outline"}},fd=sl("tooltip-bg"),pd=sl("popper-arrow-bg"),hd={baseStyle:e=>{var r=Ys("gray.700","gray.300")(e);return{[fd.variable]:"colors."+r,px:"8px",py:"2px",bg:[fd.reference],[pd.variable]:[fd.reference],color:Ys("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}},md=e=>({color:Ys("red.500","red.300")(e),mt:2,fontSize:"sm"}),vd=e=>({marginEnd:"0.5em",color:Ys("red.500","red.300")(e)}),gd={parts:Os.keys,baseStyle:e=>({text:md(e),icon:vd(e)})},bd={Accordion:Ws,Alert:dl,Avatar:xl,Badge:Sl,Breadcrumb:Ol,Button:Pl,Checkbox:zl,CloseButton:Dl,Code:Il,Container:Ml,Divider:Ll,Drawer:Zl,Editable:Jl,Form:tu,FormLabel:nu,Heading:ou,Input:uu,Kbd:cu,Link:du,List:pu,Menu:xu,Modal:Ru,NumberInput:Yu,PinInput:Zu,Popover:sc,Progress:fc,Radio:mc,Select:xc,Skeleton:Sc,SkipLink:kc,Slider:jc,Spinner:Rc,Stat:Bc,Switch:Vc,Table:Qc,Tabs:od,Tag:sd,Textarea:dd,Tooltip:hd,FormError:gd},yd=(e=>(Nt({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Gs({base:"0em"},e)))({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"});function xd(){return xd=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},xd.apply(this,arguments)}var wd=xd({breakpoints:yd,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"}}},zu,{sizes:hl,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:fl,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"}}}),Sd={global:e=>({body:{fontFamily:"body",color:Ys("gray.800","whiteAlpha.900")(e),bg:Ys("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:Ys("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:Ys("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})},kd=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function Od(e){return!!Zr(e)&&kd.every((r=>Object.prototype.hasOwnProperty.call(e,r)))}function _d(){return _d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},_d.apply(this,arguments)}var Ed=_d({direction:"ltr"},wd,{components:bd,styles:Sd,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),Ad=e=>{var{children:r,colorModeManager:t,portalZIndex:o,resetCSS:a=!0,theme:i={},environment:s,cssVarsRoot:l}=e,u=n(io,{environment:s},r);return n(Rn,null,n(ii,{theme:i,cssVarsRoot:l},n(xo,{colorModeManager:t,options:i.config},a&&n(Ur,null),n(ci,null),o?n(wn,{zIndex:o},u):u)))};function Cd(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return tt({},...r,Pd)}function Pd(e,r,t,n){if((Gr(e)||Gr(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=Gr(e)?e(...arguments):e,n=Gr(r)?r(...arguments):r;return tt({},t,n,Pd)}}function jd(){return jd=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},jd.apply(this,arguments)}Ad.defaultProps={theme:Ed};var Td={path:n("g",{stroke:"currentColor",strokeWidth:"1.5"},n("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"}),n("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),n("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Rd=Pi(((e,r)=>{var{as:t,viewBox:o,color:a="currentColor",focusable:i=!1,children:s,className:l,__css:u}=e,c=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["as","viewBox","color","focusable","children","className","__css"]),d={ref:r,focusable:i,className:kt("chakra-icon",l),__css:jd({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a},u)},f=null!=o?o:Td.viewBox;if(t&&"string"!=typeof t)return n(Ci.svg,jd({as:t},d,c));var p=null!=s?s:Td.path;return n(Ci.svg,jd({verticalAlign:"middle",viewBox:f},d,c),p)}));function zd(){return zd=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},zd.apply(this,arguments)}function Bd(e){var{viewBox:r="0 0 24 24",d:t,path:o,displayName:a,defaultProps:i={}}=e,s=Pi(((e,a)=>n(Rd,zd({ref:a,viewBox:r},i,e),null!=o?o:n("path",{fill:"currentColor",d:t}))));return et&&(s.displayName=a),s}
|
|
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
|
-
***************************************************************************** */et&&(Rd.displayName="Icon");var Dd=function(e,r){return Dd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},Dd(e,r)};function Fd(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}Dd(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var Nd=function(){return Nd=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},Nd.apply(this,arguments)};function Id(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t}function Md(e,r){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var n,o,a=t.call(e),i=[];try{for(;(void 0===r||r-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function Ld(e,r,t){if(t||2===arguments.length)for(var n,o=0,a=r.length;o<a;o++)!n&&o in r||(n||(n=Array.prototype.slice.call(r,0,o)),n[o]=r[o]);return e.concat(n||Array.prototype.slice.call(r))}var Wd=function(e){return{isEnabled:function(r){return e.some((function(e){return!!r[e]}))}}},Hd={measureLayout:Wd(["layout","layoutId","drag","_layoutResetTransform"]),animation:Wd(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:Wd(["exit"]),drag:Wd(["drag","dragControls"]),focus:Wd(["whileFocus"]),hover:Wd(["whileHover","onHoverStart","onHoverEnd"]),tap:Wd(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Wd(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:Wd(["layout","layoutId"])};var Vd=function(){},$d=function(){};"production"!==process.env.NODE_ENV&&(Vd=function(e,r){e||"undefined"==typeof console||console.warn(r)},$d=function(e,r){if(!e)throw new Error(r)});var Ud=r({strict:!1}),qd=Object.keys(Hd),Yd=qd.length;var Xd=r({transformPagePoint:function(e){return e},isStatic:!1}),Gd=r({});var Kd=r(null);function Zd(e){var r=i(null);return null===r.current&&(r.current=e()),r.current}function Qd(){var e=t(Kd);if(null===e)return[!0,null];var r=e.isPresent,n=e.onExitComplete,o=e.register,a=rf();f((function(){return o(a)}),[]);return!r&&n?[!1,function(){return null==n?void 0:n(a)}]:[!0]}var Jd=0,ef=function(){return Jd++},rf=function(){return Zd(ef)},tf=r(null),nf="undefined"!=typeof window,of=nf?s:f;function af(e,r,n,o){var a=t(Xd),s=t(Ud),l=t(Gd).visualElement,u=t(Kd),c=function(e){var r=e.layoutId,n=t(tf);return n&&void 0!==r?n+"-"+r:r}(n),d=i(void 0);o||(o=s.renderer),!d.current&&o&&(d.current=o(e,{visualState:r,parent:l,props:Nd(Nd({},n),{layoutId:c}),presenceId:null==u?void 0:u.id,blockInitialAnimation:!1===(null==u?void 0:u.initial)}));var p=d.current;return of((function(){var e;p&&(p.setProps(Nd(Nd(Nd({},a),n),{layoutId:c})),p.isPresent=null===(e=u)||e.isPresent,p.isPresenceRoot=!l||l.presenceId!==(null==u?void 0:u.id),p.syncRender())})),f((function(){var e;p&&(null===(e=p.animationState)||void 0===e||e.animateChanges())})),of((function(){return function(){return null==p?void 0:p.notifyUnmount()}}),[]),p}function sf(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function lf(e){return Array.isArray(e)}function uf(e){return"string"==typeof e||lf(e)}function cf(e,r,t,n,o){var a;return void 0===n&&(n={}),void 0===o&&(o={}),"string"==typeof r&&(r=null===(a=e.variants)||void 0===a?void 0:a[r]),"function"==typeof r?r(null!=t?t:e.custom,n,o):r}function df(e,r,t){var n=e.getProps();return cf(n,r,null!=t?t:n.custom,function(e){var r={};return e.forEachValue((function(e,t){return r[t]=e.get()})),r}(e),function(e){var r={};return e.forEachValue((function(e,t){return r[t]=e.getVelocity()})),r}(e))}function ff(e){var r;return"function"==typeof(null===(r=e.animate)||void 0===r?void 0:r.start)||uf(e.initial)||uf(e.animate)||uf(e.whileHover)||uf(e.whileDrag)||uf(e.whileTap)||uf(e.whileFocus)||uf(e.exit)}function pf(e){return Boolean(ff(e)||e.variants)}function hf(e,r){var n=function(e,r){if(ff(e)){var t=e.initial,n=e.animate;return{initial:!1===t||uf(t)?t:void 0,animate:uf(n)?n:void 0}}return!1!==e.inherit?r:{}}(e,t(Gd)),o=n.initial,a=n.animate;return p((function(){return{initial:o,animate:a}}),r?[mf(o),mf(a)]:[])}function mf(e){return Array.isArray(e)?e.join(" "):e}function vf(e){var r=e.preloadedFeatures,i=e.createVisualElement,s=e.useRender,l=e.useVisualState,u=e.Component;return r&&function(e){for(var r in e){var t=e[r];null!==t&&(Hd[r].Component=t)}}(r),a((function(e,a){var c=t(Xd).isStatic,f=null,p=hf(e,c),h=l(e,c);return!c&&nf&&(p.visualElement=af(u,h,e,i),f=function(e,r,o){var a=[],i=t(Ud);if(!r)return null;"production"!==process.env.NODE_ENV&&o&&i.strict&&$d(!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 s=0;s<Yd;s++){var l=qd[s],u=Hd[l],c=u.isEnabled,d=u.Component;c(e)&&d&&a.push(n(d,Nd({key:l},e,{visualElement:r})))}return a}(e,p.visualElement,r)),n(o,null,n(Gd.Provider,{value:p},s(u,e,function(e,r,t){return d((function(n){var o;n&&(null===(o=e.mount)||void 0===o||o.call(e,n)),r&&(n?r.mount(n):r.unmount()),t&&("function"==typeof t?t(n):sf(t)&&(t.current=n))}),[r])}(h,p.visualElement,a),h,c)),f)}))}function gf(e){function r(r,t){return void 0===t&&(t={}),vf(e(r,t))}var t=new Map;return new Proxy(r,{get:function(e,n){return t.has(n)||t.set(n,r(n)),t.get(n)}})}var bf=["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 yf(e){return"string"==typeof e&&!e.includes("-")&&!!(bf.indexOf(e)>-1||/[A-Z]/.test(e))}var xf={};var wf=["","X","Y","Z"],Sf=["transformPerspective","x","y","z"];function kf(e,r){return Sf.indexOf(e)-Sf.indexOf(r)}["translate","scale","rotate","skew"].forEach((function(e){return wf.forEach((function(r){return Sf.push(e+r)}))}));var Of=new Set(Sf);function _f(e){return Of.has(e)}var Ef=new Set(["originX","originY","originZ"]);function Af(e){return Ef.has(e)}function Cf(e,r){var t=r.layout,n=r.layoutId;return _f(e)||Af(e)||(t||void 0!==n)&&(!!xf[e]||"opacity"===e)}var Pf=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},jf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Tf(e){return e.startsWith("--")}var Rf=function(e,r){return r&&"number"==typeof e?r.transform(e):e},zf=function(e,r){return function(t){return Math.max(Math.min(t,r),e)}},Bf=function(e){return e%1?Number(e.toFixed(5)):e},Df=/(-)?([\d]*\.?[\d])+/g,Ff=/(#[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,Nf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function If(e){return"string"==typeof e}var Mf={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},Lf=Nd(Nd({},Mf),{transform:zf(0,1)}),Wf=Nd(Nd({},Mf),{default:1}),Hf=function(e){return{test:function(r){return If(r)&&r.endsWith(e)&&1===r.split(" ").length},parse:parseFloat,transform:function(r){return""+r+e}}},Vf=Hf("deg"),$f=Hf("%"),Uf=Hf("px"),qf=Hf("vh"),Yf=Hf("vw"),Xf=Nd(Nd({},$f),{parse:function(e){return $f.parse(e)/100},transform:function(e){return $f.transform(100*e)}}),Gf=function(e,r){return function(t){return Boolean(If(t)&&Nf.test(t)&&t.startsWith(e)||r&&Object.prototype.hasOwnProperty.call(t,r))}},Kf=function(e,r,t){return function(n){var o;if(!If(n))return n;var a=n.match(Df),i=a[0],s=a[1],l=a[2],u=a[3];return(o={})[e]=parseFloat(i),o[r]=parseFloat(s),o[t]=parseFloat(l),o.alpha=void 0!==u?parseFloat(u):1,o}},Zf={test:Gf("hsl","hue"),parse:Kf("hue","saturation","lightness"),transform:function(e){var r=e.hue,t=e.saturation,n=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(r)+", "+$f.transform(Bf(t))+", "+$f.transform(Bf(n))+", "+Bf(Lf.transform(a))+")"}},Qf=zf(0,255),Jf=Nd(Nd({},Mf),{transform:function(e){return Math.round(Qf(e))}}),ep={test:Gf("rgb","red"),parse:Kf("red","green","blue"),transform:function(e){var r=e.red,t=e.green,n=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+Jf.transform(r)+", "+Jf.transform(t)+", "+Jf.transform(n)+", "+Bf(Lf.transform(a))+")"}};var rp={test:Gf("#"),parse:function(e){var r="",t="",n="",o="";return e.length>5?(r=e.substr(1,2),t=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(r=e.substr(1,1),t=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),r+=r,t+=t,n+=n,o+=o),{red:parseInt(r,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:ep.transform},tp={test:function(e){return ep.test(e)||rp.test(e)||Zf.test(e)},parse:function(e){return ep.test(e)?ep.parse(e):Zf.test(e)?Zf.parse(e):rp.parse(e)},transform:function(e){return If(e)?e:e.hasOwnProperty("red")?ep.transform(e):Zf.transform(e)}};function np(e){var r=[],t=0,n=e.match(Ff);n&&(t=n.length,e=e.replace(Ff,"${c}"),r.push.apply(r,n.map(tp.parse)));var o=e.match(Df);return o&&(e=e.replace(Df,"${n}"),r.push.apply(r,o.map(Mf.parse))),{values:r,numColors:t,tokenised:e}}function op(e){return np(e).values}function ap(e){var r=np(e),t=r.values,n=r.numColors,o=r.tokenised,a=t.length;return function(e){for(var r=o,t=0;t<a;t++)r=r.replace(t<n?"${c}":"${n}",t<n?tp.transform(e[t]):Bf(e[t]));return r}}var ip=function(e){return"number"==typeof e?0:e};var sp={test:function(e){var r,t,n,o;return isNaN(e)&&If(e)&&(null!==(t=null===(r=e.match(Df))||void 0===r?void 0:r.length)&&void 0!==t?t:0)+(null!==(o=null===(n=e.match(Ff))||void 0===n?void 0:n.length)&&void 0!==o?o:0)>0},parse:op,createTransformer:ap,getAnimatableNone:function(e){var r=op(e);return ap(e)(r.map(ip))}},lp=new Set(["brightness","contrast","saturate","opacity"]);function up(e){var r=e.slice(0,-1).split("("),t=r[0],n=r[1];if("drop-shadow"===t)return e;var o=(n.match(Df)||[])[0];if(!o)return e;var a=n.replace(o,""),i=lp.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+a+")"}var cp=/([a-z-]*)\(.*?\)/g,dp=Nd(Nd({},sp),{getAnimatableNone:function(e){var r=e.match(cp);return r?r.map(up).join(" "):e}}),fp=Nd(Nd({},Mf),{transform:Math.round}),pp={borderWidth:Uf,borderTopWidth:Uf,borderRightWidth:Uf,borderBottomWidth:Uf,borderLeftWidth:Uf,borderRadius:Uf,radius:Uf,borderTopLeftRadius:Uf,borderTopRightRadius:Uf,borderBottomRightRadius:Uf,borderBottomLeftRadius:Uf,width:Uf,maxWidth:Uf,height:Uf,maxHeight:Uf,size:Uf,top:Uf,right:Uf,bottom:Uf,left:Uf,padding:Uf,paddingTop:Uf,paddingRight:Uf,paddingBottom:Uf,paddingLeft:Uf,margin:Uf,marginTop:Uf,marginRight:Uf,marginBottom:Uf,marginLeft:Uf,rotate:Vf,rotateX:Vf,rotateY:Vf,rotateZ:Vf,scale:Wf,scaleX:Wf,scaleY:Wf,scaleZ:Wf,skew:Vf,skewX:Vf,skewY:Vf,distance:Uf,translateX:Uf,translateY:Uf,translateZ:Uf,x:Uf,y:Uf,z:Uf,perspective:Uf,transformPerspective:Uf,opacity:Lf,originX:Xf,originY:Xf,originZ:Uf,zIndex:fp,fillOpacity:Lf,strokeOpacity:Lf,numOctaves:fp};function hp(e,r,t,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 r){var b=r[g];if(Tf(g))c[g]=b;else{var y=pp[g],x=Rf(b,y);if(_f(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(Af(g))p[g]=x,m=!0;else if((null==t?void 0:t.isHydrated)&&(null==n?void 0:n.isHydrated)&&xf[g]){var w=xf[g].process(b,n,t),S=xf[g].applyTo;if(S)for(var k=S.length,O=0;O<k;O++)u[S[O]]=w;else u[g]=w}else u[g]=x}}n&&t&&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,r,t,n){var o=e.transform,a=e.transformKeys,i=r.enableHardwareAcceleration,s=void 0===i||i,l=r.allowTransformNone,u=void 0===l||l,c="";a.sort(kf);for(var d=!1,f=a.length,p=0;p<f;p++){var h=a[p];c+=(jf[h]||h)+"("+o[h]+") ","z"===h&&(d=!0)}return!d&&s?c+="translateZ(0)":c=c.trim(),n?c=n(o,t?"":c):u&&t&&(c="none"),c}(e,o,v,a)),m&&(u.transformOrigin=function(e){var r=e.originX,t=void 0===r?"50%":r,n=e.originY,o=void 0===n?"50%":n,a=e.originZ;return t+" "+o+" "+(void 0===a?0:a)}(p)))}var mp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function vp(e,r,t){for(var n in r)Pf(r[n])||Cf(n,t)||(e[n]=r[n])}function gp(e,r,t){var n={};return vp(n,e.style||{},e),Object.assign(n,function(e,r,t){var n=e.transformTemplate;return p((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};hp(e,r,void 0,void 0,{enableHardwareAcceleration:!t},n);var o=e.style;return Nd(Nd({},e.vars),o)}),[r])}(e,r,t)),e.transformValues&&(n=e.transformValues(n)),n}function bp(e,r,t){var n={},o=gp(e,r,t);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 yp=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 xp(e){return yp.has(e)}var wp=function(e){return!xp(e)};try{var Sp=require("@emotion/is-prop-valid").default;wp=function(e){return e.startsWith("on")?!xp(e):Sp(e)}}catch(e){}function kp(e,r,t){return"string"==typeof e?e:Uf.transform(r+t*e)}var Op=function(e,r){return Uf.transform(e*r)},_p={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ep={offset:"strokeDashoffset",array:"strokeDasharray"};function Ap(e,r,t,n,o,a,i,s){var l=r.attrX,u=r.attrY,c=r.originX,d=r.originY,f=r.pathLength,p=r.pathSpacing,h=void 0===p?1:p,m=r.pathOffset,v=void 0===m?0:m;hp(e,Id(r,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),t,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,r,t){return kp(r,e.x,e.width)+" "+kp(t,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,r,t,n,o,a){void 0===n&&(n=1),void 0===o&&(o=0),void 0===a&&(a=!0);var i=a?_p:Ep;e[i.offset]=Op(-o,r);var s=Op(t,r),l=Op(n,r);e[i.array]=s+" "+l}(g,x,f,h,v,!1)}var Cp=function(){return Nd(Nd({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Pp(e,r){var t=p((function(){var t=Cp();return Ap(t,r,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Nd(Nd({},t.attrs),{style:Nd({},t.style)})}),[r]);if(e.style){var n={};vp(n,e.style,e),t.style=Nd(Nd({},n),t.style)}return t}function jp(e){void 0===e&&(e=!1);return function(r,t,o,a,i){var s=a.latestValues,l=(yf(r)?Pp:bp)(t,s,i),u=function(e,r,t){var n={};for(var o in e)(wp(o)||!0===t&&xp(o)||!r&&!xp(o))&&(n[o]=e[o]);return n}(t,"string"==typeof r,e),c=Nd(Nd(Nd({},u),l),{ref:o});return n(r,c)}}var Tp=/([a-z])([A-Z])/g,Rp=function(e){return e.replace(Tp,"$1-$2").toLowerCase()};function zp(e,r){var t=r.style,n=r.vars;for(var o in Object.assign(e.style,t),n)e.style.setProperty(o,n[o])}var Bp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function Dp(e,r){for(var t in zp(e,r),r.attrs)e.setAttribute(Bp.has(t)?t:Rp(t),r.attrs[t])}function Fp(e){var r=e.style,t={};for(var n in r)(Pf(r[n])||Cf(n,e))&&(t[n]=r[n]);return t}function Np(e){var r=Fp(e);for(var t in e){if(Pf(e[t]))r["x"===t||"y"===t?"attr"+t.toUpperCase():t]=e[t]}return r}function Ip(e){return"object"==typeof e&&"function"==typeof e.start}var Mp=function(e){return Array.isArray(e)},Lp=function(e){return Mp(e)?e[e.length-1]||0:e};function Wp(e){var r=Pf(e)?e.get():e;return function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(r)?r.toValue():r}function Hp(e,r,t,n){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,s={latestValues:$p(r,t,n,o),renderState:a()};return i&&(s.mount=function(e){return i(r,e,s)}),s}var Vp=function(e){return function(r,n){var o=t(Gd),a=t(Kd);return n?Hp(e,r,o,a):Zd((function(){return Hp(e,r,o,a)}))}};function $p(e,r,t,n){var o={},a=!1===(null==t?void 0:t.initial),i=n(e);for(var s in i)o[s]=Wp(i[s]);var l=e.initial,u=e.animate,c=ff(e),d=pf(e);r&&d&&!c&&!1!==e.inherit&&(null!=l||(l=r.initial),null!=u||(u=r.animate));var f=a||!1===l?u:l;f&&"boolean"!=typeof f&&!Ip(f)&&(Array.isArray(f)?f:[f]).forEach((function(r){var t=cf(e,r);if(t){var n=t.transitionEnd;t.transition;var a=Id(t,["transitionEnd","transition"]);for(var i in a)o[i]=a[i];for(var i in n)o[i]=n[i]}}));return o}var Up={useVisualState:Vp({scrapeMotionValuesFromProps:Np,createRenderState:Cp,onMount:function(e,r,t){var n=t.renderState,o=t.latestValues;try{n.dimensions="function"==typeof r.getBBox?r.getBBox():r.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}"path"===r.tagName&&(n.totalPathLength=r.getTotalLength()),Ap(n,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Dp(r,n)}})};var qp,Yp={useVisualState:Vp({scrapeMotionValuesFromProps:Fp,createRenderState:mp})};function Xp(e,r,t,n){return e.addEventListener(r,t,n),function(){return e.removeEventListener(r,t,n)}}function Gp(e,r,t,n){f((function(){var o=e.current;if(t&&o)return Xp(o,r,t,n)}),[e,r,t,n])}function Kp(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Zp(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(qp||(qp={}));var Qp={pageX:0,pageY:0};function Jp(e,r){void 0===r&&(r="page");var t=e.touches[0]||e.changedTouches[0]||Qp;return{x:t[r+"X"],y:t[r+"Y"]}}function eh(e,r){return void 0===r&&(r="page"),{x:e[r+"X"],y:e[r+"Y"]}}function rh(e,r){return void 0===r&&(r="page"),{point:Zp(e)?Jp(e,r):eh(e,r)}}var th=function(e,r){void 0===r&&(r=!1);var t,n=function(r){return e(r,rh(r))};return r?(t=n,function(e){var r=e instanceof MouseEvent;(!r||r&&0===e.button)&&t(e)}):n},nh={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},oh={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function ah(e){return nf&&null===window.onpointerdown?e:nf&&null===window.ontouchstart?oh[e]:nf&&null===window.onmousedown?nh[e]:e}function ih(e,r,t,n){return Xp(e,ah(r),th(t,"pointerdown"===r),n)}function sh(e,r,t,n){return Gp(e,ah(r),t&&th(t,"pointerdown"===r),n)}function lh(e){var r=null;return function(){return null===r&&(r=e,function(){r=null})}}var uh=lh("dragHorizontal"),ch=lh("dragVertical");function dh(e){var r=!1;if("y"===e)r=ch();else if("x"===e)r=uh();else{var t=uh(),n=ch();t&&n?r=function(){t(),n()}:(t&&t(),n&&n())}return r}function fh(){var e=dh(!0);return!e||(e(),!1)}function ph(e,r,t){return function(n,o){var a;Kp(n)&&!fh()&&(null==t||t(n,o),null===(a=e.animationState)||void 0===a||a.setActive(qp.Hover,r))}}var hh=function(e,r){return!!r&&(e===r||hh(e,r.parentElement))};function mh(e){return f((function(){return function(){return e()}}),[])}var vh=function(e,r,t){return Math.min(Math.max(t,e),r)};function gh(e){var r,t,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;Vd(o<=1e4,"Spring duration must be 10 seconds or less");var d=1-i;d=vh(.05,1,d),o=vh(.01,10,o/1e3),d<1?(r=function(e){var r=e*d,t=r*o;return.001-(r-l)/bh(e,d)*Math.exp(-t)},t=function(e){var t=e*d*o,n=t*l+l,a=Math.pow(d,2)*Math.pow(e,2)*o,i=Math.exp(-t),s=bh(Math.pow(e,2),d);return(.001-r(e)>0?-1:1)*((n-a)*i)/s}):(r=function(e){return Math.exp(-e*o)*((e-l)*o+1)-.001},t=function(e){return Math.exp(-e*o)*(o*o*(l-e))});var f=function(e,r,t){for(var n=t,o=1;o<12;o++)n-=e(n)/r(n);return n}(r,t,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 bh(e,r){return e*Math.sqrt(1-r*r)}var yh=["duration","bounce"],xh=["stiffness","damping","mass"];function wh(e,r){return r.some((function(r){return void 0!==e[r]}))}function Sh(e){var r=e.from,t=void 0===r?0:r,n=e.to,o=void 0===n?1:n,a=e.restSpeed,i=void 0===a?2:a,s=e.restDelta,l=Id(e,["from","to","restSpeed","restDelta"]),u={done:!1,value:t},c=function(e){var r=Nd({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!wh(e,xh)&&wh(e,yh)){var t=gh(e);(r=Nd(Nd(Nd({},r),t),{velocity:0,mass:1})).isResolvedFromDuration=!0}return r}(l),d=c.stiffness,f=c.damping,p=c.mass,h=c.velocity,m=c.duration,v=c.isResolvedFromDuration,g=kh,b=kh;function y(){var e=h?-h/1e3:0,r=o-t,n=f/(2*Math.sqrt(d*p)),a=Math.sqrt(d/p)/1e3;if(null!=s||(s=Math.abs(o-t)<=1?.01:.4),n<1){var i=bh(a,n);g=function(t){var s=Math.exp(-n*a*t);return o-s*((e+n*a*r)/i*Math.sin(i*t)+r*Math.cos(i*t))},b=function(t){var o=Math.exp(-n*a*t);return n*a*o*(Math.sin(i*t)*(e+n*a*r)/i+r*Math.cos(i*t))-o*(Math.cos(i*t)*(e+n*a*r)-i*r*Math.sin(i*t))}}else if(1===n)g=function(t){return o-Math.exp(-a*t)*(r+(e+a*r)*t)};else{var l=a*Math.sqrt(n*n-1);g=function(t){var i=Math.exp(-n*a*t),s=Math.min(l*t,300);return o-i*((e+n*a*r)*Math.sinh(s)+l*r*Math.cosh(s))/l}}}return y(),{next:function(e){var r=g(e);if(v)u.done=e>=m;else{var t=1e3*b(e),n=Math.abs(t)<=i,a=Math.abs(o-r)<=s;u.done=n&&a}return u.value=u.done?o:r,u},flipTarget:function(){var e;h=-h,t=(e=[o,t])[0],o=e[1],y()}}}Sh.needsInterpolation=function(e,r){return"string"==typeof e||"string"==typeof r};var kh=function(e){return 0},Oh=function(e,r,t){var n=r-e;return 0===n?1:(t-e)/n},_h=function(e,r,t){return-t*e+t*r+e},Eh=function(e,r,t){var n=e*e,o=r*r;return Math.sqrt(Math.max(0,t*(o-n)+n))},Ah=[rp,ep,Zf],Ch=function(e){return Ah.find((function(r){return r.test(e)}))},Ph=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},jh=function(e,r){var t=Ch(e),n=Ch(r);$d(!!t,Ph(e)),$d(!!n,Ph(r)),$d(t.transform===n.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var o=t.parse(e),a=n.parse(r),i=Nd({},o),s=t===Zf?_h:Eh;return function(e){for(var r in i)"alpha"!==r&&(i[r]=s(o[r],a[r],e));return i.alpha=_h(o.alpha,a.alpha,e),t.transform(i)}},Th=function(e){return"number"==typeof e},Rh=function(e,r){return function(t){return r(e(t))}},zh=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.reduce(Rh)};function Bh(e,r){return Th(e)?function(t){return _h(e,r,t)}:tp.test(e)?jh(e,r):Ih(e,r)}var Dh=function(e,r){var t=Ld([],e),n=t.length,o=e.map((function(e,t){return Bh(e,r[t])}));return function(e){for(var r=0;r<n;r++)t[r]=o[r](e);return t}},Fh=function(e,r){var t=Nd(Nd({},e),r),n={};for(var o in t)void 0!==e[o]&&void 0!==r[o]&&(n[o]=Bh(e[o],r[o]));return function(e){for(var r in n)t[r]=n[r](e);return t}};function Nh(e){for(var r=sp.parse(e),t=r.length,n=0,o=0,a=0,i=0;i<t;i++)n||"number"==typeof r[i]?n++:void 0!==r[i].hue?a++:o++;return{parsed:r,numNumbers:n,numRGB:o,numHSL:a}}var Ih=function(e,r){var t=sp.createTransformer(r),n=Nh(e),o=Nh(r);return $d(n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers,"Complex values '"+e+"' and '"+r+"' too different to mix. Ensure all colors are of the same type."),zh(Dh(n.parsed,o.parsed),t)},Mh=function(e,r){return function(t){return _h(e,r,t)}};function Lh(e,r,t){for(var n=[],o=t||function(e){return"number"==typeof e?Mh:"string"==typeof e?tp.test(e)?jh:Ih:Array.isArray(e)?Dh:"object"==typeof e?Fh:void 0}(e[0]),a=e.length-1,i=0;i<a;i++){var s=o(e[i],e[i+1]);if(r){var l=Array.isArray(r)?r[i]:r;s=zh(l,s)}n.push(s)}return n}function Wh(e,r,t){var n=void 0===t?{}:t,o=n.clamp,a=void 0===o||o,i=n.ease,s=n.mixer,l=e.length;$d(l===r.length,"Both input and output ranges must be the same length"),$d(!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),r=[].concat(r),e.reverse(),r.reverse());var u=Lh(r,i,s),c=2===l?function(e,r){var t=e[0],n=e[1],o=r[0];return function(e){return o(Oh(t,n,e))}}(e,u):function(e,r){var t=e.length,n=t-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<t&&!(e[s]>o||s===n);s++);a=s-1}var l=Oh(e[a],e[a+1],o);return r[a](l)}}(e,u);return a?function(r){return c(vh(e[0],e[l-1],r))}:c}var Hh,Vh=function(e){return function(r){return 1-e(1-r)}},$h=function(e){return function(r){return r<=.5?e(2*r)/2:(2-e(2*(1-r)))/2}},Uh=function(e){return function(r){return r*r*((e+1)*r-e)}},qh=function(e){return e},Yh=(Hh=2,function(e){return Math.pow(e,Hh)}),Xh=Vh(Yh),Gh=$h(Yh),Kh=function(e){return 1-Math.sin(Math.acos(e))},Zh=Vh(Kh),Qh=$h(Zh),Jh=Uh(1.525),em=Vh(Jh),rm=$h(Jh),tm=function(e){var r=Uh(e);return function(e){return(e*=2)<1?.5*r(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),nm=function(e){if(1===e||0===e)return e;var r=e*e;return e<.36363636363636365?7.5625*r:e<.7272727272727273?9.075*r-9.9*e+3.4:e<.9?12.066481994459833*r-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},om=Vh(nm);function am(e,r){return e.map((function(){return r||Gh})).splice(0,e.length-1)}function im(e){var r=e.from,t=void 0===r?0:r,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:t},c=Array.isArray(o)?o:[t,o],d=function(e,r){return e.map((function(e){return e*r}))}(i&&i.length===c.length?i:function(e){var r=e.length;return e.map((function(e,t){return 0!==t?t/(r-1):0}))}(c),l);function f(){return Wh(d,c,{ease:Array.isArray(a)?a:am(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 sm={keyframes:im,spring:Sh,decay:function(e){var r=e.velocity,t=void 0===r?0:r,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*t,h=o+p,m=void 0===d?h:d(h);return m!==h&&(p=m-o),{next:function(e){var r=-p*Math.exp(-e/l);return f.done=!(r>c||r<-c),f.value=f.done?m:m+r,f},flipTarget:function(){}}}};function lm(e,r,t){return void 0===t&&(t=0),e-r-t}var um=function(e){var r=function(r){var t=r.delta;return e(t)};return{start:function(){return Kt.update(r,!0)},stop:function(){return Zt.update(r)}}};function cm(e){var r,t,n,o,a,i=e.from,s=e.autoplay,l=void 0===s||s,u=e.driver,c=void 0===u?um: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,O=Id(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),_=O.to,E=0,A=O.duration,C=!1,P=!0,j=function(e){if(Array.isArray(e.to))return im;if(sm[e.type])return sm[e.type];var r=new Set(Object.keys(e));return r.has("ease")||r.has("duration")&&!r.has("dampingRatio")?im:r.has("dampingRatio")||r.has("stiffness")||r.has("mass")||r.has("damping")||r.has("restSpeed")||r.has("restDelta")?Sh:im}(O);(null===(t=(r=j).needsInterpolation)||void 0===t?void 0:t.call(r,i,_))&&(a=Wh([0,100],[i,_],{clamp:!1}),i=0,_=100);var T=j(Nd(Nd({},O),{from:i,to:_}));function R(){E++,"reverse"===v?f=function(e,r,t,n){return void 0===t&&(t=0),void 0===n&&(n=!0),n?lm(r+-e,r,t):r-(e-r)+t}(f,A,b,P=E%2==0):(f=lm(f,A,b),"mirror"===v&&T.flipTarget()),C=!1,S&&S()}function z(e){if(P||(e=-e),f+=e,!C){var r=T.next(Math.max(0,f));o=r.value,a&&(o=a(o)),C=P?r.done:f<=0}null==k||k(o),C&&(0===E&&(null!=A||(A=f)),E<h?function(e,r,t,n){return n?e>=r+t:e<=-t}(f,A,b,P)&&R():(n.stop(),w&&w()))}return l&&(null==y||y(),(n=c(z)).start()),{stop:function(){null==x||x(),n.stop()}}}function dm(e,r){return r?e*(1e3/r):0}var fm=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},pm=function(e){return fm(e)&&e.hasOwnProperty("z")},hm=function(e,r){return Math.abs(e-r)};function mm(e,r){if(Th(e)&&Th(r))return hm(e,r);if(fm(e)&&fm(r)){var t=hm(e.x,r.x),n=hm(e.y,r.y),o=pm(e)&&pm(r)?hm(e.z,r.z):0;return Math.sqrt(Math.pow(t,2)+Math.pow(n,2)+Math.pow(o,2))}}var vm=function(e,r){return 1-3*r+3*e},gm=function(e,r){return 3*r-6*e},bm=function(e){return 3*e},ym=function(e,r,t){return((vm(r,t)*e+gm(r,t))*e+bm(r))*e},xm=function(e,r,t){return 3*vm(r,t)*e*e+2*gm(r,t)*e+bm(r)};function wm(e,r,t,n){if(e===r&&t===n)return qh;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=ym(.1*a,e,t);function i(r){for(var n=0,a=1;10!==a&&o[a]<=r;++a)n+=.1;--a;var i=n+.1*((r-o[a])/(o[a+1]-o[a])),s=xm(i,e,t);return s>=.001?function(e,r,t,n){for(var o=0;o<8;++o){var a=xm(r,t,n);if(0===a)return r;r-=(ym(r,t,n)-e)/a}return r}(r,i,e,t):0===s?i:function(e,r,t,n,o){var a,i,s=0;do{(a=ym(i=r+(t-r)/2,n,o)-e)>0?t=i:r=i}while(Math.abs(a)>1e-7&&++s<10);return i}(r,n,n+.1,e,t)}return function(e){return 0===e||1===e?e:ym(i(e),r,n)}}var Sm=function(e){return function(r){return e(r),null}},km={tap:Sm((function(e){var r=e.onTap,t=e.onTapStart,n=e.onTapCancel,o=e.whileTap,a=e.visualElement,s=r||t||n||o,l=i(!1),u=i(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=a.animationState)||void 0===e||e.setActive(qp.Tap,!1),!fh()}function f(e,t){d()&&(hh(a.getInstance(),e.target)?null==r||r(e,t):null==n||n(e,t))}function p(e,r){d()&&(null==n||n(e,r))}sh(a,"pointerdown",s?function(e,r){var n;c(),l.current||(l.current=!0,u.current=zh(ih(window,"pointerup",f),ih(window,"pointercancel",p)),null==t||t(e,r),null===(n=a.animationState)||void 0===n||n.setActive(qp.Tap,!0))}:void 0),mh(c)})),focus:Sm((function(e){var r=e.whileFocus,t=e.visualElement;Gp(t,"focus",r?function(){var e;null===(e=t.animationState)||void 0===e||e.setActive(qp.Focus,!0)}:void 0),Gp(t,"blur",r?function(){var e;null===(e=t.animationState)||void 0===e||e.setActive(qp.Focus,!1)}:void 0)})),hover:Sm((function(e){var r=e.onHoverStart,t=e.onHoverEnd,n=e.whileHover,o=e.visualElement;sh(o,"pointerenter",r||n?ph(o,!0,r):void 0),sh(o,"pointerleave",t||n?ph(o,!1,t):void 0)}))};function Om(e,r){if(!Array.isArray(r))return!1;var t=r.length;if(t!==e.length)return!1;for(var n=0;n<t;n++)if(r[n]!==e[n])return!1;return!0}var _m=function(e){return 1e3*e},Em={linear:qh,easeIn:Yh,easeInOut:Gh,easeOut:Xh,circIn:Kh,circInOut:Qh,circOut:Zh,backIn:Jh,backInOut:rm,backOut:em,anticipate:tm,bounceIn:om,bounceInOut:function(e){return e<.5?.5*(1-nm(1-2*e)):.5*nm(2*e-1)+.5},bounceOut:nm},Am=function(e){if(Array.isArray(e)){$d(4===e.length,"Cubic bezier arrays must contain four numerical values.");var r=Md(e,4);return wm(r[0],r[1],r[2],r[3])}return"string"==typeof e?($d(void 0!==Em[e],"Invalid easing type '"+e+"'"),Em[e]):e},Cm=function(e,r){return"zIndex"!==e&&(!("number"!=typeof r&&!Array.isArray(r))||!("string"!=typeof r||!sp.test(r)||r.startsWith("url(")))},Pm=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},jm=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Tm=function(){return{type:"keyframes",ease:"linear",duration:.3}},Rm=function(e){return{type:"keyframes",duration:.8,values:e}},zm={x:Pm,y:Pm,z:Pm,rotate:Pm,rotateX:Pm,rotateY:Pm,rotateZ:Pm,scaleX:jm,scaleY:jm,scale:jm,opacity:Tm,backgroundColor:Tm,color:Tm,default:jm},Bm=Nd(Nd({},pp),{color:tp,backgroundColor:tp,outlineColor:tp,fill:tp,stroke:tp,borderColor:tp,borderTopColor:tp,borderRightColor:tp,borderBottomColor:tp,borderLeftColor:tp,filter:dp,WebkitFilter:dp}),Dm=function(e){return Bm[e]};function Fm(e,r){var t,n=Dm(e);return n!==dp&&(n=sp),null===(t=n.getAnimatableNone)||void 0===t?void 0:t.call(n,r)}var Nm=!1;function Im(e){var r=e.ease,t=e.times,n=e.yoyo,o=e.flip,a=e.loop,i=Id(e,["ease","times","yoyo","flip","loop"]),s=Nd({},i);return t&&(s.offset=t),i.duration&&(s.duration=_m(i.duration)),i.repeatDelay&&(s.repeatDelay=_m(i.repeatDelay)),r&&(s.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(r)?r.map(Am):Am(r)),"tween"===i.type&&(s.type="keyframes"),(n||a||o)&&(Vd(!Nm,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Nm=!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 Mm(e,r,t){var n,o,a,i;return Array.isArray(r.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Ld([],Md(e.to)),e.to[0]=e.from)}(r),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var r=Id(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(r).length}(e)||(e=Nd(Nd({},e),(o=t,a=r.to,i=Mp(a)?Rm:zm[o]||zm.default,Nd({to:a},i(a))))),Nd(Nd({},r),Im(e))}function Lm(e,r,t,n,o){var a,i=Vm(n,e),s=null!==(a=i.from)&&void 0!==a?a:r.get(),l=Cm(e,t);"none"===s&&l&&"string"==typeof t?s=Fm(e,t):Wm(s)&&"string"==typeof t?s=Hm(t):!Array.isArray(t)&&Wm(t)&&"string"==typeof s&&(t=Hm(s));var u=Cm(e,s);return Vd(u===l,"You are trying to animate "+e+' from "'+s+'" to "'+t+'". '+s+" is not an animatable value - to enable this animation set "+s+" to a value animatable to "+t+" via the `style` property."),u&&l&&!1!==i.type?function(){var n={from:s,to:t,velocity:r.getVelocity(),onComplete:o,onUpdate:function(e){return r.set(e)}};return"inertia"===i.type||"decay"===i.type?function(e){var r,t=e.from,n=void 0===t?0:t,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 O(e){null==r||r.stop(),r=cm(Nd(Nd({},e),{driver:y,onUpdate:function(r){var t;null==x||x(r),null===(t=e.onUpdate)||void 0===t||t.call(e,r)},onComplete:w}))}function _(e){O(Nd({type:"spring",stiffness:p,damping:m,restDelta:g},e))}if(S(n))_({from:n,velocity:a,to:k(n)});else{var E=u*a+n;void 0!==b&&(E=b(E));var A,C,P=k(E),j=P===i?-1:1;O({type:"decay",from:n,velocity:a,timeConstant:d,power:u,restDelta:g,modifyTarget:b,onUpdate:S(E)?function(e){A=C,C=e,a=dm(e-A,tn().delta),(1===j&&e>P||-1===j&&e<P)&&_({from:e,to:P,velocity:a})}:void 0})}return{stop:function(){return null==r?void 0:r.stop()}}}(Nd(Nd({},n),i)):cm(Nd(Nd({},Mm(i,n,e)),{onUpdate:function(e){var r;n.onUpdate(e),null===(r=i.onUpdate)||void 0===r||r.call(i,e)},onComplete:function(){var e;n.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e;return r.set(t),o(),null===(e=null==i?void 0:i.onComplete)||void 0===e||e.call(i),{stop:function(){}}}}function Wm(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Hm(e){return"number"==typeof e?0:Fm("",e)}function Vm(e,r){return e[r]||e.default||e}function $m(e,r,t,n){return void 0===n&&(n={}),r.start((function(o){var a,i,s=Lm(e,r,t,n,o),l=function(e,r){var t;return null!==(t=(Vm(e,r)||{}).delay)&&void 0!==t?t:0}(n,e),u=function(){return i=s()};return l?a=setTimeout(u,_m(l)):u(),function(){clearTimeout(a),null==i||i.stop()}}))}var Um=function(e){return/^\-?\d*\.?\d+$/.test(e)};function qm(e,r){-1===e.indexOf(r)&&e.push(r)}function Ym(e,r){var t=e.indexOf(r);t>-1&&e.splice(t,1)}var Xm=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var r=this;return qm(this.subscriptions,e),function(){return Ym(r.subscriptions,e)}},e.prototype.notify=function(e,r,t){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,r,t);else for(var o=0;o<n;o++){var a=this.subscriptions[o];a&&a(e,r,t)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Gm=function(){function e(e){var r,t=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Xm,this.velocityUpdateSubscribers=new Xm,this.renderSubscribers=new Xm,this.canTrackVelocity=!1,this.updateAndNotify=function(e,r){void 0===r&&(r=!0),t.prev=t.current,t.current=e;var n=tn(),o=n.delta,a=n.timestamp;t.lastUpdated!==a&&(t.timeDelta=o,t.lastUpdated=a,Kt.postRender(t.scheduleVelocityCheck)),t.prev!==t.current&&t.updateSubscribers.notify(t.current),t.velocityUpdateSubscribers.getSize()&&t.velocityUpdateSubscribers.notify(t.getVelocity()),r&&t.renderSubscribers.notify(t.current)},this.scheduleVelocityCheck=function(){return Kt.postRender(t.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==t.lastUpdated&&(t.prev=t.current,t.velocityUpdateSubscribers.notify(t.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(r=this.current,!isNaN(parseFloat(r)))}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,r){void 0===r&&(r=!0),r&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,r)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?dm(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var r=this;return this.stop(),new Promise((function(t){r.hasAnimated=!0,r.stopAnimation=e(t)})).then((function(){return r.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 Km(e){return new Gm(e)}var Zm=function(e){return function(r){return r.test(e)}},Qm=[Mf,Uf,$f,Vf,Yf,qf,{test:function(e){return"auto"===e},parse:function(e){return e}}],Jm=function(e){return Qm.find(Zm(e))},ev=Ld(Ld([],Md(Qm)),[tp,sp]),rv=function(e){return ev.find(Zm(e))};function tv(e,r,t){e.hasValue(r)?e.getValue(r).set(t):e.addValue(r,Km(t))}function nv(e,r){if(r)return(r[e]||r.default||r).from}function ov(e,r,t){var n;void 0===t&&(t={});var o=df(e,r,t.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;t.transitionOverride&&(i=t.transitionOverride);var s=o?function(){return av(e,o,t)}: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,r,t,n,o,a){void 0===t&&(t=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(iv).forEach((function(e,n){i.push(ov(e,r,Nd(Nd({},a),{delay:t+l(n)})).then((function(){return e.notifyAnimationComplete(r)})))})),Promise.all(i)}(e,r,a+n,s,l,t)}:function(){return Promise.resolve()},u=i.when;if(u){var c=Md("beforeChildren"===u?[s,l]:[l,s],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([s(),l(t.delay)])}function av(e,r,t){var n,o=void 0===t?{}:t,a=o.delay,i=void 0===a?0:a,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(r),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=Id(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&&sv(m,v))){var y=$m(v,g,b,Nd({delay:i},d));h.push(y)}}return Promise.all(h).then((function(){f&&function(e,r){var t=df(e,r),n=t?e.makeTargetAnimatable(t,!1):{},o=n.transitionEnd,a=void 0===o?{}:o;n.transition;var i=Id(n,["transitionEnd","transition"]);for(var s in i=Nd(Nd({},i),a))tv(e,s,Lp(i[s]))}(e,f)}))}function iv(e,r){return e.sortNodePosition(r)}function sv(e,r){var t=e.protectedKeys,n=e.needsAnimating,o=t.hasOwnProperty(r)&&!0!==n[r];return n[r]=!1,o}var lv=[qp.Animate,qp.Hover,qp.Tap,qp.Drag,qp.Focus,qp.Exit],uv=Ld([],Md(lv)).reverse(),cv=lv.length;function dv(e){return function(r){return Promise.all(r.map((function(r){var t=r.animation,n=r.options;return function(e,r,t){var n;if(void 0===t&&(t={}),e.notifyAnimationStart(),Array.isArray(r)){var o=r.map((function(r){return ov(e,r,t)}));n=Promise.all(o)}else if("string"==typeof r)n=ov(e,r,t);else{var a="function"==typeof r?df(e,r,t.custom):r;n=av(e,a,t)}return n.then((function(){return e.notifyAnimationComplete(r)}))}(e,t,n)})))}}function fv(e){var r,t=dv(e),n=((r={})[qp.Animate]=pv(!0),r[qp.Hover]=pv(),r[qp.Tap]=pv(),r[qp.Drag]=pv(),r[qp.Focus]=pv(),r[qp.Exit]=pv(),r),o={},a=!0,i=function(r,t){var n=df(e,t);if(n){n.transition;var o=n.transitionEnd,a=Id(n,["transition","transitionEnd"]);r=Nd(Nd(Nd({},r),a),o)}return r};function s(r,s){for(var l,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set,p={},h=1/0,m=function(t){var o=uv[t],m=n[o],v=null!==(l=u[o])&&void 0!==l?l:c[o],g=uf(v),b=o===s?m.isActive:null;!1===b&&(h=t);var y=v===c[o]&&v!==u[o]&&g;if(y&&a&&e.manuallyAnimateOnMount&&(y=!1),m.protectedKeys=Nd({},p),!m.isActive&&null===b||!v&&!m.prevProp||Ip(v)||"boolean"==typeof v)return"continue";var x=function(e,r){if("string"==typeof r)return r!==e;if(lf(r))return!Om(r,e);return!1}(m.prevProp,v)||o===s&&m.isActive&&!y&&g||t>h&&g,w=Array.isArray(v)?v:[v],S=w.reduce(i,{});!1===b&&(S={});var k=m.prevResolvedValues,O=void 0===k?{}:k,_=Nd(Nd({},O),S),E=function(e){x=!0,f.delete(e),m.needsAnimating[e]=!0};for(var A in _){var C=S[A],P=O[A];p.hasOwnProperty(A)||(C!==P?Mp(C)&&Mp(P)?Om(C,P)?m.protectedKeys[A]=!0:E(A):void 0!==C?E(A):f.add(A):void 0!==C&&f.has(A)?E(A):m.protectedKeys[A]=!0)}m.prevProp=v,m.prevResolvedValues=S,m.isActive&&(p=Nd(Nd({},p),S)),a&&e.blockInitialAnimation&&(x=!1),x&&!y&&d.push.apply(d,Ld([],Md(w.map((function(e){return{animation:e,options:Nd({type:o},r)}})))))},v=0;v<cv;v++)m(v);if(o=Nd({},p),f.size){var g={};f.forEach((function(r){var t=e.getBaseTarget(r);void 0!==t&&(g[r]=t)})),d.push({animation:g})}var b=Boolean(d.length);return a&&!1===u.initial&&!e.manuallyAnimateOnMount&&(b=!1),a=!1,b?t(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:s,setActive:function(r,t,o){var a;return n[r].isActive===t?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(r,t)})),n[r].isActive=t,s(o,r))},setAnimateFunction:function(r){t=r(e)},getState:function(){return n}}}function pv(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var hv={animation:Sm((function(e){var r=e.visualElement,t=e.animate;r.animationState||(r.animationState=fv(r)),Ip(t)&&f((function(){return t.subscribe(r)}),[t])})),exit:Sm((function(e){var r=e.custom,n=e.visualElement,o=Md(Qd(),2),a=o[0],i=o[1],s=t(Kd);f((function(){var e,t,o=null===(e=n.animationState)||void 0===e?void 0:e.setActive(qp.Exit,!a,{custom:null!==(t=null==s?void 0:s.custom)&&void 0!==t?t:r});!a&&(null==o||o.then(i))}),[a])}))},mv=function(){function e(e,r,t){var n=this,o=(void 0===t?{}:t).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=bv(n.lastMoveEventInfo,n.history),r=null!==n.startEvent,t=mm(e.offset,{x:0,y:0})>=3;if(r||t){var o=e.point,a=tn().timestamp;n.history.push(Nd(Nd({},o),{timestamp:a}));var i=n.handlers,s=i.onStart,l=i.onMove;r||(s&&s(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),l&&l(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,r){n.lastMoveEvent=e,n.lastMoveEventInfo=vv(r,n.transformPagePoint),Kp(e)&&0===e.buttons?n.handlePointerUp(e,r):Kt.update(n.updatePoint,!0)},this.handlePointerUp=function(e,r){n.end();var t=n.handlers,o=t.onEnd,a=t.onSessionEnd,i=bv(vv(r,n.transformPagePoint),n.history);n.startEvent&&o&&o(e,i),a&&a(e,i)},!(Zp(e)&&e.touches.length>1)){this.handlers=r,this.transformPagePoint=o;var a=vv(rh(e),this.transformPagePoint),i=a.point,s=tn().timestamp;this.history=[Nd(Nd({},i),{timestamp:s})];var l=r.onSessionStart;l&&l(e,bv(a,this.history)),this.removeListeners=zh(ih(window,"pointermove",this.handlePointerMove),ih(window,"pointerup",this.handlePointerUp),ih(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Zt.update(this.updatePoint)},e}();function vv(e,r){return r?{point:r(e.point)}:e}function gv(e,r){return{x:e.x-r.x,y:e.y-r.y}}function bv(e,r){var t=e.point;return{point:t,delta:gv(t,xv(r)),offset:gv(t,yv(r)),velocity:wv(r,.1)}}function yv(e){return e[0]}function xv(e){return e[e.length-1]}function wv(e,r){if(e.length<2)return{x:0,y:0};for(var t=e.length-1,n=null,o=xv(e);t>=0&&(n=e[t],!(o.timestamp-n.timestamp>_m(r)));)t--;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 Sv(e){return e}function kv(e){var r=e.top;return{x:{min:e.left,max:e.right},y:{min:r,max:e.bottom}}}var Ov={translate:0,scale:1,origin:0,originPoint:0};function _v(){return{x:Nd({},Ov),y:Nd({},Ov)}}function Ev(e){return[e("x"),e("y")]}function Av(e,r,t){var n=r.min,o=r.max;return void 0!==n&&e<n?e=t?_h(n,e,t.min):Math.max(e,n):void 0!==o&&e>o&&(e=t?_h(o,e,t.max):Math.min(e,o)),e}function Cv(e,r,t){return{min:void 0!==r?e.min+r:void 0,max:void 0!==t?e.max+t-(e.max-e.min):void 0}}function Pv(e,r){var t,n=r.min-e.min,o=r.max-e.max;return r.max-r.min<e.max-e.min&&(n=(t=Md([o,n],2))[0],o=t[1]),{min:e.min+n,max:e.min+o}}function jv(e,r,t){return{min:Tv(e,r),max:Tv(e,t)}}function Tv(e,r){var t;return"number"==typeof e?e:null!==(t=e[r])&&void 0!==t?t:0}function Rv(e,r){return kv(function(e,r){var t=e.top,n=e.left,o=e.bottom,a=e.right;void 0===r&&(r=Sv);var i=r({x:n,y:t}),s=r({x:a,y:o});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),r))}function zv(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=.01),mm(e,r)<t}function Bv(e){return e.max-e.min}function Dv(e,r){var t=.5,n=Bv(e),o=Bv(r);return o>n?t=Oh(r.min,r.max-n,e.min):n>o&&(t=Oh(e.min,e.max-o,r.min)),function(e){return vh(0,1,e)}(t)}function Fv(e,r,t,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=_h(r.min,r.max,e.origin),e.scale=Bv(t)/Bv(r),zv(e.scale,1,1e-4)&&(e.scale=1),e.translate=_h(t.min,t.max,e.origin)-e.originPoint,zv(e.translate)&&(e.translate=0)}function Nv(e,r,t,n){Fv(e.x,r.x,t.x,Iv(n.originX)),Fv(e.y,r.y,t.y,Iv(n.originY))}function Iv(e){return"number"==typeof e?e:.5}function Mv(e,r,t){e.min=t.min+r.min,e.max=e.min+Bv(r)}var Lv=function(e,r){return e.depth-r.depth};function Wv(e){return e.projection.isEnabled||e.shouldResetTransform()}function Hv(e,r){void 0===r&&(r=[]);var t=e.parent;return t&&Hv(t,r),Wv(e)&&r.push(e),r}function Vv(e){if(!e.shouldResetTransform()){var r,t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=(r=t.layout,{x:Nd({},r.x),y:Nd({},r.y)}),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),Kt.update((function(){return e.rebaseProjectionTarget()}))}}function $v(e,r){return{min:r.min-e.min,max:r.max-e.min}}function Uv(e,r){return{x:$v(e.x,r.x),y:$v(e.y,r.y)}}function qv(e,r){var t=e.getLayoutId(),n=r.getLayoutId();return t!==n||void 0===n&&e!==r}function Yv(e){var r=e.getProps(),t=r.drag,n=r._dragX;return t&&!n}function Xv(e,r){e.min=r.min,e.max=r.max}function Gv(e,r,t){return t+r*(e-t)}function Kv(e,r,t,n,o){return void 0!==o&&(e=Gv(e,o,n)),Gv(e,t,n)+r}function Zv(e,r,t,n,o){void 0===r&&(r=0),void 0===t&&(t=1),e.min=Kv(e.min,r,t,n,o),e.max=Kv(e.max,r,t,n,o)}function Qv(e,r){var t=r.x,n=r.y;Zv(e.x,t.translate,t.scale,t.originPoint),Zv(e.y,n.translate,n.scale,n.originPoint)}function Jv(e,r,t,n){var o=Md(n,3),a=o[0],i=o[1],s=o[2];e.min=r.min,e.max=r.max;var l=void 0!==t[s]?t[s]:.5,u=_h(r.min,r.max,l);Zv(e,t[a],t[i],u,t.scale)}var eg=["x","scaleX","originX"],rg=["y","scaleY","originY"];function tg(e,r,t){Jv(e.x,r.x,t,eg),Jv(e.y,r.y,t,rg)}function ng(e,r,t,n,o){return e=Gv(e-=r,1/t,n),void 0!==o&&(e=Gv(e,1/o,n)),e}function og(e,r,t){var n=Md(t,3),o=n[0],a=n[1],i=n[2];!function(e,r,t,n,o){void 0===r&&(r=0),void 0===t&&(t=1),void 0===n&&(n=.5);var a=_h(e.min,e.max,n)-r;e.min=ng(e.min,r,t,a,o),e.max=ng(e.max,r,t,a,o)}(e,r[o],r[a],r[i],r.scale)}function ag(e,r){og(e.x,r,eg),og(e.y,r,rg)}var ig=new Set;function sg(e,r,t){e[t]||(e[t]=[]),e[t].push(r)}function lg(e){return ig.add(e),function(){return ig.delete(e)}}function ug(){if(ig.size){var e=0,r=[[]],t=[],n=function(t){return sg(r,t,e)},o=function(r){sg(t,r,e),e++};ig.forEach((function(r){r(n,o),e=0})),ig.clear();for(var a=t.length,i=0;i<=a;i++)r[i]&&r[i].forEach(dg),t[i]&&t[i].forEach(dg)}}var cg,dg=function(e){return e()},fg=new WeakMap,pg=function(){function e(e){var r=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=r,this.visualElement.enableLayoutProjection(),fg.set(r,this)}return e.prototype.start=function(e,r){var t=this,n=void 0===r?{}:r,o=n.snapToCursor,a=void 0!==o&&o,i=n.cursorProgress,s=this.props.transformPagePoint;this.panSession=new mv(e,{onSessionStart:function(e){var r;t.stopMotion();var n=function(e){return rh(e,"client")}(e).point;null===(r=t.cancelLayout)||void 0===r||r.call(t),t.cancelLayout=lg((function(e,r){var o=Hv(t.visualElement),s=function(e){var r=[],t=function(e){Wv(e)&&r.push(e),e.children.forEach(t)};return e.children.forEach(t),r.sort(Lv)}(t.visualElement),l=Ld(Ld([],Md(o)),Md(s)),u=!1;t.isLayoutDrag()&&t.visualElement.lockProjectionTarget(),r((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){Vv(t.visualElement),s.forEach(Vv)})),r((function(){l.forEach((function(e){return e.restoreTransform()})),a&&(u=t.snapToCursor(n))})),e((function(){Boolean(t.getAxisMotionValue("x")&&!t.isExternalDrag())||t.visualElement.rebaseProjectionTarget(!0,t.visualElement.measureViewportBox(!1)),t.visualElement.scheduleUpdateLayoutProjection();var e=t.visualElement.projection;Ev((function(r){if(!u){var o=e.target[r],a=o.min,s=o.max;t.cursorProgress[r]=i?i[r]:Oh(a,s,n[r])}var l=t.getAxisMotionValue(r);l&&(t.originPoint[r]=l.get())}))})),r((function(){Qt.update(),Qt.preRender(),Qt.render(),Qt.postRender()})),e((function(){return t.resolveDragConstraints()}))}))},onStart:function(e,r){var n,o,a,i=t.props,s=i.drag,l=i.dragPropagation;(!s||l||(t.openGlobalLock&&t.openGlobalLock(),t.openGlobalLock=dh(s),t.openGlobalLock))&&(ug(),t.isDragging=!0,t.currentDirection=null,null===(o=(n=t.props).onDragStart)||void 0===o||o.call(n,e,r),null===(a=t.visualElement.animationState)||void 0===a||a.setActive(qp.Drag,!0))},onMove:function(e,r){var n,o,a,i,s=t.props,l=s.dragPropagation,u=s.dragDirectionLock;if(l||t.openGlobalLock){var c=r.offset;if(u&&null===t.currentDirection)return t.currentDirection=function(e,r){void 0===r&&(r=10);var t=null;Math.abs(e.y)>r?t="y":Math.abs(e.x)>r&&(t="x");return t}(c),void(null!==t.currentDirection&&(null===(o=(n=t.props).onDirectionLock)||void 0===o||o.call(n,t.currentDirection)));t.updateAxis("x",r.point,c),t.updateAxis("y",r.point,c),null===(i=(a=t.props).onDrag)||void 0===i||i.call(a,e,r),cg=e}},onSessionEnd:function(e,r){return t.stop(e,r)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,r=this.props,t=r.dragConstraints,n=r.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!t&&(sf(t)?this.resolveRefConstraints(o,t):function(e,r){var t=r.top,n=r.left,o=r.bottom,a=r.right;return{x:Cv(e.x,n,a),y:Cv(e.y,t,o)}}(o,t)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:jv(e,"left","right"),y:jv(e,"top","bottom")}}(n),this.constraints&&!this.hasMutatedConstraints&&Ev((function(r){e.getAxisMotionValue(r)&&(e.constraints[r]=function(e,r){var t={};return void 0!==r.min&&(t.min=r.min-e.min),void 0!==r.max&&(t.max=r.max-e.min),t}(o[r],e.constraints[r]))}))},e.prototype.resolveRefConstraints=function(e,r){var t=this.props,n=t.onMeasureDragConstraints,o=t.transformPagePoint,a=r.current;$d(null!==a,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=Rv(a,o);var i=function(e,r){return{x:Pv(e.x,r.x),y:Pv(e.y,r.y)}}(e,this.constraintsBox);if(n){var s=n(function(e){var r=e.x,t=e.y;return{top:t.min,bottom:t.max,left:r.min,right:r.max}}(i));this.hasMutatedConstraints=!!s,s&&(i=kv(s))}return i},e.prototype.cancelDrag=function(){var e,r;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===(r=this.visualElement.animationState)||void 0===r||r.setActive(qp.Drag,!1)},e.prototype.stop=function(e,r){var t,n,o;null===(t=this.panSession)||void 0===t||t.end(),this.panSession=null;var a=this.isDragging;if(this.cancelDrag(),a){var i=r.velocity;this.animateDragEnd(i),null===(o=(n=this.props).onDragEnd)||void 0===o||o.call(n,e,r)}},e.prototype.snapToCursor=function(e){var r=this;return Ev((function(t){if(hg(t,r.props.drag,r.currentDirection)){var n=r.getAxisMotionValue(t);if(!n)return r.cursorProgress[t]=.5,!0;var o=r.visualElement.getLayoutState().layout,a=o[t].max-o[t].min,i=o[t].min+a/2,s=e[t]-i;r.originPoint[t]=e[t],n.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,r,t){if(hg(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,t):this.updateVisualElementAxis(e,r)},e.prototype.updateAxisMotionValue=function(e,r){var t=this.getAxisMotionValue(e);if(r&&t){var n=this.originPoint[e]+r[e],o=this.constraints?Av(n,this.constraints[e],this.elastic[e]):n;t.set(o)}},e.prototype.updateVisualElementAxis=function(e,r){var t,n=this.visualElement.getLayoutState().layout[e],o=n.max-n.min,a=this.cursorProgress[e],i=function(e,r,t,n,o){var a=e-r*t;return n?Av(a,n,o):a}(r[e],o,a,null===(t=this.constraints)||void 0===t?void 0:t[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,i,i+o)},e.prototype.setProps=function(e){var r=e.drag,t=void 0!==r&&r,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=Id(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=Nd({drag:t,dragDirectionLock:o,dragPropagation:i,dragConstraints:l,dragElastic:c,dragMomentum:f},p)},e.prototype.getAxisMotionValue=function(e){var r=this.props,t=r.layout,n=r.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:t||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,r=e._dragX,t=e._dragY;return r||t},e.prototype.animateDragEnd=function(e){var r=this,t=this.props,n=t.drag,o=t.dragMomentum,a=t.dragElastic,i=t.dragTransition,s=function(e,r){void 0===r&&(r=!0);var t,n=e.getProjectionParent();return!!n&&(r?ag(t=Uv(n.projection.target,e.projection.target),n.getLatestValues()):t=Uv(n.getLayoutState().layout,e.getLayoutState().layout),Ev((function(r){return e.setProjectionTargetAxis(r,t[r].min,t[r].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=Uv(u.projection.targetFinal,l);Ev((function(e){var r=c[e],t=r.min,n=r.max;l[e]={min:isNaN(t)?void 0:t,max:isNaN(n)?void 0:n}}))}}var d=Ev((function(t){var u;if(hg(t,n,r.currentDirection)){var c=null!==(u=null==l?void 0:l[t])&&void 0!==u?u:{},d=a?200:1e6,f=a?40:1e7,p=Nd(Nd({type:"inertia",velocity:o?e[t]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},i),c);return r.getAxisMotionValue(t)?r.startAxisValueAnimation(t,p):r.visualElement.startLayoutAnimation(t,p,s)}}));return Promise.all(d).then((function(){var e,t;null===(t=(e=r.props).onDragTransitionEnd)||void 0===t||t.call(e)}))},e.prototype.stopMotion=function(){var e=this;Ev((function(r){var t=e.getAxisMotionValue(r);t?t.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,r){var t=this.getAxisMotionValue(e);if(t){var n=t.get();return t.set(n),t.set(n),$m(e,t,0,r)}},e.prototype.scalePoint=function(){var e=this,r=this.props,t=r.drag;if(sf(r.dragConstraints)&&this.constraintsBox){this.stopMotion();var n={x:0,y:0};Ev((function(r){n[r]=Dv(e.visualElement.projection.target[r],e.constraintsBox[r])})),this.updateConstraints((function(){Ev((function(r){if(hg(r,t,null)){var o=function(e,r,t){var n=e.max-e.min,o=_h(r.min,r.max-n,t);return{min:o,max:o+n}}(e.visualElement.projection.target[r],e.constraintsBox[r],n[r]),a=o.min,i=o.max;e.visualElement.setProjectionTargetAxis(r,a,i)}}))})),setTimeout(ug,1)}},e.prototype.updateConstraints=function(e){var r=this;this.cancelLayout=lg((function(t,n){var o=Hv(r.visualElement);n((function(){return o.forEach((function(e){return e.resetTransform()}))})),t((function(){return Vv(r.visualElement)})),n((function(){return o.forEach((function(e){return e.restoreTransform()}))})),t((function(){r.resolveDragConstraints()})),e&&n(e)}))},e.prototype.mount=function(e){var r=this,t=ih(e.getInstance(),"pointerdown",(function(e){var t=r.props,n=t.drag,o=t.dragListener;n&&(void 0===o||o)&&r.start(e)})),n=Xp(window,"resize",(function(){r.scalePoint()})),o=e.onLayoutUpdate((function(){r.isDragging&&r.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(cg,{cursorProgress:a}),function(){null==t||t(),null==n||n(),null==o||o(),r.cancelDrag()}},e}();function hg(e,r,t){return!(!0!==r&&r!==e||null!==t&&t!==e)}var mg,vg,gg={pan:Sm((function(e){var r=e.onPan,n=e.onPanStart,o=e.onPanEnd,a=e.onPanSessionStart,s=e.visualElement,l=r||n||o||a,u=i(null),c=t(Xd).transformPagePoint,d={onSessionStart:a,onStart:n,onMove:r,onEnd:function(e,r){u.current=null,o&&o(e,r)}};f((function(){null!==u.current&&u.current.updateHandlers(d)})),sh(s,"pointerdown",l&&function(e){u.current=new mv(e,d,{transformPagePoint:c})}),mh((function(){return u.current&&u.current.end()}))})),drag:Sm((function(e){var r=e.dragControls,n=e.visualElement,o=t(Xd).transformPagePoint,a=Zd((function(){return new pg({visualElement:n})}));a.setProps(Nd(Nd({},e),{transformPagePoint:o})),f((function(){return r&&r.subscribe(a)}),[a]),f((function(){return a.mount(n)}),[])}))};function bg(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"}(mg||(mg={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(vg||(vg={}));var yg=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function xg(e,r,t){void 0===t&&(t=1),$d(t<=4,'Max CSS variable fallback depth detected in property "'+e+'". This may indicate a circular fallback dependency.');var n=Md(function(e){var r=yg.exec(e);if(!r)return[,];var t=Md(r,3);return[t[1],t[2]]}(e),2),o=n[0],a=n[1];if(o){var i=window.getComputedStyle(r).getPropertyValue(o);return i?i.trim():bg(a)?xg(a,r,t+1):a}}function wg(e,r){return e/(r.max-r.min)*100}var Sg={process:function(e,r,t){var n=t.target;if("string"==typeof e){if(!Uf.test(e))return e;e=parseFloat(e)}return wg(e,n.x)+"% "+wg(e,n.y)+"%"}},kg={borderRadius:Nd(Nd({},Sg),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Sg,borderTopRightRadius:Sg,borderBottomLeftRadius:Sg,borderBottomRightRadius:Sg,boxShadow:{process:function(e,r){var t=r.delta,n=r.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(yg,(function(e){return i.push(e),"_$css"})));var s=sp.parse(e);if(s.length>5)return o;var l=sp.createTransformer(e),u="number"!=typeof s[0]?1:0,c=t.x.scale*n.x,d=t.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var f=_h(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}}},Og=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},r.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},r.isAnimating={x:!1,y:!1},r.stopAxisAnimation={x:void 0,y:void 0},r.isAnimatingTree=!1,r.animate=function(e,t,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=Id(n,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=r.props,f=d.visualElement,p=d.layout;if(!1===s)return r.isAnimatingTree=!1,r.safeToRemove();if(!r.isAnimatingTree||!0===s){s&&(r.isAnimatingTree=!0),t=o||t,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&&!qv(u,m)&&u.prevViewportBox&&(v=u.prevViewportBox)),v&&jg(u,o,a)&&(h=!0,t=Uv(v,t),e=Uv(g,e))}var b=_g(t,e),y=Ev((function(n){var o,a;if("position"===p){var s=e[n].max-e[n].min;t[n].max=t[n].min+s}if(!f.projection.isTargetLocked)return void 0===i?b?r.animateAxis(n,e[n],t[n],Nd(Nd({},c),{isRelative:h})):(null===(a=(o=r.stopAxisAnimation)[n])||void 0===a||a.call(o),f.setProjectionTargetAxis(n,e[n].min,e[n].max,h)):void f.setVisibility(i===vg.Show)}));return f.syncRender(),Promise.all(y).then((function(){r.isAnimatingTree=!1,l&&l(),f.notifyLayoutAnimationComplete()}))}},r}return Fd(r,e),r.prototype.componentDidMount=function(){var e=this,r=this.props.visualElement;r.animateMotionValue=$m,r.enableLayoutProjection(),this.unsubLayoutReady=r.onLayoutUpdate(this.animate),r.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var r in e)xf[r]=e[r]}(kg)},r.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Ev((function(r){var t,n;return null===(n=(t=e.stopAxisAnimation)[r])||void 0===n?void 0:n.call(t)}))},r.prototype.animateAxis=function(e,r,t,n){var o,a,i=this,s=void 0===n?{}:n,l=s.transition,u=s.isRelative;if(!this.isAnimating[e]||!Cg(r,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,r,t,n){e.min=_h(r.min,t.min,n),e.max=_h(r.max,t.max,n)}(d,t,r,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]=r;var m=l||c.getDefaultTransition()||Pg;return $m("x"===e?"layoutX":"layoutY",f,1e3,m&&Vm(m,"layout")).then(this.stopAxisAnimation[e])}},r.prototype.safeToRemove=function(){var e,r;null===(r=(e=this.props).safeToRemove)||void 0===r||r.call(e)},r.prototype.render=function(){return null},r}(m);function _g(e,r){return!(Ag(e)||Ag(r)||Cg(e.x,r.x)&&Cg(e.y,r.y))}var Eg={min:0,max:0};function Ag(e){return Cg(e.x,Eg)&&Cg(e.y,Eg)}function Cg(e,r){return e.min===r.min&&e.max===r.max}var Pg={duration:.45,ease:[.4,0,.1,1]};function jg(e,r,t){return e||!e&&!(r||t)}var Tg={layoutReady:function(e){return e.notifyLayoutReady()}};function Rg(){var e=new Set;return{add:function(r){return e.add(r)},flush:function(r){var t=void 0===r?Tg:r,n=t.layoutReady,o=t.parent;lg((function(r,t){var a=Array.from(e).sort(Lv),i=o?Hv(o):[];t((function(){Ld(Ld([],Md(i)),Md(a)).forEach((function(e){return e.resetTransform()}))})),r((function(){a.forEach(Vv)})),t((function(){i.forEach((function(e){return e.restoreTransform()})),a.forEach(n)})),r((function(){a.forEach((function(e){e.isPresent&&(e.presence=mg.Present)}))})),t((function(){Qt.preRender(),Qt.render()})),r((function(){Kt.postRender((function(){return a.forEach(zg)})),e.clear()}))})),ug()}}}function zg(e){e.prevViewportBox=e.projection.target}var Bg=r(Rg()),Dg=r(Rg());function Fg(e){return!!e.forceUpdate}var Ng=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return Fd(r,e),r.prototype.componentDidMount=function(){var e=this.props,r=e.syncLayout,t=e.framerSyncLayout,n=e.visualElement;Fg(r)&&r.register(n),Fg(t)&&t.register(n),n.onUnmount((function(){Fg(r)&&r.remove(n),Fg(t)&&t.remove(n)}))},r.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,r=e.syncLayout,t=e.visualElement;return Fg(r)?r.syncUpdate():(!function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(t),r.add(t)),null},r.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;Fg(e)||e.flush()},r.prototype.render=function(){return null},r}(e.Component);var Ig={measureLayout:function(r){var n=t(Bg),o=t(Dg);return e.createElement(Ng,Nd({},r,{syncLayout:n,framerSyncLayout:o}))},layoutAnimation:function(e){var r=Md(Qd(),2)[1];return n(Og,Nd({},e,{safeToRemove:r}))}};function Mg(){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:_v(),deltaFinal:_v(),deltaTransform:""}}var Lg=Mg();function Wg(e,r,t){var n=e.x,o=e.y,a="translate3d("+n.translate/r.x+"px, "+o.translate/r.y+"px, 0) ";if(t){var i=t.rotate,s=t.rotateX,l=t.rotateY;i&&(a+="rotate("+i+") "),s&&(a+="rotateX("+s+") "),l&&(a+="rotateY("+l+") ")}return a+="scale("+n.scale+", "+o.scale+")",t||a!==Vg?a:""}function Hg(e){var r=e.deltaFinal;return 100*r.x.origin+"% "+100*r.y.origin+"% 0"}var Vg=Wg(Lg.delta,Lg.treeScale,{x:1,y:1}),$g=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Ug(e,r,t,n){var o,a,i=e.delta,s=e.layout,l=e.layoutCorrected,u=e.treeScale,c=r.target;a=s,Xv((o=l).x,a.x),Xv(o.y,a.y),function(e,r,t){var n=t.length;if(n){var o,a;r.x=r.y=1;for(var i=0;i<n;i++)a=(o=t[i]).getLayoutState().delta,r.x*=a.x.scale,r.y*=a.y.scale,Qv(e,a),Yv(o)&&tg(e,e,o.getLatestValues())}}(l,u,t),Nv(i,l,c,n)}var qg=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){qm(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Ym(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Lv),this.isDirty=!1,this.children.forEach(e)},e}();var Yg=function(e){var r=e.treeType,t=void 0===r?"":r,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,r){var h=e.parent,m=e.props,v=e.presenceId,g=e.blockInitialAnimation,b=e.visualState;void 0===r&&(r={});var y,x,w,S,k,O,_=b.latestValues,E=b.renderState,A=function(){var e=$g.map((function(){return new Xm})),r={},t={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return $g.forEach((function(n){var o;null===(o=r[n])||void 0===o||o.call(r);var a="on"+n,i=e[a];i&&(r[n]=t[a](i))}))}};return e.forEach((function(e,r){t["on"+$g[r]]=function(r){return e.add(r)},t["notify"+$g[r]]=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return e.notify.apply(e,Ld([],Md(r)))}})),t}(),C={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=C,j=_,T=Mg(),R=!1,z=new Map,B=new Map,D={},F=Nd({},_);function N(){y&&(q.isProjectionReady()&&(tg(P.targetFinal,P.target,j),Nv(T.deltaFinal,T.layoutCorrected,P.targetFinal,_)),I(),s(y,E))}function I(){var e=_;if(S&&S.isActive()){var t=S.getCrossfadeState(q);t&&(e=t)}n(q,E,e,P,T,r,m)}function M(){A.notifyUpdate(_)}function L(){q.layoutTree.forEach(Gg)}var W=p(m);for(var H in W){var V=W[H];void 0!==_[H]&&Pf(V)&&V.set(_[H],!1)}var $=ff(m),U=pf(m),q=Nd(Nd({treeType:t,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,path:h?Ld(Ld([],Md(h.path)),[h]):[],layoutTree:h?h.layoutTree:new qg,presenceId:v,projection:C,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&&!$&&(O=null==h?void 0:h.addVariantChild(q)),null==h||h.children.add(q)},unmount:function(){Zt.update(M),Zt.render(N),Zt.preRender(q.updateLayoutProjection),B.forEach((function(e){return e()})),q.stopLayoutAnimation(),q.layoutTree.remove(q),null==O||O(),null==h||h.children.delete(q),null==w||w(),A.clearAllListeners()},addVariantChild:function(e){var r,t=q.getClosestVariantNode();if(t)return null===(r=t.variantChildren)||void 0===r||r.add(e),function(){return t.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&t===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 Kt.preRender(q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return m.layoutId},getInstance:function(){return y},getStaticValue:function(e){return _[e]},setStaticValue:function(e,r){return _[e]=r},getLatestValues:function(){return _},setVisibility:function(e){q.isVisible!==e&&(q.isVisible=e,q.scheduleRender())},makeTargetAnimatable:function(e,r){return void 0===r&&(r=!0),a(q,e,m,r)},addValue:function(e,r){q.hasValue(e)&&q.removeValue(e),z.set(e,r),_[e]=r.get(),function(e,r){var t=r.onChange((function(r){_[e]=r,m.onUpdate&&Kt.update(M,!1,!0)})),n=r.onRenderRequest(q.scheduleRender);B.set(e,(function(){t(),n()}))}(e,r)},removeValue:function(e){var r;z.delete(e),null===(r=B.get(e))||void 0===r||r(),B.delete(e),delete _[e],d(e,E)},hasValue:function(e){return z.has(e)},getValue:function(e,r){var t=z.get(e);return void 0===t&&void 0!==r&&(t=Km(r),q.addValue(e,t)),t},forEachValue:function(e){return z.forEach(e)},readValue:function(e){var t;return null!==(t=_[e])&&void 0!==t?t:l(y,e,r)},setBaseTarget:function(e,r){F[e]=r},getBaseTarget:function(e){if(o){var r=o(m,e);if(void 0!==r&&!Pf(r))return r}return F[e]}},A),{build:function(){return I(),E},scheduleRender:function(){Kt.render(N,!1,!0)},syncRender:N,setProps:function(e){m=e,A.updatePropListeners(e),D=function(e,r,t){var n;for(var o in r){var a=r[o],i=t[o];if(Pf(a))e.addValue(o,a);else if(Pf(i))e.addValue(o,Km(a));else if(i!==a)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(a)}else e.addValue(o,Km(null!==(n=e.getStaticValue(o))&&void 0!==n?n:a))}for(var o in t)void 0===r[o]&&e.removeValue(o);return r}(q,p(m),D)},getProps:function(){return m},getVariant:function(e){var r;return null===(r=m.variants)||void 0===r?void 0:r[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 r=(null==h?void 0:h.getVariantContext())||{};return void 0!==m.initial&&(r.initial=m.initial),r}for(var t={},n=0;n<Qg;n++){var o=Zg[n],a=m[o];(uf(a)||!1===a)&&(t[o]=a)}return t},enableLayoutProjection:function(){C.isEnabled=!0,q.layoutTree.add(q)},lockProjectionTarget:function(){C.isTargetLocked=!0},unlockProjectionTarget:function(){q.stopLayoutAnimation(),C.isTargetLocked=!1},getLayoutState:function(){return T},setCrossfader:function(e){S=e},isProjectionReady:function(){return C.isEnabled&&C.isHydrated&&T.isHydrated},startLayoutAnimation:function(e,r,t){void 0===t&&(t=!1);var n=q.getProjectionAnimationProgress()[e],o=t?C.relativeTarget[e]:C.target[e],a=o.min,i=o.max-a;return n.clearListeners(),n.set(a),n.set(a),n.onChange((function(r){q.setProjectionTargetAxis(e,r,r+i,t)})),q.animateMotionValue(e,n,0,r)},stopLayoutAnimation:function(){Ev((function(e){return q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var t=i(y,r);return e||ag(t,_),t},getProjectionAnimationProgress:function(){return k||(k={x:Km(0),y:Km(0)}),k},setProjectionTargetAxis:function(e,r,t,n){var o;void 0===n&&(n=!1),n?(C.relativeTarget||(C.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=C.relativeTarget[e]):(C.relativeTarget=void 0,o=C.target[e]),C.isHydrated=!0,o.min=r,o.max=t,R=!0,A.notifySetAxisTarget()},rebaseProjectionTarget:function(e,r){void 0===r&&(r=T.layout);var t=q.getProjectionAnimationProgress(),n=t.x,o=t.y,a=!(C.relativeTarget||C.isTargetLocked||n.isAnimating()||o.isAnimating());(e||a)&&Ev((function(e){var t=r[e],n=t.min,o=t.max;q.setProjectionTargetAxis(e,n,o)}))},notifyLayoutReady:function(e){!function(e){var r=e.getProjectionParent();if(r){var t=Uv(r.getLayoutState().layout,e.getLayoutState().layout);Ev((function(r){e.setProjectionTargetAxis(r,t[r].min,t[r].max,!0)}))}else e.rebaseProjectionTarget()}(q),q.notifyLayoutUpdate(T.layout,q.prevViewportBox||T.layout,e)},resetTransform:function(){return u(q,y,m)},restoreTransform:function(){return c(y,E)},updateLayoutProjection:function(){if(q.isProjectionReady()){var e=T.delta,r=T.treeScale,t=r.x,n=r.y,o=T.deltaTransform;Ug(T,P,q.path,_),R&&q.notifyViewportBoxUpdate(P.target,e),R=!1;var a=Wg(e,r);a===o&&t===r.x&&n===r.y||q.scheduleRender(),T.deltaTransform=a}},updateTreeLayoutProjection:function(){q.layoutTree.forEach(Xg),Kt.preRender(L,!1,!0)},getProjectionParent:function(){if(void 0===x){for(var e=!1,r=q.path.length-1;r>=0;r--){var t=q.path[r];if(t.projection.isEnabled){e=t;break}}x=e}return x},resolveRelativeTargetBox:function(){var e=q.getProjectionParent();if(C.relativeTarget&&e&&(function(e,r){Mv(e.target.x,e.relativeTarget.x,r.target.x),Mv(e.target.y,e.relativeTarget.y,r.target.y)}(C,e.projection),Yv(e))){var r=C.target;tg(r,r,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(m._layoutResetTransform)},pointTo:function(e){P=e.projection,j=e.getLatestValues(),null==w||w(),w=zh(e.onSetAxisTarget(q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;q.isPresent?q.presence=mg.Present:null===(e=q.layoutSafeToRemove)||void 0===e||e.call(q)})))},isPresent:!0,presence:mg.Entering});return q}};function Xg(e){e.resolveRelativeTargetBox()}function Gg(e){e.updateLayoutProjection()}var Kg,Zg=Ld(["initial"],Md(lv)),Qg=Zg.length,Jg=new Set(["width","height","top","left","right","bottom","x","y"]),eb=function(e){return Jg.has(e)},rb=function(e,r){e.set(r,!1),e.set(r)},tb=function(e){return e===Mf||e===Uf};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Kg||(Kg={}));var nb=function(e,r){return parseFloat(e.split(", ")[r])},ob=function(e,r){return function(t,n){var o=n.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return nb(a[1],r);var i=o.match(/^matrix\((.+)\)$/);return i?nb(i[1],e):0}},ab=new Set(["x","y","z"]),ib=Sf.filter((function(e){return!ab.has(e)}));var sb={width:function(e){var r=e.x;return r.max-r.min},height:function(e){var r=e.y;return r.max-r.min},top:function(e,r){var t=r.top;return parseFloat(t)},left:function(e,r){var t=r.left;return parseFloat(t)},bottom:function(e,r){var t=e.y,n=r.top;return parseFloat(n)+(t.max-t.min)},right:function(e,r){var t=e.x,n=r.left;return parseFloat(n)+(t.max-t.min)},x:ob(4,13),y:ob(5,14)},lb=function(e,r,t,n){void 0===t&&(t={}),void 0===n&&(n={}),r=Nd({},r),n=Nd({},n);var o=Object.keys(r).filter(eb),a=[],i=!1,s=[];if(o.forEach((function(o){var l=e.getValue(o);if(e.hasValue(o)){var u,c=t[o],d=r[o],f=Jm(c);if(Mp(d))for(var p=d.length,h=null===d[0]?1:0;h<p;h++)u?$d(Jm(d[h])===u,"All keyframes must be of the same type"):(u=Jm(d[h]),$d(u===f||tb(f)&&tb(u),"Keyframes must be of the same dimension as the current value"));else u=Jm(d);if(f!==u)if(tb(f)&&tb(u)){var m=l.get();"string"==typeof m&&l.set(parseFloat(m)),"string"==typeof d?r[o]=parseFloat(d):Array.isArray(d)&&u===Uf&&(r[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)):r[o]=f.transform(d):(i||(a=function(e){var r=[];return ib.forEach((function(t){var n=e.getValue(t);void 0!==n&&(r.push([t,n.get()]),n.set(t.startsWith("scale")?1:0))})),r.length&&e.syncRender(),r}(e),i=!0),s.push(o),n[o]=void 0!==n[o]?n[o]:r[o],rb(l,d))}})),s.length){var l=function(e,r,t){var n=r.measureViewportBox(),o=r.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&&r.setStaticValue("display",e.display||"block"),r.syncRender();var l=r.measureViewportBox();return t.forEach((function(t){var o=r.getValue(t);rb(o,sb[t](n,s)),e[t]=sb[t](l,a)})),e}(r,e,s);return a.length&&a.forEach((function(r){var t=Md(r,2),n=t[0],o=t[1];e.getValue(n).set(o)})),e.syncRender(),{target:l,transitionEnd:n}}return{target:r,transitionEnd:n}};function ub(e,r,t,n){return function(e){return Object.keys(e).some(eb)}(r)?lb(e,r,t,n):{target:r,transitionEnd:n}}var cb=function(e,r,t,n){var o=function(e,r,t){var n,o=Id(r,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:t};for(var i in t&&(t=Nd({},t)),e.forEachValue((function(e){var r=e.get();if(bg(r)){var t=xg(r,a);t&&e.set(t)}})),o){var s=o[i];if(bg(s)){var l=xg(s,a);l&&(o[i]=l,t&&(null!==(n=t[i])&&void 0!==n||(t[i]=s)))}}return{target:o,transitionEnd:t}}(e,r,n);return ub(e,r=o.target,t,n=o.transitionEnd)};var db={treeType:"dom",readValueFromInstance:function(e,r){if(_f(r)){var t=Dm(r);return t&&t.default||0}var n,o=(n=e,window.getComputedStyle(n));return(Tf(r)?o.getPropertyValue(r):o[r])||0},sortNodePosition:function(e,r){return 2&e.compareDocumentPosition(r)?1:-1},getBaseTarget:function(e,r){var t;return null===(t=e.style)||void 0===t?void 0:t[r]},measureViewportBox:function(e,r){return Rv(e,r.transformPagePoint)},resetTransform:function(e,r,t){var n=t.transformTemplate;r.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,r){e.style.transform=r.style.transform},removeValueFromRenderState:function(e,r){var t=r.vars,n=r.style;delete t[e],delete n[e]},makeTargetAnimatable:function(e,r,t,n){var o=t.transformValues;void 0===n&&(n=!0);var a=r.transition,i=r.transitionEnd,s=Id(r,["transition","transitionEnd"]),l=function(e,r,t){var n,o,a={};for(var i in e)a[i]=null!==(n=nv(i,r))&&void 0!==n?n:null===(o=t.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,r,t){var n,o,a,i,s=Object.keys(r).filter((function(r){return!e.hasValue(r)})),l=s.length;if(l)for(var u=0;u<l;u++){var c=s[u],d=r[c],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(n=t[c])&&void 0!==n?n:e.readValue(c))&&void 0!==o?o:r[c]),null!=f&&("string"==typeof f&&Um(f)?f=parseFloat(f):!rv(f)&&sp.test(d)&&(f=Fm(c,d)),e.addValue(c,Km(f)),null!==(a=(i=t)[c])&&void 0!==a||(i[c]=f),e.setBaseTarget(c,f))}}(e,s,l);var u=cb(e,s,l,i);i=u.transitionEnd,s=u.target}return Nd({transition:a,transitionEnd:i},s)},scrapeMotionValuesFromProps:Fp,build:function(e,r,t,n,o,a,i){void 0!==e.isVisible&&(r.style.visibility=e.isVisible?"visible":"hidden");var s=n.isEnabled&&o.isHydrated;hp(r,t,n,o,a,i.transformTemplate,s?Wg:void 0,s?Hg:void 0)},render:zp},fb=Yg(db),pb=Yg(Nd(Nd({},db),{getBaseTarget:function(e,r){return e[r]},readValueFromInstance:function(e,r){var t;return _f(r)?(null===(t=Dm(r))||void 0===t?void 0:t.default)||0:(r=Bp.has(r)?r:Rp(r),e.getAttribute(r))},scrapeMotionValuesFromProps:Np,build:function(e,r,t,n,o,a,i){var s=n.isEnabled&&o.isHydrated;Ap(r,t,n,o,a,i.transformTemplate,s?Wg:void 0,s?Hg:void 0)},render:Dp})),hb=function(e,r){return yf(e)?pb(r,{enableHardwareAcceleration:!1}):fb(r,{enableHardwareAcceleration:!0})},mb=Nd(Nd(Nd(Nd({},hv),km),gg),Ig),vb=gf((function(e,r){return function(e,r,t,n){var o=r.forwardMotionProps,a=void 0!==o&&o,i=yf(e)?Up:Yp;return Nd(Nd({},i),{preloadedFeatures:t,useRender:jp(a),createVisualElement:n,Component:e})}(e,r,mb,hb)}));var gb=0;function bb(){var e=gb;return gb++,e}var yb=function(e){var r=e.children,t=e.initial,o=e.isPresent,a=e.onExitComplete,i=e.custom,s=e.presenceAffectsLayout,l=Zd(xb),u=Zd(bb),c=p((function(){return{id:u,initial:t,isPresent:o,custom:i,onExitComplete:function(e){l.set(e,!0);var r=!0;l.forEach((function(e){e||(r=!1)})),r&&(null==a||a())},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),s?void 0:[o]);return p((function(){l.forEach((function(e,r){return l.set(r,!1)}))}),[o]),f((function(){!o&&!l.size&&(null==a||a())}),[o]),n(Kd.Provider,{value:c},r)};function xb(){return new Map}function wb(e){return e.key||""}var Sb=function(e){var r=e.children,a=e.custom,s=e.initial,f=void 0===s||s,p=e.onExitComplete,h=e.exitBeforeEnter,m=e.presenceAffectsLayout,g=void 0===m||m,b=function(){var e=i(!1),r=Md(c(0),2),t=r[0],n=r[1];return mh((function(){return e.current=!0})),d((function(){!e.current&&n(t+1)}),[t])}(),y=t(Bg);Fg(y)&&(b=y.forceUpdate);var x=i(!0),w=function(e){var r=[];return l.forEach(e,(function(e){u(e)&&r.push(e)})),r}(r),S=i(w),k=i(new Map).current,O=i(new Set).current;if(function(e,r){var t="production"!==process.env.NODE_ENV?new Set:null;e.forEach((function(e){var n=wb(e);"production"!==process.env.NODE_ENV&&t&&(t.has(n)&&console.warn('Children of AnimatePresence require unique keys. "'+n+'" is a duplicate.'),t.add(n)),r.set(n,e)}))}(w,k),x.current)return x.current=!1,n(o,null,w.map((function(e){return n(yb,{key:wb(e),isPresent:!0,initial:!!f&&void 0,presenceAffectsLayout:g},e)})));for(var _=Ld([],Md(w)),E=S.current.map(wb),A=w.map(wb),C=E.length,P=0;P<C;P++){var j=E[P];-1===A.indexOf(j)?O.add(j):O.delete(j)}return h&&O.size&&(_=[]),O.forEach((function(e){if(-1===A.indexOf(e)){var r=k.get(e);if(r){var t=E.indexOf(e);_.splice(t,0,n(yb,{key:wb(r),isPresent:!1,onExitComplete:function(){k.delete(e),O.delete(e);var r=S.current.findIndex((function(r){return r.key===e}));S.current.splice(r,1),O.size||(S.current=w,b(),p&&p())},custom:a,presenceAffectsLayout:g},r))}}})),_=_.map((function(e){var r=e.key;return O.has(r)?e:n(yb,{key:wb(e),isPresent:!0,presenceAffectsLayout:g},e)})),S.current=_,"production"!==process.env.NODE_ENV&&h&&_.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."),n(o,null,O.size?_:_.map((function(e){return v(e)})))};function kb(){return kb=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},kb.apply(this,arguments)}var Ob={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},_b={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},Eb={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},Ab={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},Cb={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function Pb(e){var r;switch(null!=(r=null==e?void 0:e.direction)?r:"right"){case"right":default:return Eb;case"left":return _b;case"bottom":return Cb;case"top":return Ab}}var jb={enter:{duration:.2,ease:Ob.easeOut},exit:{duration:.1,ease:Ob.easeIn}},Tb=(e,r)=>kb({},e,{delay:Yr(r)?r:null==r?void 0:r.enter}),Rb=(e,r)=>kb({},e,{delay:Yr(r)?r:null==r?void 0:r.exit});function zb(){return zb=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},zb.apply(this,arguments)}var Bb={exit:{height:{duration:.2,ease:Ob.ease},opacity:{duration:.3,ease:Ob.ease}},enter:{height:{duration:.3,ease:Ob.ease},opacity:{duration:.4,ease:Ob.ease}}},Db={exit:e=>{var r,t,{animateOpacity:n,startingHeight:o,transition:a,transitionEnd:i,delay:s}=e;return zb({},n&&{opacity:(t=o,null!=t&&parseInt(t.toString(),10)>0?1:0)},{overflow:"hidden",height:o,transitionEnd:null==i?void 0:i.exit,transition:null!=(r=null==a?void 0:a.exit)?r:Rb(Bb.exit,s)})},enter:e=>{var r,{animateOpacity:t,endingHeight:n,transition:o,transitionEnd:a,delay:i}=e;return zb({},t&&{opacity:1},{height:n,transitionEnd:null==a?void 0:a.enter,transition:null!=(r=null==o?void 0:o.enter)?r:Tb(Bb.enter,i)})}},Fb=a(((e,r)=>{var{in:t,unmountOnExit:o,animateOpacity:a=!0,startingHeight:i=0,endingHeight:s="auto",style:l,className:u,transition:d,transitionEnd:p}=e,h=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["in","unmountOnExit","animateOpacity","startingHeight","endingHeight","style","className","transition","transitionEnd"]),[m,v]=c(!1);f((()=>{var e=setTimeout((()=>{v(!0)}));return()=>clearTimeout(e)}),[]),Nt({condition:Boolean(i>0&&o),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});var g=parseFloat(i.toString())>0,b={startingHeight:i,endingHeight:s,animateOpacity:a,transition:m?d:{enter:{duration:0}},transitionEnd:tt(p,{enter:{overflow:"initial"},exit:o?void 0:{display:g?"block":"none"}})},y=t||o?"enter":"exit";return n(Sb,{initial:!1,custom:b},(!o||t)&&n(vb.div,zb({ref:r},h,{className:kt("chakra-collapse",u),style:zb({overflow:"hidden",display:"block"},l),custom:b,variants:Db,initial:!!o&&"exit",animate:y,exit:"exit"})))}));function Nb(){return Nb=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Nb.apply(this,arguments)}et&&(Fb.displayName="Collapse");var Ib={enter:function(e){var r,{transition:t,transitionEnd:n,delay:o}=void 0===e?{}:e;return{opacity:1,transition:null!=(r=null==t?void 0:t.enter)?r:Tb(jb.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:function(e){var r,{transition:t,transitionEnd:n,delay:o}=void 0===e?{}:e;return{opacity:0,transition:null!=(r=null==t?void 0:t.exit)?r:Rb(jb.exit,o),transitionEnd:null==n?void 0:n.exit}}},Mb={initial:"exit",animate:"enter",exit:"exit",variants:Ib},Lb=a(((e,r)=>{var{unmountOnExit:t,in:o,className:a,transition:i,transitionEnd:s,delay:l}=e,u=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["unmountOnExit","in","className","transition","transitionEnd","delay"]),c=o||t?"enter":"exit",d={transition:i,transitionEnd:s,delay:l};return n(Sb,{custom:d},(!t||o&&t)&&n(vb.div,Nb({ref:r,className:kt("chakra-fade",a),custom:d},Mb,{animate:c},u)))}));function Wb(){return Wb=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wb.apply(this,arguments)}et&&(Lb.displayName="Fade");var Hb={exit:e=>{var r,{reverse:t,initialScale:n,transition:o,transitionEnd:a,delay:i}=e;return Wb({opacity:0},t?{scale:n,transitionEnd:null==a?void 0:a.exit}:{transitionEnd:Wb({scale:n},null==a?void 0:a.exit)},{transition:null!=(r=null==o?void 0:o.exit)?r:Rb(jb.exit,i)})},enter:e=>{var r,{transitionEnd:t,transition:n,delay:o}=e;return{opacity:1,scale:1,transition:null!=(r=null==n?void 0:n.enter)?r:Tb(jb.enter,o),transitionEnd:null==t?void 0:t.enter}}},Vb={initial:"exit",animate:"enter",exit:"exit",variants:Hb},$b=a(((e,r)=>{var{unmountOnExit:t,in:o,reverse:a=!0,initialScale:i=.95,className:s,transition:l,transitionEnd:u,delay:c}=e,d=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay"]),f=o||t?"enter":"exit",p={initialScale:i,reverse:a,transition:l,transitionEnd:u,delay:c};return n(Sb,{custom:p},(!t||o&&t)&&n(vb.div,Wb({ref:r,className:kt("chakra-offset-slide",s)},Vb,{animate:f,custom:p},d)))}));function Ub(){return Ub=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ub.apply(this,arguments)}et&&($b.displayName="ScaleFade");var qb={exit:{duration:.15,ease:Ob.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Yb={exit:e=>{var r,{direction:t,transition:n,transitionEnd:o,delay:a}=e,{exit:i}=Pb({direction:t});return Ub({},i,{transition:null!=(r=null==n?void 0:n.exit)?r:Rb(qb.exit,a),transitionEnd:null==o?void 0:o.exit})},enter:e=>{var r,{direction:t,transitionEnd:n,transition:o,delay:a}=e,{enter:i}=Pb({direction:t});return Ub({},i,{transition:null!=(r=null==o?void 0:o.enter)?r:Tb(qb.enter,a),transitionEnd:null==n?void 0:n.enter})}},Xb=a(((e,r)=>{var{direction:t="right",style:o,unmountOnExit:a,in:i,className:s,transition:l,transitionEnd:u,delay:c}=e,d=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"]),f=Pb({direction:t}),p=Object.assign({position:"fixed"},f.position,o),h=i||a?"enter":"exit",m={transitionEnd:u,transition:l,direction:t,delay:c};return n(Sb,{custom:m},(!a||i&&a)&&n(vb.div,Ub({ref:r,initial:"exit",className:kt("chakra-slide",s),animate:h,exit:"exit",custom:m,variants:Yb,style:p},d)))}));function Gb(){return Gb=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Gb.apply(this,arguments)}et&&(Xb.displayName="Slide");var Kb={initial:e=>{var r,{offsetX:t,offsetY:n,transition:o,transitionEnd:a,delay:i}=e;return{opacity:0,x:t,y:n,transition:null!=(r=null==o?void 0:o.exit)?r:Rb(jb.exit,i),transitionEnd:null==a?void 0:a.exit}},enter:e=>{var r,{transition:t,transitionEnd:n,delay:o}=e;return{opacity:1,x:0,y:0,transition:null!=(r=null==t?void 0:t.enter)?r:Tb(jb.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:e=>{var r,{offsetY:t,offsetX:n,transition:o,transitionEnd:a,reverse:i,delay:s}=e,l={x:n,y:t};return Gb({opacity:0,transition:null!=(r=null==o?void 0:o.exit)?r:Rb(jb.exit,s)},i?Gb({},l,{transitionEnd:null==a?void 0:a.exit}):{transitionEnd:Gb({},l,null==a?void 0:a.exit)})}},Zb={initial:"initial",animate:"enter",exit:"exit",variants:Kb},Qb=a(((e,r)=>{var{unmountOnExit:t,in:o,reverse:a=!0,className:i,offsetX:s=0,offsetY:l=8,transition:u,transitionEnd:c,delay:d}=e,f=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay"]),p=o||t?"enter":"exit",h={offsetX:s,offsetY:l,reverse:a,transition:u,transitionEnd:c,delay:d};return n(Sb,{custom:h},(!t||o&&t)&&n(vb.div,Gb({ref:r,className:kt("chakra-offset-slide",i),custom:h},Zb,{animate:p},f)))}));function Jb(e){return e.sort(((e,r)=>{var t=e.compareDocumentPosition(r);if(t&Node.DOCUMENT_POSITION_FOLLOWING||t&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(t&Node.DOCUMENT_POSITION_PRECEDING||t&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0}))}et&&(Qb.displayName="SlideFade");function ey(e,r,t){var n=e+1;return t&&n>=r&&(n=0),n}function ry(e,r,t){var n=e-1;return t&&n<0&&(n=r),n}var ty="undefined"!=typeof window?s:f;function ny(){return ny=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ny.apply(this,arguments)}function oy(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class ay{constructor(){var e=this;oy(this,"descendants",new Map),oy(this,"register",(e=>{var r;if(null!=e)return"object"==typeof(r=e)&&"nodeType"in r&&r.nodeType===Node.ELEMENT_NODE?this.registerNode(e):r=>{this.registerNode(r,e)}})),oy(this,"unregister",(e=>{this.descendants.delete(e);var r=Jb(Array.from(this.descendants.keys()));this.assignIndex(r)})),oy(this,"destroy",(()=>{this.descendants.clear()})),oy(this,"assignIndex",(e=>{this.descendants.forEach((r=>{var t=e.indexOf(r.node);r.index=t,r.node.dataset.index=r.index.toString()}))})),oy(this,"count",(()=>this.descendants.size)),oy(this,"enabledCount",(()=>this.enabledValues().length)),oy(this,"values",(()=>Array.from(this.descendants.values()).sort(((e,r)=>e.index-r.index)))),oy(this,"enabledValues",(()=>this.values().filter((e=>!e.disabled)))),oy(this,"item",(e=>{if(0!==this.count())return this.values()[e]})),oy(this,"enabledItem",(e=>{if(0!==this.enabledCount())return this.enabledValues()[e]})),oy(this,"first",(()=>this.item(0))),oy(this,"firstEnabled",(()=>this.enabledItem(0))),oy(this,"last",(()=>this.item(this.descendants.size-1))),oy(this,"lastEnabled",(()=>{var e=this.enabledValues().length-1;return this.enabledItem(e)})),oy(this,"indexOf",(e=>{var r,t;return e&&null!=(r=null==(t=this.descendants.get(e))?void 0:t.index)?r:-1})),oy(this,"enabledIndexOf",(e=>null==e?-1:this.enabledValues().findIndex((r=>r.node.isSameNode(e))))),oy(this,"next",(function(r,t){void 0===t&&(t=!0);var n=ey(r,e.count(),t);return e.item(n)})),oy(this,"nextEnabled",(function(r,t){void 0===t&&(t=!0);var n=e.item(r);if(n){var o=ey(e.enabledIndexOf(n.node),e.enabledCount(),t);return e.enabledItem(o)}})),oy(this,"prev",(function(r,t){void 0===t&&(t=!0);var n=ry(r,e.count()-1,t);return e.item(n)})),oy(this,"prevEnabled",(function(r,t){void 0===t&&(t=!0);var n=e.item(r);if(n){var o=ry(e.enabledIndexOf(n.node),e.enabledCount()-1,t);return e.enabledItem(o)}})),oy(this,"registerNode",((e,r)=>{if(e&&!this.descendants.has(e)){var t=Jb(Array.from(this.descendants.keys()).concat(e));null!=r&&r.disabled&&(r.disabled=!!r.disabled);var n=ny({node:e,index:-1},r);this.descendants.set(e,n),this.assignIndex(t)}}))}}var[iy,sy]=gn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function ly(){return[iy,()=>sy(),()=>function(){var[e]=c((()=>new ay));return ty((()=>()=>e.destroy())),e}(),e=>function(e){var r=sy(),[t,n]=c(-1),o=i(null);ty((()=>()=>{o.current&&r.unregister(o.current)}),[]),ty((()=>{if(o.current){var e=Number(o.current.dataset.index);t==e||Number.isNaN(e)||n(e)}}));var a=e?r.register(e):r.register;return{descendants:r,index:t,enabledIndex:r.enabledIndexOf(o.current),register:vn(a,o)}}(e)]}function uy(){return uy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},uy.apply(this,arguments)}function cy(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}var[dy,fy,py,hy]=ly();function my(e){var{onChange:r,defaultIndex:t,index:n,allowMultiple:o,allowToggle:a}=e,i=cy(e,["onChange","defaultIndex","index","allowMultiple","allowToggle"]);!function(e){var r=e.index||e.defaultIndex,t=!Kr(r)&&!Xr(r)&&e.allowMultiple;Nt({condition:!!t,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: "+typeof r+","})}(e),function(e){Nt({condition:!(!e.allowMultiple||!e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(e);var s=py(),[l,u]=c(-1);Vn((()=>{u(-1)}));var[d,f]=Pn({value:n,defaultValue:()=>o?null!=t?t:[]:null!=t?t:-1,onChange:r});return{index:d,setIndex:f,htmlProps:i,getAccordionItemProps:e=>{var r=!1;null!==e&&(r=Xr(d)?d.includes(e):d===e);return{isOpen:r,onChange:r=>{if(null!==e)if(o&&Xr(d)){var t=r?function(e,r){return[...e,r]}(d,e):function(e,r){return e.filter((e=>e!==r))}(d,e);f(t)}else r?f(e):a&&f(-1)}}},focusedIndex:l,setFocusedIndex:u,descendants:s}}var[vy,gy]=gn({name:"AccordionContext",errorMessage:"useAccordionContext: `context` is undefined. Seems you forgot to wrap the accordion components in `<Accordion />`"});function by(e){var{isDisabled:r,isFocusable:t,id:n}=e,o=cy(e,["isDisabled","isFocusable","id"]),{getAccordionItemProps:a,setFocusedIndex:s}=gy(),l=i(null),[u,c]=Bn(n,"accordion-button","accordion-panel");!function(e){Nt({condition:!(!e.isFocusable||e.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(e);var{register:f,index:p,descendants:h}=hy({disabled:r&&!t}),{isOpen:m,onChange:v}=a(-1===p?null:p);!function(e){Nt({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:m,isDisabled:r});var g=d((()=>{null==v||v(!m),s(p)}),[p,s,m,v]),b=d((e=>{var r={ArrowDown:()=>{var e=h.nextEnabled(p);e&&Mt(e.node)},ArrowUp:()=>{var e=h.prevEnabled(p);e&&Mt(e.node)},Home:()=>{var e=h.firstEnabled();e&&Mt(e.node)},End:()=>{var e=h.lastEnabled();e&&Mt(e.node)}},t=r[Et(e)];t&&(e.preventDefault(),t(e))}),[h,p]),y=d((()=>{s(p)}),[s,p]),x=d((function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),uy({},e,{type:"button",ref:vn(f,l,t),id:u,disabled:!!r,"aria-expanded":!!m,"aria-controls":c,onClick:Dt(e.onClick,g),onFocus:Dt(e.onFocus,y),onKeyDown:Dt(e.onKeyDown,b)})}),[u,r,m,g,y,b,c,f]),w=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),uy({},e,{ref:r,role:"region",id:c,"aria-labelledby":u,hidden:!m})}),[u,m,c]);return{isOpen:m,isDisabled:r,isFocusable:t,onOpen:()=>{null==v||v(!0)},onClose:()=>{null==v||v(!1)},getButtonProps:x,getPanelProps:w,htmlProps:o}}function yy(){return yy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},yy.apply(this,arguments)}function xy(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}var wy=Pi(((e,r)=>{var{children:t,reduceMotion:o}=e,a=xy(e,["children","reduceMotion"]),i=Ti("Accordion",a),s=my(di(a)),{htmlProps:l,descendants:u}=s,c=xy(s,["htmlProps","descendants"]),d=p((()=>yy({},c,{reduceMotion:!!o})),[c,o]);return n(dy,{value:u},n(vy,{value:d},n(li,{value:i},n(Ci.div,yy({ref:r},l,{className:kt("chakra-accordion",a.className)}),t))))}));et&&(wy.displayName="Accordion");var[Sy,ky]=gn({name:"AccordionItemContext",errorMessage:"useAccordionItemContext: `context` is undefined. Seems you forgot to wrap the accordion item parts in `<AccordionItem />` "}),Oy=Pi(((e,r)=>{var{children:t,className:o}=e,a=by(e),{htmlProps:i}=a,s=xy(a,["htmlProps"]),l=yy({},ui().container,{overflowAnchor:"none"}),u=p((()=>s),[s]);return n(Sy,{value:u},n(Ci.div,yy({ref:r},i,{className:kt("chakra-accordion__item",o),__css:l}),Bt(t,{isExpanded:!!s.isOpen,isDisabled:!!s.isDisabled})))}));et&&(Oy.displayName="AccordionItem");var _y=Pi(((e,r)=>{var{getButtonProps:t}=ky(),o=t(e,r),a=yy({display:"flex",alignItems:"center",width:"100%",outline:0},ui().button);return n(Ci.button,yy({},o,{className:kt("chakra-accordion__button",e.className),__css:a}))}));et&&(_y.displayName="AccordionButton");var Ey=Pi(((e,r)=>{var{reduceMotion:t}=gy(),{getPanelProps:o,isOpen:a}=ky(),i=o(e,r),s=kt("chakra-accordion__panel",e.className),l=ui();t||delete i.hidden;var u=n(Ci.div,yy({},i,{__css:l.panel,className:s}));return t?u:n(Fb,{in:a},u)}));et&&(Ey.displayName="AccordionPanel");var Ay=e=>{var{isOpen:r,isDisabled:t}=ky(),{reduceMotion:o}=gy(),a=kt("chakra-accordion__icon",e.className),i=yy({opacity:t?.4:1,transform:r?"rotate(-180deg)":void 0,transition:o?void 0:"transform 0.2s",transformOrigin:"center"},ui().icon);return n(Rd,yy({viewBox:"0 0 24 24","aria-hidden":!0,className:a,__css:i},e),n("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))};function Cy(){return Cy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Cy.apply(this,arguments)}function Py(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(Ay.displayName="AccordionIcon");var jy=a(((e,r)=>{var{htmlWidth:t,htmlHeight:o,alt:a}=e,i=Py(e,["htmlWidth","htmlHeight","alt"]);return n("img",Cy({width:t,height:o,ref:r,alt:a},i))})),Ty=Pi(((e,r)=>{var{fallbackSrc:t,fallback:o,src:a,srcSet:s,align:l,fit:u,loading:p,ignoreFallback:h,crossOrigin:m}=e,v=Py(e,["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"]),g=null!=p||h||void 0===t&&void 0===o,b=function(e){var{loading:r,src:t,srcSet:n,onLoad:o,onError:a,crossOrigin:s,sizes:l,ignoreFallback:u}=e,[p,h]=c("pending");f((()=>{h(t?"loading":"pending")}),[t]);var m=i(),v=d((()=>{if(t){g();var e=new Image;e.src=t,s&&(e.crossOrigin=s),n&&(e.srcset=n),l&&(e.sizes=l),r&&(e.loading=r),e.onload=e=>{g(),h("loaded"),null==o||o(e)},e.onerror=e=>{g(),h("failed"),null==a||a(e)},m.current=e}}),[t,s,n,l,o,a,r]),g=()=>{m.current&&(m.current.onload=null,m.current.onerror=null,m.current=null)};return kn((()=>{if(!u)return"loading"===p&&v(),()=>{g()}}),[p,v,u]),u?"loaded":p}(Cy({},e,{ignoreFallback:g})),y=Cy({ref:r,objectFit:u,objectPosition:l},g?v:nt(v,["onError","onLoad"]));return"loaded"!==b?o||n(Ci.img,Cy({as:jy,className:"chakra-image__placeholder",src:t},y)):n(Ci.img,Cy({as:jy,src:a,srcSet:s,crossOrigin:m,loading:p,className:"chakra-image"},y))})),Ry=Pi(((e,r)=>n(Ci.img,Cy({ref:r,as:jy,className:"chakra-image"},e))));function zy(){return zy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},zy.apply(this,arguments)}et&&(Ty.displayName="Image");var[By,Dy]=gn({strict:!1,name:"ButtonGroupContext"}),Fy=Pi(((e,r)=>{var{size:t,colorScheme:o,variant:a,className:i,spacing:s="0.5rem",isAttached:l,isDisabled:u}=e,c=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["size","colorScheme","variant","className","spacing","isAttached","isDisabled"]),d=kt("chakra-button__group",i),f=p((()=>({size:t,colorScheme:o,variant:a,isDisabled:u})),[t,o,a,u]),h={display:"inline-flex"};return h=zy({},h,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}}),n(By,{value:f},n(Ci.div,zy({ref:r,role:"group",__css:h,className:d},c)))}));et&&(Fy.displayName="ButtonGroup");var Ny={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Iy=Ci("span",{baseStyle:Ny});et&&(Iy.displayName="VisuallyHidden");var My=Ci("input",{baseStyle:Ny});function Ly(){return Ly=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ly.apply(this,arguments)}et&&(My.displayName="VisuallyHiddenInput");var Wy=Nr({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Hy=Pi(((e,r)=>{var t=ji("Spinner",e),o=di(e),{label:a="Loading...",thickness:i="2px",speed:s="0.45s",emptyColor:l="transparent",className:u}=o,c=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(o,["label","thickness","speed","emptyColor","className"]),d=kt("chakra-spinner",u),f=Ly({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:l,borderLeftColor:l,animation:Wy+" "+s+" linear infinite"},t);return n(Ci.div,Ly({ref:r,__css:f,className:d},c),a&&n(Iy,null,a))}));function Vy(){return Vy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Vy.apply(this,arguments)}et&&(Hy.displayName="Spinner");var $y=e=>{var{label:r,placement:t,children:o=n(Hy,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:i}=e,s=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["label","placement","spacing","children","className","__css"]),l=kt("chakra-button__spinner",a),u="start"===t?"marginEnd":"marginStart",c=p((()=>Vy({display:"flex",alignItems:"center",position:r?"relative":"absolute",[u]:r?"0.5rem":0,fontSize:"1em",lineHeight:"normal"},i)),[i,r,u]);return n(Ci.div,Vy({className:l},s,{__css:c}),o)};function Uy(){return Uy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Uy.apply(this,arguments)}et&&($y.displayName="ButtonSpinner");var qy=e=>{var{children:r,className:t}=e,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["children","className"]),a=u(r)?v(r,{"aria-hidden":!0,focusable:!1}):r,i=kt("chakra-button__icon",t);return n(Ci.span,Uy({display:"inline-flex",alignSelf:"center",flexShrink:0},o,{className:i}),a)};function Yy(){return Yy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Yy.apply(this,arguments)}et&&(qy.displayName="ButtonIcon");var Xy=Pi(((e,r)=>{var t=Dy(),o=ji("Button",Yy({},t,e)),a=di(e),{isDisabled:i=(null==t?void 0:t.isDisabled),isLoading:s,isActive:l,isFullWidth:u,children:f,leftIcon:h,rightIcon:m,loadingText:v,iconSpacing:g="0.5rem",type:b,spinner:y,spinnerPlacement:x="start",className:w,as:S}=a,k=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(a,["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"]),O=p((()=>{var e,r=tt({},null!=(e=null==o?void 0:o._focus)?e:{},{zIndex:1});return Yy({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},o,!!t&&{_focus:r})}),[o,t,u]),{ref:_,type:E}=function(e){var[r,t]=c(!e),n=d((e=>{e&&t("BUTTON"===e.tagName)}),[]);return{ref:n,type:r?"button":void 0}}(S),A={rightIcon:m,leftIcon:h,iconSpacing:g,children:f};return n(Ci.button,Yy({disabled:i||s,ref:qn(r,_),as:S,type:null!=b?b:E,"data-active":wt(l),"data-loading":wt(s),__css:O,className:kt("chakra-button",w)},k),s&&"start"===x&&n($y,{className:"chakra-button__spinner--start",label:v,placement:"start"},y),s?v||n(Ci.span,{opacity:0},n(Gy,A)):n(Gy,A),s&&"end"===x&&n($y,{className:"chakra-button__spinner--end",label:v,placement:"end"},y))}));function Gy(e){var{leftIcon:r,rightIcon:t,children:a,iconSpacing:i}=e;return n(o,null,r&&n(qy,{marginEnd:i},r),a,t&&n(qy,{marginStart:i},t))}et&&(Xy.displayName="Button");var[Ky,Zy]=gn({name:"CheckboxGroupContext",strict:!1});function Qy(){return Qy=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Qy.apply(this,arguments)}var Jy="custom"in vb?vb.custom(Ci.svg):vb(Ci.svg),ex=e=>n(Jy,Qy({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}},e),n("polyline",{points:"1.5 6 4.5 9 10.5 1"})),rx=e=>n(Jy,Qy({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}},e),n("line",{x1:"21",x2:"3",y1:"12",y2:"12"})),tx=e=>{var{open:r,children:t}=e;return n(Sb,{initial:!1},r&&n(vb.div,{variants:{unchecked:{scale:.5},checked:{scale:1}},initial:"unchecked",animate:"checked",exit:"unchecked",style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}},t))},nx=e=>{var{isIndeterminate:r,isChecked:t}=e,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["isIndeterminate","isChecked"]);return n(tx,{open:t||r},n(r?rx:ex,o))};function ox(){return ox=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ox.apply(this,arguments)}function ax(e){void 0===e&&(e={});var{defaultIsChecked:r,defaultChecked:t=r,isChecked:n,isFocusable:o,isDisabled:a,isReadOnly:s,isRequired:l,onChange:u,isIndeterminate:f,isInvalid:p,name:h,value:m,id:v,onBlur:g,onFocus:b,tabIndex:y,"aria-label":x,"aria-labelledby":w,"aria-invalid":S,"aria-describedby":k}=e,O=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["defaultIsChecked","defaultChecked","isChecked","isFocusable","isDisabled","isReadOnly","isRequired","onChange","isIndeterminate","isInvalid","name","value","id","onBlur","onFocus","tabIndex","aria-label","aria-labelledby","aria-invalid","aria-describedby"]),_=On(u),E=On(g),A=On(b),[C,P]=Sn(),[j,T]=Sn(),[R,z]=Sn(),B=i(null),[D,F]=c(!0),[N,I]=c(!!t),[M,L]=Cn(n,N);Nt({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 W=d((e=>{s||a?e.preventDefault():(M||I(L?e.target.checked:!!f||e.target.checked),null==_||_(e))}),[s,a,L,M,f,_]);kn((()=>{B.current&&(B.current.indeterminate=Boolean(f))}),[f]);var H=a&&!o,V=d((e=>{" "===e.key&&z.on()}),[z]),$=d((e=>{" "===e.key&&z.off()}),[z]);kn((()=>{B.current&&(B.current.checked!==L&&I(B.current.checked))}),[B.current]);var U=d((function(e,r){void 0===e&&(e={}),void 0===r&&(r=null);return ox({},e,{ref:r,"data-active":wt(R),"data-hover":wt(j),"data-checked":wt(L),"data-focus":wt(C),"data-indeterminate":wt(f),"data-disabled":wt(a),"data-invalid":wt(p),"data-readonly":wt(s),"aria-hidden":!0,onMouseDown:Dt(e.onMouseDown,(e=>{e.preventDefault(),z.on()})),onMouseUp:Dt(e.onMouseUp,z.off),onMouseEnter:Dt(e.onMouseEnter,T.on),onMouseLeave:Dt(e.onMouseLeave,T.off)})}),[R,L,a,C,j,f,p,s,z,T.off,T.on]),q=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),ox({},O,e,{ref:vn(r,(e=>{e&&F("LABEL"===e.tagName)})),onClick:Dt(e.onClick,(()=>{var e;D||(null==(e=B.current)||e.click(),Mt(B.current,{nextTick:!0}))})),"data-disabled":wt(a),"data-checked":wt(L),"data-invalid":wt(p)})}),[O,a,L,p,D]),Y=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),ox({},e,{ref:vn(B,r),type:"checkbox",name:h,value:m,id:v,tabIndex:y,onChange:Dt(e.onChange,W),onBlur:Dt(e.onBlur,E,P.off),onFocus:Dt(e.onFocus,A,P.on),onKeyDown:Dt(e.onKeyDown,V),onKeyUp:Dt(e.onKeyUp,$),required:l,checked:L,disabled:H,readOnly:s,"aria-label":x,"aria-labelledby":w,"aria-invalid":S?Boolean(S):p,"aria-describedby":k,"aria-disabled":a,style:Ny})}),[h,m,v,W,P.off,P.on,E,A,V,$,l,L,H,s,x,w,S,p,k,a,y]),X=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),ox({},e,{ref:r,onMouseDown:Dt(e.onMouseDown,ix),onTouchStart:Dt(e.onTouchStart,ix),"data-disabled":wt(a),"data-checked":wt(L),"data-invalid":wt(p)})}),[L,a,p]);return{state:{isInvalid:p,isFocused:C,isChecked:L,isActive:R,isHovered:j,isIndeterminate:f,isDisabled:a,isReadOnly:s,isRequired:l},getRootProps:q,getCheckboxProps:U,getInputProps:Y,getLabelProps:X,htmlProps:O}}function ix(e){e.preventDefault(),e.stopPropagation()}function sx(){return sx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},sx.apply(this,arguments)}var lx=Ci("span",{baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0}}),ux=Ci("label",{baseStyle:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative",_disabled:{cursor:"not-allowed"}}}),cx=Pi(((e,r)=>{var t=Zy(),o=Ti("Checkbox",sx({},t,e)),a=di(e),{spacing:i="0.5rem",className:s,children:l,iconColor:u,iconSize:c,icon:d=n(nx,null),isChecked:f,isDisabled:h=(null==t?void 0:t.isDisabled),onChange:m}=a,g=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(a,["spacing","className","children","iconColor","iconSize","icon","isChecked","isDisabled","onChange"]),b=f;null!=t&&t.value&&a.value&&(b=t.value.includes(a.value));var y=m;null!=t&&t.onChange&&a.value&&(y=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((r=>{null==r||r(e)}))}}(t.onChange,m));var{state:x,getInputProps:w,getCheckboxProps:S,getLabelProps:k,getRootProps:O}=ax(sx({},g,{isDisabled:h,isChecked:b,onChange:y})),_=p((()=>sx({opacity:x.isChecked||x.isIndeterminate?1:0,transform:x.isChecked||x.isIndeterminate?"scale(1)":"scale(0.95)",fontSize:c,color:u},o.icon)),[u,c,x.isChecked,x.isIndeterminate,o.icon]),E=v(d,{__css:_,isIndeterminate:x.isIndeterminate,isChecked:x.isChecked});return n(ux,sx({__css:o.container,className:kt("chakra-checkbox",s)},O()),n("input",sx({className:"chakra-checkbox__input"},w({},r))),n(lx,sx({__css:o.control,className:"chakra-checkbox__control"},S()),E),l&&n(Ci.span,sx({className:"chakra-checkbox__label"},k(),{__css:sx({marginStart:i},o.label)}),l))}));function dx(){return dx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},dx.apply(this,arguments)}et&&(cx.displayName="Checkbox");var fx=e=>n(Rd,dx({focusable:"false","aria-hidden":!0},e),n("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"})),px=Pi(((e,r)=>{var t=ji("CloseButton",e),o=di(e),{children:a,isDisabled:i,__css:s}=o,l=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(o,["children","isDisabled","__css"]);return n(Ci.button,dx({type:"button","aria-label":"Close",ref:r,disabled:i,__css:dx({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},t,s)},l),a||n(fx,{width:"1em",height:"1em"}))}));function hx(){return hx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},hx.apply(this,arguments)}function mx(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(px.displayName="CloseButton");var[vx,gx]=gn({strict:!1,name:"FormControlContext"});var bx=Pi(((e,r)=>{var t=Ti("Form",e),o=function(e){var{id:r,isRequired:t,isInvalid:n,isDisabled:o,isReadOnly:a}=e,i=mx(e,["id","isRequired","isInvalid","isDisabled","isReadOnly"]),s=zn(),l=r||"field-"+s,u=l+"-label",f=l+"-feedback",p=l+"-helptext",[h,m]=c(!1),[v,g]=c(!1),[b,y]=Sn(),x=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),hx({id:p},e,{ref:vn(r,(e=>{e&&g(!0)}))})}),[p]),w=d((function(e,r){var t,i;return void 0===e&&(e={}),void 0===r&&(r=null),hx({},e,{ref:r,"data-focus":wt(b),"data-disabled":wt(o),"data-invalid":wt(n),"data-readonly":wt(a),id:null!=(t=e.id)?t:u,htmlFor:null!=(i=e.htmlFor)?i:l})}),[l,o,b,n,a,u]),S=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),hx({id:f},e,{ref:vn(r,(e=>{e&&m(!0)})),"aria-live":"polite"})}),[f]),k=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),hx({},e,i,{ref:r,role:"group"})}),[i]),O=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),hx({},e,{ref:r,role:"presentation","aria-hidden":!0,children:e.children||"*"})}),[]);return{isRequired:!!t,isInvalid:!!n,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:y.on,onBlur:y.off,hasFeedbackText:h,setHasFeedbackText:m,hasHelpText:v,setHasHelpText:g,id:l,labelId:u,feedbackId:f,helpTextId:p,htmlProps:i,getHelpTextProps:x,getErrorMessageProps:S,getRootProps:k,getLabelProps:w,getRequiredIndicatorProps:O}}(di(e)),{getRootProps:a}=o,i=mx(o,["getRootProps","htmlProps"]),s=kt("chakra-form-control",e.className),l=p((()=>i),[i]);return n(vx,{value:l},n(li,{value:t},n(Ci.div,hx({},a({},r),{className:s,__css:t.container}))))}));et&&(bx.displayName="FormControl");var yx=Pi(((e,r)=>{var t=gx(),o=ui(),a=kt("chakra-form__helper-text",e.className);return n(Ci.div,hx({},null==t?void 0:t.getHelpTextProps(e,r),{__css:o.helperText,className:a}))}));function xx(){return xx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},xx.apply(this,arguments)}function wx(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}function Sx(e){var r=function(e){var r,t,n,o=gx(),{id:a,disabled:i,readOnly:s,required:l,isRequired:u,isInvalid:c,isReadOnly:d,isDisabled:f,onFocus:p,onBlur:h}=e,m=wx(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 xx({},m,{"aria-describedby":v.join(" ")||void 0,id:null!=a?a:null==o?void 0:o.id,isDisabled:null!=(r=null!=i?i:f)?r:null==o?void 0:o.isDisabled,isReadOnly:null!=(t=null!=s?s:d)?t: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:Dt(null==o?void 0:o.onFocus,p),onBlur:Dt(null==o?void 0:o.onBlur,h)})}(e),{isDisabled:t,isInvalid:n,isReadOnly:o,isRequired:a}=r;return xx({},wx(r,["isDisabled","isInvalid","isReadOnly","isRequired"]),{disabled:t,readOnly:o,required:a,"aria-invalid":St(n),"aria-required":St(a),"aria-readonly":St(o)})}function kx(){return kx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},kx.apply(this,arguments)}function Ox(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(yx.displayName="FormHelperText");var _x=Ci("div");et&&(_x.displayName="Box");var Ex=Pi(((e,r)=>{var{size:t,centerContent:o=!0}=e,a=Ox(e,["size","centerContent"]);return n(_x,kx({ref:r,boxSize:t,__css:kx({},o?{display:"flex",alignItems:"center",justifyContent:"center"}:{},{flexShrink:0,flexGrow:0})},a))}));et&&(Ex.displayName="Square");var Ax=Pi(((e,r)=>{var{size:t}=e,o=Ox(e,["size"]);return n(Ex,kx({size:t,ref:r,borderRadius:"9999px"},o))}));function Cx(){return Cx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Cx.apply(this,arguments)}et&&(Ax.displayName="Circle");var Px=Pi(((e,r)=>{var t=di(e),{className:o,centerContent:a}=t,i=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(t,["className","centerContent"]),s=ji("Container",e);return n(Ci.div,Cx({ref:r,className:kt("chakra-container",o)},i,{__css:Cx({},s,a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))}));function jx(){return jx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},jx.apply(this,arguments)}et&&(Px.displayName="Container");var Tx=Pi(((e,r)=>{var{direction:t,align:o,justify:a,wrap:i,basis:s,grow:l,shrink:u}=e,c=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["direction","align","justify","wrap","basis","grow","shrink"]),d={display:"flex",flexDirection:t,alignItems:o,justifyContent:a,flexWrap:i,flexBasis:s,flexGrow:l,flexShrink:u};return n(Ci.div,jx({ref:r,__css:d},c))}));function Rx(){return Rx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Rx.apply(this,arguments)}function zx(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(Tx.displayName="Flex");var Bx=Pi(((e,r)=>{var{area:t,templateAreas:o,gap:a,rowGap:i,columnGap:s,column:l,row:u,autoFlow:c,autoRows:d,templateRows:f,autoColumns:p,templateColumns:h}=e,m=zx(e,["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"]),v={display:"grid",gridArea:t,gridTemplateAreas:o,gridGap:a,gridRowGap:i,gridColumnGap:s,gridAutoColumns:p,gridColumn:l,gridRow:u,gridAutoFlow:c,gridAutoRows:d,gridTemplateRows:f,gridTemplateColumns:h};return n(Ci.div,Rx({ref:r,__css:v},m))}));function Dx(e){return hn(e,(e=>"auto"===e?"auto":"span "+e+"/span "+e))}et&&(Bx.displayName="Grid");var Fx=Pi(((e,r)=>{var{colSpan:t,colStart:o,colEnd:a,rowEnd:i,rowSpan:s,rowStart:l}=e,u=zx(e,["colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart"]),c=lt({gridColumn:Dx(t),gridRow:Dx(s),gridColumnStart:o,gridColumnEnd:a,gridRowStart:l,gridRowEnd:i});return n(Ci.div,Rx({ref:r,__css:c},u))}));function Nx(){return Nx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Nx.apply(this,arguments)}var Ix=Pi(((e,r)=>{var t=ji("Heading",e),o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(di(e),["className"]);return n(Ci.h2,Nx({ref:r,className:kt("chakra-heading",e.className)},o,{__css:t}))}));function Mx(){return Mx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Mx.apply(this,arguments)}et&&(Ix.displayName="Heading");var Lx=Pi(((e,r)=>{var t=ji("Link",e),o=di(e),{className:a,isExternal:i}=o,s=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(o,["className","isExternal"]);return n(Ci.a,Mx({target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,ref:r,className:kt("chakra-link",a)},s,{__css:t}))}));function Wx(){return Wx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wx.apply(this,arguments)}function Hx(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(Lx.displayName="Link");var Vx=Pi(((e,r)=>{var t=Ti("List",e),o=di(e),{children:a,styleType:i="none",stylePosition:s,spacing:l}=o,u=Hx(o,["children","styleType","stylePosition","spacing"]),c=bn(a),d=l?{"& > *:not(style) ~ *:not(style)":{mt:l}}:{};return n(li,{value:t},n(Ci.ul,Wx({ref:r,listStyleType:i,listStylePosition:s,role:"list",__css:Wx({},t.container,d)},u),c))}));et&&(Vx.displayName="List");var $x=Pi(((e,r)=>{var t=Hx(e,["as"]);return n(Vx,Wx({ref:r,as:"ol",styleType:"decimal",marginStart:"1em"},t))}));et&&($x.displayName="OrderedList");var Ux=Pi(((e,r)=>{var t=Hx(e,["as"]);return n(Vx,Wx({ref:r,as:"ul",styleType:"initial",marginStart:"1em"},t))}));et&&(Ux.displayName="UnorderedList");var qx=Pi(((e,r)=>{var t=ui();return n(Ci.li,Wx({ref:r},e,{__css:t.item}))}));et&&(qx.displayName="ListItem");var Yx=Pi(((e,r)=>{var t=ui();return n(Rd,Wx({ref:r,role:"presentation"},e,{__css:t.icon}))}));et&&(Yx.displayName="ListIcon");var Xx="& > *:not(style) ~ *:not(style)";function Gx(){return Gx=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Gx.apply(this,arguments)}var Kx=e=>n(Ci.div,Gx({className:"chakra-stack__item"},e,{__css:Gx({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)})),Zx=Pi(((e,r)=>{var{isInline:t,direction:a,align:i,justify:s,spacing:l="0.5rem",wrap:u,children:c,divider:d,className:f,shouldWrapChildren:h}=e,m=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"]),g=t?"row":null!=a?a:"column",b=p((()=>function(e){var{spacing:r,direction:t}=e,n={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return{flexDirection:t,[Xx]:hn(t,(e=>n[e]))}}({direction:g,spacing:l})),[g,l]),y=p((()=>function(e){var{spacing:r,direction:t}=e,n={column:{my:r,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:r,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:r,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:r,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":hn(t,(e=>n[e]))}}({spacing:l,direction:g})),[l,g]),x=!!d,w=!h&&!x,S=bn(c),k=w?S:S.map(((e,r)=>{var t=void 0!==e.key?e.key:r,a=r+1===S.length,i=h?n(Kx,{key:t},e):e;return x?n(o,{key:t},i,a?null:v(d,{__css:y})):i})),O=kt("chakra-stack",f);return n(Ci.div,Gx({ref:r,display:"flex",alignItems:i,justifyContent:s,flexDirection:b.flexDirection,flexWrap:u,className:O,__css:x?{}:{[Xx]:b[Xx]}},m),k)}));et&&(Zx.displayName="Stack");var Qx=Pi(((e,r)=>n(Zx,Gx({align:"center"},e,{direction:"row",ref:r}))));et&&(Qx.displayName="HStack");var Jx=Pi(((e,r)=>n(Zx,Gx({align:"center"},e,{direction:"column",ref:r}))));function ew(){return ew=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ew.apply(this,arguments)}et&&(Jx.displayName="VStack");var rw=Pi(((e,r)=>{var t=ji("Text",e),o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(di(e),["className","align","decoration","casing"]),a=lt({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return n(Ci.p,ew({ref:r,className:kt("chakra-text",e.className)},a,o,{__css:t}))}));et&&(rw.displayName="Text");var tw=xt?s:f;function nw(e){var r=ao(),t=Array.isArray(e)?e:[e],n=xt&&"matchMedia"in r.window,[o,a]=c(t.map((e=>!!n&&!!r.window.matchMedia(e).matches)));return tw((()=>{if(n){var e=t.map((e=>r.window.matchMedia(e))),i=e.map((()=>{var t=()=>{var r=e.map((e=>e.matches));((e,r)=>e.length===r.length&&e.every(((e,t)=>e===r[t])))(o,r)||a(r)};return r.window.addEventListener("resize",t),t}));return()=>{e.forEach(((e,t)=>{r.window.removeEventListener("resize",i[t])}))}}}),[e]),o}function ow(){var[e]=nw("(prefers-reduced-motion: reduce)");return e}function aw(e){return Object.entries(e).sort(((e,r)=>Number.parseInt(e[1],10)>Number.parseInt(r[1],10)?1:-1)).map(((e,r,t)=>{var[n,o]=e,a=t[r+1],i=a?a[1]:void 0,s=function(e,r){if(!(parseInt(e,10)>=0||r))return"";var t="(min-width: "+sw(e)+")";if(!r)return t;t&&(t+=" and ");return t+="(max-width: "+sw(function(e){return((e,r)=>{if("number"==typeof e)return""+(e+r);return e.replace(iw,(e=>""+(parseFloat(e)+r)))})(e,e.endsWith("px")?-1:-.01)}(r))+")",t}(o,i);return{minWidth:o,maxWidth:i,breakpoint:n,query:s}}))}var iw=/([0-9]+\.?[0-9]*)/;function sw(e){return Yr(e)?e+"px":e}function lw(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}function uw(){return uw=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},uw.apply(this,arguments)}function cw(r,t){var n=function(r){var{breakpoints:t}=si(),n=ao(),o=e.useMemo((()=>aw(uw({base:"0px"},t))),[t]),[a,i]=e.useState((()=>{if(r){var e=o.find((e=>{var{breakpoint:t}=e;return t===r}));if(e)return lw(e,["query"])}})),s=null==a?void 0:a.breakpoint,l=e.useCallback(((e,r)=>{e.matches&&s!==r.breakpoint&&i(r)}),[s]);return e.useEffect((()=>{var e=new Set;return o.forEach((r=>{var{query:t}=r,o=lw(r,["query"]),a=n.window.matchMedia(t);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:r,handleChange:t}=e;r.removeListener(t)})),e.clear()}}),[o,t,l,n.window]),s}(t),o=si();if(n){var a=Object.keys(o.breakpoints),i=Xr(r)?ct(Object.entries(function(e,r){void 0===r&&(r=pn);var t={};return e.forEach(((e,n)=>{var o=r[n];null!=e&&(t[o]=e)})),t}(r,a)).map((e=>{var[r,t]=e;return[r,t]}))):r;return function(e,r,t){void 0===t&&(t=pn);var n=Object.keys(e).indexOf(r);if(-1!==n)return e[r];for(var o=t.indexOf(r);o>=0;){if(null!=e[t[o]]){n=o;break}o-=1}return-1!==n?e[t[n]]:void 0}(i,n,a)}}function dw(){return dw=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},dw.apply(this,arguments)}function fw(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}var pw=Pi(((e,r)=>{var t=Ti("Table",e),o=di(e),{className:a}=o,i=fw(o,["className"]);return n(li,{value:t},n(Ci.table,dw({role:"table",ref:r,__css:t.table,className:kt("chakra-table",a)},i)))}));et&&(pw.displayName="Table");var hw=Pi(((e,r)=>{var{placement:t="bottom"}=e,o=fw(e,["placement"]),a=ui();return n(Ci.caption,dw({},o,{ref:r,__css:dw({},a.caption,{captionSide:t})}))}));et&&(hw.displayName="TableCaption");var mw=Pi(((e,r)=>{var t=ui();return n(Ci.thead,dw({},e,{ref:r,__css:t.thead}))})),vw=Pi(((e,r)=>{var t=ui();return n(Ci.tbody,dw({},e,{ref:r,__css:t.tbody}))})),gw=Pi(((e,r)=>{var t=ui();return n(Ci.tfoot,dw({},e,{ref:r,__css:t.tfoot}))})),bw=Pi(((e,r)=>{var{isNumeric:t}=e,o=fw(e,["isNumeric"]),a=ui();return n(Ci.th,dw({},o,{ref:r,__css:a.th,"data-is-numeric":t}))})),yw=Pi(((e,r)=>{var t=ui();return n(Ci.tr,dw({role:"row"},e,{ref:r,__css:t.tr}))})),xw=Pi(((e,r)=>{var{isNumeric:t}=e,o=fw(e,["isNumeric"]),a=ui();return n(Ci.td,dw({role:"gridcell"},o,{ref:r,__css:a.td,"data-is-numeric":t}))}));function ww(){return ww=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ww.apply(this,arguments)}function Sw(e){var r=e.target,{tagName:t,isContentEditable:n}=r;return"INPUT"!==t&&"TEXTAREA"!==t&&!0!==n}function kw(e){void 0===e&&(e={});var{ref:r,isDisabled:t,isFocusable:n,clickOnEnter:o=!0,clickOnSpace:a=!0,onMouseDown:s,onMouseUp:l,onClick:u,onKeyDown:p,onKeyUp:h,tabIndex:m,onMouseOver:v,onMouseLeave:g}=e,b=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"]),[y,x]=c(!0),[w,S]=c(!1),k=function(){var e=i(new Map),r=e.current,t=d(((r,t,n,o)=>{e.current.set(n,{type:t,el:r,options:o}),r.addEventListener(t,n,o)}),[]),n=d(((r,t,n,o)=>{r.removeEventListener(t,n,o),e.current.delete(n)}),[]);return f((()=>()=>{r.forEach(((e,r)=>{n(e.el,e.type,r,e.options)}))}),[n,r]),{add:t,remove:n}}(),O=y?m:m||0,_=t&&!n,E=d((e=>{if(t)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==u||u(e)}),[t,u]),A=d((e=>{w&&Sw(e)&&(e.preventDefault(),e.stopPropagation(),S(!1),k.remove(document,"keyup",A,!1))}),[w,k]),C=d((e=>{if(null==p||p(e),!(t||e.defaultPrevented||e.metaKey)&&Sw(e.nativeEvent)&&!y){var r=o&&"Enter"===e.key;if(a&&" "===e.key&&(e.preventDefault(),S(!0)),r)e.preventDefault(),e.currentTarget.click();k.add(document,"keyup",A,!1)}}),[t,y,p,o,a,k,A]),P=d((e=>{(null==h||h(e),t||e.defaultPrevented||e.metaKey)||Sw(e.nativeEvent)&&!y&&a&&" "===e.key&&(e.preventDefault(),S(!1),e.currentTarget.click())}),[a,y,t,h]),j=d((e=>{0===e.button&&(S(!1),k.remove(document,"mouseup",j,!1))}),[k]),T=d((e=>{if(!At(e)){if(t)return e.stopPropagation(),void e.preventDefault();y||S(!0),e.currentTarget.focus({preventScroll:!0}),k.add(document,"mouseup",j,!1),null==s||s(e)}}),[t,y,s,k,j]),R=d((e=>{At(e)||(y||S(!1),null==l||l(e))}),[l,y]),z=d((e=>{t?e.preventDefault():null==v||v(e)}),[t,v]),B=d((e=>{w&&(e.preventDefault(),S(!1)),null==g||g(e)}),[w,g]),D=vn(r,(e=>{e&&"BUTTON"!==e.tagName&&x(!1)}));return ww({},b,y?{ref:D,type:"button","aria-disabled":_?void 0:t,disabled:_,onClick:E,onMouseDown:s,onMouseUp:l,onKeyUp:h,onKeyDown:p,onMouseOver:v,onMouseLeave:g}:{ref:D,role:"button","data-active":wt(w),"aria-disabled":t?"true":void 0,tabIndex:_?void 0:O,onClick:E,onMouseDown:T,onMouseUp:R,onKeyUp:P,onKeyDown:C,onMouseOver:z,onMouseLeave:B})}function Ow(e){var r=e.getBoundingClientRect();return{width:r.width,height:r.height,top:r.top,right:r.right,bottom:r.bottom,left:r.left,x:r.left,y:r.top}}function _w(e){if("[object Window]"!==e.toString()){var r=e.ownerDocument;return r?r.defaultView:window}return e}function Ew(e){var r=_w(e);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Aw(e){return e instanceof _w(e).Element||e instanceof Element}function Cw(e){return e instanceof _w(e).HTMLElement||e instanceof HTMLElement}function Pw(e){return e?(e.nodeName||"").toLowerCase():null}function jw(e){return(Aw(e)?e.ownerDocument:e.document).documentElement}function Tw(e){return Ow(jw(e)).left+Ew(e).scrollLeft}function Rw(e){return _w(e).getComputedStyle(e)}function zw(e){var r=Rw(e),t=r.overflow,n=r.overflowX,o=r.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+n)}function Bw(e,r,t){void 0===t&&(t=!1);var n=jw(r),o=Ow(e),a=Cw(r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(a||!a&&!t)&&(("body"!==Pw(r)||zw(n))&&(i=function(e){return e!==_w(e)&&Cw(e)?{scrollLeft:(r=e).scrollLeft,scrollTop:r.scrollTop}:Ew(e);var r}(r)),Cw(r)?((s=Ow(r)).x+=r.clientLeft,s.y+=r.clientTop):n&&(s.x=Tw(n))),{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function Dw(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Fw(e){return"html"===Pw(e)?e:e.assignedSlot||e.parentNode||e.host||jw(e)}function Nw(e){return["html","body","#document"].indexOf(Pw(e))>=0?e.ownerDocument.body:Cw(e)&&zw(e)?e:Nw(Fw(e))}function Iw(e,r){void 0===r&&(r=[]);var t=Nw(e),n="body"===Pw(t),o=_w(t),a=n?[o].concat(o.visualViewport||[],zw(t)?t:[]):t,i=r.concat(a);return n?i:i.concat(Iw(Fw(a)))}function Mw(e){return["table","td","th"].indexOf(Pw(e))>=0}function Lw(e){if(!Cw(e)||"fixed"===Rw(e).position)return null;var r=e.offsetParent;if(r){var t=jw(r);if("body"===Pw(r)&&"static"===Rw(r).position&&"static"!==Rw(t).position)return t}return r}function Ww(e){for(var r=_w(e),t=Lw(e);t&&Mw(t)&&"static"===Rw(t).position;)t=Lw(t);return t&&"body"===Pw(t)&&"static"===Rw(t).position?r:t||function(e){for(var r=Fw(e);Cw(r)&&["html","body"].indexOf(Pw(r))<0;){var t=Rw(r);if("none"!==t.transform||"none"!==t.perspective||t.willChange&&"auto"!==t.willChange)return r;r=r.parentNode}return null}(e)||r}var Hw="top",Vw="bottom",$w="right",Uw="left",qw=[Hw,Vw,$w,Uw],Yw=qw.reduce((function(e,r){return e.concat([r+"-start",r+"-end"])}),[]),Xw=[].concat(qw,["auto"]).reduce((function(e,r){return e.concat([r,r+"-start",r+"-end"])}),[]),Gw=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Kw(e){var r=new Map,t=new Set,n=[];function o(e){t.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!t.has(e)){var n=r.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){r.set(e.name,e)})),e.forEach((function(e){t.has(e.name)||o(e)})),n}function Zw(e){var r;return function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(e())}))}))),r}}function Qw(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return[].concat(t).reduce((function(e,r){return e.replace(/%s/,r)}),e)}var Jw='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',eS=["name","enabled","phase","fn","effect","requires","options"];function rS(e){return e.split("-")[0]}function tS(e,r){var t=Boolean(r.getRootNode&&r.getRootNode().host);if(e.contains(r))return!0;if(t){var n=r;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function nS(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oS(e,r){return"viewport"===r?nS(function(e){var r=_w(e),t=jw(e),n=r.visualViewport,o=t.clientWidth,a=t.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+Tw(e),y:s}}(e)):Cw(r)?function(e){var r=Ow(e);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(r):nS(function(e){var r=jw(e),t=Ew(e),n=e.ownerDocument.body,o=Math.max(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=Math.max(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-t.scrollLeft+Tw(e),s=-t.scrollTop;return"rtl"===Rw(n||r).direction&&(i+=Math.max(r.clientWidth,n?n.clientWidth:0)-o),{width:o,height:a,x:i,y:s}}(jw(e)))}function aS(e,r,t){var n="clippingParents"===r?function(e){var r=Iw(Fw(e)),t=["absolute","fixed"].indexOf(Rw(e).position)>=0&&Cw(e)?Ww(e):e;return Aw(t)?r.filter((function(e){return Aw(e)&&tS(e,t)&&"body"!==Pw(e)})):[]}(e):[].concat(r),o=[].concat(n,[t]),a=o[0],i=o.reduce((function(r,t){var n=oS(e,t);return r.top=Math.max(n.top,r.top),r.right=Math.min(n.right,r.right),r.bottom=Math.min(n.bottom,r.bottom),r.left=Math.max(n.left,r.left),r}),oS(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 iS(e){return e.split("-")[1]}function sS(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lS(e){var r,t=e.reference,n=e.element,o=e.placement,a=o?rS(o):null,i=o?iS(o):null,s=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2;switch(a){case Hw:r={x:s,y:t.y-n.height};break;case Vw:r={x:s,y:t.y+t.height};break;case $w:r={x:t.x+t.width,y:l};break;case Uw:r={x:t.x-n.width,y:l};break;default:r={x:t.x,y:t.y}}var u=a?sS(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case"start":r[u]=Math.floor(r[u])-Math.floor(t[c]/2-n[c]/2);break;case"end":r[u]=Math.floor(r[u])+Math.ceil(t[c]/2-n[c]/2)}}return r}function uS(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function cS(e,r){return r.reduce((function(r,t){return r[t]=e,r}),{})}function dS(e,r){void 0===r&&(r={});var t=r,n=t.placement,o=void 0===n?e.placement:n,a=t.boundary,i=void 0===a?"clippingParents":a,s=t.rootBoundary,l=void 0===s?"viewport":s,u=t.elementContext,c=void 0===u?"popper":u,d=t.altBoundary,f=void 0!==d&&d,p=t.padding,h=void 0===p?0:p,m=uS("number"!=typeof h?h:cS(h,qw)),v="popper"===c?"reference":"popper",g=e.elements.reference,b=e.rects.popper,y=e.elements[f?v:c],x=aS(Aw(y)?y:y.contextElement||jw(e.elements.popper),i,l),w=Ow(g),S=lS({reference:w,element:b,strategy:"absolute",placement:o}),k=nS(Object.assign(Object.assign({},b),S)),O="popper"===c?k:w,_={top:x.top-O.top+m.top,bottom:O.bottom-x.bottom+m.bottom,left:x.left-O.left+m.left,right:O.right-x.right+m.right},E=e.modifiersData.offset;if("popper"===c&&E){var A=E[o];Object.keys(_).forEach((function(e){var r=[$w,Vw].indexOf(e)>=0?1:-1,t=[Hw,Vw].indexOf(e)>=0?"y":"x";_[e]+=A[t]*r}))}return _}var fS="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",pS={placement:"bottom",modifiers:[],strategy:"absolute"};function hS(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return!r.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function mS(e){void 0===e&&(e={});var r=e,t=r.defaultModifiers,n=void 0===t?[]:t,o=r.defaultOptions,a=void 0===o?pS:o;return function(e,r,t){void 0===t&&(t=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},pS),a),modifiersData:{},elements:{reference:e,popper:r},attributes:{},styles:{}},i=[],s=!1,l={state:o,setOptions:function(t){u(),o.options=Object.assign(Object.assign(Object.assign({},a),o.options),t),o.scrollParents={reference:Aw(e)?Iw(e):e.contextElement?Iw(e.contextElement):[],popper:Iw(r)};var s=function(e){var r=Kw(e);return Gw.reduce((function(e,t){return e.concat(r.filter((function(e){return e.phase===t})))}),[])}(function(e){var r=e.reduce((function(e,r){var t=e[r.name];return e[r.name]=t?Object.assign(Object.assign(Object.assign({},t),r),{},{options:Object.assign(Object.assign({},t.options),r.options),data:Object.assign(Object.assign({},t.data),r.data)}):r,e}),{});return Object.keys(r).map((function(e){return r[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,r){var t=new Set;return e.filter((function(e){var n=r(e);if(!t.has(n))return t.add(n),!0}))}([].concat(s,o.options.modifiers),(function(e){return e.name}));if(function(e){e.forEach((function(r){Object.keys(r).forEach((function(t){switch(t){case"name":"string"!=typeof r.name&&console.error(Qw(Jw,String(r.name),'"name"','"string"','"'+String(r.name)+'"'));break;case"enabled":"boolean"!=typeof r.enabled&&console.error(Qw(Jw,r.name,'"enabled"','"boolean"','"'+String(r.enabled)+'"'));case"phase":Gw.indexOf(r.phase)<0&&console.error(Qw(Jw,r.name,'"phase"',"either "+Gw.join(", "),'"'+String(r.phase)+'"'));break;case"fn":"function"!=typeof r.fn&&console.error(Qw(Jw,r.name,'"fn"','"function"','"'+String(r.fn)+'"'));break;case"effect":"function"!=typeof r.effect&&console.error(Qw(Jw,r.name,'"effect"','"function"','"'+String(r.fn)+'"'));break;case"requires":Array.isArray(r.requires)||console.error(Qw(Jw,r.name,'"requires"','"array"','"'+String(r.requires)+'"'));break;case"requiresIfExists":Array.isArray(r.requiresIfExists)||console.error(Qw(Jw,r.name,'"requiresIfExists"','"array"','"'+String(r.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+r.name+'" modifier, valid properties are '+eS.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+t+'" was provided.')}r.requires&&r.requires.forEach((function(t){null==e.find((function(e){return e.name===t}))&&console.error(Qw('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(r.name),t,t))}))}))}))}(c),"auto"===rS(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=Rw(r);[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 r=e.name,t=e.options,n=void 0===t?{}:t,a=e.effect;if("function"==typeof a){var s=a({state:o,name:r,instance:l,options:n}),u=function(){};i.push(s||u)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,r=e.reference,t=e.popper;if(hS(r,t)){o.rects={reference:Bw(r,Ww(t),"fixed"===o.options.strategy),popper:Dw(t)},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(fS)}},update:Zw((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){u(),s=!0}};if(!hS(e,r))return"production"!==process.env.NODE_ENV&&console.error(fS),l;function u(){i.forEach((function(e){return e()})),i=[]}return l.setOptions(t).then((function(e){!s&&t.onFirstUpdate&&t.onFirstUpdate(e)})),l}}var vS={passive:!0};var gS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var r=e.state,t=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,s=void 0===i||i,l=_w(r.elements.popper),u=[].concat(r.scrollParents.reference,r.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",t.update,vS)})),s&&l.addEventListener("resize",t.update,vS),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",t.update,vS)})),s&&l.removeEventListener("resize",t.update,vS)}},data:{}};var bS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yS(e){var r,t=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,u=function(e){var r=e.x,t=e.y,n=window.devicePixelRatio||1;return{x:Math.round(r*n)/n||0,y:Math.round(t*n)/n||0}}(a),c=u.x,d=u.y,f=a.hasOwnProperty("x"),p=a.hasOwnProperty("y"),h=Uw,m=Hw,v=window;if(l){var g=Ww(t);g===_w(t)&&(g=jw(t)),o===Hw&&(m=Vw,d-=g.clientHeight-n.height,d*=s?1:-1),o===Uw&&(h=$w,c-=g.clientWidth-n.width,c*=s?1:-1)}var b,y=Object.assign({position:i},l&&bS);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),{},((r={})[m]=p?d+"px":"",r[h]=f?c+"px":"",r.transform="",r))}var xS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var r=e.state,t=e.options,n=t.gpuAcceleration,o=void 0===n||n,a=t.adaptive,i=void 0===a||a;if("production"!==process.env.NODE_ENV){var s=Rw(r.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:rS(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:o};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign(Object.assign({},r.styles.popper),yS(Object.assign(Object.assign({},l),{},{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:i})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign(Object.assign({},r.styles.arrow),yS(Object.assign(Object.assign({},l),{},{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1})))),r.attributes.popper=Object.assign(Object.assign({},r.attributes.popper),{},{"data-popper-placement":r.placement})},data:{}};var wS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var r=e.state,t=e.options,n=e.name,o=t.offset,a=void 0===o?[0,0]:o,i=Xw.reduce((function(e,t){return e[t]=function(e,r,t){var n=rS(e),o=[Uw,Hw].indexOf(n)>=0?-1:1,a="function"==typeof t?t(Object.assign(Object.assign({},r),{},{placement:e})):t,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[Uw,$w].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}(t,r.rects,a),e}),{}),s=i[r.placement],l=s.x,u=s.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=l,r.modifiersData.popperOffsets.y+=u),r.modifiersData[n]=i}},SS={left:"right",right:"left",bottom:"top",top:"bottom"};function kS(e){return e.replace(/left|right|bottom|top/g,(function(e){return SS[e]}))}var OS={start:"end",end:"start"};function _S(e){return e.replace(/start|end/g,(function(e){return OS[e]}))}function ES(e,r){void 0===r&&(r={});var t=r,n=t.placement,o=t.boundary,a=t.rootBoundary,i=t.padding,s=t.flipVariations,l=t.allowedAutoPlacements,u=void 0===l?Xw:l,c=iS(n),d=c?s?Yw:Yw.filter((function(e){return iS(e)===c})):qw,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(r,t){return r[t]=dS(e,{placement:t,boundary:o,rootBoundary:a,padding:i})[rS(t)],r}),{});return Object.keys(p).sort((function(e,r){return p[e]-p[r]}))}var AS={name:"flip",enabled:!0,phase:"main",fn:function(e){var r=e.state,t=e.options,n=e.name;if(!r.modifiersData[n]._skip){for(var o=t.mainAxis,a=void 0===o||o,i=t.altAxis,s=void 0===i||i,l=t.fallbackPlacements,u=t.padding,c=t.boundary,d=t.rootBoundary,f=t.altBoundary,p=t.flipVariations,h=void 0===p||p,m=t.allowedAutoPlacements,v=r.options.placement,g=rS(v),b=l||(g===v||!h?[kS(v)]:function(e){if("auto"===rS(e))return[];var r=kS(e);return[_S(e),r,_S(r)]}(v)),y=[v].concat(b).reduce((function(e,t){return e.concat("auto"===rS(t)?ES(r,{placement:t,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):t)}),[]),x=r.rects.reference,w=r.rects.popper,S=new Map,k=!0,O=y[0],_=0;_<y.length;_++){var E=y[_],A=rS(E),C="start"===iS(E),P=[Hw,Vw].indexOf(A)>=0,j=P?"width":"height",T=dS(r,{placement:E,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),R=P?C?$w:Uw:C?Vw:Hw;x[j]>w[j]&&(R=kS(R));var z=kS(R),B=[];if(a&&B.push(T[A]<=0),s&&B.push(T[R]<=0,T[z]<=0),B.every((function(e){return e}))){O=E,k=!1;break}S.set(E,B)}if(k)for(var D=function(e){var r=y.find((function(r){var t=S.get(r);if(t)return t.slice(0,e).every((function(e){return e}))}));if(r)return O=r,"break"},F=h?3:1;F>0;F--){if("break"===D(F))break}r.placement!==O&&(r.modifiersData[n]._skip=!0,r.placement=O,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function CS(e,r,t){return Math.max(e,Math.min(r,t))}var PS={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var r=e.state,t=e.options,n=e.name,o=t.mainAxis,a=void 0===o||o,i=t.altAxis,s=void 0!==i&&i,l=t.boundary,u=t.rootBoundary,c=t.altBoundary,d=t.padding,f=t.tether,p=void 0===f||f,h=t.tetherOffset,m=void 0===h?0:h,v=dS(r,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=rS(r.placement),b=iS(r.placement),y=!b,x=sS(g),w="x"===x?"y":"x",S=r.modifiersData.popperOffsets,k=r.rects.reference,O=r.rects.popper,_="function"==typeof m?m(Object.assign(Object.assign({},r.rects),{},{placement:r.placement})):m,E={x:0,y:0};if(S){if(a){var A="y"===x?Hw:Uw,C="y"===x?Vw:$w,P="y"===x?"height":"width",j=S[x],T=S[x]+v[A],R=S[x]-v[C],z=p?-O[P]/2:0,B="start"===b?k[P]:O[P],D="start"===b?-O[P]:-k[P],F=r.elements.arrow,N=p&&F?Dw(F):{width:0,height:0},I=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},M=I[A],L=I[C],W=CS(0,k[P],N[P]),H=y?k[P]/2-z-W-M-_:B-W-M-_,V=y?-k[P]/2+z+W+L+_:D+W+L+_,$=r.elements.arrow&&Ww(r.elements.arrow),U=$?"y"===x?$.clientTop||0:$.clientLeft||0:0,q=r.modifiersData.offset?r.modifiersData.offset[r.placement][x]:0,Y=S[x]+H-q-U,X=S[x]+V-q,G=CS(p?Math.min(T,Y):T,j,p?Math.max(R,X):R);S[x]=G,E[x]=G-j}if(s){var K="x"===x?Hw:Uw,Z="x"===x?Vw:$w,Q=S[w],J=CS(Q+v[K],Q,Q-v[Z]);S[w]=J,E[w]=J-Q}r.modifiersData[n]=E}},requiresIfExists:["offset"]};var jS={name:"arrow",enabled:!0,phase:"main",fn:function(e){var r,t=e.state,n=e.name,o=t.elements.arrow,a=t.modifiersData.popperOffsets,i=rS(t.placement),s=sS(i),l=[Uw,$w].indexOf(i)>=0?"height":"width";if(o&&a){var u=t.modifiersData[n+"#persistent"].padding,c=Dw(o),d="y"===s?Hw:Uw,f="y"===s?Vw:$w,p=t.rects.reference[l]+t.rects.reference[s]-a[s]-t.rects.popper[l],h=a[s]-t.rects.reference[s],m=Ww(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=CS(b,x,y),S=s;t.modifiersData[n]=((r={})[S]=w,r.centerOffset=w-x,r)}},effect:function(e){var r=e.state,t=e.options,n=e.name,o=t.element,a=void 0===o?"[data-popper-arrow]":o,i=t.padding,s=void 0===i?0:i;null!=a&&("string"!=typeof a||(a=r.elements.popper.querySelector(a)))&&("production"!==process.env.NODE_ENV&&(Cw(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(" "))),tS(r.elements.popper,a)?(r.elements.arrow=a,r.modifiersData[n+"#persistent"]={padding:uS("number"!=typeof s?s:cS(s,qw))}):"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 TS(e,r,t){return void 0===t&&(t={x:0,y:0}),{top:e.top-r.height-t.y,right:e.right-r.width+t.x,bottom:e.bottom-r.height+t.y,left:e.left-r.width-t.x}}function RS(e){return[Hw,$w,Vw,Uw].some((function(r){return e[r]>=0}))}var zS=mS({defaultModifiers:[gS,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var r=e.state,t=e.name;r.modifiersData[t]=lS({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})},data:{}},xS,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach((function(e){var t=r.styles[e]||{},n=r.attributes[e]||{},o=r.elements[e];Cw(o)&&Pw(o)&&(Object.assign(o.style,t),Object.keys(n).forEach((function(e){var r=n[e];!1===r?o.removeAttribute(e):o.setAttribute(e,!0===r?"":r)})))}))},effect:function(e){var r=e.state,t={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,t.popper),r.elements.arrow&&Object.assign(r.elements.arrow.style,t.arrow),function(){Object.keys(r.elements).forEach((function(e){var n=r.elements[e],o=r.attributes[e]||{},a=Object.keys(r.styles.hasOwnProperty(e)?r.styles[e]:t[e]).reduce((function(e,r){return e[r]="",e}),{});Cw(n)&&Pw(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},wS,AS,PS,jS,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var r=e.state,t=e.name,n=r.rects.reference,o=r.rects.popper,a=r.modifiersData.preventOverflow,i=dS(r,{elementContext:"reference"}),s=dS(r,{altBoundary:!0}),l=TS(i,n),u=TS(s,o,a),c=RS(l),d=RS(u);r.modifiersData[t]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},r.attributes.popper=Object.assign(Object.assign({},r.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});function BS(){return BS=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},BS.apply(this,arguments)}var DS=(e,r)=>({var:e,varRef:r?"var("+e+", "+r+")":"var("+e+")"}),FS={arrowShadowColor:DS("--popper-arrow-shadow-color"),arrowSize:DS("--popper-arrow-size","8px"),arrowSizeHalf:DS("--popper-arrow-size-half"),arrowBg:DS("--popper-arrow-bg"),transformOrigin:DS("--popper-transform-origin"),arrowOffset:DS("--popper-arrow-offset")};var NS={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"},IS={scroll:!0,resize:!0};var MS={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{var{state:r}=e;r.styles.popper.width=r.rects.reference.width+"px"},effect:e=>{var{state:r}=e;return()=>{var e=r.elements.reference;r.elements.popper.style.width=e.offsetWidth+"px"}}},LS={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{var{state:r}=e;WS(r)},effect:e=>{var{state:r}=e;return()=>{WS(r)}}},WS=e=>{var r;e.elements.popper.style.setProperty(FS.transformOrigin.var,(r=e.placement,NS[r]))},HS={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{var{state:r}=e;VS(r)}},VS=e=>{var r;if(e.placement){var t=$S(e.placement);if(null!=(r=e.elements)&&r.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:FS.arrowSize.varRef,height:FS.arrowSize.varRef,zIndex:-1});var n={[FS.arrowSizeHalf.var]:"calc("+FS.arrowSize.varRef+" / 2)",[FS.arrowOffset.var]:"calc("+FS.arrowSizeHalf.varRef+" * -1)"};for(var o in n)e.elements.arrow.style.setProperty(o,n[o])}}},$S=e=>e.startsWith("top")?{property:"bottom",value:FS.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:FS.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:FS.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:FS.arrowOffset.varRef}:void 0,US={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{var{state:r}=e;qS(r)},effect:e=>{var{state:r}=e;return()=>{qS(r)}}},qS=e=>{if(e.elements.arrow){var r,t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(t)Object.assign(t.style,{transform:"rotate(45deg)",background:FS.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:(r=e.placement,r.includes("top")?"1px 1px 1px 0 var(--popper-arrow-shadow-color)":r.includes("bottom")?"-1px -1px 1px 0 var(--popper-arrow-shadow-color)":r.includes("right")?"-1px 1px 1px 0 var(--popper-arrow-shadow-color)":r.includes("left")?"1px -1px 1px 0 var(--popper-arrow-shadow-color)":void 0)})}},YS={"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"}},XS={"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 GS(){return GS=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},GS.apply(this,arguments)}function KS(e){void 0===e&&(e={});var{enabled:r=!0,modifiers:t,placement:n="bottom",strategy:o="absolute",arrowPadding:a=8,eventListeners:s=!0,offset:l,gutter:u=8,flip:c=!0,boundary:p="clippingParents",preventOverflow:h=!0,matchWidth:m,direction:v="ltr"}=e,g=i(null),b=i(null),y=i(null),x=function(e,r){var t,n;void 0===r&&(r="ltr");var o=(null==(t=YS[e])?void 0:t[r])||e;return"ltr"===r?o:null!=(n=XS[e])?n:o}(n,v),w=i((()=>{})),S=d((()=>{var e;r&&g.current&&b.current&&(null==w.current||w.current(),y.current=zS(g.current,b.current,{placement:x,modifiers:[US,HS,LS,GS({},MS,{enabled:!!m}),GS({name:"eventListeners"},(e=s,"object"==typeof e?{enabled:!0,options:BS({},IS,e)}:{enabled:e,options:IS})),{name:"arrow",options:{padding:a}},{name:"offset",options:{offset:null!=l?l:[0,u]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!h,options:{boundary:p}},...null!=t?t:[]],strategy:o}),y.current.forceUpdate(),w.current=y.current.destroy)}),[x,r,t,m,s,a,l,u,c,h,p,o]);f((()=>()=>{var e;g.current||b.current||(null==(e=y.current)||e.destroy(),y.current=null)}),[]);var k=d((e=>{g.current=e,S()}),[S]),O=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),GS({},e,{ref:vn(k,r)})}),[k]),_=d((e=>{b.current=e,S()}),[S]),E=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),GS({},e,{ref:vn(_,r),style:GS({},e.style,{position:o,minWidth:"max-content",inset:"0 auto auto 0"})})}),[o,_]),A=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),GS({},function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["size","shadowColor","bg","style"]),{ref:r,"data-popper-arrow":"",style:ZS(e)})}),[]),C=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),GS({},e,{ref:r,"data-popper-arrow-inner":""})}),[]);return{update(){var e;null==(e=y.current)||e.update()},forceUpdate(){var e;null==(e=y.current)||e.forceUpdate()},transformOrigin:FS.transformOrigin.varRef,referenceRef:k,popperRef:_,getPopperProps:E,getArrowProps:A,getArrowInnerProps:C,getReferenceProps:O}}function ZS(e){var{size:r,shadowColor:t,bg:n,style:o}=e,a=GS({},o,{position:"absolute"});return r&&(a["--popper-arrow-size"]=r),t&&(a["--popper-arrow-shadow-color"]=t),n&&(a["--popper-arrow-bg"]=n),a}var[QS,JS]=gn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"});function ek(){return ek=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ek.apply(this,arguments)}var rk=e=>{if(e)return tt(e,{enter:{visibility:"visible"},exit:{transitionEnd:{visibility:"hidden"}}})},tk=vb(Ci.section),nk=e.forwardRef(((r,t)=>{var{isOpen:n}=JS();return e.createElement(tk,ek({ref:t,variants:rk(r.variants)},r,{initial:!1,animate:n?"enter":"exit"}))}));function ok(){return ok=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ok.apply(this,arguments)}nk.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 ak={click:"click",hover:"hover"};function ik(e){void 0===e&&(e={});var{closeOnBlur:r=!0,closeOnEsc:t=!0,initialFocusRef:n,id:o,returnFocusOnClose:a=!0,autoFocus:s=!0,arrowSize:l,arrowShadowColor:u,trigger:p=ak.click,openDelay:h=200,closeDelay:m=200,isLazy:v,lazyBehavior:g="unmount",computePositionOnMount:b}=e,y=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,["closeOnBlur","closeOnEsc","initialFocusRef","id","returnFocusOnClose","autoFocus","arrowSize","arrowShadowColor","trigger","openDelay","closeDelay","isLazy","lazyBehavior","computePositionOnMount"]),{isOpen:x,onClose:w,onOpen:S,onToggle:k}=Fn(e),O=i(null),_=i(null),E=i(!1),A=i(!1);x&&(A.current=!0);var[C,P]=c(!1),[j,T]=c(!1),[R,z,B,D]=Bn(o,"popover-trigger","popover-content","popover-header","popover-body"),{referenceRef:F,getArrowProps:N,getPopperProps:I,getArrowInnerProps:M,forceUpdate:L}=KS(ok({},y,{enabled:x||!!b}));Ln({enabled:x,ref:O}),Mn(_,{focusRef:O,visible:x,shouldFocus:a&&p===ak.click}),Hn(_,{focusRef:n,visible:x,shouldFocus:s&&p===ak.click});var W=Wt({hasBeenSelected:A.current,isLazy:v,lazyBehavior:g,isSelected:x}),H=d((function(e,n){void 0===e&&(e={}),void 0===n&&(n=null);var o=ok({},e,{style:ok({},e.style,{transformOrigin:FS.transformOrigin.varRef,[FS.arrowSize.var]:l?dt(l):void 0,[FS.arrowShadowColor.var]:u}),ref:vn(_,n),children:W?e.children:null,id:z,tabIndex:-1,role:"dialog",onKeyDown:Dt(e.onKeyDown,(e=>{t&&"Escape"===e.key&&w()})),onBlur:Dt(e.onBlur,(e=>{var t=function(e){var r,t,n=Ot(null!=(r=e.target)?r:e.currentTarget);return null!=(t=e.relatedTarget)?t:n}(e),n=_t(_.current,t),o=_t(O.current,t);x&&r&&(!n&&!o)&&w()})),"aria-labelledby":C?B:void 0,"aria-describedby":j?D:void 0});return p===ak.hover&&(o.role="tooltip",o.onMouseEnter=Dt(e.onMouseEnter,(()=>{E.current=!0})),o.onMouseLeave=Dt(e.onMouseLeave,(()=>{E.current=!1,setTimeout(w,m)}))),o}),[W,z,C,B,j,D,p,t,w,x,r,m,u,l]),V=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),I(ok({},e,{style:ok({visibility:x?"visible":"hidden"},e.style)}),r)}),[x,I]),$=i(),U=i(),q=d((function(e,r){void 0===e&&(e={}),void 0===r&&(r=null);var t=ok({},e,{ref:vn(O,r,F),id:R,"aria-haspopup":"dialog","aria-expanded":x,"aria-controls":z});return p===ak.click&&(t.onClick=Dt(e.onClick,k)),p===ak.hover&&(t.onFocus=Dt(e.onFocus,S),t.onBlur=Dt(e.onBlur,w),t.onKeyDown=Dt(e.onKeyDown,(e=>{"Escape"===e.key&&w()})),t.onMouseEnter=Dt(e.onMouseEnter,(()=>{E.current=!0,$.current=window.setTimeout(S,h)})),t.onMouseLeave=Dt(e.onMouseLeave,(()=>{E.current=!1,$.current&&(clearTimeout($.current),$.current=void 0),U.current=window.setTimeout((()=>{!1===E.current&&w()}),m)}))),t}),[R,x,z,p,F,k,S,w,h,m]);f((()=>()=>{$.current&&clearTimeout($.current),U.current&&clearTimeout(U.current)}),[]);var Y=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),ok({},e,{id:B,ref:vn(r,(e=>{P(!!e)}))})}),[B]),X=d((function(e,r){return void 0===e&&(e={}),void 0===r&&(r=null),ok({},e,{id:D,ref:vn(r,(e=>{T(!!e)}))})}),[D]);return{forceUpdate:L,isOpen:x,onClose:w,getArrowProps:N,getArrowInnerProps:M,getPopoverPositionerProps:V,getPopoverProps:H,getTriggerProps:q,getHeaderProps:Y,getBodyProps:X}}function sk(){return sk=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},sk.apply(this,arguments)}function lk(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}var uk=e=>{var r=Ti("Popover",e),t=di(e),{children:o}=t,a=ik(sk({},lk(t,["children"]),{direction:si().direction}));return n(QS,{value:a},n(li,{value:r},Bt(o,{isOpen:a.isOpen,onClose:a.onClose,forceUpdate:a.forceUpdate})))};et&&(uk.displayName="Popover");var ck=e=>{var r=l.only(e.children),{getTriggerProps:t}=JS();return v(r,t(r.props,r.ref))};et&&(ck.displayName="PopoverTrigger");var dk=Pi(((e,r)=>{var{rootProps:t}=e,o=lk(e,["rootProps"]),{getPopoverProps:a,getPopoverPositionerProps:i}=JS(),s=ui(),l=sk({position:"relative",display:"flex",flexDirection:"column"},s.content);return n(Ci.div,sk({},i(t),{__css:s.popper,className:"chakra-popover__popper"}),n(nk,sk({},a(o,r),{className:kt("chakra-popover__content",e.className),__css:l})))}));et&&(dk.displayName="PopoverContent");var fk=Pi(((e,r)=>{var{getHeaderProps:t}=JS(),o=ui();return n(Ci.header,sk({},t(e,r),{className:kt("chakra-popover__header",e.className),__css:o.header}))}));et&&(fk.displayName="PopoverHeader");var pk=Pi(((e,r)=>{var{getBodyProps:t}=JS(),o=ui();return n(Ci.div,sk({},t(e,r),{className:kt("chakra-popover__body",e.className),__css:o.body}))}));et&&(pk.displayName="PopoverBody");var hk=e=>{var{onClose:r}=JS(),t=ui();return n(px,sk({size:"sm",onClick:r,className:kt("chakra-popover__close-btn",e.className),__css:t.closeButton},e))};et&&(hk.displayName="PopoverCloseButton");var mk=e=>{var r,{bg:t,bgColor:o,backgroundColor:a}=e,{getArrowProps:i,getArrowInnerProps:s}=JS(),l=ui(),u=null!=(r=null!=t?t:o)?r:a;return n(Ci.div,sk({},i(),{className:"chakra-popover__arrow-positioner"}),n(Ci.div,sk({className:kt("chakra-popover__arrow",e.className)},s(e),{__css:sk({},l.arrow,{"--popper-arrow-bg":u?"colors."+u+", "+u:void 0})})))};et&&(mk.displayName="PopoverArrow");var vk=Nr({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),gk=Nr({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});function bk(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}function yk(){return yk=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},yk.apply(this,arguments)}Nr({"0%":{left:"-40%"},"100%":{left:"100%"}}),Nr({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});var xk=e=>n(Ci.circle,yk({cx:50,cy:50,r:42,fill:"transparent"},e));et&&(xk.displayName="Circle");var wk=e=>{var{size:r,isIndeterminate:t}=e,o=bk(e,["size","isIndeterminate"]);return n(Ci.svg,yk({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:t?gk+" 2s linear infinite":void 0}},o))};et&&(wk.displayName="Shape");var Sk=e=>{var r,{size:t="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}=e,m=bk(e,["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"]),v=function(e){var{value:r=0,min:t,max:n,valueText:o,getValueText:a,isIndeterminate:i}=e,s=function(e,r,t){return 100*(e-r)/(t-r)}(r,t,n);return{bind:{"data-indeterminate":i?"":void 0,"aria-valuemax":n,"aria-valuemin":t,"aria-valuenow":i?void 0:r,"aria-valuetext":(()=>{if(null!=r)return Gr(a)?a(r,s):o})(),role:"progressbar"},percent:s,value:r}}({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=Kr(g)?void 0:g+" "+(264-g),y=h?{css:{animation:vk+" 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:t};return n(Ci.div,yk({className:"chakra-progress"},v.bind,m,{__css:x}),n(wk,{size:t,isIndeterminate:h},n(xk,{stroke:p,strokeWidth:d,className:"chakra-progress__track"}),n(xk,yk({stroke:f,strokeWidth:d,className:"chakra-progress__indicator",strokeLinecap:u?"round":void 0,opacity:0!==v.value||h?void 0:0},y))),c)};et&&(Sk.displayName="CircularProgress");var kk=Ci("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function Ok(){return Ok=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ok.apply(this,arguments)}function _k(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(kk.displayName="CircularProgressLabel");var Ek=Pi(((e,r)=>{var{children:t,placeholder:o,className:a}=e,i=_k(e,["children","placeholder","className"]);return n(Ci.select,Ok({},i,{ref:r,className:kt("chakra-select",a)}),o&&n("option",{value:""},o),t)}));et&&(Ek.displayName="SelectField");var Ak=Pi(((e,r)=>{var t=Ti("Select",e),o=di(e),{rootProps:a,placeholder:i,icon:s,color:l,height:u,h:c,minH:d,minHeight:f,iconColor:p,iconSize:h}=o,m=_k(o,["rootProps","placeholder","icon","color","height","h","minH","minHeight","iconColor","iconSize","isFullWidth"]),[v,g]=function(e,r){var t={},n={};return Object.keys(e).forEach((o=>{r.includes(o)?t[o]=e[o]:n[o]=e[o]})),[t,n]}(m,Aa),b=Sx(g),y={width:"100%",height:"fit-content",position:"relative",color:l},x=tt({},t.field,{paddingEnd:"2rem",_focus:{zIndex:"unset"}});return n(Ci.div,Ok({className:"chakra-select__wrapper",__css:y},v,a),n(Ek,Ok({ref:r,height:null!=c?c:u,minH:null!=d?d:f,placeholder:i},b,{__css:x}),e.children),n(jk,Ok({"data-disabled":wt(b.disabled)},(p||l)&&{color:p||l},{__css:t.icon},h&&{fontSize:h}),s))}));et&&(Ak.displayName="Select");var Ck=e=>n("svg",Ok({viewBox:"0 0 24 24"},e),n("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),Pk=Ci("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),jk=e=>{var{children:r=n(Ck,null)}=e,t=_k(e,["children"]),o=v(r,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return n(Pk,Ok({},t,{className:"chakra-select__icon-wrapper"}),u(r)?o:null)};function Tk(){return Tk=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Tk.apply(this,arguments)}function Rk(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}et&&(jk.displayName="SelectIcon");var[zk,Bk,Dk,Fk]=ly();var[Nk,Ik]=gn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function Mk(e,r){return e+"--tab-"+r}function Lk(e,r){return e+"--tabpanel-"+r}function Wk(){return Wk=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wk.apply(this,arguments)}function Hk(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}var Vk=Pi(((e,r)=>{var t=Ti("Tabs",e),o=di(e),{children:a,className:i}=o,s=function(e){var{defaultIndex:r,onChange:t,index:n,isManual:o,isLazy:a,lazyBehavior:i="unmount",orientation:s="horizontal",direction:l="ltr"}=e,u=Rk(e,["defaultIndex","onChange","index","isManual","isLazy","lazyBehavior","orientation","direction"]),[d,p]=c(null!=r?r:0),[h,m]=Pn({defaultValue:null!=r?r:0,value:n,onChange:t});f((()=>{null!=n&&p(n)}),[n]);var v=Dk();return{id:zn(e.id,"tabs"),selectedIndex:h,focusedIndex:d,setSelectedIndex:m,setFocusedIndex:p,isManual:o,isLazy:a,lazyBehavior:i,orientation:s,descendants:v,direction:l,htmlProps:u}}(Hk(o,["children","className"])),{htmlProps:l,descendants:u}=s,d=Hk(s,["htmlProps","descendants"]),h=p((()=>d),[d]),m=nt(l,["isFitted"]);return n(zk,{value:u},n(Nk,{value:h},n(li,{value:t},n(Ci.div,Wk({className:kt("chakra-tabs",i),ref:r},m,{__css:t.root}),a))))}));et&&(Vk.displayName="Tabs");var $k=Pi(((e,r)=>{var t=ui(),o=function(e){var{isDisabled:r,isFocusable:t}=e,n=Rk(e,["isDisabled","isFocusable"]),{setSelectedIndex:o,isManual:a,id:i,setFocusedIndex:s,selectedIndex:l}=Ik(),{index:u,register:c}=Fk({disabled:r&&!t}),d=u===l,f=kw(Tk({},n,{ref:vn(c,e.ref),isDisabled:r,isFocusable:t,onClick:Dt(e.onClick,(()=>{o(u)}))}));return Tk({},f,{id:Mk(i,u),role:"tab",tabIndex:d?0:-1,type:"button","aria-selected":d,"aria-controls":Lk(i,u),onFocus:r?void 0:Dt(e.onFocus,(()=>{s(u),!a&&(!r||!t)&&o(u)}))})}(Wk({},e,{ref:r})),a=Wk({outline:"0",display:"flex",alignItems:"center",justifyContent:"center"},t.tab);return n(Ci.button,Wk({},o,{className:kt("chakra-tabs__tab",e.className),__css:a}))}));et&&($k.displayName="Tab");var Uk=Pi(((e,r)=>{var t=function(e){var{focusedIndex:r,orientation:t,direction:n}=Ik(),o=Bk(),a=d((e=>{var a=()=>{var e=o.nextEnabled(r);e&&Mt(e.node)},i=()=>{var e=o.prevEnabled(r);e&&Mt(e.node)},s="horizontal"===t,l="vertical"===t,u=Et(e),c={["ltr"===n?"ArrowLeft":"ArrowRight"]:()=>s&&i(),["ltr"===n?"ArrowRight":"ArrowLeft"]:()=>s&&a(),ArrowDown:()=>l&&a(),ArrowUp:()=>l&&i(),Home:()=>{var e=o.firstEnabled();e&&Mt(e.node)},End:()=>{var e=o.lastEnabled();e&&Mt(e.node)}},d=c[u];d&&(e.preventDefault(),d(e))}),[o,r,t,n]);return Tk({},e,{role:"tablist","aria-orientation":t,onKeyDown:Dt(e.onKeyDown,a)})}(Wk({},e,{ref:r})),o=Wk({display:"flex"},ui().tablist);return n(Ci.div,Wk({},t,{className:kt("chakra-tabs__tablist",e.className),__css:o}))}));et&&(Uk.displayName="TabList");var qk=Pi(((e,r)=>{var t=function(e){var{isSelected:r,id:t,children:n}=e,o=Rk(e,["isSelected","id","children"]),{isLazy:a,lazyBehavior:s}=Ik(),l=i(!1);return r&&(l.current=!0),Tk({tabIndex:0},o,{children:Wt({hasBeenSelected:l.current,isSelected:r,isLazy:a,lazyBehavior:s})?n:null,role:"tabpanel",hidden:!r,id:t})}(Wk({},e,{ref:r})),o=ui();return n(Ci.div,Wk({outline:"0"},t,{className:kt("chakra-tabs__tab-panel",e.className),__css:o.tabpanel}))}));et&&(qk.displayName="TabPanel");var Yk=Pi(((e,r)=>{var t=function(e){var r=Ik(),{id:t,selectedIndex:n}=r,o=bn(e.children).map(((e,r)=>v(e,{isSelected:r===n,id:Lk(t,r),"aria-labelledby":Mk(t,r)})));return Tk({},e,{children:o})}(e),o=ui();return n(Ci.div,Wk({},t,{width:"100%",ref:r,className:kt("chakra-tabs__tab-panels",e.className),__css:o.tabpanels}))}));et&&(Yk.displayName="TabPanels");var Xk=Pi(((e,r)=>{var t=function(){var e=Ik(),r=Bk(),{selectedIndex:t,orientation:n}=e,o="horizontal"===n,a="vertical"===n,[i,s]=c((()=>o?{left:0,width:0}:a?{top:0,height:0}:void 0)),[l,u]=c(!1);return kn((()=>{if(!Kr(t)){var e=r.item(t);if(!Kr(e)){o&&s({left:e.node.offsetLeft,width:e.node.offsetWidth}),a&&s({top:e.node.offsetTop,height:e.node.offsetHeight});var n=requestAnimationFrame((()=>{u(!0)}));return()=>{n&&cancelAnimationFrame(n)}}}}),[t,o,a,r]),Tk({position:"absolute",transitionProperty:"left, right, top, bottom",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"},i)}(),o=Wk({},e.style,t),a=ui();return n(Ci.div,Wk({ref:r},e,{className:kt("chakra-tabs__tab-indicator",e.className),style:o,__css:a.indicator}))}));et&&(Xk.displayName="TabIndicator");var Gk,Kk,Zk=function(e){return e&&e.Math==Math&&e},Qk=Zk("object"==typeof globalThis&&globalThis)||Zk("object"==typeof window&&window)||Zk("object"==typeof self&&self)||Zk("object"==typeof Ce&&Ce)||function(){return this}()||Function("return this")(),Jk=function(e){try{return!!e()}catch(e){return!0}},eO=!Jk((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),rO=Function.prototype,tO=rO.apply,nO=rO.call,oO="object"==typeof Reflect&&Reflect.apply||(eO?nO.bind(tO):function(){return nO.apply(tO,arguments)}),aO=Function.prototype,iO=aO.bind,sO=aO.call,lO=eO&&iO.bind(sO,sO),uO=eO?function(e){return e&&lO(e)}:function(e){return e&&function(){return sO.apply(e,arguments)}},cO=function(e){return"function"==typeof e},dO=!Jk((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),fO=Function.prototype.call,pO=eO?fO.bind(fO):function(){return fO.apply(fO,arguments)},hO={}.propertyIsEnumerable,mO=Object.getOwnPropertyDescriptor,vO={f:mO&&!hO.call({1:2},1)?function(e){var r=mO(this,e);return!!r&&r.enumerable}:hO},gO=function(e,r){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:r}},bO=uO({}.toString),yO=uO("".slice),xO=function(e){return yO(bO(e),8,-1)},wO=Qk.Object,SO=uO("".split),kO=Jk((function(){return!wO("z").propertyIsEnumerable(0)}))?function(e){return"String"==xO(e)?SO(e,""):wO(e)}:wO,OO=Qk.TypeError,_O=function(e){if(null==e)throw OO("Can't call method on "+e);return e},EO=function(e){return kO(_O(e))},AO=function(e){return"object"==typeof e?null!==e:cO(e)},CO={},PO=function(e){return cO(e)?e:void 0},jO=function(e,r){return arguments.length<2?PO(CO[e])||PO(Qk[e]):CO[e]&&CO[e][r]||Qk[e]&&Qk[e][r]},TO=uO({}.isPrototypeOf),RO=jO("navigator","userAgent")||"",zO=Qk.process,BO=Qk.Deno,DO=zO&&zO.versions||BO&&BO.version,FO=DO&&DO.v8;FO&&(Kk=(Gk=FO.split("."))[0]>0&&Gk[0]<4?1:+(Gk[0]+Gk[1])),!Kk&&RO&&(!(Gk=RO.match(/Edge\/(\d+)/))||Gk[1]>=74)&&(Gk=RO.match(/Chrome\/(\d+)/))&&(Kk=+Gk[1]);var NO=Kk,IO=!!Object.getOwnPropertySymbols&&!Jk((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&NO&&NO<41})),MO=IO&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,LO=Qk.Object,WO=MO?function(e){return"symbol"==typeof e}:function(e){var r=jO("Symbol");return cO(r)&&TO(r.prototype,LO(e))},HO=Qk.String,VO=function(e){try{return HO(e)}catch(e){return"Object"}},$O=Qk.TypeError,UO=function(e){if(cO(e))return e;throw $O(VO(e)+" is not a function")},qO=function(e,r){var t=e[r];return null==t?void 0:UO(t)},YO=Qk.TypeError,XO=Object.defineProperty,GO=Qk["__core-js_shared__"]||function(e,r){try{XO(Qk,e,{value:r,configurable:!0,writable:!0})}catch(t){Qk[e]=r}return r}("__core-js_shared__",{}),KO=je((function(e){(e.exports=function(e,r){return GO[e]||(GO[e]=void 0!==r?r:{})})("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"})})),ZO=Qk.Object,QO=function(e){return ZO(_O(e))},JO=uO({}.hasOwnProperty),e_=Object.hasOwn||function(e,r){return JO(QO(e),r)},r_=0,t_=Math.random(),n_=uO(1..toString),o_=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n_(++r_+t_,36)},a_=KO("wks"),i_=Qk.Symbol,s_=i_&&i_.for,l_=MO?i_:i_&&i_.withoutSetter||o_,u_=function(e){if(!e_(a_,e)||!IO&&"string"!=typeof a_[e]){var r="Symbol."+e;IO&&e_(i_,e)?a_[e]=i_[e]:a_[e]=MO&&s_?s_(r):l_(r)}return a_[e]},c_=Qk.TypeError,d_=u_("toPrimitive"),f_=function(e,r){if(!AO(e)||WO(e))return e;var t,n=qO(e,d_);if(n){if(void 0===r&&(r="default"),t=pO(n,e,r),!AO(t)||WO(t))return t;throw c_("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(e,r){var t,n;if("string"===r&&cO(t=e.toString)&&!AO(n=pO(t,e)))return n;if(cO(t=e.valueOf)&&!AO(n=pO(t,e)))return n;if("string"!==r&&cO(t=e.toString)&&!AO(n=pO(t,e)))return n;throw YO("Can't convert object to primitive value")}(e,r)},p_=function(e){var r=f_(e,"string");return WO(r)?r:r+""},h_=Qk.document,m_=AO(h_)&&AO(h_.createElement),v_=function(e){return m_?h_.createElement(e):{}},g_=!dO&&!Jk((function(){return 7!=Object.defineProperty(v_("div"),"a",{get:function(){return 7}}).a})),b_=Object.getOwnPropertyDescriptor,y_={f:dO?b_:function(e,r){if(e=EO(e),r=p_(r),g_)try{return b_(e,r)}catch(e){}if(e_(e,r))return gO(!pO(vO.f,e,r),e[r])}},x_=/#|\.prototype\./,w_=function(e,r){var t=k_[S_(e)];return t==__||t!=O_&&(cO(r)?Jk(r):!!r)},S_=w_.normalize=function(e){return String(e).replace(x_,".").toLowerCase()},k_=w_.data={},O_=w_.NATIVE="N",__=w_.POLYFILL="P",E_=w_,A_=uO(uO.bind),C_=function(e,r){return UO(e),void 0===r?e:eO?A_(e,r):function(){return e.apply(r,arguments)}},P_=dO&&Jk((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),j_=Qk.String,T_=Qk.TypeError,R_=function(e){if(AO(e))return e;throw T_(j_(e)+" is not an object")},z_=Qk.TypeError,B_=Object.defineProperty,D_=Object.getOwnPropertyDescriptor,F_={f:dO?P_?function(e,r,t){if(R_(e),r=p_(r),R_(t),"function"==typeof e&&"prototype"===r&&"value"in t&&"writable"in t&&!t.writable){var n=D_(e,r);n&&n.writable&&(e[r]=t.value,t={configurable:"configurable"in t?t.configurable:n.configurable,enumerable:"enumerable"in t?t.enumerable:n.enumerable,writable:!1})}return B_(e,r,t)}:B_:function(e,r,t){if(R_(e),r=p_(r),R_(t),g_)try{return B_(e,r,t)}catch(e){}if("get"in t||"set"in t)throw z_("Accessors not supported");return"value"in t&&(e[r]=t.value),e}},N_=dO?function(e,r,t){return F_.f(e,r,gO(1,t))}:function(e,r,t){return e[r]=t,e},I_=y_.f,M_=function(e){var r=function(t,n,o){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return oO(e,this,arguments)};return r.prototype=e.prototype,r},L_=function(e,r){var t,n,o,a,i,s,l,u,c=e.target,d=e.global,f=e.stat,p=e.proto,h=d?Qk:f?Qk[c]:(Qk[c]||{}).prototype,m=d?CO:CO[c]||N_(CO,c,{})[c],v=m.prototype;for(o in r)t=!E_(d?o:c+(f?".":"#")+o,e.forced)&&h&&e_(h,o),i=m[o],t&&(s=e.noTargetGet?(u=I_(h,o))&&u.value:h[o]),a=t&&s?s:r[o],t&&typeof i==typeof a||(l=e.bind&&t?C_(a,Qk):e.wrap&&t?M_(a):p&&cO(a)?uO(a):a,(e.sham||a&&a.sham||i&&i.sham)&&N_(l,"sham",!0),N_(m,o,l),p&&(e_(CO,n=c+"Prototype")||N_(CO,n,{}),N_(CO[n],o,a),e.real&&v&&!v[o]&&N_(v,o,a)))},W_=Math.ceil,H_=Math.floor,V_=function(e){var r=+e;return r!=r||0===r?0:(r>0?H_:W_)(r)},$_=Math.max,U_=Math.min,q_=function(e,r){var t=V_(e);return t<0?$_(t+r,0):U_(t,r)},Y_=Math.min,X_=function(e){return(r=e.length)>0?Y_(V_(r),9007199254740991):0;var r},G_=function(e){return function(r,t,n){var o,a=EO(r),i=X_(a),s=q_(n,i);if(e&&t!=t){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===t)return e||s||0;return!e&&-1}},K_={includes:G_(!0),indexOf:G_(!1)},Z_={},Q_=K_.indexOf,J_=uO([].push),eE=function(e,r){var t,n=EO(e),o=0,a=[];for(t in n)!e_(Z_,t)&&e_(n,t)&&J_(a,t);for(;r.length>o;)e_(n,t=r[o++])&&(~Q_(a,t)||J_(a,t));return a},rE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tE=Object.keys||function(e){return eE(e,rE)},nE=Jk((function(){tE(1)}));L_({target:"Object",stat:!0,forced:nE},{keys:function(e){return tE(QO(e))}});var oE=CO.Object.keys,aE=oE,iE=Array.isArray||function(e){return"Array"==xO(e)},sE={};sE[u_("toStringTag")]="z";var lE,uE="[object z]"===String(sE),cE=u_("toStringTag"),dE=Qk.Object,fE="Arguments"==xO(function(){return arguments}()),pE=uE?xO:function(e){var r,t,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,r){try{return e[r]}catch(e){}}(r=dE(e),cE))?t:fE?xO(r):"Object"==(n=xO(r))&&cO(r.callee)?"Arguments":n},hE=Qk.String,mE=function(e){if("Symbol"===pE(e))throw TypeError("Cannot convert a Symbol value to a string");return hE(e)},vE=dO&&!P_?Object.defineProperties:function(e,r){R_(e);for(var t,n=EO(r),o=tE(r),a=o.length,i=0;a>i;)F_.f(e,t=o[i++],n[t]);return e},gE={f:vE},bE=jO("document","documentElement"),yE=KO("keys"),xE=function(e){return yE[e]||(yE[e]=o_(e))},wE=xE("IE_PROTO"),SE=function(){},kE=function(e){return"<script>"+e+"<\/script>"},OE=function(e){e.write(kE("")),e.close();var r=e.parentWindow.Object;return e=null,r},_E=function(){try{lE=new ActiveXObject("htmlfile")}catch(e){}var e,r;_E="undefined"!=typeof document?document.domain&&lE?OE(lE):((r=v_("iframe")).style.display="none",bE.appendChild(r),r.src=String("javascript:"),(e=r.contentWindow.document).open(),e.write(kE("document.F=Object")),e.close(),e.F):OE(lE);for(var t=rE.length;t--;)delete _E.prototype[rE[t]];return _E()};Z_[wE]=!0;var EE=Object.create||function(e,r){var t;return null!==e?(SE.prototype=R_(e),t=new SE,SE.prototype=null,t[wE]=e):t=_E(),void 0===r?t:gE.f(t,r)},AE=rE.concat("length","prototype"),CE={f:Object.getOwnPropertyNames||function(e){return eE(e,AE)}},PE=function(e,r,t){var n=p_(r);n in e?F_.f(e,n,gO(0,t)):e[n]=t},jE=Qk.Array,TE=Math.max,RE=CE.f,zE="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],BE=function(e){try{return RE(e)}catch(e){return function(e,r,t){for(var n=X_(e),o=q_(r,n),a=q_(void 0===t?n:t,n),i=jE(TE(a-o,0)),s=0;o<a;o++,s++)PE(i,s,e[o]);return i.length=s,i}(zE)}},DE={f:function(e){return zE&&"Window"==xO(e)?BE(e):RE(EO(e))}},FE={f:Object.getOwnPropertySymbols},NE=uO([].slice),IE=function(e,r,t,n){n&&n.enumerable?e[r]=t:N_(e,r,t)},ME={f:u_},LE=F_.f,WE=function(e){var r=CO.Symbol||(CO.Symbol={});e_(r,e)||LE(r,e,{value:ME.f(e)})},HE=uE?{}.toString:function(){return"[object "+pE(this)+"]"},VE=F_.f,$E=u_("toStringTag"),UE=function(e,r,t,n){if(e){var o=t?e:e.prototype;e_(o,$E)||VE(o,$E,{configurable:!0,value:r}),n&&!uE&&N_(o,"toString",HE)}},qE=uO(Function.toString);cO(GO.inspectSource)||(GO.inspectSource=function(e){return qE(e)});var YE,XE,GE,KE=GO.inspectSource,ZE=Qk.WeakMap,QE=cO(ZE)&&/native code/.test(KE(ZE)),JE=Qk.TypeError,eA=Qk.WeakMap;if(QE||GO.state){var rA=GO.state||(GO.state=new eA),tA=uO(rA.get),nA=uO(rA.has),oA=uO(rA.set);YE=function(e,r){if(nA(rA,e))throw new JE("Object already initialized");return r.facade=e,oA(rA,e,r),r},XE=function(e){return tA(rA,e)||{}},GE=function(e){return nA(rA,e)}}else{var aA=xE("state");Z_[aA]=!0,YE=function(e,r){if(e_(e,aA))throw new JE("Object already initialized");return r.facade=e,N_(e,aA,r),r},XE=function(e){return e_(e,aA)?e[aA]:{}},GE=function(e){return e_(e,aA)}}var iA={set:YE,get:XE,has:GE,enforce:function(e){return GE(e)?XE(e):YE(e,{})},getterFor:function(e){return function(r){var t;if(!AO(r)||(t=XE(r)).type!==e)throw JE("Incompatible receiver, "+e+" required");return t}}},sA=function(){},lA=[],uA=jO("Reflect","construct"),cA=/^\s*(?:class|function)\b/,dA=uO(cA.exec),fA=!cA.exec(sA),pA=function(e){if(!cO(e))return!1;try{return uA(sA,lA,e),!0}catch(e){return!1}},hA=function(e){if(!cO(e))return!1;switch(pE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return fA||!!dA(cA,KE(e))}catch(e){return!0}};hA.sham=!0;var mA=!uA||Jk((function(){var e;return pA(pA.call)||!pA(Object)||!pA((function(){e=!0}))||e}))?hA:pA,vA=u_("species"),gA=Qk.Array,bA=function(e,r){return new(function(e){var r;return iE(e)&&(r=e.constructor,(mA(r)&&(r===gA||iE(r.prototype))||AO(r)&&null===(r=r[vA]))&&(r=void 0)),void 0===r?gA:r}(e))(0===r?0:r)},yA=uO([].push),xA=function(e){var r=1==e,t=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=QO(l),m=kO(h),v=C_(u,c),g=X_(m),b=0,y=d||bA,x=r?y(l,g):t||i?y(l,0):void 0;g>b;b++)if((s||b in m)&&(p=v(f=m[b],b,h),e))if(r)x[b]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:yA(x,f)}else switch(e){case 4:return!1;case 7:yA(x,f)}return a?-1:n||o?o:x}},wA={forEach:xA(0),map:xA(1),filter:xA(2),some:xA(3),every:xA(4),find:xA(5),findIndex:xA(6),filterReject:xA(7)},SA=wA.forEach,kA=xE("hidden"),OA=u_("toPrimitive"),_A=iA.set,EA=iA.getterFor("Symbol"),AA=Object.prototype,CA=Qk.Symbol,PA=CA&&CA.prototype,jA=Qk.TypeError,TA=Qk.QObject,RA=jO("JSON","stringify"),zA=y_.f,BA=F_.f,DA=DE.f,FA=vO.f,NA=uO([].push),IA=KO("symbols"),MA=KO("op-symbols"),LA=KO("string-to-symbol-registry"),WA=KO("symbol-to-string-registry"),HA=KO("wks"),VA=!TA||!TA.prototype||!TA.prototype.findChild,$A=dO&&Jk((function(){return 7!=EE(BA({},"a",{get:function(){return BA(this,"a",{value:7}).a}})).a}))?function(e,r,t){var n=zA(AA,r);n&&delete AA[r],BA(e,r,t),n&&e!==AA&&BA(AA,r,n)}:BA,UA=function(e,r){var t=IA[e]=EE(PA);return _A(t,{type:"Symbol",tag:e,description:r}),dO||(t.description=r),t},qA=function(e,r,t){e===AA&&qA(MA,r,t),R_(e);var n=p_(r);return R_(t),e_(IA,n)?(t.enumerable?(e_(e,kA)&&e[kA][n]&&(e[kA][n]=!1),t=EE(t,{enumerable:gO(0,!1)})):(e_(e,kA)||BA(e,kA,gO(1,{})),e[kA][n]=!0),$A(e,n,t)):BA(e,n,t)},YA=function(e,r){R_(e);var t=EO(r),n=tE(t).concat(ZA(t));return SA(n,(function(r){dO&&!pO(XA,t,r)||qA(e,r,t[r])})),e},XA=function(e){var r=p_(e),t=pO(FA,this,r);return!(this===AA&&e_(IA,r)&&!e_(MA,r))&&(!(t||!e_(this,r)||!e_(IA,r)||e_(this,kA)&&this[kA][r])||t)},GA=function(e,r){var t=EO(e),n=p_(r);if(t!==AA||!e_(IA,n)||e_(MA,n)){var o=zA(t,n);return!o||!e_(IA,n)||e_(t,kA)&&t[kA][n]||(o.enumerable=!0),o}},KA=function(e){var r=DA(EO(e)),t=[];return SA(r,(function(e){e_(IA,e)||e_(Z_,e)||NA(t,e)})),t},ZA=function(e){var r=e===AA,t=DA(r?MA:EO(e)),n=[];return SA(t,(function(e){!e_(IA,e)||r&&!e_(AA,e)||NA(n,IA[e])})),n};if(IO||(IE(PA=(CA=function(){if(TO(PA,this))throw jA("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?mE(arguments[0]):void 0,r=o_(e),t=function(e){this===AA&&pO(t,MA,e),e_(this,kA)&&e_(this[kA],r)&&(this[kA][r]=!1),$A(this,r,gO(1,e))};return dO&&VA&&$A(AA,r,{configurable:!0,set:t}),UA(r,e)}).prototype,"toString",(function(){return EA(this).tag})),IE(CA,"withoutSetter",(function(e){return UA(o_(e),e)})),vO.f=XA,F_.f=qA,gE.f=YA,y_.f=GA,CE.f=DE.f=KA,FE.f=ZA,ME.f=function(e){return UA(u_(e),e)},dO&&BA(PA,"description",{configurable:!0,get:function(){return EA(this).description}})),L_({global:!0,wrap:!0,forced:!IO,sham:!IO},{Symbol:CA}),SA(tE(HA),(function(e){WE(e)})),L_({target:"Symbol",stat:!0,forced:!IO},{for:function(e){var r=mE(e);if(e_(LA,r))return LA[r];var t=CA(r);return LA[r]=t,WA[t]=r,t},keyFor:function(e){if(!WO(e))throw jA(e+" is not a symbol");if(e_(WA,e))return WA[e]},useSetter:function(){VA=!0},useSimple:function(){VA=!1}}),L_({target:"Object",stat:!0,forced:!IO,sham:!dO},{create:function(e,r){return void 0===r?EE(e):YA(EE(e),r)},defineProperty:qA,defineProperties:YA,getOwnPropertyDescriptor:GA}),L_({target:"Object",stat:!0,forced:!IO},{getOwnPropertyNames:KA,getOwnPropertySymbols:ZA}),L_({target:"Object",stat:!0,forced:Jk((function(){FE.f(1)}))},{getOwnPropertySymbols:function(e){return FE.f(QO(e))}}),RA){var QA=!IO||Jk((function(){var e=CA();return"[null]"!=RA([e])||"{}"!=RA({a:e})||"{}"!=RA(Object(e))}));L_({target:"JSON",stat:!0,forced:QA},{stringify:function(e,r,t){var n=NE(arguments),o=r;if((AO(r)||void 0!==e)&&!WO(e))return iE(r)||(r=function(e,r){if(cO(o)&&(r=pO(o,this,e,r)),!WO(r))return r}),n[1]=r,oO(RA,null,n)}})}if(!PA[OA]){var JA=PA.valueOf;IE(PA,OA,(function(e){return pO(JA,this)}))}UE(CA,"Symbol"),Z_[kA]=!0;var eC=CO.Object.getOwnPropertySymbols,rC=eC,tC=u_("species"),nC=function(e){return NO>=51||!Jk((function(){var r=[];return(r.constructor={})[tC]=function(){return{foo:1}},1!==r[e](Boolean).foo}))},oC=wA.filter,aC=nC("filter");L_({target:"Array",proto:!0,forced:!aC},{filter:function(e){return oC(this,e,arguments.length>1?arguments[1]:void 0)}});var iC=function(e){return CO[e+"Prototype"]},sC=iC("Array").filter,lC=Array.prototype,uC=function(e){var r=e.filter;return e===lC||TO(lC,e)&&r===lC.filter?sC:r},cC=y_.f,dC=Jk((function(){cC(1)}));L_({target:"Object",stat:!0,forced:!dO||dC,sham:!dO},{getOwnPropertyDescriptor:function(e,r){return cC(EO(e),r)}});var fC=je((function(e){var r=CO.Object,t=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(t.sham=!0)})),pC=fC,hC=uO([].concat),mC=jO("Reflect","ownKeys")||function(e){var r=CE.f(R_(e)),t=FE.f;return t?hC(r,t(e)):r};L_({target:"Object",stat:!0,sham:!dO},{getOwnPropertyDescriptors:function(e){for(var r,t,n=EO(e),o=y_.f,a=mC(n),i={},s=0;a.length>s;)void 0!==(t=o(n,r=a[s++]))&&PE(i,r,t);return i}});var vC=CO.Object.getOwnPropertyDescriptors,gC=Object.assign,bC=Object.defineProperty,yC=uO([].concat),xC=!gC||Jk((function(){if(dO&&1!==gC({b:1},gC(bC({},"a",{enumerable:!0,get:function(){bC(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},t=Symbol(),n="abcdefghijklmnopqrst";return e[t]=7,n.split("").forEach((function(e){r[e]=e})),7!=gC({},e)[t]||tE(gC({},r)).join("")!=n}))?function(e,r){for(var t=QO(e),n=arguments.length,o=1,a=FE.f,i=vO.f;n>o;)for(var s,l=kO(arguments[o++]),u=a?yC(tE(l),a(l)):tE(l),c=u.length,d=0;c>d;)s=u[d++],dO&&!pO(i,l,s)||(t[s]=l[s]);return t}:gC;L_({target:"Object",stat:!0,forced:Object.assign!==xC},{assign:xC});var wC=CO.Object.assign;function SC(){return SC=wC||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},SC.apply(this,arguments)}var kC,OC,_C=eC,EC=K_.indexOf,AC=uO([].indexOf),CC=!!AC&&1/AC([1],1,-0)<0,PC=!!(OC=[]["indexOf"])&&Jk((function(){OC.call(null,kC||function(){return 1},1)}));L_({target:"Array",proto:!0,forced:CC||!PC},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return CC?AC(this,e,r)||0:EC(this,e,r)}});var jC=iC("Array").indexOf,TC=Array.prototype,RC=function(e){var r=e.indexOf;return e===TC||TO(TC,e)&&r===TC.indexOf?jC:r},zC=oE;function BC(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=zC(e);for(n=0;n<a.length;n++)t=a[n],RC(r).call(r,t)>=0||(o[t]=e[t]);return o}(e,r);if(_C){var a=_C(e);for(n=0;n<a.length;n++)t=a[n],RC(r).call(r,t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var DC=F_.f;L_({target:"Object",stat:!0,forced:Object.defineProperty!==DC,sham:!dO},{defineProperty:DC});var FC=je((function(e){var r=CO.Object,t=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(t.sham=!0)})),NC=FC,IC=NC;function MC(e,r,t){return r in e?IC(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var LC={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"}}},WC=je((function(e){!function(r){var t=/^\s+/,n=/\s+$/,o=0,a=r.round,i=r.min,s=r.max,l=r.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(t,"").replace(n,"").toLowerCase();var r,o=!1;if(A[e])e=A[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(r=N.rgb.exec(e))return{r:r[1],g:r[2],b:r[3]};if(r=N.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=N.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=N.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=N.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=N.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=N.hex8.exec(e))return{r:R(r[1]),g:R(r[2]),b:R(r[3]),a:F(r[4]),format:o?"name":"hex8"};if(r=N.hex6.exec(e))return{r:R(r[1]),g:R(r[2]),b:R(r[3]),format:o?"name":"hex"};if(r=N.hex4.exec(e))return{r:R(r[1]+""+r[1]),g:R(r[2]+""+r[2]),b:R(r[3]+""+r[3]),a:F(r[4]+""+r[4]),format:o?"name":"hex8"};if(r=N.hex3.exec(e))return{r:R(r[1]+""+r[1]),g:R(r[2]+""+r[2]),b:R(r[3]+""+r[3]),format:o?"name":"hex"};return!1}(e));"object"==typeof e&&(I(e.r)&&I(e.g)&&I(e.b)?(o=function(e,r,t){return{r:255*j(e,255),g:255*j(r,255),b:255*j(t,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,t,n){e=6*j(e,360),t=j(t,100),n=j(n,100);var o=r.floor(e),a=e-o,i=n*(1-t),s=n*(1-a*t),l=n*(1-(1-a)*t),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,r,t){var n,o,a;function i(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}if(e=j(e,360),r=j(r,100),t=j(t,100),0===r)n=o=a=t;else{var s=t<.5?t*(1+r):t+r-t*r,l=2*t-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,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,o,a=s(e,r,t),l=i(e,r,t),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=(r-t)/c+(r<t?6:0);break;case r:n=(t-e)/c+2;break;case t:n=(e-r)/c+4}n/=6}return{h:n,s:o,l:u}}function d(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,o,a=s(e,r,t),l=i(e,r,t),u=a,c=a-l;if(o=0===a?0:c/a,a==l)n=0;else{switch(a){case e:n=(r-t)/c+(r<t?6:0);break;case r:n=(t-e)/c+2;break;case t:n=(e-r)/c+4}n/=6}return{h:n,s:o,v:u}}function f(e,r,t,n){var o=[z(a(e).toString(16)),z(a(r).toString(16)),z(a(t).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,r,t,n){return[z(D(n)),z(a(e).toString(16)),z(a(r).toString(16)),z(a(t).toString(16))].join("")}function h(e,r){r=0===r?0:r||10;var t=u(e).toHsl();return t.s-=r/100,t.s=T(t.s),u(t)}function m(e,r){r=0===r?0:r||10;var t=u(e).toHsl();return t.s+=r/100,t.s=T(t.s),u(t)}function v(e){return u(e).desaturate(100)}function g(e,r){r=0===r?0:r||10;var t=u(e).toHsl();return t.l+=r/100,t.l=T(t.l),u(t)}function b(e,r){r=0===r?0:r||10;var t=u(e).toRgb();return t.r=s(0,i(255,t.r-a(-r/100*255))),t.g=s(0,i(255,t.g-a(-r/100*255))),t.b=s(0,i(255,t.b-a(-r/100*255))),u(t)}function y(e,r){r=0===r?0:r||10;var t=u(e).toHsl();return t.l-=r/100,t.l=T(t.l),u(t)}function x(e,r){var t=u(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,u(t)}function w(e){var r=u(e).toHsl();return r.h=(r.h+180)%360,u(r)}function S(e){var r=u(e).toHsl(),t=r.h;return[u(e),u({h:(t+120)%360,s:r.s,l:r.l}),u({h:(t+240)%360,s:r.s,l:r.l})]}function k(e){var r=u(e).toHsl(),t=r.h;return[u(e),u({h:(t+90)%360,s:r.s,l:r.l}),u({h:(t+180)%360,s:r.s,l:r.l}),u({h:(t+270)%360,s:r.s,l:r.l})]}function O(e){var r=u(e).toHsl(),t=r.h;return[u(e),u({h:(t+72)%360,s:r.s,l:r.l}),u({h:(t+216)%360,s:r.s,l:r.l})]}function _(e,r,t){r=r||6,t=t||30;var n=u(e).toHsl(),o=360/t,a=[u(e)];for(n.h=(n.h-(o*r>>1)+720)%360;--r;)n.h=(n.h+o)%360,a.push(u(n));return a}function E(e,r){r=r||6;for(var t=u(e).toHsv(),n=t.h,o=t.s,a=t.v,i=[],s=1/r;r--;)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,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.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),r=a(360*e.h),t=a(100*e.s),n=a(100*e.v);return 1==this._a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+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),r=a(360*e.h),t=a(100*e.s),n=a(100*e.l);return 1==this._a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+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,r,t,n,o){var i=[z(a(e).toString(16)),z(a(r).toString(16)),z(a(t).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)&&(C[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+p(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=u(e);t="#"+p(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._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,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},u.fromRatio=function(e,r){if("object"==typeof e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]="a"===n?e[n]:B(e[n]));e=t}return u(e,r)},u.equals=function(e,r){return!(!e||!r)&&u(e).toRgbString()==u(r).toRgbString()},u.random=function(){return u.fromRatio({r:l(),g:l(),b:l()})},u.mix=function(e,r,t){t=0===t?0:t||50;var n=u(e).toRgb(),o=u(r).toRgb(),a=t/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,t){var n=u(e),o=u(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},u.isReadable=function(e,r,t){var n,o,a=u.readability(e,r);switch(o=!1,n=function(e){var r,t;r=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),"AA"!==r&&"AAA"!==r&&(r="AA");"small"!==t&&"large"!==t&&(t="small");return{level:r,size:t}}(t),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,r,t){var n,o,a,i,s=null,l=0;o=(t=t||{}).includeFallbackColors,a=t.level,i=t.size;for(var c=0;c<r.length;c++)(n=u.readability(e,r[c]))>l&&(l=n,s=u(r[c]));return u.isReadable(e,s,{level:a,size:i})||!o?s:(t.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],t))};var A=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"},C=u.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(A);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,t){(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(t,s(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return i(1,s(0,e))}function R(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 r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var N=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+t),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+t),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+t),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!!N.CSS_UNIT.exec(e)}e.exports?e.exports=u:window.tinycolor=u}(Math)}));var HC=e=>{var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!function(e){return Array.isArray(e)}(e)},VC="production"!==process.env.NODE_ENV;var $C=function(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];r=e.apply(this,n),e=null}return r}}((e=>{var{condition:r,message:t}=e;r&&VC&&console.warn(t)}));var UC=(e=>{var r=new WeakMap;return(t,n,o,a)=>{if(void 0===t)return e(t,n,o);r.has(t)||r.set(t,new Map);var i=r.get(t);if(i.has(n))return i.get(n);var s=e(t,n,o,a);return i.set(n,s),s}})((function(e,r,t,n){var o="string"==typeof r?r.split("."):[r];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?t:e})),qC=(e,r,t)=>{var n=UC(e,"colors."+r,r);return WC(n).isValid()?n:t},YC=e=>r=>"dark"===(e=>r=>{var t=qC(r,e);return WC(t).isDark()?"dark":"light"})(e)(r),XC=(e,r)=>t=>{var n=qC(t,e);return WC(n).setAlpha(r).toRgbString()};function GC(e,r){return void 0===e&&(e="1rem"),void 0===r&&(r="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+r+" 25%,\n transparent 25%,\n transparent 50%,\n "+r+" 50%,\n "+r+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function KC(e){var r,t=WC.random().toHexString();return!e||HC(r=e)&&0===Object.keys(r).length?t:e.string&&e.colors?function(e,r){var t=0;if(0===e.length)return r[0];for(var n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t=(t%r.length+r.length)%r.length,r[t]}(e.string,e.colors):e.string&&!e.colors?function(e){var r=0;if(0===e.length)return r.toString();for(var t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;for(var n="#",o=0;o<3;o+=1){n+=("00"+(r>>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):t}function ZC(e,r){return t=>"dark"===t.colorMode?r:e}function QC(e){var{orientation:r,vertical:t,horizontal:n}=e;return r?"vertical"===r?t:n:{}}function JC(){return JC=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},JC.apply(this,arguments)}var eP=e=>($C(["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")),JC({base:"0em"},e));function rP(e){var{theme:r,colorScheme:t}=e;return ZC(qC(r,t+".100",t),XC(t+".200",.16)(r))(e)}var tP={subtle:function(e){var{colorScheme:r}=e;return{container:{bg:rP(e)},icon:{color:ZC(r+".500",r+".200")(e)}}},"left-accent":function(e){var{colorScheme:r}=e;return{container:{pl:3,borderLeftWidth:"4px",borderLeftColor:ZC(r+".500",r+".200")(e),bg:rP(e)},icon:{color:ZC(r+".500",r+".200")(e)}}},"top-accent":function(e){var{colorScheme:r}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:ZC(r+".500",r+".200")(e),bg:rP(e)},icon:{color:ZC(r+".500",r+".200")(e)}}},solid:function(e){var{colorScheme:r}=e;return{container:{bg:ZC(r+".500",r+".200")(e),color:ZC("white","gray.900")(e)}}}},nP={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:tP,defaultProps:{variant:"subtle",colorScheme:"blue"}},oP={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 aP(){return aP=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},aP.apply(this,arguments)}var iP=aP({},oP,{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 sP(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:ZC("white","gray.800")(e)}}function lP(e){return{bg:ZC("gray.200","whiteAlpha.400")(e)}}function uP(e){var{name:r,theme:t}=e,n=r?KC({string:r}):"gray.400",o="white";return YC(n)(t)||(o="gray.800"),{bg:n,color:o,borderColor:ZC("white","gray.800")(e),verticalAlign:"top"}}function cP(e){var r=iP[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=r?r:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=r?r:e)+" / 2.5)",lineHeight:"100%"!==e?null!=r?r:e:void 0}}}var dP={parts:["container","excessLabel","badge","label"],baseStyle:e=>({badge:sP(e),excessLabel:lP(e),container:uP(e)}),sizes:{"2xs":cP("4"),xs:cP("6"),sm:cP("8"),md:cP("12"),lg:cP("16"),xl:cP("24"),"2xl":cP("32"),full:cP("100%")},defaultProps:{size:"md"}};var fP={solid:function(e){var{colorScheme:r,theme:t}=e;return{bg:ZC(r+".500",XC(r+".500",.6)(t))(e),color:ZC("white","whiteAlpha.800")(e)}},subtle:function(e){var{colorScheme:r,theme:t}=e;return{bg:ZC(r+".100",XC(r+".200",.16)(t))(e),color:ZC(r+".800",r+".200")(e)}},outline:function(e){var{colorScheme:r,theme:t}=e,n=XC(r+".200",.8)(t),o=ZC(qC(t,r+".500"),n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},pP={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:fP,defaultProps:{variant:"subtle",colorScheme:"gray"}},hP={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 mP(){return mP=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},mP.apply(this,arguments)}function vP(e){var{colorScheme:r,theme:t}=e;if("gray"===r)return{color:ZC("inherit","whiteAlpha.900")(e),_hover:{bg:ZC("gray.100","whiteAlpha.200")(e)},_active:{bg:ZC("gray.200","whiteAlpha.300")(e)}};var n=XC(r+".200",.12)(t),o=XC(r+".200",.24)(t);return{color:ZC(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:ZC(r+".50",n)(e)},_active:{bg:ZC(r+".100",o)(e)}}}var gP={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 bP={ghost:vP,outline:function(e){var{colorScheme:r}=e,t=ZC("gray.200","whiteAlpha.300")(e);return mP({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},vP(e))},solid:function(e){var{colorScheme:r}=e;if("gray"===r){var t=ZC("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:ZC("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:ZC("gray.300","whiteAlpha.400")(e)}}}var{bg:n=r+".500",color:o="white",hoverBg:a=r+".600",activeBg:i=r+".700"}=gP[r]||{},s=ZC(n,r+".200")(e);return{bg:s,color:ZC(o,"gray.800")(e),_hover:{bg:ZC(a,r+".300")(e),_disabled:{bg:s}},_active:{bg:ZC(i,r+".400")(e)}}},link:function(e){var{colorScheme:r}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:ZC(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:ZC(r+".700",r+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},yP={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:bP,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 xP(e){var{colorScheme:r}=e;return{w:"100%",transition:"box-shadow 250ms",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:ZC(r+".500",r+".200")(e),borderColor:ZC(r+".500",r+".200")(e),color:ZC("white","gray.900")(e),_hover:{bg:ZC(r+".600",r+".300")(e),borderColor:ZC(r+".600",r+".300")(e)},_disabled:{borderColor:ZC("gray.200","transparent")(e),bg:ZC("gray.200","whiteAlpha.300")(e),color:ZC("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:ZC(r+".500",r+".200")(e),borderColor:ZC(r+".500",r+".200")(e),color:ZC("white","gray.900")(e)},_disabled:{bg:ZC("gray.100","whiteAlpha.100")(e),borderColor:ZC("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:ZC("red.500","red.300")(e)}}}var wP={userSelect:"none",_disabled:{opacity:.4}},SP={parts:["container","control","label","icon"],baseStyle:e=>({control:xP(e),label:wP}),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 kP={baseStyle:function(e){return{borderRadius:"md",transition:"all 0.2s",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:ZC("blackAlpha.100","whiteAlpha.100")(e)},_active:{bg:ZC("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:OP,defaultProps:_P}=pP,EP={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:OP,defaultProps:_P},AP={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},CP={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},PP={bg:"blackAlpha.600",zIndex:"modal"};function jP(e){var{isCentered:r,scrollBehavior:t}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:"inside"===t?"hidden":"auto"}}function TP(e){var{scrollBehavior:r}=e;return{borderRadius:"md",bg:ZC("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100vh - 7.5rem)":void 0,boxShadow:ZC("lg","dark-lg")(e)}}var RP={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},zP={position:"absolute",top:2,insetEnd:3};function BP(e){var{scrollBehavior:r}=e;return{px:6,py:2,flex:1,overflow:"inside"===r?"auto":void 0}}var DP={px:6,py:4};function FP(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh"}}:{dialog:{maxW:e}}}var NP={parts:["overlay","dialogContainer","dialog","header","closeButton","body","footer"],baseStyle:e=>({overlay:PP,dialogContainer:jP(e),dialog:TP(e),header:RP,closeButton:zP,body:BP(e),footer:DP}),sizes:{xs:FP("xs"),sm:FP("sm"),md:FP("md"),lg:FP("lg"),xl:FP("xl"),"2xl":FP("2xl"),"3xl":FP("3xl"),"4xl":FP("4xl"),"5xl":FP("5xl"),"6xl":FP("6xl"),full:FP("full")},defaultProps:{size:"md"}};function IP(){return IP=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},IP.apply(this,arguments)}function MP(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var LP={bg:"blackAlpha.600",zIndex:"overlay"},WP={display:"flex",zIndex:"modal",justifyContent:"center"};function HP(e){var{isFullHeight:r}=e;return IP({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:ZC("white","gray.700")(e),color:"inherit",boxShadow:ZC("lg","dark-lg")(e)})}var VP={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},$P={position:"absolute",top:2,insetEnd:3},UP={px:6,py:2,flex:1,overflow:"auto"},qP={px:6,py:4},YP={parts:NP.parts,baseStyle:e=>({overlay:LP,dialogContainer:WP,dialog:HP(e),header:VP,closeButton:$P,body:UP,footer:qP}),sizes:{xs:MP("xs"),sm:MP("md"),md:MP("lg"),lg:MP("2xl"),xl:MP("4xl"),full:MP("full")},defaultProps:{size:"xs"}},XP={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 GP(e){return{ml:1,color:ZC("red.500","red.300")(e)}}function KP(e){return{mt:2,color:ZC("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}}var ZP={parts:["requiredIndicator","helperText"],baseStyle:e=>({requiredIndicator:GP(e),helperText:KP(e)})},QP={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transition:"all 0.2s",opacity:1,_disabled:{opacity:.4}}},JP={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"}},ej={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 rj(e){var{focusBorderColor:r,errorBorderColor:t}=e;return{focusBorderColor:r||ZC("blue.500","blue.300")(e),errorBorderColor:t||ZC("red.500","red.300")(e)}}var tj={outline:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=rj(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:ZC("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:qC(r,n),boxShadow:"0 0 0 1px "+qC(r,n)},_focus:{zIndex:1,borderColor:qC(r,t),boxShadow:"0 0 0 1px "+qC(r,t)}},addon:{border:"1px solid",borderColor:ZC("inherit","whiteAlpha.50")(e),bg:ZC("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=rj(e);return{field:{border:"2px solid",borderColor:"transparent",bg:ZC("gray.100","whiteAlpha.50")(e),_hover:{bg:ZC("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:qC(r,n)},_focus:{bg:"transparent",borderColor:qC(r,t)}},addon:{border:"2px solid",borderColor:"transparent",bg:ZC("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=rj(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,pl:0,pr:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:qC(r,n),boxShadow:"0px 1px 0px 0px "+qC(r,n)},_focus:{borderColor:qC(r,t),boxShadow:"0px 1px 0px 0px "+qC(r,t)}},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"}}},nj={parts:["field","addon"],baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transition:"all 0.2s"}},sizes:{lg:{field:ej.lg,addon:ej.lg},md:{field:ej.md,addon:ej.md},sm:{field:ej.sm,addon:ej.sm},xs:{field:ej.xs,addon:ej.xs}},variants:tj,defaultProps:{size:"md",variant:"outline"}};var oj={baseStyle:function(e){return{bg:ZC("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},aj={baseStyle:{transition:"all 0.15s ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},ij={parts:["container","item","icon"],baseStyle:{container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}}};function sj(e){return{bg:ZC("#fff","gray.700")(e),boxShadow:ZC("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}}function lj(e){return{py:"0.4rem",px:"0.8rem",transition:"background 50ms ease-in 0s",_focus:{bg:ZC("gray.100","whiteAlpha.100")(e)},_active:{bg:ZC("gray.200","whiteAlpha.200")(e)},_expanded:{bg:ZC("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}var uj,cj={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},dj={opacity:.6},fj={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},pj={parts:["item","command","list","button","groupTitle","divider"],baseStyle:e=>({list:sj(e),item:lj(e),groupTitle:cj,command:dj,divider:fj})},hj={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 mj(){return mj=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},mj.apply(this,arguments)}var{variants:vj,defaultProps:gj}=nj,bj=null==(uj=nj.baseStyle)?void 0:uj.field,yj={width:"24px"};function xj(e){return{borderLeft:"1px solid",borderLeftColor:ZC("inherit","whiteAlpha.300")(e),color:ZC("inherit","whiteAlpha.800")(e),_active:{bg:ZC("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}function wj(e){var r=nj.sizes[e],t={lg:"md",md:"md",sm:"sm",xs:"sm"},n=hj.fontSizes[r.field.fontSize];return{field:mj({},r.field,{verticalAlign:"top"}),stepper:{fontSize:"calc("+n+" * 0.75)",_first:{borderTopRightRadius:t[e]},_last:{borderBottomRightRadius:t[e],mt:"-1px",borderTopWidth:1}}}}var Sj={parts:["field","stepper","stepperGroup"],baseStyle:e=>({field:bj,stepperGroup:yj,stepper:xj(e)}),sizes:{xs:wj("xs"),sm:wj("sm"),md:wj("md"),lg:wj("lg")},variants:vj,defaultProps:gj};function kj(){return kj=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},kj.apply(this,arguments)}var Oj=kj({},nj.baseStyle.field,{textAlign:"center"}),_j={outline:e=>nj.variants.outline(e).field,flushed:e=>nj.variants.flushed(e).field,filled:e=>nj.variants.filled(e).field,unstyled:nj.variants.unstyled.field},Ej={baseStyle:Oj,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:_j,defaultProps:nj.defaultProps},Aj={w:"100%",maxW:"xs",zIndex:10};function Cj(e){return{bg:ZC("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:ZC("white","gray.700")(e)}}var jj={px:3,py:2,borderBottomWidth:"1px"},Tj={px:3,py:2},Rj={px:3,py:2,borderTopWidth:"1px"},zj={parts:["popper","content","header","body","footer","arrow"],baseStyle:e=>({popper:Aj,content:Cj(e),header:jj,body:Tj,footer:Rj,arrow:Pj(e)})};function Bj(){return Bj=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Bj.apply(this,arguments)}var Dj={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"};function Fj(e){return{bg:ZC("gray.100","whiteAlpha.300")(e)}}function Nj(e){return Bj({transition:"all 0.3s"},function(e){var{colorScheme:r,theme:t,isIndeterminate:n,hasStripe:o}=e,a=ZC(GC(),GC("1rem","rgba(0,0,0,0.1)"))(e),i=ZC(r+".500",r+".200")(e),s="linear-gradient(\n to right,\n transparent 0%,\n "+qC(t,i)+" 50%,\n transparent 100%\n )";return Bj({},!n&&o&&a,n?{bgImage:s}:{bgColor:i})}(e))}var Ij={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:Dj,filledTrack:Nj(e),track:Fj(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function Mj(){return Mj=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Mj.apply(this,arguments)}function Lj(e){var{control:r}=SP.baseStyle(e);return Mj({},r,{borderRadius:"full",_checked:Mj({},r._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})}var Wj={parts:["container","control","label"],baseStyle:e=>({label:SP.baseStyle(e).label,control:Lj(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 Hj(){return Hj=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Hj.apply(this,arguments)}function Vj(e){return Hj({},nj.baseStyle.field,{appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:ZC("white","gray.700")(e)}})}var $j={width:"1.5rem",height:"100%",right:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Uj={parts:["field","icon"],baseStyle:e=>({field:Vj(e),icon:$j}),sizes:tt({},nj.sizes,{xs:{icon:{right:"0.25rem"}}}),variants:nj.variants,defaultProps:nj.defaultProps},qj=(e,r)=>Nr({from:{borderColor:e,background:e},to:{borderColor:r,background:r}}),Yj={baseStyle:e=>{var r=ZC("gray.100","gray.800")(e),t=ZC("gray.400","gray.600")(e),{startColor:n=r,endColor:o=t,speed:a,theme:i}=e,s=qC(i,n),l=qC(i,o);return{opacity:.7,borderRadius:"2px",borderColor:s,background:l,animation:a+"s linear infinite alternate "+qj(s,l)}}},Xj={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",left:"1.5rem",bg:ZC("white","gray.700")(e)}})};function Gj(){return Gj=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Gj.apply(this,arguments)}var Kj=e=>{var{orientation:r}=e;return Gj({_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},QC({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))};function Zj(e){return{borderRadius:"sm",bg:ZC("gray.200","whiteAlpha.200")(e),_disabled:{bg:ZC("gray.300","whiteAlpha.300")(e)}}}function Qj(e){return Gj({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 QC({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 Jj(e){var{colorScheme:r}=e;return{bg:ZC(r+".500",r+".200")(e)}}var eT={lg:function(e){return{thumb:{w:"16px",h:"16px"},track:QC({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:QC({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:QC({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},rT={parts:["container","thumb","track","filledTrack"],sizes:eT,baseStyle:e=>({container:Kj(e),track:Zj(e),thumb:Qj(e),filledTrack:Jj(e)}),defaultProps:{size:"md",colorScheme:"blue"}},tT={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"}},nT={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 oT(e){var{colorScheme:r}=e;return{borderRadius:"full",p:"2px",transition:"all 120ms",bg:ZC("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:ZC(r+".500",r+".200")(e)}}}var aT={bg:"white",transition:"transform 250ms",borderRadius:"full",transform:"translateX(0)"},iT={parts:["track","thumb"],baseStyle:e=>({track:oT(e),thumb:aT}),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 sT(){return sT=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},sT.apply(this,arguments)}var lT={"&[data-is-numeric=true]":{textAlign:"right"}},uT={simple:e=>{var{colorScheme:r}=e;return{th:sT({color:ZC("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ZC(r+".100",r+".700")(e)},lT),td:sT({borderBottom:"1px",borderColor:ZC(r+".100",r+".700")(e)},lT),caption:{color:ZC("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:r}=e;return{th:sT({color:ZC("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ZC(r+".100",r+".700")(e)},lT),td:sT({borderBottom:"1px",borderColor:ZC(r+".100",r+".700")(e)},lT),caption:{color:ZC("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:ZC(r+".100",r+".700")(e)},td:{background:ZC(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},cT={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:uT,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 dT(e){var{orientation:r}=e;return{display:"vertical"===r?"flex":"block"}}function fT(e){var{isFitted:r}=e;return{flex:r?1:void 0,transition:"all 0.2s",_focus:{zIndex:1,boxShadow:"outline"}}}function pT(e){var{align:r="start",orientation:t}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===t?"column":"row"}}var hT={p:4};var mT={line:function(e){var{colorScheme:r,orientation:t}=e,n="vertical"===t?"borderLeft":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===t?"ml":"mb"]:"-2px",_selected:{color:ZC(r+".600",r+".300")(e),borderColor:"currentColor"},_active:{bg:ZC("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:function(e){var{colorScheme:r}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:ZC(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:ZC("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var{colorScheme:r}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:ZC("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{mr:"-1px"},_selected:{bg:ZC("#fff","gray.800")(e),color:ZC(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var{colorScheme:r,theme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:qC(t,r+".700"),bg:qC(t,r+".100")}}}},"solid-rounded":function(e){var{colorScheme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:ZC("gray.600","inherit")(e),_selected:{color:ZC("#fff","gray.800")(e),bg:ZC(r+".600",r+".300")(e)}}}},unstyled:{}},vT={parts:["root","tablist","tab","tabpanels","tabpanel","indicator"],baseStyle:e=>({root:dT(e),tab:fT(e),tablist:pT(e),tabpanel:hT}),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:mT,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},gT={subtle:e=>({container:pP.variants.subtle(e)}),solid:e=>({container:pP.variants.solid(e)}),outline:e=>({container:pP.variants.outline(e)})},bT={parts:["container","label","closeButton"],variants:gT,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 yT(){return yT=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},yT.apply(this,arguments)}var xT=yT({},nj.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short"}),wT={outline:e=>nj.variants.outline(e).field,flushed:e=>nj.variants.flushed(e).field,filled:e=>nj.variants.filled(e).field,unstyled:nj.variants.unstyled.field},ST={xs:nj.sizes.xs.field,sm:nj.sizes.sm.field,md:nj.sizes.md.field,lg:nj.sizes.lg.field};var kT={baseStyle:function(e){return{px:"8px",py:"2px",bg:ZC("gray.700","gray.300")(e),color:ZC("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}};function OT(e){return{color:ZC("red.500","red.300")(e),mt:2,fontSize:"sm"}}function _T(e){return{marginEnd:"0.5em",color:ZC("red.500","red.300")(e)}}var ET={parts:["text","icon"],baseStyle:e=>({text:OT(e),icon:_T(e)})},AT={Accordion:LC,Alert:nP,Avatar:dP,Badge:pP,Breadcrumb:hP,Button:yP,Checkbox:SP,CloseButton:kP,Code:EP,Container:AP,Divider:CP,Drawer:YP,Editable:XP,Form:ZP,FormLabel:QP,Heading:JP,Input:nj,Kbd:oj,Link:aj,List:ij,Menu:pj,Modal:NP,NumberInput:Sj,PinInput:Ej,Popover:zj,Progress:Ij,Radio:Wj,Select:Uj,Skeleton:Yj,SkipLink:Xj,Slider:rT,Spinner:tT,Stat:nT,Switch:iT,Table:cT,Tabs:vT,Tag:bT,Textarea:{baseStyle:xT,sizes:ST,variants:wT,defaultProps:{size:"md",variant:"outline"}},Tooltip:kT,FormError:ET};function CT(){return CT=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},CT.apply(this,arguments)}var PT={global:e=>({body:{fontFamily:"body",color:ZC("gray.800","whiteAlpha.900")(e),bg:ZC("white","gray.800")(e),transition:"background-color 0.2s",lineHeight:"base"},"*::placeholder":{color:ZC("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:ZC("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})};function jT(){return jT=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},jT.apply(this,arguments)}var TT=jT({direction:"ltr"},CT({breakpoints:eP({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"}}},hj,{sizes:iP,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:oP,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:AT,styles:PT,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}});function RT(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function zT(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?RT(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):RT(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var BT={_disabled:{bg:"gray.medium",borderColor:"gray.medium",color:"gray.dark"}},DT={primary:{bg:"primary.default",borderColor:"primary.default",color:"white",_hover:zT({bg:"primary.600",borderColor:"primary.600",color:"white"},BT)},primaryOnDark:{bg:"yellow.default",borderColor:"yellow.default",color:"black",_hover:zT({bg:"yellow.500",borderColor:"yellow.500",color:"black"},BT),_focus:{boxShadow:"0 0 0 3px rgba(255, 255, 255, 0.7)"}},secondary:{bg:"white",borderColor:"gray.medium",color:"primary.default",_hover:zT({borderColor:"primary.default",color:"primary.600"},BT)},secondaryOnDark:{bg:"none",borderColor:"white",color:"white",_hover:zT({bg:"white",borderColor:"white",color:"black"},BT),_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"}}}},FT=b(TT.components.Button,{variants:DT,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}}),NT={as:g.string,asAnchor:g.bool,isExternal:g.bool,isLoading:g.bool,isActive:g.bool,isDisabled:g.bool,loadingText:g.string,isFullWidth:g.bool,type:g.oneOf(["button","reset","submit"]),leftIcon:g.node,rightIcon:g.node,iconSpacing:g.oneOfType([g.number,g.string]),spinner:g.node,variant:g.oneOf(aE(DT))},IT=["asAnchor","isExternal"];function MT(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function LT(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?MT(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):MT(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var WT,HT,VT=a(WT=function(r,t){var n=r.asAnchor,o=r.isExternal,a=BC(r,IT);return e.createElement(Xy,SC({iconSpacing:2},a,(n||"a"===a.as)&&function(){return LT({as:"a",type:null},arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&{target:"_blank",rel:"noopener noreferrer"})}(o),{ref:t}))});HT=VT,VT.propTypes=NT,VT.defaultProps={variant:"primary",type:"button"},$RefreshReg$(WT,"Button$forwardRef"),$RefreshReg$(HT,"Button");var $T={"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"},UT={light:300,normal:400,semibold:600,bold:700};function qT(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function YT(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?qT(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):qT(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var XT={lineHeight:1.5,fontWeight:UT.normal},GT={body:YT(YT({},XT),{},{fontSize:{base:$T.base,desktop:$T.base}}),body2:YT(YT({},XT),{},{fontSize:{base:$T.sm,desktop:$T.sm}}),caption:YT(YT({},XT),{},{fontSize:{base:$T.xs,desktop:$T.xs}})},KT={variant:GT.body},ZT=b(TT.components.Text,{variants:GT,baseStyle:XT,defaultProps:KT}),QT=!Jk((function(){return Object.isExtensible(Object.preventExtensions({}))})),JT=Jk((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),eR=Object.isExtensible,rR=Jk((function(){eR(1)}))||JT?function(e){return!!AO(e)&&((!JT||"ArrayBuffer"!=xO(e))&&(!eR||eR(e)))}:eR,tR=je((function(e){var r=F_.f,t=!1,n=o_("meta"),o=0,a=function(e){r(e,n,{value:{objectID:"O"+o++,weakData:{}}})},i=e.exports={enable:function(){i.enable=function(){},t=!0;var e=CE.f,r=uO([].splice),o={};o[n]=1,e(o).length&&(CE.f=function(t){for(var o=e(t),a=0,i=o.length;a<i;a++)if(o[a]===n){r(o,a,1);break}return o},L_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:DE.f}))},fastKey:function(e,r){if(!AO(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!e_(e,n)){if(!rR(e))return"F";if(!r)return"E";a(e)}return e[n].objectID},getWeakData:function(e,r){if(!e_(e,n)){if(!rR(e))return!0;if(!r)return!1;a(e)}return e[n].weakData},onFreeze:function(e){return QT&&t&&rR(e)&&!e_(e,n)&&a(e),e}};Z_[n]=!0}));tR.enable,tR.fastKey,tR.getWeakData,tR.onFreeze;var nR=tR.onFreeze,oR=Object.freeze,aR=Jk((function(){oR(1)}));function iR(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function sR(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?iR(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):iR(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}L_({target:"Object",stat:!0,forced:aR,sham:!QT},{freeze:function(e){return oR&&AO(e)?oR(nR(e)):e}});var lR,uR,cR=(0,CO.Object.freeze)({bold:"b",strong:"strong",italic:"i",emphasis:"em",small:"small",strikethrough:"s",underline:"u"}),dR=["as","variant"],fR=Pi(lR=function(r,t){var n=r.as,o=r.variant,a=BC(r,dR);return e.createElement(rw,SC({variant:o,as:n},function(e){var r,t=e.as,n=e.variant,o=Number(GT["".concat(n)].fontSize.base.replace("rem","")),a=Number(GT["".concat(n)].fontSize.desktop.replace("rem",""));switch(t){case cR.bold:case cR.strong:r=sR(sR({},GT["".concat(n)]),{},{fontWeight:UT.semibold});break;case cR.italic:case cR.emphasis:r=sR(sR({},GT["".concat(n)]),{},{fontStyle:"italic"});break;case cR.underline:r=sR(sR({},GT["".concat(n)]),{},{textDecoration:"underline"});break;case cR.strikethrough:r=sR(sR({},GT["".concat(n)]),{},{textDecoration:"line-through"});break;case cR.small:r=sR(sR({},GT["".concat(n)]),{},{fontSize:{base:"".concat(.8*o,"rem"),desktop:"".concat(.8*a,"rem")}});break;default:r=sR({},GT["".concat(n)])}return r}({as:n,variant:o}),a,{ref:t}))});uR=fR,fR.defaultProps={as:"p",variant:"body"},fR.propTypes={children:g.node,as:g.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:g.oneOf(aE(GT))},$RefreshReg$(lR,"Text$forwardRef"),$RefreshReg$(uR,"Text");var pR,hR,mR={gap:{base:4,tablet:8},templateColumns:"repeat(12, 1fr)"},vR={gap:4},gR=["isCompact"],bR=a(pR=function(r,t){var n=r.isCompact,o=BC(r,gR);return e.createElement(Bx,SC({},mR,n&&vR,o,{ref:t}))});hR=bR,bR.propTypes={isCompact:g.bool},bR.defaultProps={isCompact:!1},$RefreshReg$(pR,"Grid$forwardRef"),$RefreshReg$(hR,"Grid");var yR,xR,wR={colSpan:12},SR=a(yR=function(r,t){return e.createElement(Fx,SC({},wR,r,{ref:t}))});xR=SR,$RefreshReg$(yR,"GridItem$forwardRef"),$RefreshReg$(xR,"GridItem");var kR,OR,_R,ER,AR=["type"],CR={as:"ul",styleType:"disc"},PR={as:"ol",styleType:"decimal"},jR={unset:"unset",revert:"revert",inside:"inside",outside:"outside",initial:"initial",inherit:"inherit"},TR={ordered:"ordered",unstyled:"unstyled",unordered:"unordered"},RR=a(kR=function(r,t){var n=r.type,o=BC(r,AR);return e.createElement(Vx,SC({},function(e){switch(e){case TR.ordered:return PR;case TR.unordered:return CR;default:return}}(n),o,{ref:t}))});OR=RR,RR.defaultProps={type:TR.unstyled,stylePosition:jR.inside},RR.propTypes={stylePosition:g.oneOf(aE(jR)),type:g.oneOf(aE(TR))},$RefreshReg$(kR,"List$forwardRef"),$RefreshReg$(OR,"List");var zR,BR,DR=TT.components.Spinner,FR={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"},NR=b(DR.sizes,(MC(_R={},FR["2xl"],{w:"4rem",h:"4rem"}),MC(_R,FR["3xl"],{w:"5rem",h:"5rem"}),MC(_R,FR["4xl"],{w:"6rem",h:"6rem"}),MC(_R,FR["5xl"],{w:"7rem",h:"7rem"}),MC(_R,FR["6xl"],{w:"8rem",h:"8rem"}),MC(_R,FR["7xl"],{w:"9rem",h:"9rem"}),MC(_R,FR["8xl"],{w:"10rem",h:"10rem"}),MC(_R,FR["9xl"],{w:"11rem",h:"11rem"}),MC(_R,FR["10xl"],{w:"12rem",h:"12rem"}),_R)),IR=(MC(ER={},FR.xl,3),MC(ER,FR["2xl"],4),MC(ER,FR["3xl"],5),MC(ER,FR["4xl"],6),MC(ER,FR["5xl"],7),MC(ER,FR["6xl"],8),MC(ER,FR["7xl"],9),MC(ER,FR["8xl"],10),MC(ER,FR["9xl"],11),MC(ER,FR["10xl"],12),ER),MR={sizes:NR,defaultProps:{speed:"2s",size:FR["2xl"],thickness:IR[FR["2xl"]]}},LR=["size","thickness"],WR=a(zR=function(r,t){var n=r.size,o=r.thickness,a=BC(r,LR),i=o?"".concat(o,"px"):IR[n]?"".concat(IR[n],"px"):"2px";return e.createElement(Hy,SC({ref:t,role:"status",color:"primary.default",emptyColor:"gray.medium",thickness:i,size:n||FR["2xl"]},a))});function HR(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function VR(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?HR(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):HR(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}BR=WR,WR.propTypes={color:g.string,thickness:g.number,emptyColor:g.string,size:g.oneOf(aE(FR)),speed:g.string},$RefreshReg$(zR,"Spinner$forwardRef"),$RefreshReg$(BR,"Spinner");var $R,UR,qR={lineHeight:1.5,fontWeight:UT.semibold},YR={h1:VR(VR({},qR),{},{fontSize:{base:$T["2xl"],desktop:$T["3xl"]}}),h2:VR(VR({},qR),{},{fontSize:{base:$T.xl,desktop:$T["2xl"]}}),h3:VR(VR({},qR),{},{fontSize:{base:$T.lg,desktop:$T.xl}}),h4:VR(VR({},qR),{},{fontSize:{base:$T.base,desktop:$T.lg}}),h5:VR(VR({},qR),{},{fontSize:{base:$T.base,desktop:$T.base}}),h6:VR(VR({},qR),{},{fontSize:{base:$T.sm,desktop:$T.sm}})},XR={variants:YR,baseStyle:qR,defaultProps:{variant:YR.h2}},GR=a($R=function(r,t){return e.createElement(Ix,SC({},r,{ref:t,variant:r.variant||r.as||"h2"}))});UR=GR,GR.propTypes={children:g.node,as:g.oneOf(aE(YR)),variant:g.oneOf(aE(YR))},$RefreshReg$($R,"Heading$forwardRef"),$RefreshReg$(UR,"Heading");var KR,ZR,QR={px:4,mx:"auto",maxW:{base:"container.base",tablet:"container.tablet",desktop:"container.desktop"}},JR=a(KR=function(r,t){return e.createElement(Px,SC({},QR,r,{ref:t}))});ZR=JR,$RefreshReg$(KR,"Container$forwardRef"),$RefreshReg$(ZR,"Container");var ez=u_("isConcatSpreadable"),rz=Qk.TypeError,tz=NO>=51||!Jk((function(){var e=[];return e[ez]=!1,e.concat()[0]!==e})),nz=nC("concat"),oz=function(e){if(!AO(e))return!1;var r=e[ez];return void 0!==r?!!r:iE(e)};L_({target:"Array",proto:!0,forced:!tz||!nz},{concat:function(e){var r,t,n,o,a,i=QO(this),s=bA(i,0),l=0;for(r=-1,n=arguments.length;r<n;r++)if(oz(a=-1===r?i:arguments[r])){if(l+(o=X_(a))>9007199254740991)throw rz("Maximum allowed index exceeded");for(t=0;t<o;t++,l++)t in a&&PE(s,l,a[t])}else{if(l>=9007199254740991)throw rz("Maximum allowed index exceeded");PE(s,l++,a)}return s.length=l,s}});var az=iC("Array").concat,iz=Array.prototype,sz=function(e){var r=e.concat;return e===iz||TO(iz,e)&&r===iz.concat?az:r},lz={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 uz(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function cz(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?uz(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):uz(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var dz={50:"#f6f7f9",100:"#e1e6ec",200:"#cbd4de",300:"#afbdcc",400:"#94a7ba",500:"#7890a8",600:"#5c7995",700:"#3b5261",800:"#2f3f4b",900:"#26323c"},fz={50:"#f6fbfd",100:"#e6f8fd",200:"#c0e9fb",300:"#96d3fa",400:"#5baafa",500:"#1271eb",600:"#1d58f2",700:"#1b46da",800:"#1735a6",900:"#132b7f"},pz={50:"#f4fafc",100:"#e4f7fb",200:"#bfebf6",300:"#92d9f4",400:"#51b7f0",500:"#2590ea",600:"#1a6cda",700:"#1b55b6",800:"#194185",900:"#002d5b"},hz={50:"#ecf8f7",100:"#d3f7ef",200:"#a4f3d9",300:"#65eabf",400:"#1edb96",500:"#09c66a",600:"#08ad50",700:"#008547",800:"#11703e",900:"#115a35"},mz={50:"#f9f5e5",100:"#faf0bd",200:"#f6e67c",300:"#f1d439",400:"#ffbf02",500:"#e19706",600:"#cf7404",700:"#ae5708",800:"#8e440e",900:"#743710"},vz={50:"#fdf9f8",100:"#fdeef3",200:"#fbcee6",300:"#fba4d1",400:"#fc6bad",500:"#fc4086",600:"#f7265f",700:"#e01438",800:"#b4193c",900:"#901530"},gz={primary:cz(cz({},fz),{},{default:fz[500]}),secondary:cz(cz({},pz),{},{default:pz[900]}),gray:cz(cz({},dz),{},{light:dz[50],medium:dz[200],dark:dz[600]}),red:cz(cz({},vz),{},{default:vz[700]}),green:cz(cz({},hz),{},{default:hz[700]}),yellow:cz(cz({},mz),{},{default:mz[400]}),success:hz[700],warning:mz[400],error:vz[700],accent:dz[200],text:{primary:{light:"#000000",dark:"#ffffff"},secondary:{light:dz[600]},link:{light:fz[500],dark:"#ffffff"}},background:{gray:dz[50],white:"#ffffff"},white:"#ffffff",black:"#000000",brandBlue:"#0082ff"},bz=eP({mobileXL:"30rem",tablet:"48rem",desktop:"64rem",desktopXL:"90rem"}),yz=Object.freeze({__proto__:null,sizes:lz,colors:gz,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:bz,fonts:{heading:"Open Sans",body:"Open Sans"},fontSizes:$T,fontWeights:UT}),xz=function(){return e.createElement(Dr,{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 "})};wz=xz;var wz,Sz,kz=function(r){var t,n,o,a,i,s;return r.useLegacyOverrides?e.createElement(Dr,{styles:sz(t=sz(n=sz(o=sz(a=sz(i=sz(s="\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n font-weight: ".concat(UT.semibold,";\n }\n\n .heading-sm {\n font-size: ")).call(s,$T.base,";\n }\n .heading-md {\n font-size: ")).call(i,$T.md,";\n }\n .heading-lg {\n font-size: ")).call(a,$T["5xl"],";\n }\n\n p {\n line-height: 1.5;\n }\n\n a {\n outline: none;\n text-align: left;\n color: ")).call(o,gz.primary.default,";\n text-decoration: none;\n\n &:active,\n &:focus {\n outline: none;\n }\n\n &:hover {\n color: ")).call(n,gz.primary[700],";\n }\n }\n\n small {\n font-size: ")).call(t,$T.xs,";\n }\n\n ")}):null};Sz=kz,kz.propTypes={useLegacyOverrides:g.bool},$RefreshReg$(wz,"Fonts"),$RefreshReg$(Sz,"LegacyOverrides");var Oz={item:{mb:2}},_z=b(TT.components.List,{baseStyle:Oz});function Ez(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function Az(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ez(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):Ez(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var Cz={table:{borderCollapse:"collapse",color:"text.primary.light",width:"100%"},thead:{borderBottom:"1px",borderColor:"gray.medium"},th:{fontFamily:"heading",fontSize:YR.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}},jz={parts:["table","thead","tbody","tr","th","td","caption"],variants:{rounded:Pz,roundedGray:{table:Az(Az({},Pz.table),{},{backgroundColor:"background.gray"})}},baseStyle:Cz,defaultProps:{variant:"rounded"}},Tz={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"}},Rz={baseStyle:Tz,variants:{standard:Tz,onDark:{color:"text.link.dark",_hover:{color:"text.link.dark",opacity:".8"}}},defaultProps:{variant:"standard"}},zz={panel:{pt:0,px:0,pb:6},button:{fontSize:YR.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=b(TT.components.Accordion,{parts:["container","button","panel"],baseStyle:zz}),Dz=b(TT.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"}}}}}),Fz=b(TT.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"}}}}),Nz=b(TT.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])}}}}}),Iz={marginBottom:2,fontWeight:"semibold"},Mz={padding:4,marginBottom:0,maxWidth:"20rem"},Lz=b(TT.components.Popover,{parts:["popper","content","header","body"],baseStyle:function(e){return{header:Iz,content:Mz,body:{fontSize:"sm"},popper:(r=e,t=r.variant,{borderRadius:4,boxShadow:"2px 2px 4px 0 rgba(0,45,91,0.1)",color:"dark"===t?"white":"black",background:"dark"===t?"secondary.default":"white",borderColor:"gray.100","--popper-arrow-shadow-color":function(e){return e.colors.gray[100]},borderWidth:"1px",borderStyle:"solid"})};var r,t}}),Wz=Object.freeze({__proto__:null,List:_z,Table:jz,Text:ZT,Link:Rz,Accordion:Bz,Button:FT,GridItem:wR,Spinner:MR,Heading:XR,Tabs:Dz,Select:Fz,Checkbox:Nz,Popover:Lz});function Hz(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function Vz(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Hz(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):Hz(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var $z,Uz,qz=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[...r],o=r[r.length-1];return Od(o)&&n.length>1?n=n.slice(0,n.length-1):o=Ed,It(...n.map((e=>r=>Gr(e)?e(r):Cd(r,e))))(o)}({initialColorMode:"light",useSystemColorMode:!1,styles:{global:{"html, body":{color:"text.primary.light"},svg:{display:"inline-block"}}},remToPixels:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;return e?"".concat(r*Number(e.replace("rem",""))):0}},Vz(Vz(Vz({},TT),yz),{},{components:Wz})),Yz=["theme","useLegacyOverrides","children"],Xz=a($z=function(r,t){var n=r.theme,o=r.useLegacyOverrides,a=r.children,i=BC(r,Yz);return e.createElement(Ad,SC({},i,{ref:t,theme:b(qz,n)}),e.createElement(xz,null),e.createElement(kz,{useLegacyOverrides:o}),a)});Uz=Xz,Xz.propTypes={useLegacyOverrides:g.bool,children:g.node,theme:g.object},$RefreshReg$($z,"ThemeProvider$forwardRef"),$RefreshReg$(Uz,"ThemeProvider");var Gz,Kz,Zz=a(Gz=function(r,t){return e.createElement(_x,SC({position:"relative",padding:4,bgColor:"background.white",borderRadius:"lg",boxShadow:"2px 2px 4px 0 rgba(0,45,91,0.1)"},r,{ref:t}))});Kz=Zz,$RefreshReg$(Gz,"Card$forwardRef"),$RefreshReg$(Kz,"Card");var Qz=NC;function Jz(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function eB(e,r){void 0===e&&(e={}),void 0===r&&(r={}),Object.keys(r).forEach((function(t){void 0===e[t]?e[t]=r[t]:Jz(r[t])&&Jz(e[t])&&Object.keys(r[t]).length>0&&eB(e[t],r[t])}))}var rB="undefined"!=typeof document?document:{},tB={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:""}};eB(rB,tB);var nB="undefined"!=typeof window?window:{};eB(nB,{document:tB,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 oB=Te(Object.freeze({__proto__:null,document:rB,extend:eB,window:nB})),aB=je((function(e,r){Qz(r,"__esModule",{value:!0}),r.default=void 0;var t=(oB.window.navigator&&oB.window.navigator.appVersion||"").toLowerCase(),n=(oB.window.navigator&&oB.window.navigator.userAgent||"").toLowerCase(),o=(oB.window.navigator&&oB.window.navigator.vendor||"").toLowerCase(),a={"<":function(e,r){return e<r},"<=":function(e,r){return e<=r},">":function(e,r){return e>r},">=":function(e,r){return e>=r}},i=function(e,r){var t=String(r),n=Number(t.match(/\d+/)||NaN),o=t.match(/^[<>]=?|/)[0];return a[o]?a[o](e,n):e===n||n!=n},s={isBrowser:function(){return"undefined"!=typeof window},isChrome:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=/google inc/.test(o)?r.match(/(?:chrome|crios)\/(\d+)/):null;return null!==t&&!this.isOpera(e,r)&&i(t[1],e)},isFirefox:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/(?:firefox|fxios)\/(\d+)/);return null!==t&&i(t[1],e)},isSafari:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/version\/(\d+).+?safari/);return null!==t&&i(t[1],e)},isEdge:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/edge\/(\d+)/);return null!==t&&i(t[1],e)},isIE:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/(?:msie |trident.+?; rv:)(\d+)/);return null!==t&&i(t[1],e)},isOpera:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/(?:^opera.+?version|opr)\/(\d+)/);return null!==t&&i(t[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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=this.isiPad(null,r)?null:r.match(/iphone(?:.+?os (\d+))?/i);return null!==t&&i(t[1]||1,e)},isiPad:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/ipad.+?os (\d+)/i);return null!==t&&i(t[1],e)},isiPod:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=r.match(/ipod.+?os (\d+)/i);return null!==t&&i(t[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(t)},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(oB.document)&&("ontouchstart"in oB.document.documentElement||"DocumentTouch"in oB.document.documentElement&&oB.document instanceof window.DocumentTouch)},isHighDensityDisplay:function(){return oB.window.matchMedia&&(oB.window.matchMedia("only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)").matches||oB.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)||oB.window.devicePixelRatio&&oB.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;r.default=l}));Pe(aB);var iB=aB,sB=["isSSR","cloudinaryImageId","cloudinaryTemplate","cloudinaryCloudName","htmlWidth","htmlHeight","quality","lazyLoad"];function lB(e,r){var t=aE(e);if(rC){var n=rC(e);r&&(n=uC(n).call(n,(function(r){return pC(e,r).enumerable}))),t.push.apply(t,n)}return t}function uB(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?lB(Object(t),!0).forEach((function(r){MC(e,r,t[r])})):vC?Object.defineProperties(e,vC(t)):lB(Object(t)).forEach((function(r){Object.defineProperty(e,r,pC(t,r))}))}return e}var cB,dB=function(r){var t,n=r.isSSR,o=r.cloudinaryImageId,a=r.cloudinaryTemplate,i=r.cloudinaryCloudName,s=r.htmlWidth,l=r.htmlHeight,u=r.quality,c=r.lazyLoad,d=BC(r,sB);(o||a)&&Boolean(s)&&Boolean(l)&&(t=function(e){var r,t,n=e.cloudinaryImageId,o=e.cloudinaryTemplate,a=e.cloudinaryCloudName,i=e.htmlWidth,s=e.htmlHeight,l=e.quality,u=sz(r=sz(t="https://res.cloudinary.com/".concat(a,"/image/upload/$w_{{WIDTH}},$h_{{HEIGHT}},$q_{{QUALITY}}/c_fill,f_auto,fl_progressive,dpr_")).call(t,iB.isHighDensityDisplay()?2:1,",h_$h,q_$q,w_$w/")).call(r,n);return y(o||u,{interpolate:/{{([\s\S]+?)}}/g})({WIDTH:i,HEIGHT:s,QUALITY:l})}({cloudinaryImageId:o,cloudinaryTemplate:a,cloudinaryCloudName:i,htmlWidth:s,htmlHeight:l,quality:u}));var f=uB(uB({},d),{},{src:t||d.src,htmlWidth:s,htmlHeight:l},c&&{loading:"lazy"});return n?e.createElement(Ry,f):e.createElement(Ty,f)};cB=dB,dB.propTypes={isSSR:g.bool,cloudinaryCloudName:g.string,cloudinaryImageId:g.string,cloudinaryTemplate:g.string,htmlWidth:g.number,htmlHeight:g.number,quality:g.number,lazyLoad:g.bool},dB.defaultProps={isSSR:!1,quality:50,cloudinaryCloudName:"spothero"},$RefreshReg$(cB,"Image");var fB,pB=["color","loaderBackgroundColor","isInfinite","size","thickness","trackColor","value"],hB=function(r){var t=r.color,n=void 0===t?"success":t,o=r.loaderBackgroundColor,a=void 0===o?"transparent":o,i=r.isInfinite,s=void 0===i||i,l=r.size,u=void 0===l?12:l,c=r.thickness,d=void 0===c?2:c,f=r.trackColor,p=void 0===f?"gray.medium":f,h=r.value,m=void 0===h?0:h,v=BC(r,pB),g={color:n,isIndeterminate:s,size:u,thickness:d,trackColor:p,value:m,capIsRound:!0};return e.createElement(Sk,SC({sx:{"& svg > circle:first-of-type":{fill:a}}},g,v))};fB=hB,hB.propTypes={color:g.string,isInfinite:g.bool,loaderBackgroundColor:g.string,size:g.oneOfType([g.string,g.number]),thickness:g.oneOfType([g.string,g.number]),trackColor:g.string,value:g.number},$RefreshReg$(fB,"Loader");var mB=wA.map,vB=nC("map");L_({target:"Array",proto:!0,forced:!vB},{map:function(e){return mB(this,e,arguments.length>1?arguments[1]:void 0)}});var gB,bB,yB=iC("Array").map,xB=Array.prototype,wB=function(e){var r=e.map;return e===xB||TO(xB,e)&&r===xB.map?yB:r},SB=["children"],kB=a(gB=function(r,t){var n,o=r.children,a=BC(r,SB);return e.createElement(uk,SC({},a,{ref:t}),wB(n=l.toArray(o)).call(n,(function(e,n){return v(e,{ref:t,variant:r.variant,key:"Popover-child-".concat(n)})})))});bB=kB,kB.propTypes={children:g.node,variant:g.oneOf(["light","dark"])},$RefreshReg$(gB,"Popover$forwardRef"),$RefreshReg$(bB,"Popover");var OB,_B,EB=a(OB=function(r,t){return e.createElement(mk,SC({ref:t},r,{backgroundColor:"dark"===r.variant?"secondary.default":"white"}))});_B=EB,$RefreshReg$(OB,"PopoverArrow$forwardRef"),$RefreshReg$(_B,"PopoverArrow");var AB,CB,PB=function(e){return{bgColor:"dark"===e?"gray.600":"gray.50"}},jB=a(AB=function(r,t){return e.createElement(hk,SC({ref:t},r,{color:"dark"===(n=r.variant)?"white":"black",fontSize:"0.5rem",position:"absolute",top:0,right:0,padding:4,borderTopRightRadius:4,_hover:PB(n),_focus:PB(n)}));var n});CB=jB,$RefreshReg$(AB,"PopoverCloseButton$forwardRef"),$RefreshReg$(CB,"PopoverCloseButton");var TB,RB,zB=["header","variant","children","hideCloseButton"],BB=a(TB=function(r,t){var n=r.header,o=r.variant,a=r.children,i=r.hideCloseButton,s=BC(r,zB);return e.createElement(dk,SC({},s,{ref:t}),e.createElement(EB,{variant:o}),i?null:e.createElement(jB,{variant:o}),n?e.createElement(fk,null,n):null,e.createElement(pk,null,a))});RB=BB,BB.propTypes={children:g.node,hideCloseButton:g.bool,variant:g.oneOf(["light","dark"]),header:g.oneOfType([g.node,g.string])},BB.defaultProps={variant:"light",hideCloseButton:!1},$RefreshReg$(TB,"PopoverContent$forwardRef"),$RefreshReg$(RB,"PopoverContent");var DB=import("./ImageCarousel-367b46dd.js");export{wB as $,qO as A,nC as B,X_ as C,mA as D,AO as E,NE as F,PE as G,q_ as H,iC as I,TO as J,UO as K,VO as L,C_ as M,ME as N,tR as O,F_ as P,wA as Q,QE as R,rR as S,je as T,Qz as U,SC as V,pC as W,Pe as X,BC as Y,_x as Z,L_ as _,Te as a,sz as a0,VT as a1,DB as a2,Ay as a3,Oy as a4,Ey as a5,_y as a6,wy as a7,Uk as a8,Yk as a9,Qx as aA,hi as aB,si as aC,$b as aD,Qb as aE,Bd as aF,An as aG,Fn as aH,nw as aI,cw as aJ,Cn as aK,Pn as aL,ow as aM,Fy as aN,pw as aO,mw as aP,vw as aQ,gw as aR,yw as aS,bw as aT,xw as aU,hw as aV,$k as aa,qk as ab,Vk as ac,Ak as ad,Lx as ae,fR as af,bR as ag,SR as ah,RR as ai,qx as aj,WR as ak,GR as al,JR as am,Xz as an,Zz as ao,Rd as ap,dB as aq,hB as ar,cx as as,kB as at,ck as au,BB as av,Tx as aw,Lb as ax,Xb as ay,Jn as az,dO as b,xE as c,WE as d,cO as e,Jk as f,Qk as g,e_ as h,iE as i,gO as j,uO as k,R_ as l,pO as m,iA as n,EE as o,CO as p,EO as q,IE as r,UE as s,QO as t,pE as u,N_ as v,u_ as w,mE as x,_O as y,V_ as z};
|
|
24
|
-
//# sourceMappingURL=index-b266be99.js.map
|