var Qw=Object.defineProperty,Zw=Object.defineProperties;var Jw=Object.getOwnPropertyDescriptors;var sl=Object.getOwnPropertySymbols;var sv=Object.prototype.hasOwnProperty,uv=Object.prototype.propertyIsEnumerable;var lv=(e,t,r)=>t in e?Qw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ee=(e,t)=>{for(var r in t||(t={}))sv.call(t,r)&&lv(e,r,t[r]);if(sl)for(var r of sl(t))uv.call(t,r)&&lv(e,r,t[r]);return e},gt=(e,t)=>Zw(e,Jw(t));var ul=(e,t)=>{var r={};for(var n in e)sv.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sl)for(var n of sl(e))t.indexOf(n)<0&&uv.call(e,n)&&(r[n]=e[n]);return r};function eE(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}const tE=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}};tE();var cl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},w={exports:{}},ue={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var cv=Object.getOwnPropertySymbols,rE=Object.prototype.hasOwnProperty,nE=Object.prototype.propertyIsEnumerable;function iE(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function aE(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Wd=aE()?Object.assign:function(e,t){for(var r,n=iE(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)rE.call(r,o)&&(n[o]=r[o]);if(cv){i=cv(r);for(var l=0;l<i.length;l++)nE.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n};/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ud=Wd,Zi=60103,Ug=60106;ue.Fragment=60107;ue.StrictMode=60108;ue.Profiler=60114;var Gg=60109,Yg=60110,qg=60112;ue.Suspense=60113;var Kg=60115,Xg=60116;if(typeof Symbol=="function"&&Symbol.for){var Qt=Symbol.for;Zi=Qt("react.element"),Ug=Qt("react.portal"),ue.Fragment=Qt("react.fragment"),ue.StrictMode=Qt("react.strict_mode"),ue.Profiler=Qt("react.profiler"),Gg=Qt("react.provider"),Yg=Qt("react.context"),qg=Qt("react.forward_ref"),ue.Suspense=Qt("react.suspense"),Kg=Qt("react.memo"),Xg=Qt("react.lazy")}var fv=typeof Symbol=="function"&&Symbol.iterator;function oE(e){return e===null||typeof e!="object"?null:(e=fv&&e[fv]||e["@@iterator"],typeof e=="function"?e:null)}function Do(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Qg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zg={};function Ji(e,t,r){this.props=e,this.context=t,this.refs=Zg,this.updater=r||Qg}Ji.prototype.isReactComponent={};Ji.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Do(85));this.updater.enqueueSetState(this,e,t,"setState")};Ji.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jg(){}Jg.prototype=Ji.prototype;function Gd(e,t,r){this.props=e,this.context=t,this.refs=Zg,this.updater=r||Qg}var Yd=Gd.prototype=new Jg;Yd.constructor=Gd;Ud(Yd,Ji.prototype);Yd.isPureReactComponent=!0;var qd={current:null},ey=Object.prototype.hasOwnProperty,ty={key:!0,ref:!0,__self:!0,__source:!0};function ry(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)ey.call(t,n)&&!ty.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:Zi,type:e,key:a,ref:o,props:i,_owner:qd.current}}function lE(e,t){return{$$typeof:Zi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Kd(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zi}function sE(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var dv=/\/+/g;function rc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?sE(""+e.key):t.toString(36)}function Hl(e,t,r,n,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Zi:case Ug:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+rc(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(dv,"$&/")+"/"),Hl(i,t,r,"",function(u){return u})):i!=null&&(Kd(i)&&(i=lE(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(dv,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){a=e[l];var s=n+rc(a,l);o+=Hl(a,t,r,s,i)}else if(s=oE(e),typeof s=="function")for(e=s.call(e),l=0;!(a=e.next()).done;)a=a.value,s=n+rc(a,l++),o+=Hl(a,t,r,s,i);else if(a==="object")throw t=""+e,Error(Do(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function fl(e,t,r){if(e==null)return e;var n=[],i=0;return Hl(e,n,"","",function(a){return t.call(r,a,i++)}),n}function uE(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(r){e._status===0&&(r=r.default,e._status=1,e._result=r)},function(r){e._status===0&&(e._status=2,e._result=r)})}if(e._status===1)return e._result;throw e._result}var ny={current:null};function Wr(){var e=ny.current;if(e===null)throw Error(Do(321));return e}var cE={ReactCurrentDispatcher:ny,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:qd,IsSomeRendererActing:{current:!1},assign:Ud};ue.Children={map:fl,forEach:function(e,t,r){fl(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return fl(e,function(){t++}),t},toArray:function(e){return fl(e,function(t){return t})||[]},only:function(e){if(!Kd(e))throw Error(Do(143));return e}};ue.Component=Ji;ue.PureComponent=Gd;ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cE;ue.cloneElement=function(e,t,r){if(e==null)throw Error(Do(267,e));var n=Ud({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=qd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)ey.call(t,s)&&!ty.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];n.children=l}return{$$typeof:Zi,type:e.type,key:i,ref:a,props:n,_owner:o}};ue.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:Yg,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:Gg,_context:e},e.Consumer=e};ue.createElement=ry;ue.createFactory=function(e){var t=ry.bind(null,e);return t.type=e,t};ue.createRef=function(){return{current:null}};ue.forwardRef=function(e){return{$$typeof:qg,render:e}};ue.isValidElement=Kd;ue.lazy=function(e){return{$$typeof:Xg,_payload:{_status:-1,_result:e},_init:uE}};ue.memo=function(e,t){return{$$typeof:Kg,type:e,compare:t===void 0?null:t}};ue.useCallback=function(e,t){return Wr().useCallback(e,t)};ue.useContext=function(e,t){return Wr().useContext(e,t)};ue.useDebugValue=function(){};ue.useEffect=function(e,t){return Wr().useEffect(e,t)};ue.useImperativeHandle=function(e,t,r){return Wr().useImperativeHandle(e,t,r)};ue.useLayoutEffect=function(e,t){return Wr().useLayoutEffect(e,t)};ue.useMemo=function(e,t){return Wr().useMemo(e,t)};ue.useReducer=function(e,t,r){return Wr().useReducer(e,t,r)};ue.useRef=function(e){return Wr().useRef(e)};ue.useState=function(e){return Wr().useState(e)};ue.version="17.0.2";w.exports=ue;var ie=w.exports,Hi=Object.freeze(eE({__proto__:null,[Symbol.toStringTag]:"Module",default:ie},[w.exports]));function fE(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function dE(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var pE=function(){function e(r){var n=this;this._insertTag=function(i){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,a),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(dE(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=fE(i);try{a.insertRule(n,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),tt="-ms-",us="-moz-",fe="-webkit-",iy="comm",Xd="rule",Qd="decl",hE="@import",ay="@keyframes",vE=Math.abs,nu=String.fromCharCode,mE=Object.assign;function gE(e,t){return(((t<<2^xt(e,0))<<2^xt(e,1))<<2^xt(e,2))<<2^xt(e,3)}function oy(e){return e.trim()}function yE(e,t){return(e=t.exec(e))?e[0]:e}function pe(e,t,r){return e.replace(t,r)}function pf(e,t){return e.indexOf(t)}function xt(e,t){return e.charCodeAt(t)|0}function io(e,t,r){return e.slice(t,r)}function fr(e){return e.length}function Zd(e){return e.length}function dl(e,t){return t.push(e),e}function bE(e,t){return e.map(t).join("")}var iu=1,Wi=1,ly=0,Pt=0,Ne=0,ea="";function au(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:iu,column:Wi,length:o,return:""}}function pa(e,t){return mE(au("",null,null,"",null,null,0),e,{length:-e.length},t)}function SE(){return Ne}function xE(){return Ne=Pt>0?xt(ea,--Pt):0,Wi--,Ne===10&&(Wi=1,iu--),Ne}function Ot(){return Ne=Pt<ly?xt(ea,Pt++):0,Wi++,Ne===10&&(Wi=1,iu++),Ne}function br(){return xt(ea,Pt)}function Wl(){return Pt}function $o(e,t){return io(ea,e,t)}function ao(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 sy(e){return iu=Wi=1,ly=fr(ea=e),Pt=0,[]}function uy(e){return ea="",e}function Ul(e){return oy($o(Pt-1,hf(e===91?e+2:e===40?e+1:e)))}function wE(e){for(;(Ne=br())&&Ne<33;)Ot();return ao(e)>2||ao(Ne)>3?"":" "}function EE(e,t){for(;--t&&Ot()&&!(Ne<48||Ne>102||Ne>57&&Ne<65||Ne>70&&Ne<97););return $o(e,Wl()+(t<6&&br()==32&&Ot()==32))}function hf(e){for(;Ot();)switch(Ne){case e:return Pt;case 34:case 39:e!==34&&e!==39&&hf(Ne);break;case 40:e===41&&hf(e);break;case 92:Ot();break}return Pt}function CE(e,t){for(;Ot()&&e+Ne!==47+10;)if(e+Ne===42+42&&br()===47)break;return"/*"+$o(t,Pt-1)+"*"+nu(e===47?e:Ot())}function TE(e){for(;!ao(br());)Ot();return $o(e,Pt)}function kE(e){return uy(Gl("",null,null,null,[""],e=sy(e),0,[0],e))}function Gl(e,t,r,n,i,a,o,l,s){for(var u=0,c=0,d=o,f=0,p=0,g=0,y=1,v=1,h=1,m=0,b="",x=i,P=a,k=n,T=b;v;)switch(g=m,m=Ot()){case 40:if(g!=108&&T.charCodeAt(d-1)==58){pf(T+=pe(Ul(m),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:T+=Ul(m);break;case 9:case 10:case 13:case 32:T+=wE(g);break;case 92:T+=EE(Wl()-1,7);continue;case 47:switch(br()){case 42:case 47:dl(_E(CE(Ot(),Wl()),t,r),s);break;default:T+="/"}break;case 123*y:l[u++]=fr(T)*h;case 125*y:case 59:case 0:switch(m){case 0:case 125:v=0;case 59+c:p>0&&fr(T)-d&&dl(p>32?hv(T+";",n,r,d-1):hv(pe(T," ","")+";",n,r,d-2),s);break;case 59:T+=";";default:if(dl(k=pv(T,t,r,u,c,i,l,b,x=[],P=[],d),a),m===123)if(c===0)Gl(T,t,k,k,x,a,d,l,P);else switch(f){case 100:case 109:case 115:Gl(e,k,k,n&&dl(pv(e,k,k,0,0,i,l,b,i,x=[],d),P),i,P,d,l,n?x:P);break;default:Gl(T,k,k,k,[""],P,0,l,P)}}u=c=p=0,y=h=1,b=T="",d=o;break;case 58:d=1+fr(T),p=g;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&xE()==125)continue}switch(T+=nu(m),m*y){case 38:h=c>0?1:(T+="\f",-1);break;case 44:l[u++]=(fr(T)-1)*h,h=1;break;case 64:br()===45&&(T+=Ul(Ot())),f=br(),c=d=fr(b=T+=TE(Wl())),m++;break;case 45:g===45&&fr(T)==2&&(y=0)}}return a}function pv(e,t,r,n,i,a,o,l,s,u,c){for(var d=i-1,f=i===0?a:[""],p=Zd(f),g=0,y=0,v=0;g<n;++g)for(var h=0,m=io(e,d+1,d=vE(y=o[g])),b=e;h<p;++h)(b=oy(y>0?f[h]+" "+m:pe(m,/&\f/g,f[h])))&&(s[v++]=b);return au(e,t,r,i===0?Xd:l,s,u,c)}function _E(e,t,r){return au(e,t,r,iy,nu(SE()),io(e,2,-2),0)}function hv(e,t,r,n){return au(e,t,r,Qd,io(e,0,n),io(e,n+1,-1),n)}function cy(e,t){switch(gE(e,t)){case 5103:return fe+"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 fe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fe+e+us+e+tt+e+e;case 6828:case 4268:return fe+e+tt+e+e;case 6165:return fe+e+tt+"flex-"+e+e;case 5187:return fe+e+pe(e,/(\w+).+(:[^]+)/,fe+"box-$1$2"+tt+"flex-$1$2")+e;case 5443:return fe+e+tt+"flex-item-"+pe(e,/flex-|-self/,"")+e;case 4675:return fe+e+tt+"flex-line-pack"+pe(e,/align-content|flex-|-self/,"")+e;case 5548:return fe+e+tt+pe(e,"shrink","negative")+e;case 5292:return fe+e+tt+pe(e,"basis","preferred-size")+e;case 6060:return fe+"box-"+pe(e,"-grow","")+fe+e+tt+pe(e,"grow","positive")+e;case 4554:return fe+pe(e,/([^-])(transform)/g,"$1"+fe+"$2")+e;case 6187:return pe(pe(pe(e,/(zoom-|grab)/,fe+"$1"),/(image-set)/,fe+"$1"),e,"")+e;case 5495:case 3959:return pe(e,/(image-set\([^]*)/,fe+"$1$`$1");case 4968:return pe(pe(e,/(.+:)(flex-)?(.*)/,fe+"box-pack:$3"+tt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fe+e+e;case 4095:case 3583:case 4068:case 2532:return pe(e,/(.+)-inline(.+)/,fe+"$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(fr(e)-1-t>6)switch(xt(e,t+1)){case 109:if(xt(e,t+4)!==45)break;case 102:return pe(e,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+us+(xt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pf(e,"stretch")?cy(pe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(xt(e,t+1)!==115)break;case 6444:switch(xt(e,fr(e)-3-(~pf(e,"!important")&&10))){case 107:return pe(e,":",":"+fe)+e;case 101:return pe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fe+(xt(e,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(xt(e,t+11)){case 114:return fe+e+tt+pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fe+e+tt+pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fe+e+tt+pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fe+e+tt+e+e}return e}function _i(e,t){for(var r="",n=Zd(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function PE(e,t,r,n){switch(e.type){case hE:case Qd:return e.return=e.return||e.value;case iy:return"";case ay:return e.return=e.value+"{"+_i(e.children,n)+"}";case Xd:e.value=e.props.join(",")}return fr(r=_i(e.children,n))?e.return=e.value+"{"+r+"}":""}function AE(e){var t=Zd(e);return function(r,n,i,a){for(var o="",l=0;l<t;l++)o+=e[l](r,n,i,a)||"";return o}}function RE(e){return function(t){t.root||(t=t.return)&&e(t)}}function OE(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Qd:e.return=cy(e.value,e.length);break;case ay:return _i([pa(e,{value:pe(e.value,"@","@"+fe)})],n);case Xd:if(e.length)return bE(e.props,function(i){switch(yE(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _i([pa(e,{props:[pe(i,/:(read-\w+)/,":"+us+"$1")]})],n);case"::placeholder":return _i([pa(e,{props:[pe(i,/:(plac\w+)/,":"+fe+"input-$1")]}),pa(e,{props:[pe(i,/:(plac\w+)/,":"+us+"$1")]}),pa(e,{props:[pe(i,/:(plac\w+)/,tt+"input-$1")]})],n)}return""})}}var vv=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}};function Jd(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ME=function(t,r,n){for(var i=0,a=0;i=a,a=br(),i===38&&a===12&&(r[n]=1),!ao(a);)Ot();return $o(t,Pt)},IE=function(t,r){var n=-1,i=44;do switch(ao(i)){case 0:i===38&&br()===12&&(r[n]=1),t[n]+=ME(Pt-1,r,n);break;case 2:t[n]+=Ul(i);break;case 4:if(i===44){t[++n]=br()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=nu(i)}while(i=Ot());return t},FE=function(t,r){return uy(IE(sy(t),r))},mv=new WeakMap,LE=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!mv.get(n))&&!i){mv.set(t,!0);for(var a=[],o=FE(r,a),l=n.props,s=0,u=0;s<o.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=a[s]?o[s].replace(/&\f/g,l[c]):l[c]+" "+o[s]}}},DE=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},$E=[OE],BE=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var v=y.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||$E,a={},o,l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),h=1;h<v.length;h++)a[v[h]]=!0;l.push(y)});var s,u=[LE,DE];{var c,d=[PE,RE(function(y){c.insert(y)})],f=AE(u.concat(i,d)),p=function(v){return _i(kE(v),f)};s=function(v,h,m,b){c=m,p(v?v+"{"+h.styles+"}":h.styles),b&&(g.inserted[h.name]=!0)}}var g={key:r,sheet:new pE({key:r,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return g.sheet.hydrate(l),g};function cs(){return cs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cs.apply(this,arguments)}var fy={exports:{}},me={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ge=typeof Symbol=="function"&&Symbol.for,ep=Ge?Symbol.for("react.element"):60103,tp=Ge?Symbol.for("react.portal"):60106,ou=Ge?Symbol.for("react.fragment"):60107,lu=Ge?Symbol.for("react.strict_mode"):60108,su=Ge?Symbol.for("react.profiler"):60114,uu=Ge?Symbol.for("react.provider"):60109,cu=Ge?Symbol.for("react.context"):60110,rp=Ge?Symbol.for("react.async_mode"):60111,fu=Ge?Symbol.for("react.concurrent_mode"):60111,du=Ge?Symbol.for("react.forward_ref"):60112,pu=Ge?Symbol.for("react.suspense"):60113,VE=Ge?Symbol.for("react.suspense_list"):60120,hu=Ge?Symbol.for("react.memo"):60115,vu=Ge?Symbol.for("react.lazy"):60116,NE=Ge?Symbol.for("react.block"):60121,zE=Ge?Symbol.for("react.fundamental"):60117,jE=Ge?Symbol.for("react.responder"):60118,HE=Ge?Symbol.for("react.scope"):60119;function It(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ep:switch(e=e.type,e){case rp:case fu:case ou:case su:case lu:case pu:return e;default:switch(e=e&&e.$$typeof,e){case cu:case du:case vu:case hu:case uu:return e;default:return t}}case tp:return t}}}function dy(e){return It(e)===fu}me.AsyncMode=rp;me.ConcurrentMode=fu;me.ContextConsumer=cu;me.ContextProvider=uu;me.Element=ep;me.ForwardRef=du;me.Fragment=ou;me.Lazy=vu;me.Memo=hu;me.Portal=tp;me.Profiler=su;me.StrictMode=lu;me.Suspense=pu;me.isAsyncMode=function(e){return dy(e)||It(e)===rp};me.isConcurrentMode=dy;me.isContextConsumer=function(e){return It(e)===cu};me.isContextProvider=function(e){return It(e)===uu};me.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ep};me.isForwardRef=function(e){return It(e)===du};me.isFragment=function(e){return It(e)===ou};me.isLazy=function(e){return It(e)===vu};me.isMemo=function(e){return It(e)===hu};me.isPortal=function(e){return It(e)===tp};me.isProfiler=function(e){return It(e)===su};me.isStrictMode=function(e){return It(e)===lu};me.isSuspense=function(e){return It(e)===pu};me.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ou||e===fu||e===su||e===lu||e===pu||e===VE||typeof e=="object"&&e!==null&&(e.$$typeof===vu||e.$$typeof===hu||e.$$typeof===uu||e.$$typeof===cu||e.$$typeof===du||e.$$typeof===zE||e.$$typeof===jE||e.$$typeof===HE||e.$$typeof===NE)};me.typeOf=It;fy.exports=me;var py=fy.exports,WE={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},UE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hy={};hy[py.ForwardRef]=WE;hy[py.Memo]=UE;var GE=!0,YE=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||GE===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},qE=function(t,r,n){YE(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function vy(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var my={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},KE=/[A-Z]|^ms/g,XE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,gy=function(t){return t.charCodeAt(1)===45},gv=function(t){return t!=null&&typeof t!="boolean"},nc=Jd(function(e){return gy(e)?e:e.replace(KE,"-$&").toLowerCase()}),yv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(XE,function(n,i,a){return dr={name:i,styles:a,next:dr},i})}return my[t]!==1&&!gy(t)&&typeof r=="number"&&r!==0?r+"px":r};function oo(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return dr={name:r.name,styles:r.styles,next:dr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)dr={name:n.name,styles:n.styles,next:dr},n=n.next;var i=r.styles+";";return i}return QE(e,t,r)}case"function":{if(e!==void 0){var a=dr,o=r(e);return dr=a,oo(e,t,o)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function QE(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=oo(e,t,r[i])+";";else for(var a in r){var o=r[a];if(typeof o!="object")t!=null&&t[o]!==void 0?n+=a+"{"+t[o]+"}":gv(o)&&(n+=nc(a)+":"+yv(a,o)+";");else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)gv(o[l])&&(n+=nc(a)+":"+yv(a,o[l])+";");else{var s=oo(e,t,o);switch(a){case"animation":case"animationName":{n+=nc(a)+":"+s+";";break}default:n+=a+"{"+s+"}"}}}return n}var bv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,dr,yy=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,a="";dr=void 0;var o=t[0];o==null||o.raw===void 0?(i=!1,a+=oo(n,r,o)):a+=o[0];for(var l=1;l<t.length;l++)a+=oo(n,r,t[l]),i&&(a+=o[l]);bv.lastIndex=0;for(var s="",u;(u=bv.exec(a))!==null;)s+="-"+u[1];var c=vy(a)+s;return{name:c,styles:a,next:dr}},by=w.exports.createContext(typeof HTMLElement!="undefined"?BE({key:"css"}):null);by.Provider;var Sy=function(t){return w.exports.forwardRef(function(r,n){var i=w.exports.useContext(by);return t(r,i,n)})},lo=w.exports.createContext({}),ZE=function(t,r){if(typeof r=="function"){var n=r(t);return n}return cs({},t,r)},JE=vv(function(e){return vv(function(t){return ZE(e,t)})}),eC=function(t){var r=w.exports.useContext(lo);return t.theme!==r&&(r=JE(r)(t.theme)),w.exports.createElement(lo.Provider,{value:r},t.children)};Hi["useInsertionEffect"]&&Hi["useInsertionEffect"];var Sv=Hi["useInsertionEffect"]?Hi["useInsertionEffect"]:w.exports.useLayoutEffect,np=Sy(function(e,t){var r=e.styles,n=yy([r],void 0,w.exports.useContext(lo)),i=w.exports.useRef();return Sv(function(){var a=t.key+"-global",o=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",a),o.hydrate([s])),i.current=[o,l],function(){o.flush()}},[t]),Sv(function(){var a=i.current,o=a[0],l=a[1];if(l){a[1]=!1;return}if(n.next!==void 0&&qE(t,n.next,!0),o.tags.length){var s=o.tags[o.tags.length-1].nextElementSibling;o.before=s,o.flush()}t.insert("",n,o,!1)},[t,n.name]),null});function tC(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yy(t)}var xy=function(){var t=tC.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},rC=function(){return w.exports.createElement(np,{styles:`
      html {
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
        font-family: system-ui, sans-serif;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        touch-action: manipulation;
      }

      body {
        position: relative;
        min-height: 100%;
        font-feature-settings: 'kern';
      }

      *,
      *::before,
      *::after {
        border-width: 0;
        border-style: solid;
        box-sizing: border-box;
      }

      main {
        display: block;
      }

      hr {
        border-top-width: 1px;
        box-sizing: content-box;
        height: 0;
        overflow: visible;
      }

      pre,
      code,
      kbd,
      samp {
        font-family: SFMono-Regular,  Menlo, Monaco, Consolas, monospace;
        font-size: 1em;
      }

      a {
        background-color: transparent;
        color: inherit;
        text-decoration: inherit;
      }

      abbr[title] {
        border-bottom: none;
        text-decoration: underline;
        -webkit-text-decoration: underline dotted;
        text-decoration: underline dotted;
      }

      b,
      strong {
        font-weight: bold;
      }

      small {
        font-size: 80%;
      }

      sub,
      sup {
        font-size: 75%;
        line-height: 0;
        position: relative;
        vertical-align: baseline;
      }

      sub {
        bottom: -0.25em;
      }

      sup {
        top: -0.5em;
      }

      img {
        border-style: none;
      }

      button,
      input,
      optgroup,
      select,
      textarea {
        font-family: inherit;
        font-size: 100%;
        line-height: 1.15;
        margin: 0;
      }

      button,
      input {
        overflow: visible;
      }

      button,
      select {
        text-transform: none;
      }

      button::-moz-focus-inner,
      [type="button"]::-moz-focus-inner,
      [type="reset"]::-moz-focus-inner,
      [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
      }

      fieldset {
        padding: 0.35em 0.75em 0.625em;
      }

      legend {
        box-sizing: border-box;
        color: inherit;
        display: table;
        max-width: 100%;
        padding: 0;
        white-space: normal;
      }

      progress {
        vertical-align: baseline;
      }

      textarea {
        overflow: auto;
      }

      [type="checkbox"],
      [type="radio"] {
        box-sizing: border-box;
        padding: 0;
      }

      [type="number"]::-webkit-inner-spin-button,
      [type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
      }

      input[type="number"] {
        -moz-appearance: textfield;
      }

      [type="search"] {
        -webkit-appearance: textfield;
        outline-offset: -2px;
      }

      [type="search"]::-webkit-search-decoration {
        -webkit-appearance: none !important;
      }

      ::-webkit-file-upload-button {
        -webkit-appearance: button;
        font: inherit;
      }

      details {
        display: block;
      }

      summary {
        display: list-item;
      }

      template {
        display: none;
      }

      [hidden] {
        display: none !important;
      }

      body,
      blockquote,
      dl,
      dd,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      hr,
      figure,
      p,
      pre {
        margin: 0;
      }

      button {
        background: transparent;
        padding: 0;
      }

      fieldset {
        margin: 0;
        padding: 0;
      }

      ol,
      ul {
        margin: 0;
        padding: 0;
      }

      textarea {
        resize: vertical;
      }

      button,
      [role="button"] {
        cursor: pointer;
      }

      button::-moz-focus-inner {
        border: 0 !important;
      }

      table {
        border-collapse: collapse;
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-size: inherit;
        font-weight: inherit;
      }

      button,
      input,
      optgroup,
      select,
      textarea {
        padding: 0;
        line-height: inherit;
        color: inherit;
      }

      img,
      svg,
      video,
      canvas,
      audio,
      iframe,
      embed,
      object {
        display: block;
      }

      img,
      video {
        max-width: 100%;
        height: auto;
      }

      [data-js-focus-visible] :focus:not([data-focus-visible-added]) {
        outline: none;
        box-shadow: none;
      }

      select::-ms-expand {
        display: none;
      }
    `})},nC=rC,vf={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,a=16,o=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",g="[object GeneratorFunction]",y="[object Map]",v="[object Number]",h="[object Null]",m="[object Object]",b="[object Proxy]",x="[object RegExp]",P="[object Set]",k="[object String]",T="[object Undefined]",O="[object WeakMap]",R="[object ArrayBuffer]",I="[object DataView]",B="[object Float32Array]",U="[object Float64Array]",Q="[object Int8Array]",ae="[object Int16Array]",se="[object Int32Array]",Oe="[object Uint8Array]",Ye="[object Uint8ClampedArray]",ut="[object Uint16Array]",ct="[object Uint32Array]",Kt=/[\\^$.*+?()[\]{}|]/g,j=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,D={};D[B]=D[U]=D[Q]=D[ae]=D[se]=D[Oe]=D[Ye]=D[ut]=D[ct]=!0,D[l]=D[s]=D[R]=D[c]=D[I]=D[d]=D[f]=D[p]=D[y]=D[v]=D[m]=D[x]=D[P]=D[k]=D[O]=!1;var $=typeof cl=="object"&&cl&&cl.Object===Object&&cl,W=typeof self=="object"&&self&&self.Object===Object&&self,de=$||W||Function("return this")(),qe=t&&!t.nodeType&&t,Ke=qe&&!0&&e&&!e.nodeType&&e,vt=Ke&&Ke.exports===qe,_=vt&&$.process,M=function(){try{var S=Ke&&Ke.require&&Ke.require("util").types;return S||_&&_.binding&&_.binding("util")}catch{}}(),F=M&&M.isTypedArray;function H(S,E,A){switch(A.length){case 0:return S.call(E);case 1:return S.call(E,A[0]);case 2:return S.call(E,A[0],A[1]);case 3:return S.call(E,A[0],A[1],A[2])}return S.apply(E,A)}function Z(S,E){for(var A=-1,G=Array(S);++A<S;)G[A]=E(A);return G}function z(S){return function(E){return S(E)}}function K(S,E){return S==null?void 0:S[E]}function he(S,E){return function(A){return S(E(A))}}var mt=Array.prototype,ai=Function.prototype,Ur=Object.prototype,sa=de["__core-js_shared__"],kn=ai.toString,Xt=Ur.hasOwnProperty,ua=function(){var S=/[^.]+$/.exec(sa&&sa.keys&&sa.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Hh=Ur.toString,Ux=kn.call(Object),Gx=RegExp("^"+kn.call(Xt).replace(Kt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rl=vt?de.Buffer:void 0,Wh=de.Symbol,Uh=de.Uint8Array,Gh=rl?rl.allocUnsafe:void 0,Yh=he(Object.getPrototypeOf,Object),qh=Object.create,Yx=Ur.propertyIsEnumerable,qx=mt.splice,_n=Wh?Wh.toStringTag:void 0,nl=function(){try{var S=qu(Object,"defineProperty");return S({},"",{}),S}catch{}}(),Kx=rl?rl.isBuffer:void 0,Kh=Math.max,Xx=Date.now,Xh=qu(de,"Map"),ca=qu(Object,"create"),Qx=function(){function S(){}return function(E){if(!An(E))return{};if(qh)return qh(E);S.prototype=E;var A=new S;return S.prototype=void 0,A}}();function Pn(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var G=S[E];this.set(G[0],G[1])}}function Zx(){this.__data__=ca?ca(null):{},this.size=0}function Jx(S){var E=this.has(S)&&delete this.__data__[S];return this.size-=E?1:0,E}function ew(S){var E=this.__data__;if(ca){var A=E[S];return A===n?void 0:A}return Xt.call(E,S)?E[S]:void 0}function tw(S){var E=this.__data__;return ca?E[S]!==void 0:Xt.call(E,S)}function rw(S,E){var A=this.__data__;return this.size+=this.has(S)?0:1,A[S]=ca&&E===void 0?n:E,this}Pn.prototype.clear=Zx,Pn.prototype.delete=Jx,Pn.prototype.get=ew,Pn.prototype.has=tw,Pn.prototype.set=rw;function _r(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var G=S[E];this.set(G[0],G[1])}}function nw(){this.__data__=[],this.size=0}function iw(S){var E=this.__data__,A=il(E,S);if(A<0)return!1;var G=E.length-1;return A==G?E.pop():qx.call(E,A,1),--this.size,!0}function aw(S){var E=this.__data__,A=il(E,S);return A<0?void 0:E[A][1]}function ow(S){return il(this.__data__,S)>-1}function lw(S,E){var A=this.__data__,G=il(A,S);return G<0?(++this.size,A.push([S,E])):A[G][1]=E,this}_r.prototype.clear=nw,_r.prototype.delete=iw,_r.prototype.get=aw,_r.prototype.has=ow,_r.prototype.set=lw;function oi(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var G=S[E];this.set(G[0],G[1])}}function sw(){this.size=0,this.__data__={hash:new Pn,map:new(Xh||_r),string:new Pn}}function uw(S){var E=ol(this,S).delete(S);return this.size-=E?1:0,E}function cw(S){return ol(this,S).get(S)}function fw(S){return ol(this,S).has(S)}function dw(S,E){var A=ol(this,S),G=A.size;return A.set(S,E),this.size+=A.size==G?0:1,this}oi.prototype.clear=sw,oi.prototype.delete=uw,oi.prototype.get=cw,oi.prototype.has=fw,oi.prototype.set=dw;function li(S){var E=this.__data__=new _r(S);this.size=E.size}function pw(){this.__data__=new _r,this.size=0}function hw(S){var E=this.__data__,A=E.delete(S);return this.size=E.size,A}function vw(S){return this.__data__.get(S)}function mw(S){return this.__data__.has(S)}function gw(S,E){var A=this.__data__;if(A instanceof _r){var G=A.__data__;if(!Xh||G.length<r-1)return G.push([S,E]),this.size=++A.size,this;A=this.__data__=new oi(G)}return A.set(S,E),this.size=A.size,this}li.prototype.clear=pw,li.prototype.delete=hw,li.prototype.get=vw,li.prototype.has=mw,li.prototype.set=gw;function yw(S,E){var A=Qu(S),G=!A&&Xu(S),le=!A&&!G&&tv(S),ge=!A&&!G&&!le&&nv(S),Te=A||G||le||ge,oe=Te?Z(S.length,String):[],ke=oe.length;for(var Dt in S)(E||Xt.call(S,Dt))&&!(Te&&(Dt=="length"||le&&(Dt=="offset"||Dt=="parent")||ge&&(Dt=="buffer"||Dt=="byteLength"||Dt=="byteOffset")||Jh(Dt,ke)))&&oe.push(Dt);return oe}function Gu(S,E,A){(A!==void 0&&!ll(S[E],A)||A===void 0&&!(E in S))&&Yu(S,E,A)}function bw(S,E,A){var G=S[E];(!(Xt.call(S,E)&&ll(G,A))||A===void 0&&!(E in S))&&Yu(S,E,A)}function il(S,E){for(var A=S.length;A--;)if(ll(S[A][0],E))return A;return-1}function Yu(S,E,A){E=="__proto__"&&nl?nl(S,E,{configurable:!0,enumerable:!0,value:A,writable:!0}):S[E]=A}var Sw=Iw();function al(S){return S==null?S===void 0?T:h:_n&&_n in Object(S)?Fw(S):Nw(S)}function Qh(S){return fa(S)&&al(S)==l}function xw(S){if(!An(S)||Bw(S))return!1;var E=Ju(S)?Gx:j;return E.test(Ww(S))}function ww(S){return fa(S)&&rv(S.length)&&!!D[al(S)]}function Ew(S){if(!An(S))return Vw(S);var E=ev(S),A=[];for(var G in S)G=="constructor"&&(E||!Xt.call(S,G))||A.push(G);return A}function Zh(S,E,A,G,le){S!==E&&Sw(E,function(ge,Te){if(le||(le=new li),An(ge))Cw(S,E,Te,A,Zh,G,le);else{var oe=G?G(Ku(S,Te),ge,Te+"",S,E,le):void 0;oe===void 0&&(oe=ge),Gu(S,Te,oe)}},iv)}function Cw(S,E,A,G,le,ge,Te){var oe=Ku(S,A),ke=Ku(E,A),Dt=Te.get(ke);if(Dt){Gu(S,A,Dt);return}var At=ge?ge(oe,ke,A+"",S,E,Te):void 0,da=At===void 0;if(da){var ec=Qu(ke),tc=!ec&&tv(ke),ov=!ec&&!tc&&nv(ke);At=ke,ec||tc||ov?Qu(oe)?At=oe:Uw(oe)?At=Rw(oe):tc?(da=!1,At=_w(ke,!0)):ov?(da=!1,At=Aw(ke,!0)):At=[]:Gw(ke)||Xu(ke)?(At=oe,Xu(oe)?At=Yw(oe):(!An(oe)||Ju(oe))&&(At=Lw(ke))):da=!1}da&&(Te.set(ke,At),le(At,ke,G,ge,Te),Te.delete(ke)),Gu(S,A,At)}function Tw(S,E){return jw(zw(S,E,av),S+"")}var kw=nl?function(S,E){return nl(S,"toString",{configurable:!0,enumerable:!1,value:Kw(E),writable:!0})}:av;function _w(S,E){if(E)return S.slice();var A=S.length,G=Gh?Gh(A):new S.constructor(A);return S.copy(G),G}function Pw(S){var E=new S.constructor(S.byteLength);return new Uh(E).set(new Uh(S)),E}function Aw(S,E){var A=E?Pw(S.buffer):S.buffer;return new S.constructor(A,S.byteOffset,S.length)}function Rw(S,E){var A=-1,G=S.length;for(E||(E=Array(G));++A<G;)E[A]=S[A];return E}function Ow(S,E,A,G){var le=!A;A||(A={});for(var ge=-1,Te=E.length;++ge<Te;){var oe=E[ge],ke=G?G(A[oe],S[oe],oe,A,S):void 0;ke===void 0&&(ke=S[oe]),le?Yu(A,oe,ke):bw(A,oe,ke)}return A}function Mw(S){return Tw(function(E,A){var G=-1,le=A.length,ge=le>1?A[le-1]:void 0,Te=le>2?A[2]:void 0;for(ge=S.length>3&&typeof ge=="function"?(le--,ge):void 0,Te&&Dw(A[0],A[1],Te)&&(ge=le<3?void 0:ge,le=1),E=Object(E);++G<le;){var oe=A[G];oe&&S(E,oe,G,ge)}return E})}function Iw(S){return function(E,A,G){for(var le=-1,ge=Object(E),Te=G(E),oe=Te.length;oe--;){var ke=Te[S?oe:++le];if(A(ge[ke],ke,ge)===!1)break}return E}}function ol(S,E){var A=S.__data__;return $w(E)?A[typeof E=="string"?"string":"hash"]:A.map}function qu(S,E){var A=K(S,E);return xw(A)?A:void 0}function Fw(S){var E=Xt.call(S,_n),A=S[_n];try{S[_n]=void 0;var G=!0}catch{}var le=Hh.call(S);return G&&(E?S[_n]=A:delete S[_n]),le}function Lw(S){return typeof S.constructor=="function"&&!ev(S)?Qx(Yh(S)):{}}function Jh(S,E){var A=typeof S;return E=E==null?o:E,!!E&&(A=="number"||A!="symbol"&&q.test(S))&&S>-1&&S%1==0&&S<E}function Dw(S,E,A){if(!An(A))return!1;var G=typeof E;return(G=="number"?Zu(A)&&Jh(E,A.length):G=="string"&&E in A)?ll(A[E],S):!1}function $w(S){var E=typeof S;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?S!=="__proto__":S===null}function Bw(S){return!!ua&&ua in S}function ev(S){var E=S&&S.constructor,A=typeof E=="function"&&E.prototype||Ur;return S===A}function Vw(S){var E=[];if(S!=null)for(var A in Object(S))E.push(A);return E}function Nw(S){return Hh.call(S)}function zw(S,E,A){return E=Kh(E===void 0?S.length-1:E,0),function(){for(var G=arguments,le=-1,ge=Kh(G.length-E,0),Te=Array(ge);++le<ge;)Te[le]=G[E+le];le=-1;for(var oe=Array(E+1);++le<E;)oe[le]=G[le];return oe[E]=A(Te),H(S,this,oe)}}function Ku(S,E){if(!(E==="constructor"&&typeof S[E]=="function")&&E!="__proto__")return S[E]}var jw=Hw(kw);function Hw(S){var E=0,A=0;return function(){var G=Xx(),le=a-(G-A);if(A=G,le>0){if(++E>=i)return arguments[0]}else E=0;return S.apply(void 0,arguments)}}function Ww(S){if(S!=null){try{return kn.call(S)}catch{}try{return S+""}catch{}}return""}function ll(S,E){return S===E||S!==S&&E!==E}var Xu=Qh(function(){return arguments}())?Qh:function(S){return fa(S)&&Xt.call(S,"callee")&&!Yx.call(S,"callee")},Qu=Array.isArray;function Zu(S){return S!=null&&rv(S.length)&&!Ju(S)}function Uw(S){return fa(S)&&Zu(S)}var tv=Kx||Xw;function Ju(S){if(!An(S))return!1;var E=al(S);return E==p||E==g||E==u||E==b}function rv(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=o}function An(S){var E=typeof S;return S!=null&&(E=="object"||E=="function")}function fa(S){return S!=null&&typeof S=="object"}function Gw(S){if(!fa(S)||al(S)!=m)return!1;var E=Yh(S);if(E===null)return!0;var A=Xt.call(E,"constructor")&&E.constructor;return typeof A=="function"&&A instanceof A&&kn.call(A)==Ux}var nv=F?z(F):ww;function Yw(S){return Ow(S,iv(S))}function iv(S){return Zu(S)?yw(S,!0):Ew(S)}var qw=Mw(function(S,E,A,G){Zh(S,E,A,G)});function Kw(S){return function(){return S}}function av(S){return S}function Xw(){return!1}e.exports=qw})(vf,vf.exports);var jt=vf.exports;function iC(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Pi(e){return typeof e=="number"}function ip(e){return Array.isArray(e)}function Ln(e){return typeof e=="function"}function Ct(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!ip(e)}function aC(e){return Ct(e)&&Object.keys(e).length===0}function wy(e){return e==null}function ap(e){return Object.prototype.toString.call(e)==="[object String]"}function Ey(e){return/^var\(--.+\)$/.test(e)}var oC=!1;function op(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function lC(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function sC(e,t,r,n){var i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var uC=function(t){var r=new WeakMap,n=function(a,o,l,s){if(typeof a=="undefined")return t(a,o,l);r.has(a)||r.set(a,new Map);var u=r.get(a);if(u.has(o))return u.get(o);var c=t(a,o,l,s);return u.set(o,c),c};return n},mu=uC(sC);function Cy(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],a=t(i,n,e);a&&(r[n]=i)}),r}var lp=function(t){return Cy(t,function(r){return r!=null})},sp=function(t){return Object.keys(t)},fs=function(t){return t.reduce(function(r,n){var i=n[0],a=n[1];return r[i]=a,r},{})};function cC(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function mf(e){if(e==null)return e;var t=cC(e),r=t.unitless;return r||Pi(e)?e+"px":e}var Ty=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},up=function(t){return fs(Object.entries(t).sort(Ty))};function xv(e){var t=up(e);return Object.assign(Object.values(t),t)}function fC(e){var t=Object.keys(up(e));return new Set(t)}function dC(e){var t;if(!e)return e;e=(t=mf(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Pi(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function pl(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+mf(e)+")"),t&&r.push("and","(max-width: "+mf(t)+")"),r.join(" ")}function pC(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=xv(e),n=Object.entries(e).sort(Ty).map(function(o,l,s){var u,c=o[0],d=o[1],f=(u=s[l+1])!=null?u:[],p=f[1];return p=parseFloat(p)>0?dC(p):void 0,{breakpoint:c,minW:d,maxW:p,maxWQuery:pl(null,p),minWQuery:pl(d),minMaxQuery:pl(d,p)}}),i=fC(e),a=Array.from(i.values());return{keys:i,normalized:r,isResponsive:function(l){var s=Object.keys(l);return s.length>0&&s.every(function(u){return i.has(u)})},asObject:up(e),asArray:xv(e),details:n,media:[null].concat(r.map(function(o){return pl(o)}).slice(1)),toArrayValue:function(l){if(!Ct(l))throw new Error("toArrayValue: value must be an object");for(var s=a.map(function(u){var c;return(c=l[u])!=null?c:null});iC(s)===null;)s.pop();return s},toObjectValue:function(l){if(!Array.isArray(l))throw new Error("toObjectValue: value must be an array");return l.reduce(function(s,u,c){var d=a[c];return d!=null&&u!=null&&(s[d]=u),s},{})}}}function hC(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Bo=hC(),vi=function(t){return t?"":void 0},ic=function(t){return t?!0:void 0},st=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")};function hr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Ln(e)?e.apply(void 0,r):e}function wv(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(a){return a==null||a(i),i==null?void 0:i.defaultPrevented})}}function vC(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t=e.apply(this,i),e=null}return t}}var so=function(){},mC=vC(function(e){return function(){var t=e.condition,r=e.message;t&&oC&&console.warn(r)}}),gC=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(i){return r.reduce(function(a,o){return o(a)},i)}};function gf(e,t){return t===void 0&&(t=1/0),!Ct(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],a=n[1];return Ct(a)||ip(a)?Object.entries(gf(a,t-1)).forEach(function(o){var l=o[0],s=o[1];r[i+"."+l]=s}):r[i]=a,r},{})}Object.freeze(["base","sm","md","lg","xl","2xl"]);function gu(e,t){return ip(e)?e.map(function(r){return r===null?null:t(r)}):Ct(e)?sp(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function yC(e,t){if(e!=null){if(Ln(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Ev(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return yC(i,n)})}}function ta(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,a=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,o=t.name,l=w.exports.createContext(void 0);l.displayName=o;function s(){var u=w.exports.useContext(l);if(!u&&n){var c=new Error(a);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,s),c}return u}return[l.Provider,s,l]}function bC(e){return w.exports.Children.toArray(e).filter(function(t){return w.exports.isValidElement(t)})}var SC=Bo?w.exports.useLayoutEffect:w.exports.useEffect;function xC(e){e===void 0&&(e=!1);var t=w.exports.useState(e),r=t[0],n=t[1],i=w.exports.useMemo(function(){return{on:function(){return n(!0)},off:function(){return n(!1)},toggle:function(){return n(function(o){return!o})}}},[]);return[r,i]}var wC={current:1},ky=w.exports.createContext(wC),EC=w.exports.memo(function(e){var t=e.children;return w.exports.createElement(ky.Provider,{value:{current:1}},t)}),CC=function(t){return t.current++};function TC(e,t){var r=w.exports.useContext(ky),n=w.exports.useState(r.current),i=n[0],a=n[1];return w.exports.useEffect(function(){a(CC(r))},[r]),w.exports.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function kC(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function _C(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return w.exports.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&kC(i,n)})}},t)}var _y={exports:{}},Yt={},Py={exports:{}},Ay={};/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var s=null,u=null,c=function(){if(s!==null)try{var j=e.unstable_now();s(!0,j),s=null}catch(q){throw setTimeout(c,0),q}};t=function(j){s!==null?setTimeout(t,0,j):(s=j,setTimeout(c,0))},r=function(j,q){u=setTimeout(j,q)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,f=window.clearTimeout;if(typeof console!="undefined"){var p=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof p!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,y=null,v=-1,h=5,m=0;e.unstable_shouldYield=function(){return e.unstable_now()>=m},i=function(){},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):h=0<j?Math.floor(1e3/j):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(y!==null){var j=e.unstable_now();m=j+h;try{y(!0,j)?x.postMessage(null):(g=!1,y=null)}catch(q){throw x.postMessage(null),q}}else g=!1},t=function(j){y=j,g||(g=!0,x.postMessage(null))},r=function(j,q){v=d(function(){j(e.unstable_now())},q)},n=function(){f(v),v=-1}}function P(j,q){var D=j.length;j.push(q);e:for(;;){var $=D-1>>>1,W=j[$];if(W!==void 0&&0<O(W,q))j[$]=q,j[D]=W,D=$;else break e}}function k(j){return j=j[0],j===void 0?null:j}function T(j){var q=j[0];if(q!==void 0){var D=j.pop();if(D!==q){j[0]=D;e:for(var $=0,W=j.length;$<W;){var de=2*($+1)-1,qe=j[de],Ke=de+1,vt=j[Ke];if(qe!==void 0&&0>O(qe,D))vt!==void 0&&0>O(vt,qe)?(j[$]=vt,j[Ke]=D,$=Ke):(j[$]=qe,j[de]=D,$=de);else if(vt!==void 0&&0>O(vt,D))j[$]=vt,j[Ke]=D,$=Ke;else break e}}return q}return null}function O(j,q){var D=j.sortIndex-q.sortIndex;return D!==0?D:j.id-q.id}var R=[],I=[],B=1,U=null,Q=3,ae=!1,se=!1,Oe=!1;function Ye(j){for(var q=k(I);q!==null;){if(q.callback===null)T(I);else if(q.startTime<=j)T(I),q.sortIndex=q.expirationTime,P(R,q);else break;q=k(I)}}function ut(j){if(Oe=!1,Ye(j),!se)if(k(R)!==null)se=!0,t(ct);else{var q=k(I);q!==null&&r(ut,q.startTime-j)}}function ct(j,q){se=!1,Oe&&(Oe=!1,n()),ae=!0;var D=Q;try{for(Ye(q),U=k(R);U!==null&&(!(U.expirationTime>q)||j&&!e.unstable_shouldYield());){var $=U.callback;if(typeof $=="function"){U.callback=null,Q=U.priorityLevel;var W=$(U.expirationTime<=q);q=e.unstable_now(),typeof W=="function"?U.callback=W:U===k(R)&&T(R),Ye(q)}else T(R);U=k(R)}if(U!==null)var de=!0;else{var qe=k(I);qe!==null&&r(ut,qe.startTime-q),de=!1}return de}finally{U=null,Q=D,ae=!1}}var Kt=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){se||ae||(se=!0,t(ct))},e.unstable_getCurrentPriorityLevel=function(){return Q},e.unstable_getFirstCallbackNode=function(){return k(R)},e.unstable_next=function(j){switch(Q){case 1:case 2:case 3:var q=3;break;default:q=Q}var D=Q;Q=q;try{return j()}finally{Q=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Kt,e.unstable_runWithPriority=function(j,q){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var D=Q;Q=j;try{return q()}finally{Q=D}},e.unstable_scheduleCallback=function(j,q,D){var $=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?$+D:$):D=$,j){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=D+W,j={id:B++,callback:q,priorityLevel:j,startTime:D,expirationTime:W,sortIndex:-1},D>$?(j.sortIndex=D,P(I,j),k(R)===null&&j===k(I)&&(Oe?n():Oe=!0,r(ut,D-$))):(j.sortIndex=W,P(R,j),se||ae||(se=!0,t(ct))),j},e.unstable_wrapCallback=function(j){var q=Q;return function(){var D=Q;Q=q;try{return j.apply(this,arguments)}finally{Q=D}}}})(Ay);Py.exports=Ay;/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var yu=w.exports,Re=Wd,Ue=Py.exports;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!yu)throw Error(N(227));var Ry=new Set,uo={};function Zn(e,t){Ui(e,t),Ui(e+"Capture",t)}function Ui(e,t){for(uo[e]=t,e=0;e<t.length;e++)Ry.add(t[e])}var Nr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),PC=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Cv=Object.prototype.hasOwnProperty,Tv={},kv={};function AC(e){return Cv.call(kv,e)?!0:Cv.call(Tv,e)?!1:PC.test(e)?kv[e]=!0:(Tv[e]=!0,!1)}function RC(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function OC(e,t,r,n){if(t===null||typeof t=="undefined"||RC(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ht(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var et={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){et[e]=new ht(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];et[t]=new ht(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){et[e]=new ht(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){et[e]=new ht(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){et[e]=new ht(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){et[e]=new ht(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){et[e]=new ht(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){et[e]=new ht(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){et[e]=new ht(e,5,!1,e.toLowerCase(),null,!1,!1)});var cp=/[\-:]([a-z])/g;function fp(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cp,fp);et[t]=new ht(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cp,fp);et[t]=new ht(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cp,fp);et[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){et[e]=new ht(e,1,!1,e.toLowerCase(),null,!1,!1)});et.xlinkHref=new ht("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){et[e]=new ht(e,1,!1,e.toLowerCase(),null,!0,!0)});function dp(e,t,r,n){var i=et.hasOwnProperty(t)?et[t]:null,a=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");a||(OC(t,r,i,n)&&(r=null),n||i===null?AC(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Jn=yu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oa=60103,Dn=60106,Jr=60107,pp=60108,Da=60114,hp=60109,vp=60110,bu=60112,$a=60113,ds=60120,Su=60115,mp=60116,gp=60121,yp=60128,Oy=60129,bp=60130,yf=60131;if(typeof Symbol=="function"&&Symbol.for){var We=Symbol.for;Oa=We("react.element"),Dn=We("react.portal"),Jr=We("react.fragment"),pp=We("react.strict_mode"),Da=We("react.profiler"),hp=We("react.provider"),vp=We("react.context"),bu=We("react.forward_ref"),$a=We("react.suspense"),ds=We("react.suspense_list"),Su=We("react.memo"),mp=We("react.lazy"),gp=We("react.block"),We("react.scope"),yp=We("react.opaque.id"),Oy=We("react.debug_trace_mode"),bp=We("react.offscreen"),yf=We("react.legacy_hidden")}var _v=typeof Symbol=="function"&&Symbol.iterator;function ha(e){return e===null||typeof e!="object"?null:(e=_v&&e[_v]||e["@@iterator"],typeof e=="function"?e:null)}var ac;function Ma(e){if(ac===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);ac=t&&t[1]||""}return`
`+ac+e}var oc=!1;function hl(e,t){if(!e||oc)return"";oc=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&typeof s.stack=="string"){for(var i=s.stack.split(`
`),a=n.stack.split(`
`),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==a[l])return`
`+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{oc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ma(e):""}function MC(e){switch(e.tag){case 5:return Ma(e.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return e=hl(e.type,!1),e;case 11:return e=hl(e.type.render,!1),e;case 22:return e=hl(e.type._render,!1),e;case 1:return e=hl(e.type,!0),e;default:return""}}function Ai(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Jr:return"Fragment";case Dn:return"Portal";case Da:return"Profiler";case pp:return"StrictMode";case $a:return"Suspense";case ds:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vp:return(e.displayName||"Context")+".Consumer";case hp:return(e._context.displayName||"Context")+".Provider";case bu:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Su:return Ai(e.type);case gp:return Ai(e._render);case mp:t=e._payload,e=e._init;try{return Ai(e(t))}catch{}}return null}function gn(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function My(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function IC(e){var t=My(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vl(e){e._valueTracker||(e._valueTracker=IC(e))}function Iy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=My(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ps(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function bf(e,t){var r=t.checked;return Re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Pv(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=gn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Fy(e,t){t=t.checked,t!=null&&dp(e,"checked",t,!1)}function Sf(e,t){Fy(e,t);var r=gn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xf(e,t.type,r):t.hasOwnProperty("defaultValue")&&xf(e,t.type,gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Av(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function xf(e,t,r){(t!=="number"||ps(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function FC(e){var t="";return yu.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function wf(e,t){return e=Re({children:void 0},t),(t=FC(t.children))&&(e.children=t),e}function Ri(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+gn(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ef(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return Re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Rv(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(N(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(N(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:gn(r)}}function Ly(e,t){var r=gn(t.value),n=gn(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function Ov(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Cf={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Dy(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Tf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Dy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ml,$y=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==Cf.svg||"innerHTML"in e)e.innerHTML=t;else{for(ml=ml||document.createElement("div"),ml.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ml.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function co(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ba={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},LC=["Webkit","ms","Moz","O"];Object.keys(Ba).forEach(function(e){LC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ba[t]=Ba[e]})});function By(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ba.hasOwnProperty(e)&&Ba[e]?(""+t).trim():t+"px"}function Vy(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=By(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var DC=Re({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function kf(e,t){if(t){if(DC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function _f(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Sp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pf=null,Oi=null,Mi=null;function Mv(e){if(e=No(e)){if(typeof Pf!="function")throw Error(N(280));var t=e.stateNode;t&&(t=ku(t),Pf(e.stateNode,e.type,t))}}function Ny(e){Oi?Mi?Mi.push(e):Mi=[e]:Oi=e}function zy(){if(Oi){var e=Oi,t=Mi;if(Mi=Oi=null,Mv(e),t)for(e=0;e<t.length;e++)Mv(t[e])}}function xp(e,t){return e(t)}function jy(e,t,r,n,i){return e(t,r,n,i)}function wp(){}var Hy=xp,$n=!1,lc=!1;function Ep(){(Oi!==null||Mi!==null)&&(wp(),zy())}function $C(e,t,r){if(lc)return e(t,r);lc=!0;try{return Hy(e,t,r)}finally{lc=!1,Ep()}}function fo(e,t){var r=e.stateNode;if(r===null)return null;var n=ku(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(N(231,t,typeof r));return r}var Af=!1;if(Nr)try{var va={};Object.defineProperty(va,"passive",{get:function(){Af=!0}}),window.addEventListener("test",va,va),window.removeEventListener("test",va,va)}catch{Af=!1}function BC(e,t,r,n,i,a,o,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Va=!1,hs=null,vs=!1,Rf=null,VC={onError:function(e){Va=!0,hs=e}};function NC(e,t,r,n,i,a,o,l,s){Va=!1,hs=null,BC.apply(VC,arguments)}function zC(e,t,r,n,i,a,o,l,s){if(NC.apply(this,arguments),Va){if(Va){var u=hs;Va=!1,hs=null}else throw Error(N(198));vs||(vs=!0,Rf=u)}}function ei(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Wy(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Iv(e){if(ei(e)!==e)throw Error(N(188))}function jC(e){var t=e.alternate;if(!t){if(t=ei(e),t===null)throw Error(N(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return Iv(i),e;if(a===n)return Iv(i),t;a=a.sibling}throw Error(N(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,l=i.child;l;){if(l===r){o=!0,r=i,n=a;break}if(l===n){o=!0,n=i,r=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===r){o=!0,r=a,n=i;break}if(l===n){o=!0,n=a,r=i;break}l=l.sibling}if(!o)throw Error(N(189))}}if(r.alternate!==n)throw Error(N(190))}if(r.tag!==3)throw Error(N(188));return r.stateNode.current===r?e:t}function Uy(e){if(e=jC(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Fv(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Gy,Cp,Yy,qy,Of=!1,vr=[],ln=null,sn=null,un=null,po=new Map,ho=new Map,ma=[],Lv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mf(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function Dv(e,t){switch(e){case"focusin":case"focusout":ln=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":un=null;break;case"pointerover":case"pointerout":po.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ho.delete(t.pointerId)}}function ga(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Mf(t,r,n,i,a),t!==null&&(t=No(t),t!==null&&Cp(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function HC(e,t,r,n,i){switch(t){case"focusin":return ln=ga(ln,e,t,r,n,i),!0;case"dragenter":return sn=ga(sn,e,t,r,n,i),!0;case"mouseover":return un=ga(un,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return po.set(a,ga(po.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,ho.set(a,ga(ho.get(a)||null,e,t,r,n,i)),!0}return!1}function WC(e){var t=Bn(e.target);if(t!==null){var r=ei(t);if(r!==null){if(t=r.tag,t===13){if(t=Wy(r),t!==null){e.blockedOn=t,qy(e.lanePriority,function(){Ue.unstable_runWithPriority(e.priority,function(){Yy(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Pp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=No(r),t!==null&&Cp(t),e.blockedOn=r,!1;t.shift()}return!0}function $v(e,t,r){Yl(e)&&r.delete(t)}function UC(){for(Of=!1;0<vr.length;){var e=vr[0];if(e.blockedOn!==null){e=No(e.blockedOn),e!==null&&Gy(e);break}for(var t=e.targetContainers;0<t.length;){var r=Pp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&vr.shift()}ln!==null&&Yl(ln)&&(ln=null),sn!==null&&Yl(sn)&&(sn=null),un!==null&&Yl(un)&&(un=null),po.forEach($v),ho.forEach($v)}function ya(e,t){e.blockedOn===t&&(e.blockedOn=null,Of||(Of=!0,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,UC)))}function Ky(e){function t(i){return ya(i,e)}if(0<vr.length){ya(vr[0],e);for(var r=1;r<vr.length;r++){var n=vr[r];n.blockedOn===e&&(n.blockedOn=null)}}for(ln!==null&&ya(ln,e),sn!==null&&ya(sn,e),un!==null&&ya(un,e),po.forEach(t),ho.forEach(t),r=0;r<ma.length;r++)n=ma[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<ma.length&&(r=ma[0],r.blockedOn===null);)WC(r),r.blockedOn===null&&ma.shift()}function gl(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var mi={animationend:gl("Animation","AnimationEnd"),animationiteration:gl("Animation","AnimationIteration"),animationstart:gl("Animation","AnimationStart"),transitionend:gl("Transition","TransitionEnd")},sc={},Xy={};Nr&&(Xy=document.createElement("div").style,"AnimationEvent"in window||(delete mi.animationend.animation,delete mi.animationiteration.animation,delete mi.animationstart.animation),"TransitionEvent"in window||delete mi.transitionend.transition);function xu(e){if(sc[e])return sc[e];if(!mi[e])return e;var t=mi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Xy)return sc[e]=t[r];return e}var Qy=xu("animationend"),Zy=xu("animationiteration"),Jy=xu("animationstart"),e1=xu("transitionend"),t1=new Map,Tp=new Map,GC=["abort","abort",Qy,"animationEnd",Zy,"animationIteration",Jy,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",e1,"transitionEnd","waiting","waiting"];function kp(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Tp.set(n,t),t1.set(n,i),Zn(i,[n])}}var YC=Ue.unstable_now;YC();var be=8;function pi(e){if((1&e)!==0)return be=15,1;if((2&e)!==0)return be=14,2;if((4&e)!==0)return be=13,4;var t=24&e;return t!==0?(be=12,t):(e&32)!==0?(be=11,32):(t=192&e,t!==0?(be=10,t):(e&256)!==0?(be=9,256):(t=3584&e,t!==0?(be=8,t):(e&4096)!==0?(be=7,4096):(t=4186112&e,t!==0?(be=6,t):(t=62914560&e,t!==0?(be=5,t):e&67108864?(be=4,67108864):(e&134217728)!==0?(be=3,134217728):(t=805306368&e,t!==0?(be=2,t):(1073741824&e)!==0?(be=1,1073741824):(be=8,e))))))}function qC(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function KC(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(N(358,e))}}function vo(e,t){var r=e.pendingLanes;if(r===0)return be=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=be=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=pi(s),i=be):(l&=a,l!==0&&(n=pi(l),i=be))}else a=r&~o,a!==0?(n=pi(a),i=be):l!==0&&(n=pi(l),i=be);if(n===0)return 0;if(n=31-yn(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(pi(t),i<=be)return t;be=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-yn(t),i=1<<r,n|=e[r],t&=~i;return n}function r1(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ms(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=hi(24&~t),e===0?ms(10,t):e;case 10:return e=hi(192&~t),e===0?ms(8,t):e;case 8:return e=hi(3584&~t),e===0&&(e=hi(4186112&~t),e===0&&(e=512)),e;case 2:return t=hi(805306368&~t),t===0&&(t=268435456),t}throw Error(N(358,e))}function hi(e){return e&-e}function uc(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function wu(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-yn(t),e[t]=r}var yn=Math.clz32?Math.clz32:ZC,XC=Math.log,QC=Math.LN2;function ZC(e){return e===0?32:31-(XC(e)/QC|0)|0}var JC=Ue.unstable_UserBlockingPriority,eT=Ue.unstable_runWithPriority,ql=!0;function tT(e,t,r,n){$n||wp();var i=_p,a=$n;$n=!0;try{jy(i,e,t,r,n)}finally{($n=a)||Ep()}}function rT(e,t,r,n){eT(JC,_p.bind(null,e,t,r,n))}function _p(e,t,r,n){if(ql){var i;if((i=(t&4)===0)&&0<vr.length&&-1<Lv.indexOf(e))e=Mf(null,e,t,r,n),vr.push(e);else{var a=Pp(e,t,r,n);if(a===null)i&&Dv(e,n);else{if(i){if(-1<Lv.indexOf(e)){e=Mf(a,e,t,r,n),vr.push(e);return}if(HC(a,e,t,r,n))return;Dv(e,n)}v1(e,t,n,null,r)}}}}function Pp(e,t,r,n){var i=Sp(n);if(i=Bn(i),i!==null){var a=ei(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=Wy(a),i!==null)return i;i=null}else if(o===3){if(a.stateNode.hydrate)return a.tag===3?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return v1(e,t,n,i,r),null}var en=null,Ap=null,Kl=null;function n1(){if(Kl)return Kl;var e,t=Ap,r=t.length,n,i="value"in en?en.value:en.textContent,a=i.length;for(e=0;e<r&&t[e]===i[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===i[a-n];n++);return Kl=i.slice(e,1<n?1-n:void 0)}function Xl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function yl(){return!0}function Bv(){return!1}function Ft(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?yl:Bv,this.isPropagationStopped=Bv,this}return Re(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=yl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=yl)},persist:function(){},isPersistent:yl}),t}var ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rp=Ft(ra),Vo=Re({},ra,{view:0,detail:0}),nT=Ft(Vo),cc,fc,ba,Eu=Re({},Vo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Op,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ba&&(ba&&e.type==="mousemove"?(cc=e.screenX-ba.screenX,fc=e.screenY-ba.screenY):fc=cc=0,ba=e),cc)},movementY:function(e){return"movementY"in e?e.movementY:fc}}),Vv=Ft(Eu),iT=Re({},Eu,{dataTransfer:0}),aT=Ft(iT),oT=Re({},Vo,{relatedTarget:0}),dc=Ft(oT),lT=Re({},ra,{animationName:0,elapsedTime:0,pseudoElement:0}),sT=Ft(lT),uT=Re({},ra,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),cT=Ft(uT),fT=Re({},ra,{data:0}),Nv=Ft(fT),dT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pT={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vT(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hT[e])?!!t[e]:!1}function Op(){return vT}var mT=Re({},Vo,{key:function(e){if(e.key){var t=dT[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Op,charCode:function(e){return e.type==="keypress"?Xl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),gT=Ft(mT),yT=Re({},Eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zv=Ft(yT),bT=Re({},Vo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Op}),ST=Ft(bT),xT=Re({},ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),wT=Ft(xT),ET=Re({},Eu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),CT=Ft(ET),TT=[9,13,27,32],Mp=Nr&&"CompositionEvent"in window,Na=null;Nr&&"documentMode"in document&&(Na=document.documentMode);var kT=Nr&&"TextEvent"in window&&!Na,i1=Nr&&(!Mp||Na&&8<Na&&11>=Na),jv=String.fromCharCode(32),Hv=!1;function a1(e,t){switch(e){case"keyup":return TT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function o1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gi=!1;function _T(e,t){switch(e){case"compositionend":return o1(t);case"keypress":return t.which!==32?null:(Hv=!0,jv);case"textInput":return e=t.data,e===jv&&Hv?null:e;default:return null}}function PT(e,t){if(gi)return e==="compositionend"||!Mp&&a1(e,t)?(e=n1(),Kl=Ap=en=null,gi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return i1&&t.locale!=="ko"?null:t.data;default:return null}}var AT={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!AT[e.type]:t==="textarea"}function l1(e,t,r,n){Ny(n),t=gs(t,"onChange"),0<t.length&&(r=new Rp("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var za=null,mo=null;function RT(e){d1(e,0)}function Cu(e){var t=bi(e);if(Iy(t))return e}function OT(e,t){if(e==="change")return t}var s1=!1;if(Nr){var pc;if(Nr){var hc="oninput"in document;if(!hc){var Uv=document.createElement("div");Uv.setAttribute("oninput","return;"),hc=typeof Uv.oninput=="function"}pc=hc}else pc=!1;s1=pc&&(!document.documentMode||9<document.documentMode)}function Gv(){za&&(za.detachEvent("onpropertychange",u1),mo=za=null)}function u1(e){if(e.propertyName==="value"&&Cu(mo)){var t=[];if(l1(t,mo,e,Sp(e)),e=RT,$n)e(t);else{$n=!0;try{xp(e,t)}finally{$n=!1,Ep()}}}}function MT(e,t,r){e==="focusin"?(Gv(),za=t,mo=r,za.attachEvent("onpropertychange",u1)):e==="focusout"&&Gv()}function IT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Cu(mo)}function FT(e,t){if(e==="click")return Cu(t)}function LT(e,t){if(e==="input"||e==="change")return Cu(t)}function DT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nt=typeof Object.is=="function"?Object.is:DT,$T=Object.prototype.hasOwnProperty;function go(e,t){if(Nt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!$T.call(t,r[n])||!Nt(e[r[n]],t[r[n]]))return!1;return!0}function Yv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qv(e,t){var r=Yv(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Yv(r)}}function c1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?c1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kv(){for(var e=window,t=ps();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ps(e.document)}return t}function If(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var BT=Nr&&"documentMode"in document&&11>=document.documentMode,yi=null,Ff=null,ja=null,Lf=!1;function Xv(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Lf||yi==null||yi!==ps(n)||(n=yi,"selectionStart"in n&&If(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ja&&go(ja,n)||(ja=n,n=gs(Ff,"onSelect"),0<n.length&&(t=new Rp("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=yi)))}kp("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);kp("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);kp(GC,2);for(var Qv="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),vc=0;vc<Qv.length;vc++)Tp.set(Qv[vc],0);Ui("onMouseEnter",["mouseout","mouseover"]);Ui("onMouseLeave",["mouseout","mouseover"]);Ui("onPointerEnter",["pointerout","pointerover"]);Ui("onPointerLeave",["pointerout","pointerover"]);Zn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Zn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Zn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Zn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Zn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Zn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ia="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),f1=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ia));function Zv(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,zC(n,t,void 0,e),e.currentTarget=null}function d1(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var l=n[o],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&i.isPropagationStopped())break e;Zv(i,l,u),a=s}else for(o=0;o<n.length;o++){if(l=n[o],s=l.instance,u=l.currentTarget,l=l.listener,s!==a&&i.isPropagationStopped())break e;Zv(i,l,u),a=s}}}if(vs)throw e=Rf,vs=!1,Rf=null,e}function we(e,t){var r=g1(t),n=e+"__bubble";r.has(n)||(h1(t,e,2,!1),r.add(n))}var Jv="_reactListening"+Math.random().toString(36).slice(2);function p1(e){e[Jv]||(e[Jv]=!0,Ry.forEach(function(t){f1.has(t)||em(t,!1,e,null),em(t,!0,e,null)}))}function em(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,a=r;if(e==="selectionchange"&&r.nodeType!==9&&(a=r.ownerDocument),n!==null&&!t&&f1.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=g1(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),h1(a,e,i,t),o.add(l))}function h1(e,t,r,n){var i=Tp.get(t);switch(i===void 0?2:i){case 0:i=tT;break;case 1:i=rT;break;default:i=_p}r=i.bind(null,t,r,e),i=void 0,!Af||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function v1(e,t,r,n,i){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var s=o.tag;if((s===3||s===4)&&(s=o.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;o=o.return}for(;l!==null;){if(o=Bn(l),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}l=l.parentNode}}n=n.return}$C(function(){var u=a,c=Sp(r),d=[];e:{var f=t1.get(e);if(f!==void 0){var p=Rp,g=e;switch(e){case"keypress":if(Xl(r)===0)break e;case"keydown":case"keyup":p=gT;break;case"focusin":g="focus",p=dc;break;case"focusout":g="blur",p=dc;break;case"beforeblur":case"afterblur":p=dc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Vv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=aT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=ST;break;case Qy:case Zy:case Jy:p=sT;break;case e1:p=wT;break;case"scroll":p=nT;break;case"wheel":p=CT;break;case"copy":case"cut":case"paste":p=cT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=zv}var y=(t&4)!==0,v=!y&&e==="scroll",h=y?f!==null?f+"Capture":null:f;y=[];for(var m=u,b;m!==null;){b=m;var x=b.stateNode;if(b.tag===5&&x!==null&&(b=x,h!==null&&(x=fo(m,h),x!=null&&y.push(yo(m,x,b)))),v)break;m=m.return}0<y.length&&(f=new p(f,g,null,r,c),d.push({event:f,listeners:y}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&(t&16)===0&&(g=r.relatedTarget||r.fromElement)&&(Bn(g)||g[na]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(g=r.relatedTarget||r.toElement,p=u,g=g?Bn(g):null,g!==null&&(v=ei(g),g!==v||g.tag!==5&&g.tag!==6)&&(g=null)):(p=null,g=u),p!==g)){if(y=Vv,x="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=zv,x="onPointerLeave",h="onPointerEnter",m="pointer"),v=p==null?f:bi(p),b=g==null?f:bi(g),f=new y(x,m+"leave",p,r,c),f.target=v,f.relatedTarget=b,x=null,Bn(c)===u&&(y=new y(h,m+"enter",g,r,c),y.target=b,y.relatedTarget=v,x=y),v=x,p&&g)t:{for(y=p,h=g,m=0,b=y;b;b=si(b))m++;for(b=0,x=h;x;x=si(x))b++;for(;0<m-b;)y=si(y),m--;for(;0<b-m;)h=si(h),b--;for(;m--;){if(y===h||h!==null&&y===h.alternate)break t;y=si(y),h=si(h)}y=null}else y=null;p!==null&&tm(d,f,p,y,!1),g!==null&&v!==null&&tm(d,v,g,y,!0)}}e:{if(f=u?bi(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var P=OT;else if(Wv(f))if(s1)P=LT;else{P=IT;var k=MT}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(P=FT);if(P&&(P=P(e,u))){l1(d,P,r,c);break e}k&&k(e,f,u),e==="focusout"&&(k=f._wrapperState)&&k.controlled&&f.type==="number"&&xf(f,"number",f.value)}switch(k=u?bi(u):window,e){case"focusin":(Wv(k)||k.contentEditable==="true")&&(yi=k,Ff=u,ja=null);break;case"focusout":ja=Ff=yi=null;break;case"mousedown":Lf=!0;break;case"contextmenu":case"mouseup":case"dragend":Lf=!1,Xv(d,r,c);break;case"selectionchange":if(BT)break;case"keydown":case"keyup":Xv(d,r,c)}var T;if(Mp)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else gi?a1(e,r)&&(O="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(O="onCompositionStart");O&&(i1&&r.locale!=="ko"&&(gi||O!=="onCompositionStart"?O==="onCompositionEnd"&&gi&&(T=n1()):(en=c,Ap="value"in en?en.value:en.textContent,gi=!0)),k=gs(u,O),0<k.length&&(O=new Nv(O,e,null,r,c),d.push({event:O,listeners:k}),T?O.data=T:(T=o1(r),T!==null&&(O.data=T)))),(T=kT?_T(e,r):PT(e,r))&&(u=gs(u,"onBeforeInput"),0<u.length&&(c=new Nv("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=T))}d1(d,t)})}function yo(e,t,r){return{instance:e,listener:t,currentTarget:r}}function gs(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=fo(e,r),a!=null&&n.unshift(yo(e,a,i)),a=fo(e,t),a!=null&&n.push(yo(e,a,i))),e=e.return}return n}function si(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function tm(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(s!==null&&s===n)break;l.tag===5&&u!==null&&(l=u,i?(s=fo(r,a),s!=null&&o.unshift(yo(r,s,l))):i||(s=fo(r,a),s!=null&&o.push(yo(r,s,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function ys(){}var mc=null,gc=null;function m1(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Df(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var rm=typeof setTimeout=="function"?setTimeout:void 0,VT=typeof clearTimeout=="function"?clearTimeout:void 0;function Ip(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Ii(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function nm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var yc=0;function NT(e){return{$$typeof:yp,toString:e,valueOf:e}}var Tu=Math.random().toString(36).slice(2),tn="__reactFiber$"+Tu,bs="__reactProps$"+Tu,na="__reactContainer$"+Tu,im="__reactEvents$"+Tu;function Bn(e){var t=e[tn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[na]||r[tn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=nm(e);e!==null;){if(r=e[tn])return r;e=nm(e)}return t}e=r,r=e.parentNode}return null}function No(e){return e=e[tn]||e[na],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function ku(e){return e[bs]||null}function g1(e){var t=e[im];return t===void 0&&(t=e[im]=new Set),t}var $f=[],Si=-1;function wn(e){return{current:e}}function Ce(e){0>Si||(e.current=$f[Si],$f[Si]=null,Si--)}function Le(e,t){Si++,$f[Si]=e.current,e.current=t}var bn={},ot=wn(bn),Tt=wn(!1),qn=bn;function Gi(e,t){var r=e.type.contextTypes;if(!r)return bn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function kt(e){return e=e.childContextTypes,e!=null}function Ss(){Ce(Tt),Ce(ot)}function am(e,t,r){if(ot.current!==bn)throw Error(N(168));Le(ot,t),Le(Tt,r)}function y1(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(N(108,Ai(t)||"Unknown",i));return Re({},r,n)}function Ql(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bn,qn=ot.current,Le(ot,e),Le(Tt,Tt.current),!0}function om(e,t,r){var n=e.stateNode;if(!n)throw Error(N(169));r?(e=y1(e,t,qn),n.__reactInternalMemoizedMergedChildContext=e,Ce(Tt),Ce(ot),Le(ot,e)):Ce(Tt),Le(Tt,r)}var Fp=null,Un=null,zT=Ue.unstable_runWithPriority,Lp=Ue.unstable_scheduleCallback,Bf=Ue.unstable_cancelCallback,jT=Ue.unstable_shouldYield,lm=Ue.unstable_requestPaint,Vf=Ue.unstable_now,HT=Ue.unstable_getCurrentPriorityLevel,_u=Ue.unstable_ImmediatePriority,b1=Ue.unstable_UserBlockingPriority,S1=Ue.unstable_NormalPriority,x1=Ue.unstable_LowPriority,w1=Ue.unstable_IdlePriority,bc={},WT=lm!==void 0?lm:function(){},Ir=null,Zl=null,Sc=!1,sm=Vf(),it=1e4>sm?Vf:function(){return Vf()-sm};function Yi(){switch(HT()){case _u:return 99;case b1:return 98;case S1:return 97;case x1:return 96;case w1:return 95;default:throw Error(N(332))}}function E1(e){switch(e){case 99:return _u;case 98:return b1;case 97:return S1;case 96:return x1;case 95:return w1;default:throw Error(N(332))}}function Kn(e,t){return e=E1(e),zT(e,t)}function bo(e,t,r){return e=E1(e),Lp(e,t,r)}function kr(){if(Zl!==null){var e=Zl;Zl=null,Bf(e)}C1()}function C1(){if(!Sc&&Ir!==null){Sc=!0;var e=0;try{var t=Ir;Kn(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Ir=null}catch(r){throw Ir!==null&&(Ir=Ir.slice(e+1)),Lp(_u,kr),r}finally{Sc=!1}}}var UT=Jn.ReactCurrentBatchConfig;function tr(e,t){if(e&&e.defaultProps){t=Re({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var xs=wn(null),ws=null,xi=null,Es=null;function Dp(){Es=xi=ws=null}function $p(e){var t=xs.current;Ce(xs),e.type._context._currentValue=t}function T1(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function Fi(e,t){ws=e,Es=xi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ir=!0),e.firstContext=null)}function Ut(e,t){if(Es!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Es=e,t=1073741823),t={context:e,observedBits:t,next:null},xi===null){if(ws===null)throw Error(N(308));xi=t,ws.dependencies={lanes:0,firstContext:t,responders:null}}else xi=xi.next=t;return e._currentValue}var Zr=!1;function Bp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function k1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fn(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function um(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function So(e,t,r,n){var i=e.updateQueue;Zr=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,o===null?a=u:o.next=u,o=s;var c=e.alternate;if(c!==null){c=c.updateQueue;var d=c.lastBaseUpdate;d!==o&&(d===null?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(a!==null){d=i.baseState,o=0,c=u=s=null;do{l=a.lane;var f=a.eventTime;if((n&l)===l){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,g=a;switch(l=t,f=r,g.tag){case 1:if(p=g.payload,typeof p=="function"){d=p.call(f,d,l);break e}d=p;break e;case 3:p.flags=p.flags&-4097|64;case 0:if(p=g.payload,l=typeof p=="function"?p.call(f,d,l):p,l==null)break e;d=Re({},d,l);break e;case 2:Zr=!0}}a.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,s=d):c=c.next=f,o|=l;if(a=a.next,a===null){if(l=i.shared.pending,l===null)break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);c===null&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,jo|=o,e.lanes=o,e.memoizedState=d}}function cm(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(N(191,i));i.call(n)}}}var _1=new yu.Component().refs;function Cs(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Re({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Pu={isMounted:function(e){return(e=e._reactInternals)?ei(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Mt(),i=dn(e),a=cn(n,i);a.payload=t,r!=null&&(a.callback=r),fn(e,a),pn(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Mt(),i=dn(e),a=cn(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),fn(e,a),pn(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Mt(),n=dn(e),i=cn(r,n);i.tag=2,t!=null&&(i.callback=t),fn(e,i),pn(e,n,r)}};function fm(e,t,r,n,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,o):t.prototype&&t.prototype.isPureReactComponent?!go(r,n)||!go(i,a):!0}function P1(e,t,r){var n=!1,i=bn,a=t.contextType;return typeof a=="object"&&a!==null?a=Ut(a):(i=kt(t)?qn:ot.current,n=t.contextTypes,a=(n=n!=null)?Gi(e,i):bn),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Pu,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function dm(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Pu.enqueueReplaceState(t,t.state,null)}function Nf(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=_1,Bp(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Ut(a):(a=kt(t)?qn:ot.current,i.context=Gi(e,a)),So(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Cs(e,t,a,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Pu.enqueueReplaceState(i,i.state,null),So(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var bl=Array.isArray;function Sa(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(N(309));var n=r.stateNode}if(!n)throw Error(N(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var o=n.refs;o===_1&&(o=n.refs={}),a===null?delete o[i]:o[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(N(284));if(!r._owner)throw Error(N(290,e))}return e}function Sl(e,t){if(e.type!=="textarea")throw Error(N(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function A1(e){function t(v,h){if(e){var m=v.lastEffect;m!==null?(m.nextEffect=h,v.lastEffect=h):v.firstEffect=v.lastEffect=h,h.nextEffect=null,h.flags=8}}function r(v,h){if(!e)return null;for(;h!==null;)t(v,h),h=h.sibling;return null}function n(v,h){for(v=new Map;h!==null;)h.key!==null?v.set(h.key,h):v.set(h.index,h),h=h.sibling;return v}function i(v,h){return v=xn(v,h),v.index=0,v.sibling=null,v}function a(v,h,m){return v.index=m,e?(m=v.alternate,m!==null?(m=m.index,m<h?(v.flags=2,h):m):(v.flags=2,h)):h}function o(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,h,m,b){return h===null||h.tag!==6?(h=Tc(m,v.mode,b),h.return=v,h):(h=i(h,m),h.return=v,h)}function s(v,h,m,b){return h!==null&&h.elementType===m.type?(b=i(h,m.props),b.ref=Sa(v,h,m),b.return=v,b):(b=rs(m.type,m.key,m.props,null,v.mode,b),b.ref=Sa(v,h,m),b.return=v,b)}function u(v,h,m,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==m.containerInfo||h.stateNode.implementation!==m.implementation?(h=kc(m,v.mode,b),h.return=v,h):(h=i(h,m.children||[]),h.return=v,h)}function c(v,h,m,b,x){return h===null||h.tag!==7?(h=Bi(m,v.mode,b,x),h.return=v,h):(h=i(h,m),h.return=v,h)}function d(v,h,m){if(typeof h=="string"||typeof h=="number")return h=Tc(""+h,v.mode,m),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Oa:return m=rs(h.type,h.key,h.props,null,v.mode,m),m.ref=Sa(v,null,h),m.return=v,m;case Dn:return h=kc(h,v.mode,m),h.return=v,h}if(bl(h)||ha(h))return h=Bi(h,v.mode,m,null),h.return=v,h;Sl(v,h)}return null}function f(v,h,m,b){var x=h!==null?h.key:null;if(typeof m=="string"||typeof m=="number")return x!==null?null:l(v,h,""+m,b);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Oa:return m.key===x?m.type===Jr?c(v,h,m.props.children,b,x):s(v,h,m,b):null;case Dn:return m.key===x?u(v,h,m,b):null}if(bl(m)||ha(m))return x!==null?null:c(v,h,m,b,null);Sl(v,m)}return null}function p(v,h,m,b,x){if(typeof b=="string"||typeof b=="number")return v=v.get(m)||null,l(h,v,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Oa:return v=v.get(b.key===null?m:b.key)||null,b.type===Jr?c(h,v,b.props.children,x,b.key):s(h,v,b,x);case Dn:return v=v.get(b.key===null?m:b.key)||null,u(h,v,b,x)}if(bl(b)||ha(b))return v=v.get(m)||null,c(h,v,b,x,null);Sl(h,b)}return null}function g(v,h,m,b){for(var x=null,P=null,k=h,T=h=0,O=null;k!==null&&T<m.length;T++){k.index>T?(O=k,k=null):O=k.sibling;var R=f(v,k,m[T],b);if(R===null){k===null&&(k=O);break}e&&k&&R.alternate===null&&t(v,k),h=a(R,h,T),P===null?x=R:P.sibling=R,P=R,k=O}if(T===m.length)return r(v,k),x;if(k===null){for(;T<m.length;T++)k=d(v,m[T],b),k!==null&&(h=a(k,h,T),P===null?x=k:P.sibling=k,P=k);return x}for(k=n(v,k);T<m.length;T++)O=p(k,v,T,m[T],b),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?T:O.key),h=a(O,h,T),P===null?x=O:P.sibling=O,P=O);return e&&k.forEach(function(I){return t(v,I)}),x}function y(v,h,m,b){var x=ha(m);if(typeof x!="function")throw Error(N(150));if(m=x.call(m),m==null)throw Error(N(151));for(var P=x=null,k=h,T=h=0,O=null,R=m.next();k!==null&&!R.done;T++,R=m.next()){k.index>T?(O=k,k=null):O=k.sibling;var I=f(v,k,R.value,b);if(I===null){k===null&&(k=O);break}e&&k&&I.alternate===null&&t(v,k),h=a(I,h,T),P===null?x=I:P.sibling=I,P=I,k=O}if(R.done)return r(v,k),x;if(k===null){for(;!R.done;T++,R=m.next())R=d(v,R.value,b),R!==null&&(h=a(R,h,T),P===null?x=R:P.sibling=R,P=R);return x}for(k=n(v,k);!R.done;T++,R=m.next())R=p(k,v,T,R.value,b),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?T:R.key),h=a(R,h,T),P===null?x=R:P.sibling=R,P=R);return e&&k.forEach(function(B){return t(v,B)}),x}return function(v,h,m,b){var x=typeof m=="object"&&m!==null&&m.type===Jr&&m.key===null;x&&(m=m.props.children);var P=typeof m=="object"&&m!==null;if(P)switch(m.$$typeof){case Oa:e:{for(P=m.key,x=h;x!==null;){if(x.key===P){switch(x.tag){case 7:if(m.type===Jr){r(v,x.sibling),h=i(x,m.props.children),h.return=v,v=h;break e}break;default:if(x.elementType===m.type){r(v,x.sibling),h=i(x,m.props),h.ref=Sa(v,x,m),h.return=v,v=h;break e}}r(v,x);break}else t(v,x);x=x.sibling}m.type===Jr?(h=Bi(m.props.children,v.mode,b,m.key),h.return=v,v=h):(b=rs(m.type,m.key,m.props,null,v.mode,b),b.ref=Sa(v,h,m),b.return=v,v=b)}return o(v);case Dn:e:{for(x=m.key;h!==null;){if(h.key===x)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){r(v,h.sibling),h=i(h,m.children||[]),h.return=v,v=h;break e}else{r(v,h);break}else t(v,h);h=h.sibling}h=kc(m,v.mode,b),h.return=v,v=h}return o(v)}if(typeof m=="string"||typeof m=="number")return m=""+m,h!==null&&h.tag===6?(r(v,h.sibling),h=i(h,m),h.return=v,v=h):(r(v,h),h=Tc(m,v.mode,b),h.return=v,v=h),o(v);if(bl(m))return g(v,h,m,b);if(ha(m))return y(v,h,m,b);if(P&&Sl(v,m),typeof m=="undefined"&&!x)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(N(152,Ai(v.type)||"Component"))}return r(v,h)}}var Ts=A1(!0),R1=A1(!1),zo={},Sr=wn(zo),xo=wn(zo),wo=wn(zo);function Vn(e){if(e===zo)throw Error(N(174));return e}function zf(e,t){switch(Le(wo,t),Le(xo,e),Le(Sr,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Tf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Tf(t,e)}Ce(Sr),Le(Sr,t)}function qi(){Ce(Sr),Ce(xo),Ce(wo)}function pm(e){Vn(wo.current);var t=Vn(Sr.current),r=Tf(t,e.type);t!==r&&(Le(xo,e),Le(Sr,r))}function Vp(e){xo.current===e&&(Ce(Sr),Ce(xo))}var Fe=wn(0);function ks(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Dr=null,rn=null,xr=!1;function O1(e,t){var r=zt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function hm(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function jf(e){if(xr){var t=rn;if(t){var r=t;if(!hm(e,t)){if(t=Ii(r.nextSibling),!t||!hm(e,t)){e.flags=e.flags&-1025|2,xr=!1,Dr=e;return}O1(Dr,r)}Dr=e,rn=Ii(t.firstChild)}else e.flags=e.flags&-1025|2,xr=!1,Dr=e}}function vm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dr=e}function xl(e){if(e!==Dr)return!1;if(!xr)return vm(e),xr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Df(t,e.memoizedProps))for(t=rn;t;)O1(e,t),t=Ii(t.nextSibling);if(vm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(N(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){rn=Ii(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}rn=null}}else rn=Dr?Ii(e.stateNode.nextSibling):null;return!0}function xc(){rn=Dr=null,xr=!1}var Li=[];function Np(){for(var e=0;e<Li.length;e++)Li[e]._workInProgressVersionPrimary=null;Li.length=0}var Ha=Jn.ReactCurrentDispatcher,Wt=Jn.ReactCurrentBatchConfig,Eo=0,$e=null,nt=null,Qe=null,_s=!1,Wa=!1;function yt(){throw Error(N(321))}function zp(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Nt(e[r],t[r]))return!1;return!0}function jp(e,t,r,n,i,a){if(Eo=a,$e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ha.current=e===null||e.memoizedState===null?YT:qT,e=r(n,i),Wa){a=0;do{if(Wa=!1,!(25>a))throw Error(N(301));a+=1,Qe=nt=null,t.updateQueue=null,Ha.current=KT,e=r(n,i)}while(Wa)}if(Ha.current=Os,t=nt!==null&&nt.next!==null,Eo=0,Qe=nt=$e=null,_s=!1,t)throw Error(N(300));return e}function Nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qe===null?$e.memoizedState=Qe=e:Qe=Qe.next=e,Qe}function ti(){if(nt===null){var e=$e.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var t=Qe===null?$e.memoizedState:Qe.next;if(t!==null)Qe=t,nt=e;else{if(e===null)throw Error(N(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},Qe===null?$e.memoizedState=Qe=e:Qe=Qe.next=e}return Qe}function mr(e,t){return typeof t=="function"?t(e):t}function xa(e){var t=ti(),r=t.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=e;var n=nt,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=o=a=null,s=i;do{var u=s.lane;if((Eo&u)===u)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(o=l=c,a=n):l=l.next=c,$e.lanes|=u,jo|=u}s=s.next}while(s!==null&&s!==i);l===null?a=n:l.next=o,Nt(n,t.memoizedState)||(ir=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function wa(e){var t=ti(),r=t.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(i!==null){r.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Nt(a,t.memoizedState)||(ir=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function mm(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(Eo&e)===e)&&(t._workInProgressVersionPrimary=n,Li.push(t))),e)return r(t._source);throw Li.push(t),Error(N(350))}function M1(e,t,r,n){var i=pt;if(i===null)throw Error(N(349));var a=t._getVersion,o=a(t._source),l=Ha.current,s=l.useState(function(){return mm(i,t,r)}),u=s[1],c=s[0];s=Qe;var d=e.memoizedState,f=d.refs,p=f.getSnapshot,g=d.source;d=d.subscribe;var y=$e;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect(function(){f.getSnapshot=r,f.setSnapshot=u;var v=a(t._source);if(!Nt(o,v)){v=r(t._source),Nt(c,v)||(u(v),v=dn(y),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var h=i.entanglements,m=v;0<m;){var b=31-yn(m),x=1<<b;h[b]|=v,m&=~x}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var v=f.getSnapshot,h=f.setSnapshot;try{h(v(t._source));var m=dn(y);i.mutableReadLanes|=m&i.pendingLanes}catch(b){h(function(){throw b})}})},[t,n]),Nt(p,r)&&Nt(g,t)&&Nt(d,n)||(e={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:c},e.dispatch=u=Up.bind(null,$e,e),s.queue=e,s.baseQueue=null,c=mm(i,t,r),s.memoizedState=s.baseState=c),c}function I1(e,t,r){var n=ti();return M1(n,e,t,r)}function Ea(e){var t=Nn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:e},e=e.dispatch=Up.bind(null,$e,e),[t.memoizedState,e]}function Ps(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=$e.updateQueue,t===null?(t={lastEffect:null},$e.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function gm(e){var t=Nn();return e={current:e},t.memoizedState=e}function As(){return ti().memoizedState}function Hf(e,t,r,n){var i=Nn();$e.flags|=e,i.memoizedState=Ps(1|t,r,void 0,n===void 0?null:n)}function Hp(e,t,r,n){var i=ti();n=n===void 0?null:n;var a=void 0;if(nt!==null){var o=nt.memoizedState;if(a=o.destroy,n!==null&&zp(n,o.deps)){Ps(t,r,a,n);return}}$e.flags|=e,i.memoizedState=Ps(1|t,r,a,n)}function ym(e,t){return Hf(516,4,e,t)}function Rs(e,t){return Hp(516,4,e,t)}function F1(e,t){return Hp(4,2,e,t)}function L1(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function D1(e,t,r){return r=r!=null?r.concat([e]):null,Hp(4,2,L1.bind(null,t,e),r)}function Wp(){}function $1(e,t){var r=ti();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&zp(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function B1(e,t){var r=ti();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&zp(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function GT(e,t){var r=Yi();Kn(98>r?98:r,function(){e(!0)}),Kn(97<r?97:r,function(){var n=Wt.transition;Wt.transition=1;try{e(!1),t()}finally{Wt.transition=n}})}function Up(e,t,r){var n=Mt(),i=dn(e),a={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(o===null?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===$e||o!==null&&o===$e)Wa=_s=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,r);if(a.eagerReducer=o,a.eagerState=s,Nt(s,l))return}catch{}finally{}pn(e,i,n)}}var Os={readContext:Ut,useCallback:yt,useContext:yt,useEffect:yt,useImperativeHandle:yt,useLayoutEffect:yt,useMemo:yt,useReducer:yt,useRef:yt,useState:yt,useDebugValue:yt,useDeferredValue:yt,useTransition:yt,useMutableSource:yt,useOpaqueIdentifier:yt,unstable_isNewReconciler:!1},YT={readContext:Ut,useCallback:function(e,t){return Nn().memoizedState=[e,t===void 0?null:t],e},useContext:Ut,useEffect:ym,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Hf(4,2,L1.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Hf(4,2,e,t)},useMemo:function(e,t){var r=Nn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Nn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Up.bind(null,$e,e),[n.memoizedState,e]},useRef:gm,useState:Ea,useDebugValue:Wp,useDeferredValue:function(e){var t=Ea(e),r=t[0],n=t[1];return ym(function(){var i=Wt.transition;Wt.transition=1;try{n(e)}finally{Wt.transition=i}},[e]),r},useTransition:function(){var e=Ea(!1),t=e[0];return e=GT.bind(null,e[1]),gm(e),[e,t]},useMutableSource:function(e,t,r){var n=Nn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},M1(n,e,t,r)},useOpaqueIdentifier:function(){if(xr){var e=!1,t=NT(function(){throw e||(e=!0,r("r:"+(yc++).toString(36))),Error(N(355))}),r=Ea(t)[1];return($e.mode&2)===0&&($e.flags|=516,Ps(5,function(){r("r:"+(yc++).toString(36))},void 0,null)),t}return t="r:"+(yc++).toString(36),Ea(t),t},unstable_isNewReconciler:!1},qT={readContext:Ut,useCallback:$1,useContext:Ut,useEffect:Rs,useImperativeHandle:D1,useLayoutEffect:F1,useMemo:B1,useReducer:xa,useRef:As,useState:function(){return xa(mr)},useDebugValue:Wp,useDeferredValue:function(e){var t=xa(mr),r=t[0],n=t[1];return Rs(function(){var i=Wt.transition;Wt.transition=1;try{n(e)}finally{Wt.transition=i}},[e]),r},useTransition:function(){var e=xa(mr)[0];return[As().current,e]},useMutableSource:I1,useOpaqueIdentifier:function(){return xa(mr)[0]},unstable_isNewReconciler:!1},KT={readContext:Ut,useCallback:$1,useContext:Ut,useEffect:Rs,useImperativeHandle:D1,useLayoutEffect:F1,useMemo:B1,useReducer:wa,useRef:As,useState:function(){return wa(mr)},useDebugValue:Wp,useDeferredValue:function(e){var t=wa(mr),r=t[0],n=t[1];return Rs(function(){var i=Wt.transition;Wt.transition=1;try{n(e)}finally{Wt.transition=i}},[e]),r},useTransition:function(){var e=wa(mr)[0];return[As().current,e]},useMutableSource:I1,useOpaqueIdentifier:function(){return wa(mr)[0]},unstable_isNewReconciler:!1},XT=Jn.ReactCurrentOwner,ir=!1;function St(e,t,r,n){t.child=e===null?R1(t,null,r,n):Ts(t,e.child,r,n)}function bm(e,t,r,n,i){r=r.render;var a=t.ref;return Fi(t,i),n=jp(e,t,r,n,a,i),e!==null&&!ir?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,$r(e,t,i)):(t.flags|=1,St(e,t,n,i),t.child)}function Sm(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!Qp(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,V1(e,t,o,n,i,a)):(e=rs(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return o=e.child,(i&a)===0&&(i=o.memoizedProps,r=r.compare,r=r!==null?r:go,r(i,n)&&e.ref===t.ref)?$r(e,t,a):(t.flags|=1,e=xn(o,n),e.ref=t.ref,e.return=t,t.child=e)}function V1(e,t,r,n,i,a){if(e!==null&&go(e.memoizedProps,n)&&e.ref===t.ref)if(ir=!1,(a&i)!==0)(e.flags&16384)!==0&&(ir=!0);else return t.lanes=e.lanes,$r(e,t,a);return Wf(e,t,r,n,a)}function wc(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},El(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},El(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},El(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,El(t,n);return St(e,t,i,r),t.child}function N1(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Wf(e,t,r,n,i){var a=kt(r)?qn:ot.current;return a=Gi(t,a),Fi(t,i),r=jp(e,t,r,n,a,i),e!==null&&!ir?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,$r(e,t,i)):(t.flags|=1,St(e,t,r,i),t.child)}function xm(e,t,r,n,i){if(kt(r)){var a=!0;Ql(t)}else a=!1;if(Fi(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),P1(t,r,n),Nf(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=r.contextType;typeof u=="object"&&u!==null?u=Ut(u):(u=kt(r)?qn:ot.current,u=Gi(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==n||s!==u)&&dm(t,o,n,u),Zr=!1;var f=t.memoizedState;o.state=f,So(t,n,o,i),s=t.memoizedState,l!==n||f!==s||Tt.current||Zr?(typeof c=="function"&&(Cs(t,r,c,n),s=t.memoizedState),(l=Zr||fm(t,r,l,n,f,s,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4)):(typeof o.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),o.props=n,o.state=s,o.context=u,n=l):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,k1(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:tr(t.type,l),o.props=u,d=t.pendingProps,f=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Ut(s):(s=kt(r)?qn:ot.current,s=Gi(t,s));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==d||f!==s)&&dm(t,o,n,s),Zr=!1,f=t.memoizedState,o.state=f,So(t,n,o,i);var g=t.memoizedState;l!==d||f!==g||Tt.current||Zr?(typeof p=="function"&&(Cs(t,r,p,n),g=t.memoizedState),(u=Zr||fm(t,r,u,n,f,g,s))?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,g,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,g,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=g),o.props=n,o.state=g,o.context=s,n=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return Uf(e,t,r,n,a,i)}function Uf(e,t,r,n,i,a){N1(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&om(t,r,!1),$r(e,t,a);n=t.stateNode,XT.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=Ts(t,e.child,null,a),t.child=Ts(t,null,l,a)):St(e,t,l,a),t.memoizedState=n.state,i&&om(t,r,!0),t.child}function wm(e){var t=e.stateNode;t.pendingContext?am(e,t.pendingContext,t.pendingContext!==t.context):t.context&&am(e,t.context,!1),zf(e,t.containerInfo)}var wl={dehydrated:null,retryLane:0};function Em(e,t,r){var n=t.pendingProps,i=Fe.current,a=!1,o;return(o=(t.flags&64)!==0)||(o=e!==null&&e.memoizedState===null?!1:(i&2)!==0),o?(a=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),Le(Fe,i&1),e===null?(n.fallback!==void 0&&jf(t),e=n.children,i=n.fallback,a?(e=Cm(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=wl,e):typeof n.unstable_expectedLoadTime=="number"?(e=Cm(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=wl,t.lanes=33554432,e):(r=Zp({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=km(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=wl,n):(r=Tm(e,t,n.children,r),t.memoizedState=null,r):a?(n=km(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=wl,n):(r=Tm(e,t,n.children,r),t.memoizedState=null,r)}function Cm(e,t,r,n){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},(i&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=Zp(t,i,0,null),r=Bi(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function Tm(e,t,r,n){var i=e.child;return e=i.sibling,r=xn(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function km(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:r};return(a&2)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=xn(o,l),e!==null?n=xn(e,n):(n=Bi(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function _m(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),T1(e.return,t)}function Ec(e,t,r,n,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i,o.lastEffect=a)}function Pm(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(St(e,t,n.children,r),n=Fe.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_m(e,r);else if(e.tag===19)_m(e,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Le(Fe,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&ks(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Ec(t,!1,i,r,a,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ks(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Ec(t,!0,r,null,a,t.lastEffect);break;case"together":Ec(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function $r(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),jo|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(N(153));if(t.child!==null){for(e=t.child,r=xn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=xn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var z1,Gf,j1,H1;z1=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Gf=function(){};j1=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Vn(Sr.current);var a=null;switch(r){case"input":i=bf(e,i),n=bf(e,n),a=[];break;case"option":i=wf(e,i),n=wf(e,n),a=[];break;case"select":i=Re({},i,{value:void 0}),n=Re({},n,{value:void 0}),a=[];break;case"textarea":i=Ef(e,i),n=Ef(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=ys)}kf(r,n);var o;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(uo.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in n){var s=n[u];if(l=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(r||(r={}),r[o]=s[o])}else r||(a||(a=[]),a.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(uo.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&we("scroll",e),a||l===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===yp?s.toString():(a=a||[]).push(u,s))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};H1=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ca(e,t){if(!xr)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function QT(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return kt(t.type)&&Ss(),null;case 3:return qi(),Ce(Tt),Ce(ot),Np(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(xl(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Gf(t),null;case 5:Vp(t);var i=Vn(wo.current);if(r=t.type,e!==null&&t.stateNode!=null)j1(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(N(166));return null}if(e=Vn(Sr.current),xl(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[tn]=t,n[bs]=a,r){case"dialog":we("cancel",n),we("close",n);break;case"iframe":case"object":case"embed":we("load",n);break;case"video":case"audio":for(e=0;e<Ia.length;e++)we(Ia[e],n);break;case"source":we("error",n);break;case"img":case"image":case"link":we("error",n),we("load",n);break;case"details":we("toggle",n);break;case"input":Pv(n,a),we("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},we("invalid",n);break;case"textarea":Rv(n,a),we("invalid",n)}kf(r,a),e=null;for(var o in a)a.hasOwnProperty(o)&&(i=a[o],o==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):uo.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&we("scroll",n));switch(r){case"input":vl(n),Av(n,a,!0);break;case"textarea":vl(n),Ov(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=ys)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===Cf.html&&(e=Dy(r)),e===Cf.html?r==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[tn]=t,e[bs]=n,z1(e,t,!1,!1),t.stateNode=e,o=_f(r,n),r){case"dialog":we("cancel",e),we("close",e),i=n;break;case"iframe":case"object":case"embed":we("load",e),i=n;break;case"video":case"audio":for(i=0;i<Ia.length;i++)we(Ia[i],e);i=n;break;case"source":we("error",e),i=n;break;case"img":case"image":case"link":we("error",e),we("load",e),i=n;break;case"details":we("toggle",e),i=n;break;case"input":Pv(e,n),i=bf(e,n),we("invalid",e);break;case"option":i=wf(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Re({},n,{value:void 0}),we("invalid",e);break;case"textarea":Rv(e,n),i=Ef(e,n),we("invalid",e);break;default:i=n}kf(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?Vy(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&$y(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&co(e,s):typeof s=="number"&&co(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(uo.hasOwnProperty(a)?s!=null&&a==="onScroll"&&we("scroll",e):s!=null&&dp(e,a,s,o))}switch(r){case"input":vl(e),Av(e,n,!1);break;case"textarea":vl(e),Ov(e);break;case"option":n.value!=null&&e.setAttribute("value",""+gn(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Ri(e,!!n.multiple,a,!1):n.defaultValue!=null&&Ri(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=ys)}m1(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)H1(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(N(166));r=Vn(wo.current),Vn(Sr.current),xl(t)?(n=t.stateNode,r=t.memoizedProps,n[tn]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[tn]=t,t.stateNode=n)}return null;case 13:return Ce(Fe),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&xl(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Fe.current&1)!==0?Ze===0&&(Ze=3):((Ze===0||Ze===3)&&(Ze=4),pt===null||(jo&134217727)===0&&(aa&134217727)===0||Di(pt,at))),(n||r)&&(t.flags|=4),null);case 4:return qi(),Gf(t),e===null&&p1(t.stateNode.containerInfo),null;case 10:return $p(t),null;case 17:return kt(t.type)&&Ss(),null;case 19:if(Ce(Fe),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)Ca(n,!1);else{if(Ze!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=ks(e),o!==null){for(t.flags|=64,Ca(n,!1),a=o.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Le(Fe,Fe.current&1|2),t.child}e=e.sibling}n.tail!==null&&it()>Zf&&(t.flags|=64,a=!0,Ca(n,!1),t.lanes=33554432)}else{if(!a)if(e=ks(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ca(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!xr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*it()-n.renderingStartTime>Zf&&r!==1073741824&&(t.flags|=64,a=!0,Ca(n,!1),t.lanes=33554432);n.isBackwards?(o.sibling=t.child,t.child=o):(r=n.last,r!==null?r.sibling=o:t.child=o,n.last=o)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=it(),r.sibling=null,t=Fe.current,Le(Fe,a?t&1|2:t&1),r):null;case 23:case 24:return Xp(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(N(156,t.tag))}function ZT(e){switch(e.tag){case 1:kt(e.type)&&Ss();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(qi(),Ce(Tt),Ce(ot),Np(),t=e.flags,(t&64)!==0)throw Error(N(285));return e.flags=t&-4097|64,e;case 5:return Vp(e),null;case 13:return Ce(Fe),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Ce(Fe),null;case 4:return qi(),null;case 10:return $p(e),null;case 23:case 24:return Xp(),null;default:return null}}function Gp(e,t){try{var r="",n=t;do r+=MC(n),n=n.return;while(n);var i=r}catch(a){i=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:i}}function Yf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var JT=typeof WeakMap=="function"?WeakMap:Map;function W1(e,t,r){r=cn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Is||(Is=!0,Jf=n),Yf(e,t)},r}function U1(e,t,r){r=cn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Yf(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(gr===null?gr=new Set([this]):gr.add(this),Yf(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var e2=typeof WeakSet=="function"?WeakSet:Set;function Am(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){hn(e,r)}else t.current=null}function t2(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:tr(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Ip(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(N(163))}function r2(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(eb(r,e),c2(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:tr(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&cm(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}cm(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&m1(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&Ky(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(N(163))}function Rm(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=By("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function Om(e,t){if(Un&&typeof Un.onCommitFiberUnmount=="function")try{Un.onCommitFiberUnmount(Fp,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)eb(t,r);else{n=t;try{i()}catch(a){hn(n,a)}}r=r.next}while(r!==e)}break;case 1:if(Am(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){hn(t,a)}break;case 5:Am(t);break;case 4:G1(e,t)}}function Mm(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Im(e){return e.tag===5||e.tag===3||e.tag===4}function Fm(e){e:{for(var t=e.return;t!==null;){if(Im(t))break e;t=t.return}throw Error(N(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(N(161))}r.flags&16&&(co(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||Im(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?qf(e,r,t):Kf(e,r,t)}function qf(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ys));else if(n!==4&&(e=e.child,e!==null))for(qf(e,t,r),e=e.sibling;e!==null;)qf(e,t,r),e=e.sibling}function Kf(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Kf(e,t,r),e=e.sibling;e!==null;)Kf(e,t,r),e=e.sibling}function G1(e,t){for(var r=t,n=!1,i,a;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(N(160));switch(i=n.stateNode,n.tag){case 5:a=!1;break e;case 3:i=i.containerInfo,a=!0;break e;case 4:i=i.containerInfo,a=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var o=e,l=r,s=l;;)if(Om(o,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}a?(o=i,l=r.stateNode,o.nodeType===8?o.parentNode.removeChild(l):o.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(Om(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function Cc(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,a!==null){for(r[bs]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Fy(r,n),_f(e,i),t=_f(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?Vy(r,l):o==="dangerouslySetInnerHTML"?$y(r,l):o==="children"?co(r,l):dp(r,o,l,t)}switch(e){case"input":Sf(r,n);break;case"textarea":Ly(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?Ri(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?Ri(r,!!n.multiple,n.defaultValue,!0):Ri(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(N(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,Ky(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(Kp=it(),Rm(t.child,!0)),Lm(t);return;case 19:Lm(t);return;case 17:return;case 23:case 24:Rm(t,t.memoizedState!==null);return}throw Error(N(163))}function Lm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new e2),t.forEach(function(n){var i=p2.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function n2(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var i2=Math.ceil,Ms=Jn.ReactCurrentDispatcher,Yp=Jn.ReactCurrentOwner,re=0,pt=null,ze=null,at=0,Xn=0,Xf=wn(0),Ze=0,Au=null,ia=0,jo=0,aa=0,qp=0,Qf=null,Kp=0,Zf=1/0;function oa(){Zf=it()+500}var Y=null,Is=!1,Jf=null,gr=null,Sn=!1,Ua=null,Fa=90,ed=[],td=[],Br=null,Ga=0,rd=null,Jl=-1,Fr=0,es=0,Ya=null,ts=!1;function Mt(){return(re&48)!==0?it():Jl!==-1?Jl:Jl=it()}function dn(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Yi()===99?1:2;if(Fr===0&&(Fr=ia),UT.transition!==0){es!==0&&(es=Qf!==null?Qf.pendingLanes:0),e=Fr;var t=4186112&~es;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Yi(),(re&4)!==0&&e===98?e=ms(12,Fr):(e=qC(e),e=ms(e,Fr)),e}function pn(e,t,r){if(50<Ga)throw Ga=0,rd=null,Error(N(185));if(e=Ru(e,t),e===null)return null;wu(e,t,r),e===pt&&(aa|=t,Ze===4&&Di(e,at));var n=Yi();t===1?(re&8)!==0&&(re&48)===0?nd(e):(Gt(e,r),re===0&&(oa(),kr())):((re&4)===0||n!==98&&n!==99||(Br===null?Br=new Set([e]):Br.add(e)),Gt(e,r)),Qf=e}function Ru(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function Gt(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-yn(o),s=1<<l,u=a[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,pi(s);var c=be;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);o&=~s}if(n=vo(e,e===pt?at:0),t=be,n===0)r!==null&&(r!==bc&&Bf(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==bc&&Bf(r)}t===15?(r=nd.bind(null,e),Ir===null?(Ir=[r],Zl=Lp(_u,C1)):Ir.push(r),r=bc):t===14?r=bo(99,nd.bind(null,e)):(r=KC(t),r=bo(r,Y1.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Y1(e){if(Jl=-1,es=Fr=0,(re&48)!==0)throw Error(N(327));var t=e.callbackNode;if(En()&&e.callbackNode!==t)return null;var r=vo(e,e===pt?at:0);if(r===0)return null;var n=r,i=re;re|=16;var a=Q1();(pt!==e||at!==n)&&(oa(),$i(e,n));do try{l2();break}catch(l){X1(e,l)}while(1);if(Dp(),Ms.current=a,re=i,ze!==null?n=0:(pt=null,at=0,n=Ze),(ia&aa)!==0)$i(e,0);else if(n!==0){if(n===2&&(re|=64,e.hydrate&&(e.hydrate=!1,Ip(e.containerInfo)),r=r1(e),r!==0&&(n=La(e,r))),n===1)throw t=Au,$i(e,0),Di(e,r),Gt(e,it()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(N(345));case 2:Mn(e);break;case 3:if(Di(e,r),(r&62914560)===r&&(n=Kp+500-it(),10<n)){if(vo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Mt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=rm(Mn.bind(null,e),n);break}Mn(e);break;case 4:if(Di(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-yn(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=it()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i2(r/1960))-r,10<r){e.timeoutHandle=rm(Mn.bind(null,e),r);break}Mn(e);break;case 5:Mn(e);break;default:throw Error(N(329))}}return Gt(e,it()),e.callbackNode===t?Y1.bind(null,e):null}function Di(e,t){for(t&=~qp,t&=~aa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-yn(t),n=1<<r;e[r]=-1,t&=~n}}function nd(e){if((re&48)!==0)throw Error(N(327));if(En(),e===pt&&(e.expiredLanes&at)!==0){var t=at,r=La(e,t);(ia&aa)!==0&&(t=vo(e,t),r=La(e,t))}else t=vo(e,0),r=La(e,t);if(e.tag!==0&&r===2&&(re|=64,e.hydrate&&(e.hydrate=!1,Ip(e.containerInfo)),t=r1(e),t!==0&&(r=La(e,t))),r===1)throw r=Au,$i(e,0),Di(e,t),Gt(e,it()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Mn(e),Gt(e,it()),null}function a2(){if(Br!==null){var e=Br;Br=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Gt(t,it())})}kr()}function q1(e,t){var r=re;re|=1;try{return e(t)}finally{re=r,re===0&&(oa(),kr())}}function K1(e,t){var r=re;re&=-2,re|=8;try{return e(t)}finally{re=r,re===0&&(oa(),kr())}}function El(e,t){Le(Xf,Xn),Xn|=t,ia|=t}function Xp(){Xn=Xf.current,Ce(Xf)}function $i(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,VT(r)),ze!==null)for(r=ze.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ss();break;case 3:qi(),Ce(Tt),Ce(ot),Np();break;case 5:Vp(n);break;case 4:qi();break;case 13:Ce(Fe);break;case 19:Ce(Fe);break;case 10:$p(n);break;case 23:case 24:Xp()}r=r.return}pt=e,ze=xn(e.current,null),at=Xn=ia=t,Ze=0,Au=null,qp=aa=jo=0}function X1(e,t){do{var r=ze;try{if(Dp(),Ha.current=Os,_s){for(var n=$e.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}_s=!1}if(Eo=0,Qe=nt=$e=null,Wa=!1,Yp.current=null,r===null||r.return===null){Ze=1,Au=t,ze=null;break}e:{var a=e,o=r.return,l=r,s=t;if(t=at,l.flags|=2048,l.firstEffect=l.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s;if((l.mode&2)===0){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=(Fe.current&1)!==0,f=o;do{var p;if(p=f.tag===13){var g=f.memoizedState;if(g!==null)p=g.dehydrated!==null;else{var y=f.memoizedProps;p=y.fallback===void 0?!1:y.unstable_avoidThisFallback!==!0?!0:!d}}if(p){var v=f.updateQueue;if(v===null){var h=new Set;h.add(u),f.updateQueue=h}else v.add(u);if((f.mode&2)===0){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var m=cn(-1,1);m.tag=2,fn(l,m)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(b===null?(b=a.pingCache=new JT,s=new Set,b.set(u,s)):(s=b.get(u),s===void 0&&(s=new Set,b.set(u,s))),!s.has(l)){s.add(l);var x=d2.bind(null,a,u,l);u.then(x,x)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);s=Error((Ai(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ze!==5&&(Ze=2),s=Gp(s,l),f=o;do{switch(f.tag){case 3:a=s,f.flags|=4096,t&=-t,f.lanes|=t;var P=W1(f,a,t);um(f,P);break e;case 1:a=s;var k=f.type,T=f.stateNode;if((f.flags&64)===0&&(typeof k.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(gr===null||!gr.has(T)))){f.flags|=4096,t&=-t,f.lanes|=t;var O=U1(f,a,t);um(f,O);break e}}f=f.return}while(f!==null)}J1(r)}catch(R){t=R,ze===r&&r!==null&&(ze=r=r.return);continue}break}while(1)}function Q1(){var e=Ms.current;return Ms.current=Os,e===null?Os:e}function La(e,t){var r=re;re|=16;var n=Q1();pt===e&&at===t||$i(e,t);do try{o2();break}catch(i){X1(e,i)}while(1);if(Dp(),re=r,Ms.current=n,ze!==null)throw Error(N(261));return pt=null,at=0,Ze}function o2(){for(;ze!==null;)Z1(ze)}function l2(){for(;ze!==null&&!jT();)Z1(ze)}function Z1(e){var t=tb(e.alternate,e,Xn);e.memoizedProps=e.pendingProps,t===null?J1(e):ze=t,Yp.current=null}function J1(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=QT(r,t,Xn),r!==null){ze=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Xn&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=ZT(t),r!==null){r.flags&=2047,ze=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){ze=t;return}ze=t=e}while(t!==null);Ze===0&&(Ze=5)}function Mn(e){var t=Yi();return Kn(99,s2.bind(null,e,t)),null}function s2(e,t){do En();while(Ua!==null);if((re&48)!==0)throw Error(N(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(N(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var o=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-yn(a),u=1<<s;i[s]=0,o[s]=-1,l[s]=-1,a&=~u}if(Br!==null&&(n&24)===0&&Br.has(e)&&Br.delete(e),e===pt&&(ze=pt=null,at=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=re,re|=32,Yp.current=null,mc=ql,o=Kv(),If(o)){if("selectionStart"in o)l={start:o.selectionStart,end:o.selectionEnd};else e:if(l=(l=o.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,a=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var c=0,d=-1,f=-1,p=0,g=0,y=o,v=null;t:for(;;){for(var h;y!==l||a!==0&&y.nodeType!==3||(d=c+a),y!==s||u!==0&&y.nodeType!==3||(f=c+u),y.nodeType===3&&(c+=y.nodeValue.length),(h=y.firstChild)!==null;)v=y,y=h;for(;;){if(y===o)break t;if(v===l&&++p===a&&(d=c),v===s&&++g===u&&(f=c),(h=y.nextSibling)!==null)break;y=v,v=y.parentNode}y=h}l=d===-1||f===-1?null:{start:d,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;gc={focusedElem:o,selectionRange:l},ql=!1,Ya=null,ts=!1,Y=n;do try{u2()}catch(R){if(Y===null)throw Error(N(330));hn(Y,R),Y=Y.nextEffect}while(Y!==null);Ya=null,Y=n;do try{for(o=e;Y!==null;){var m=Y.flags;if(m&16&&co(Y.stateNode,""),m&128){var b=Y.alternate;if(b!==null){var x=b.ref;x!==null&&(typeof x=="function"?x(null):x.current=null)}}switch(m&1038){case 2:Fm(Y),Y.flags&=-3;break;case 6:Fm(Y),Y.flags&=-3,Cc(Y.alternate,Y);break;case 1024:Y.flags&=-1025;break;case 1028:Y.flags&=-1025,Cc(Y.alternate,Y);break;case 4:Cc(Y.alternate,Y);break;case 8:l=Y,G1(o,l);var P=l.alternate;Mm(l),P!==null&&Mm(P)}Y=Y.nextEffect}}catch(R){if(Y===null)throw Error(N(330));hn(Y,R),Y=Y.nextEffect}while(Y!==null);if(x=gc,b=Kv(),m=x.focusedElem,o=x.selectionRange,b!==m&&m&&m.ownerDocument&&c1(m.ownerDocument.documentElement,m)){for(o!==null&&If(m)&&(b=o.start,x=o.end,x===void 0&&(x=b),"selectionStart"in m?(m.selectionStart=b,m.selectionEnd=Math.min(x,m.value.length)):(x=(b=m.ownerDocument||document)&&b.defaultView||window,x.getSelection&&(x=x.getSelection(),l=m.textContent.length,P=Math.min(o.start,l),o=o.end===void 0?P:Math.min(o.end,l),!x.extend&&P>o&&(l=o,o=P,P=l),l=qv(m,P),a=qv(m,o),l&&a&&(x.rangeCount!==1||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&(b=b.createRange(),b.setStart(l.node,l.offset),x.removeAllRanges(),P>o?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),x.addRange(b)))))),b=[],x=m;x=x.parentNode;)x.nodeType===1&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<b.length;m++)x=b[m],x.element.scrollLeft=x.left,x.element.scrollTop=x.top}ql=!!mc,gc=mc=null,e.current=r,Y=n;do try{for(m=e;Y!==null;){var k=Y.flags;if(k&36&&r2(m,Y.alternate,Y),k&128){b=void 0;var T=Y.ref;if(T!==null){var O=Y.stateNode;switch(Y.tag){case 5:b=O;break;default:b=O}typeof T=="function"?T(b):T.current=b}}Y=Y.nextEffect}}catch(R){if(Y===null)throw Error(N(330));hn(Y,R),Y=Y.nextEffect}while(Y!==null);Y=null,WT(),re=i}else e.current=r;if(Sn)Sn=!1,Ua=e,Fa=t;else for(Y=n;Y!==null;)t=Y.nextEffect,Y.nextEffect=null,Y.flags&8&&(k=Y,k.sibling=null,k.stateNode=null),Y=t;if(n=e.pendingLanes,n===0&&(gr=null),n===1?e===rd?Ga++:(Ga=0,rd=e):Ga=0,r=r.stateNode,Un&&typeof Un.onCommitFiberRoot=="function")try{Un.onCommitFiberRoot(Fp,r,void 0,(r.current.flags&64)===64)}catch{}if(Gt(e,it()),Is)throw Is=!1,e=Jf,Jf=null,e;return(re&8)!==0||kr(),null}function u2(){for(;Y!==null;){var e=Y.alternate;ts||Ya===null||((Y.flags&8)!==0?Fv(Y,Ya)&&(ts=!0):Y.tag===13&&n2(e,Y)&&Fv(Y,Ya)&&(ts=!0));var t=Y.flags;(t&256)!==0&&t2(e,Y),(t&512)===0||Sn||(Sn=!0,bo(97,function(){return En(),null})),Y=Y.nextEffect}}function En(){if(Fa!==90){var e=97<Fa?97:Fa;return Fa=90,Kn(e,f2)}return!1}function c2(e,t){ed.push(t,e),Sn||(Sn=!0,bo(97,function(){return En(),null}))}function eb(e,t){td.push(t,e),Sn||(Sn=!0,bo(97,function(){return En(),null}))}function f2(){if(Ua===null)return!1;var e=Ua;if(Ua=null,(re&48)!==0)throw Error(N(331));var t=re;re|=32;var r=td;td=[];for(var n=0;n<r.length;n+=2){var i=r[n],a=r[n+1],o=i.destroy;if(i.destroy=void 0,typeof o=="function")try{o()}catch(s){if(a===null)throw Error(N(330));hn(a,s)}}for(r=ed,ed=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(a===null)throw Error(N(330));hn(a,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return re=t,kr(),!0}function Dm(e,t,r){t=Gp(r,t),t=W1(e,t,1),fn(e,t),t=Mt(),e=Ru(e,1),e!==null&&(wu(e,1,t),Gt(e,t))}function hn(e,t){if(e.tag===3)Dm(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){Dm(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n))){e=Gp(t,e);var i=U1(r,e,1);if(fn(r,i),i=Mt(),r=Ru(r,1),r!==null)wu(r,1,i),Gt(r,i);else if(typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function d2(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Mt(),e.pingedLanes|=e.suspendedLanes&r,pt===e&&(at&r)===r&&(Ze===4||Ze===3&&(at&62914560)===at&&500>it()-Kp?$i(e,0):qp|=r),Gt(e,t)}function p2(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=Yi()===99?1:2:(Fr===0&&(Fr=ia),t=hi(62914560&~Fr),t===0&&(t=4194304))),r=Mt(),e=Ru(e,t),e!==null&&(wu(e,t,r),Gt(e,r))}var tb;tb=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Tt.current)ir=!0;else if((r&n)!==0)ir=(e.flags&16384)!==0;else{switch(ir=!1,t.tag){case 3:wm(t),xc();break;case 5:pm(t);break;case 1:kt(t.type)&&Ql(t);break;case 4:zf(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Le(xs,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?Em(e,t,r):(Le(Fe,Fe.current&1),t=$r(e,t,r),t!==null?t.sibling:null);Le(Fe,Fe.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return Pm(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Le(Fe,Fe.current),n)break;return null;case 23:case 24:return t.lanes=0,wc(e,t,r)}return $r(e,t,r)}else ir=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=Gi(t,ot.current),Fi(t,r),i=jp(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,kt(n)){var a=!0;Ql(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Bp(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&Cs(t,n,o,e),i.updater=Pu,t.stateNode=i,i._reactInternals=t,Nf(t,n,e,r),t=Uf(null,t,n,!0,a,r)}else t.tag=0,St(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=v2(i),e=tr(i,e),a){case 0:t=Wf(null,t,i,e,r);break e;case 1:t=xm(null,t,i,e,r);break e;case 11:t=bm(null,t,i,e,r);break e;case 14:t=Sm(null,t,i,tr(i.type,e),n,r);break e}throw Error(N(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:tr(n,i),Wf(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:tr(n,i),xm(e,t,n,i,r);case 3:if(wm(t),n=t.updateQueue,e===null||n===null)throw Error(N(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,k1(e,t),So(t,n,null,r),n=t.memoizedState.element,n===i)xc(),t=$r(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(rn=Ii(t.stateNode.containerInfo.firstChild),Dr=t,a=xr=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],Li.push(a);for(r=R1(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else St(e,t,n,r),xc();t=t.child}return t;case 5:return pm(t),e===null&&jf(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Df(n,i)?o=null:a!==null&&Df(n,a)&&(t.flags|=16),N1(e,t),St(e,t,o,r),t.child;case 6:return e===null&&jf(t),null;case 13:return Em(e,t,r);case 4:return zf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ts(t,null,n,r):St(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:tr(n,i),bm(e,t,n,i,r);case 7:return St(e,t,t.pendingProps,r),t.child;case 8:return St(e,t,t.pendingProps.children,r),t.child;case 12:return St(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var l=t.type._context;if(Le(xs,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=Nt(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!Tt.current){t=$r(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var u=s.firstContext;u!==null;){if(u.context===n&&(u.observedBits&a)!==0){l.tag===1&&(u=cn(-1,r&-r),u.tag=2,fn(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),T1(l.return,r),s.lanes|=r;break}u=u.next}}else o=l.tag===10&&l.type===t.type?null:l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}St(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,Fi(t,r),i=Ut(i,a.unstable_observedBits),n=n(i),t.flags|=1,St(e,t,n,r),t.child;case 14:return i=t.type,a=tr(i,t.pendingProps),a=tr(i.type,a),Sm(e,t,i,a,n,r);case 15:return V1(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:tr(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,kt(n)?(e=!0,Ql(t)):e=!1,Fi(t,r),P1(t,n,i),Nf(t,n,i,r),Uf(null,t,n,!0,e,r);case 19:return Pm(e,t,r);case 23:return wc(e,t,r);case 24:return wc(e,t,r)}throw Error(N(156,t.tag))};function h2(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zt(e,t,r,n){return new h2(e,t,r,n)}function Qp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function v2(e){if(typeof e=="function")return Qp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bu)return 11;if(e===Su)return 14}return 2}function xn(e,t){var r=e.alternate;return r===null?(r=zt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function rs(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")Qp(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Jr:return Bi(r.children,i,a,t);case Oy:o=8,i|=16;break;case pp:o=8,i|=1;break;case Da:return e=zt(12,r,t,i|8),e.elementType=Da,e.type=Da,e.lanes=a,e;case $a:return e=zt(13,r,t,i),e.type=$a,e.elementType=$a,e.lanes=a,e;case ds:return e=zt(19,r,t,i),e.elementType=ds,e.lanes=a,e;case bp:return Zp(r,i,a,t);case yf:return e=zt(24,r,t,i),e.elementType=yf,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hp:o=10;break e;case vp:o=9;break e;case bu:o=11;break e;case Su:o=14;break e;case mp:o=16,n=null;break e;case gp:o=22;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=zt(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Bi(e,t,r,n){return e=zt(7,e,n,t),e.lanes=r,e}function Zp(e,t,r,n){return e=zt(23,e,n,t),e.elementType=bp,e.lanes=r,e}function Tc(e,t,r){return e=zt(6,e,null,t),e.lanes=r,e}function kc(e,t,r){return t=zt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function m2(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=uc(0),this.expirationTimes=uc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uc(0),this.mutableSourceEagerHydrationData=null}function g2(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Dn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Fs(e,t,r,n){var i=t.current,a=Mt(),o=dn(i);e:if(r){r=r._reactInternals;t:{if(ei(r)!==r||r.tag!==1)throw Error(N(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(kt(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(N(171))}if(r.tag===1){var s=r.type;if(kt(s)){r=y1(r,s,l);break e}}r=l}else r=bn;return t.context===null?t.context=r:t.pendingContext=r,t=cn(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),fn(i,t),pn(i,o,a),o}function _c(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function $m(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Jp(e,t){$m(e,t),(e=e.alternate)&&$m(e,t)}function y2(){return null}function eh(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new m2(e,t,r!=null&&r.hydrate===!0),t=zt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,Bp(t),e[na]=r.current,p1(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}eh.prototype.render=function(e){Fs(e,this._internalRoot,null,null)};eh.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Fs(null,e,null,function(){t[na]=null})};function Ho(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function b2(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new eh(e,0,t?{hydrate:!0}:void 0)}function Ou(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var l=i;i=function(){var u=_c(o);l.call(u)}}Fs(t,o,e,i)}else{if(a=r._reactRootContainer=b2(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var u=_c(o);s.call(u)}}K1(function(){Fs(t,o,e,i)})}return _c(o)}Gy=function(e){if(e.tag===13){var t=Mt();pn(e,4,t),Jp(e,4)}};Cp=function(e){if(e.tag===13){var t=Mt();pn(e,67108864,t),Jp(e,67108864)}};Yy=function(e){if(e.tag===13){var t=Mt(),r=dn(e);pn(e,r,t),Jp(e,r)}};qy=function(e,t){return t()};Pf=function(e,t,r){switch(t){case"input":if(Sf(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=ku(n);if(!i)throw Error(N(90));Iy(n),Sf(n,i)}}}break;case"textarea":Ly(e,r);break;case"select":t=r.value,t!=null&&Ri(e,!!r.multiple,t,!1)}};xp=q1;jy=function(e,t,r,n,i){var a=re;re|=4;try{return Kn(98,e.bind(null,t,r,n,i))}finally{re=a,re===0&&(oa(),kr())}};wp=function(){(re&49)===0&&(a2(),En())};Hy=function(e,t){var r=re;re|=2;try{return e(t)}finally{re=r,re===0&&(oa(),kr())}};function rb(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ho(t))throw Error(N(200));return g2(e,t,null,r)}var S2={Events:[No,bi,ku,Ny,zy,En,{current:!1}]},Ta={findFiberByHostInstance:Bn,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},x2={bundleType:Ta.bundleType,version:Ta.version,rendererPackageName:Ta.rendererPackageName,rendererConfig:Ta.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Jn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Uy(e),e===null?null:e.stateNode},findFiberByHostInstance:Ta.findFiberByHostInstance||y2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Cl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cl.isDisabled&&Cl.supportsFiber)try{Fp=Cl.inject(x2),Un=Cl}catch{}}Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S2;Yt.createPortal=rb;Yt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(N(188)):Error(N(268,Object.keys(e)));return e=Uy(t),e=e===null?null:e.stateNode,e};Yt.flushSync=function(e,t){var r=re;if((r&48)!==0)return e(t);re|=1;try{if(e)return Kn(99,e.bind(null,t))}finally{re=r,kr()}};Yt.hydrate=function(e,t,r){if(!Ho(t))throw Error(N(200));return Ou(null,e,t,!0,r)};Yt.render=function(e,t,r){if(!Ho(t))throw Error(N(200));return Ou(null,e,t,!1,r)};Yt.unmountComponentAtNode=function(e){if(!Ho(e))throw Error(N(40));return e._reactRootContainer?(K1(function(){Ou(null,null,e,!1,function(){e._reactRootContainer=null,e[na]=null})}),!0):!1};Yt.unstable_batchedUpdates=q1;Yt.unstable_createPortal=function(e,t){return rb(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};Yt.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Ho(r))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return Ou(e,t,r,!1,n)};Yt.version="17.0.2";function nb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nb)}catch(e){console.error(e)}}nb(),_y.exports=Yt;var w2=_y.exports,E2=ta({strict:!1,name:"PortalManagerContext"}),C2=E2[0];function T2(e){var t=e.children,r=e.zIndex;return w.exports.createElement(C2,{value:{zIndex:r}},t)}ta({strict:!1,name:"PortalContext"});var th={exports:{}},Wo={};/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var k2=w.exports,ib=60103;Wo.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var Bm=Symbol.for;ib=Bm("react.element"),Wo.Fragment=Bm("react.fragment")}var _2=k2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,P2=Object.prototype.hasOwnProperty,A2={key:!0,ref:!0,__self:!0,__source:!0};function ab(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)P2.call(t,n)&&!A2.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:ib,type:e,key:a,ref:o,props:i,_owner:_2.current}}Wo.jsx=ab;Wo.jsxs=ab;th.exports=Wo;const te=th.exports.jsx,_t=th.exports.jsxs;var R2={body:{classList:{add:function(){},remove:function(){}}},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[]}}}},ob=R2,ui=function(){},O2={document:ob,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:ui,removeEventListener:ui,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:ui,removeListener:ui}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:ui,setInterval:function(){return 0},clearInterval:ui},M2=O2,I2={window:M2,document:ob},lb=Bo?{window,document}:I2,sb=w.exports.createContext(lb);function F2(){return w.exports.useContext(sb)}function L2(e){var t=e.children,r=e.environment,n=w.exports.useState(null),i=n[0],a=n[1],o=w.exports.useMemo(function(){var s,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,d=u?{document:u,window:c}:void 0,f=(s=r!=null?r:d)!=null?s:lb;return f},[i,r]),l=!i&&!r;return _t(sb.Provider,{value:o,children:[t,l&&te("span",{ref:function(u){u&&a(u)}})]})}var Tl={light:"chakra-ui-light",dark:"chakra-ui-dark"},D2={classList:{add:so,remove:so}},$2=function(t){return Bo?t.body:D2};function B2(e,t){var r=$2(t);r.classList.add(e?Tl.dark:Tl.light),r.classList.remove(e?Tl.light:Tl.dark)}function V2(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var ub={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function N2(e){var t,r=(t=V2(ub.dark))!=null?t:e==="dark";return r?"dark":"light"}function z2(e){if(!("matchMedia"in window))return so;var t=window.matchMedia(ub.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var Vm={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){Bo&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},Nm=function(){return typeof Storage!="undefined"},zm="chakra-ui-color-mode",j2={get:function(t){if(!Nm())return t;try{var r=localStorage.getItem(zm);return r!=null?r:t}catch{return t}},set:function(t){if(!!Nm())try{localStorage.setItem(zm,t)}catch{}},type:"localStorage"},cb=w.exports.createContext({}),rh=function(){var t=w.exports.useContext(cb);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function H2(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,a=n.initialColorMode,o=e.colorModeManager,l=o===void 0?j2:o,s=a==="dark"?"dark":"light",u=w.exports.useState(l.type==="cookie"?l.get(s):s),c=u[0],d=u[1],f=F2(),p=f.document;w.exports.useEffect(function(){if(Bo&&l.type==="localStorage"){var h=N2(s);if(i)return d(h);var m=Vm.get(),b=l.get();return d(m||b||(a==="system"?h:s))}},[l,i,s,a]),w.exports.useEffect(function(){var h=c==="dark";B2(h,p),Vm.set(h?"dark":"light")},[c,p]);var g=w.exports.useCallback(function(h,m){if(m===void 0&&(m=!1),!m)l.set(h);else if(l.get()&&!i)return;d(h)},[l,i]),y=w.exports.useCallback(function(){g(c==="light"?"dark":"light")},[c,g]);w.exports.useEffect(function(){var h=i||a==="system",m;return h&&(m=z2(g)),function(){m&&h&&m()}},[g,i,a]);var v=w.exports.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?so:y,setColorMode:t?so:g}},[c,g,y,t]);return w.exports.createElement(cb.Provider,{value:v},r)}function Co(){return Co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Co.apply(this,arguments)}var W2=function(t,r){return function(n){var i=String(r),a=t?t+"."+i:i;return Ct(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:r}};function To(e){var t=e.scale,r=e.transform,n=e.compose,i=function(o,l){var s,u=W2(t,o)(l),c=(s=r==null?void 0:r(u,l))!=null?s:u;return n&&(c=n(c,l)),c};return i}function Zt(e,t){return function(r){var n={property:r,scale:e};return n.transform=To({scale:e,transform:t}),n}}var U2=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function G2(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:U2(t),transform:r?To({scale:r,compose:n}):n}}var Pc,Ac,fb=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function Y2(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(fb).join(" ")}function q2(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(fb).join(" ")}var K2={"--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(" ")},X2={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Q2(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Z2={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},db="& > :not(style) ~ :not(style)",J2=(Pc={},Pc[db]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},Pc),ek=(Ac={},Ac[db]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},Ac);function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ls(e,t)}function tk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function id(){id=function(i,a){return new r(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function r(i,a,o){var l=new RegExp(i,a);return t.set(l,o||t.get(i)),Ls(l,r.prototype)}tk(r,RegExp),r.prototype.exec=function(i){var a=e.exec.call(this,i);return a&&(a.groups=n(a,this)),a},r.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,u){return"$"+o[u]}))}else if(typeof a=="function"){var l=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s),s.push(n(s,l))),a.apply(this,s)})}else return e[Symbol.replace].call(this,i,a)};function n(i,a){var o=t.get(a);return Object.keys(o).reduce(function(l,s){return l[s]=i[o[s]],l},Object.create(null))}return id.apply(this,arguments)}var ad={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},rk=new Set(Object.values(ad)),pb=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),nk=function(t){return t.trim()};function ik(e,t){var r,n;if(e==null||pb.has(e))return e;var i=id(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),a=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},o=a.type,l=a.values;if(!o||!l)return e;var s=o.includes("-gradient")?o:o+"-gradient",u=l.split(",").map(nk).filter(Boolean),c=u[0],d=u.slice(1);if((d==null?void 0:d.length)===0)return e;var f=c in ad?ad[c]:c;d.unshift(f);var p=d.map(function(g){if(rk.has(g))return g;var y=g.indexOf(" "),v=y!==-1?[g.substr(0,y),g.substr(y+1)]:[g],h=v[0],m=v[1],b=hb(m)?m:m&&m.split(" "),x="colors."+h,P=x in t.__cssMap?t.__cssMap[x].varRef:h;return b?[P].concat(Array.isArray(b)?b:[b]).join(" "):P});return s+"("+p.join(", ")+")"}var hb=function(t){return ap(t)&&t.includes("(")&&t.includes(")")},ak=function(t,r){return ik(t,r!=null?r:{})},ok=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},sr=function(t){return function(r){return t+"("+r+")"}},ve={filter:function(t){return t!=="auto"?t:K2},backdropFilter:function(t){return t!=="auto"?t:X2},ring:function(t){return Q2(ve.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?Y2():t==="auto-gpu"?q2():t},px:function(t){if(t==null)return t;var r=ok(t),n=r.unitless;return n||Pi(t)?t+"px":t},fraction:function(t){return!Pi(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if(Ey(t)||t==null)return t;var r=ap(t)&&!t.endsWith("deg");return Pi(t)||r?t+"deg":t},gradient:ak,blur:sr("blur"),opacity:sr("opacity"),brightness:sr("brightness"),contrast:sr("contrast"),dropShadow:sr("drop-shadow"),grayscale:sr("grayscale"),hueRotate:sr("hue-rotate"),invert:sr("invert"),saturate:sr("saturate"),sepia:sr("sepia"),bgImage:function(t){if(t==null)return t;var r=hb(t)||pb.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=Z2[t])!=null?r:{},i=n.space,a=n.divide,o={flexDirection:t};return i&&(o[i]=1),a&&(o[a]=1),o}},C={borderWidths:Zt("borderWidths"),borderStyles:Zt("borderStyles"),colors:Zt("colors"),borders:Zt("borders"),radii:Zt("radii",ve.px),space:Zt("space",ve.px),spaceT:Zt("space",ve.px),degreeT:function(t){return{property:t,transform:ve.degree}},prop:function(t,r,n){return Co({property:t,scale:r},r&&{transform:To({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Zt("sizes",ve.px),sizesT:Zt("sizes",ve.fraction),shadows:Zt("shadows"),logical:G2,blur:Zt("blur",ve.blur)},ns={background:C.colors("background"),backgroundColor:C.colors("backgroundColor"),backgroundImage:C.propT("backgroundImage",ve.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:ve.bgClip},bgSize:C.prop("backgroundSize"),bgPosition:C.prop("backgroundPosition"),bg:C.colors("background"),bgColor:C.colors("backgroundColor"),bgPos:C.prop("backgroundPosition"),bgRepeat:C.prop("backgroundRepeat"),bgAttachment:C.prop("backgroundAttachment"),bgGradient:C.propT("backgroundImage",ve.gradient),bgClip:{transform:ve.bgClip}};Object.assign(ns,{bgImage:ns.backgroundImage,bgImg:ns.backgroundImage});var ce={border:C.borders("border"),borderWidth:C.borderWidths("borderWidth"),borderStyle:C.borderStyles("borderStyle"),borderColor:C.colors("borderColor"),borderRadius:C.radii("borderRadius"),borderTop:C.borders("borderTop"),borderBlockStart:C.borders("borderBlockStart"),borderTopLeftRadius:C.radii("borderTopLeftRadius"),borderStartStartRadius:C.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:C.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:C.radii("borderTopRightRadius"),borderStartEndRadius:C.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:C.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:C.borders("borderRight"),borderInlineEnd:C.borders("borderInlineEnd"),borderBottom:C.borders("borderBottom"),borderBlockEnd:C.borders("borderBlockEnd"),borderBottomLeftRadius:C.radii("borderBottomLeftRadius"),borderBottomRightRadius:C.radii("borderBottomRightRadius"),borderLeft:C.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:C.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:C.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:C.borders(["borderLeft","borderRight"]),borderInline:C.borders("borderInline"),borderY:C.borders(["borderTop","borderBottom"]),borderBlock:C.borders("borderBlock"),borderTopWidth:C.borderWidths("borderTopWidth"),borderBlockStartWidth:C.borderWidths("borderBlockStartWidth"),borderTopColor:C.colors("borderTopColor"),borderBlockStartColor:C.colors("borderBlockStartColor"),borderTopStyle:C.borderStyles("borderTopStyle"),borderBlockStartStyle:C.borderStyles("borderBlockStartStyle"),borderBottomWidth:C.borderWidths("borderBottomWidth"),borderBlockEndWidth:C.borderWidths("borderBlockEndWidth"),borderBottomColor:C.colors("borderBottomColor"),borderBlockEndColor:C.colors("borderBlockEndColor"),borderBottomStyle:C.borderStyles("borderBottomStyle"),borderBlockEndStyle:C.borderStyles("borderBlockEndStyle"),borderLeftWidth:C.borderWidths("borderLeftWidth"),borderInlineStartWidth:C.borderWidths("borderInlineStartWidth"),borderLeftColor:C.colors("borderLeftColor"),borderInlineStartColor:C.colors("borderInlineStartColor"),borderLeftStyle:C.borderStyles("borderLeftStyle"),borderInlineStartStyle:C.borderStyles("borderInlineStartStyle"),borderRightWidth:C.borderWidths("borderRightWidth"),borderInlineEndWidth:C.borderWidths("borderInlineEndWidth"),borderRightColor:C.colors("borderRightColor"),borderInlineEndColor:C.colors("borderInlineEndColor"),borderRightStyle:C.borderStyles("borderRightStyle"),borderInlineEndStyle:C.borderStyles("borderInlineEndStyle"),borderTopRadius:C.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:C.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:C.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:C.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(ce,{rounded:ce.borderRadius,roundedTop:ce.borderTopRadius,roundedTopLeft:ce.borderTopLeftRadius,roundedTopRight:ce.borderTopRightRadius,roundedTopStart:ce.borderStartStartRadius,roundedTopEnd:ce.borderStartEndRadius,roundedBottom:ce.borderBottomRadius,roundedBottomLeft:ce.borderBottomLeftRadius,roundedBottomRight:ce.borderBottomRightRadius,roundedBottomStart:ce.borderEndStartRadius,roundedBottomEnd:ce.borderEndEndRadius,roundedLeft:ce.borderLeftRadius,roundedRight:ce.borderRightRadius,roundedStart:ce.borderInlineStartRadius,roundedEnd:ce.borderInlineEndRadius,borderStart:ce.borderInlineStart,borderEnd:ce.borderInlineEnd,borderTopStartRadius:ce.borderStartStartRadius,borderTopEndRadius:ce.borderStartEndRadius,borderBottomStartRadius:ce.borderEndStartRadius,borderBottomEndRadius:ce.borderEndEndRadius,borderStartRadius:ce.borderInlineStartRadius,borderEndRadius:ce.borderInlineEndRadius,borderStartWidth:ce.borderInlineStartWidth,borderEndWidth:ce.borderInlineEndWidth,borderStartColor:ce.borderInlineStartColor,borderEndColor:ce.borderInlineEndColor,borderStartStyle:ce.borderInlineStartStyle,borderEndStyle:ce.borderInlineEndStyle});var lk={color:C.colors("color"),textColor:C.colors("color"),fill:C.colors("fill"),stroke:C.colors("stroke")},od={boxShadow:C.shadows("boxShadow"),mixBlendMode:!0,blendMode:C.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:C.prop("backgroundBlendMode"),opacity:!0};Object.assign(od,{shadow:od.boxShadow});var sk={filter:{transform:ve.filter},blur:C.blur("--chakra-blur"),brightness:C.propT("--chakra-brightness",ve.brightness),contrast:C.propT("--chakra-contrast",ve.contrast),hueRotate:C.degreeT("--chakra-hue-rotate"),invert:C.propT("--chakra-invert",ve.invert),saturate:C.propT("--chakra-saturate",ve.saturate),dropShadow:C.propT("--chakra-drop-shadow",ve.dropShadow),backdropFilter:{transform:ve.backdropFilter},backdropBlur:C.blur("--chakra-backdrop-blur"),backdropBrightness:C.propT("--chakra-backdrop-brightness",ve.brightness),backdropContrast:C.propT("--chakra-backdrop-contrast",ve.contrast),backdropHueRotate:C.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:C.propT("--chakra-backdrop-invert",ve.invert),backdropSaturate:C.propT("--chakra-backdrop-saturate",ve.saturate)},Ds={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:ve.flexDirection},experimental_spaceX:{static:J2,transform:To({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:ek,transform:To({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:C.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:C.space("gap"),rowGap:C.space("rowGap"),columnGap:C.space("columnGap")};Object.assign(Ds,{flexDir:Ds.flexDirection});var vb={gridGap:C.space("gridGap"),gridColumnGap:C.space("gridColumnGap"),gridRowGap:C.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},uk={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:ve.outline},outlineOffset:!0,outlineColor:C.colors("outlineColor")},$t={width:C.sizesT("width"),inlineSize:C.sizesT("inlineSize"),height:C.sizes("height"),blockSize:C.sizes("blockSize"),boxSize:C.sizes(["width","height"]),minWidth:C.sizes("minWidth"),minInlineSize:C.sizes("minInlineSize"),minHeight:C.sizes("minHeight"),minBlockSize:C.sizes("minBlockSize"),maxWidth:C.sizes("maxWidth"),maxInlineSize:C.sizes("maxInlineSize"),maxHeight:C.sizes("maxHeight"),maxBlockSize:C.sizes("maxBlockSize"),d:C.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:C.propT("float",ve.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign($t,{w:$t.width,h:$t.height,minW:$t.minWidth,maxW:$t.maxWidth,minH:$t.minHeight,maxH:$t.maxHeight,overscroll:$t.overscrollBehavior,overscrollX:$t.overscrollBehaviorX,overscrollY:$t.overscrollBehaviorY});var ck={listStyleType:!0,listStylePosition:!0,listStylePos:C.prop("listStylePosition"),listStyleImage:!0,listStyleImg:C.prop("listStyleImage")},fk={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},dk={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Rc=function(t,r,n){var i={},a=mu(t,r,{});for(var o in a){var l=o in n&&n[o]!=null;l||(i[o]=a[o])}return i},pk={srOnly:{transform:function(t){return t===!0?fk:t==="focusable"?dk:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return Rc(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return Rc(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return Rc(r,t,n)}}},qa={position:!0,pos:C.prop("position"),zIndex:C.prop("zIndex","zIndices"),inset:C.spaceT("inset"),insetX:C.spaceT(["left","right"]),insetInline:C.spaceT("insetInline"),insetY:C.spaceT(["top","bottom"]),insetBlock:C.spaceT("insetBlock"),top:C.spaceT("top"),insetBlockStart:C.spaceT("insetBlockStart"),bottom:C.spaceT("bottom"),insetBlockEnd:C.spaceT("insetBlockEnd"),left:C.spaceT("left"),insetInlineStart:C.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:C.spaceT("right"),insetInlineEnd:C.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(qa,{insetStart:qa.insetInlineStart,insetEnd:qa.insetInlineEnd});var hk={ring:{transform:ve.ring},ringColor:C.colors("--chakra-ring-color"),ringOffset:C.prop("--chakra-ring-offset-width"),ringOffsetColor:C.colors("--chakra-ring-offset-color"),ringInset:C.prop("--chakra-ring-inset")},Ee={margin:C.spaceT("margin"),marginTop:C.spaceT("marginTop"),marginBlockStart:C.spaceT("marginBlockStart"),marginRight:C.spaceT("marginRight"),marginInlineEnd:C.spaceT("marginInlineEnd"),marginBottom:C.spaceT("marginBottom"),marginBlockEnd:C.spaceT("marginBlockEnd"),marginLeft:C.spaceT("marginLeft"),marginInlineStart:C.spaceT("marginInlineStart"),marginX:C.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:C.spaceT("marginInline"),marginY:C.spaceT(["marginTop","marginBottom"]),marginBlock:C.spaceT("marginBlock"),padding:C.space("padding"),paddingTop:C.space("paddingTop"),paddingBlockStart:C.space("paddingBlockStart"),paddingRight:C.space("paddingRight"),paddingBottom:C.space("paddingBottom"),paddingBlockEnd:C.space("paddingBlockEnd"),paddingLeft:C.space("paddingLeft"),paddingInlineStart:C.space("paddingInlineStart"),paddingInlineEnd:C.space("paddingInlineEnd"),paddingX:C.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:C.space("paddingInline"),paddingY:C.space(["paddingTop","paddingBottom"]),paddingBlock:C.space("paddingBlock")};Object.assign(Ee,{m:Ee.margin,mt:Ee.marginTop,mr:Ee.marginRight,me:Ee.marginInlineEnd,marginEnd:Ee.marginInlineEnd,mb:Ee.marginBottom,ml:Ee.marginLeft,ms:Ee.marginInlineStart,marginStart:Ee.marginInlineStart,mx:Ee.marginX,my:Ee.marginY,p:Ee.padding,pt:Ee.paddingTop,py:Ee.paddingY,px:Ee.paddingX,pb:Ee.paddingBottom,pl:Ee.paddingLeft,ps:Ee.paddingInlineStart,paddingStart:Ee.paddingInlineStart,pr:Ee.paddingRight,pe:Ee.paddingInlineEnd,paddingEnd:Ee.paddingInlineEnd});var vk={textDecorationColor:C.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:C.shadows("textShadow")},mk={clipPath:!0,transform:C.propT("transform",ve.transform),transformOrigin:!0,translateX:C.spaceT("--chakra-translate-x"),translateY:C.spaceT("--chakra-translate-y"),skewX:C.degreeT("--chakra-skew-x"),skewY:C.degreeT("--chakra-skew-y"),scaleX:C.prop("--chakra-scale-x"),scaleY:C.prop("--chakra-scale-y"),scale:C.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:C.degreeT("--chakra-rotate")},gk={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:C.prop("transitionDuration","transition.duration"),transitionProperty:C.prop("transitionProperty","transition.property"),transitionTimingFunction:C.prop("transitionTimingFunction","transition.easing")},yk={fontFamily:C.prop("fontFamily","fonts"),fontSize:C.prop("fontSize","fontSizes",ve.px),fontWeight:C.prop("fontWeight","fontWeights"),lineHeight:C.prop("lineHeight","lineHeights"),letterSpacing:C.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:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},bk={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:C.spaceT("scrollMargin"),scrollMarginTop:C.spaceT("scrollMarginTop"),scrollMarginBottom:C.spaceT("scrollMarginBottom"),scrollMarginLeft:C.spaceT("scrollMarginLeft"),scrollMarginRight:C.spaceT("scrollMarginRight"),scrollMarginX:C.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:C.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:C.spaceT("scrollPadding"),scrollPaddingTop:C.spaceT("scrollPaddingTop"),scrollPaddingBottom:C.spaceT("scrollPaddingBottom"),scrollPaddingLeft:C.spaceT("scrollPaddingLeft"),scrollPaddingRight:C.spaceT("scrollPaddingRight"),scrollPaddingX:C.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:C.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function jm(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sk(e,t){if(!!e){if(typeof e=="string")return jm(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jm(e,t)}}function xk(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Sk(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Xe={hover:function(t,r){return t+":hover "+r+", "+t+"[data-hover] "+r},focus:function(t,r){return t+":focus "+r+", "+t+"[data-focus] "+r},focusVisible:function(t,r){return t+":focus-visible "+r},focusWithin:function(t,r){return t+":focus-within "+r},active:function(t,r){return t+":active "+r+", "+t+"[data-active] "+r},disabled:function(t,r){return t+":disabled "+r+", "+t+"[data-disabled] "+r},invalid:function(t,r){return t+":invalid "+r+", "+t+"[data-invalid] "+r},checked:function(t,r){return t+":checked "+r+", "+t+"[data-checked] "+r},indeterminate:function(t,r){return t+":indeterminate "+r+", "+t+"[aria-checked=mixed] "+r+", "+t+"[data-indeterminate] "+r},readOnly:function(t,r){return t+":read-only "+r+", "+t+"[readonly] "+r+", "+t+"[data-read-only] "+r},expanded:function(t,r){return t+":read-only "+r+", "+t+"[aria-expanded=true] "+r+", "+t+"[data-expanded] "+r},placeholderShown:function(t,r){return t+":placeholder-shown "+r}},Gr=function(t){return mb(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},Pr=function(t){return mb(function(r){return t(r,"~ &")},"[data-peer]",".peer")},mb=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(t).join(", ")},ko={_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:Gr(Xe.hover),_peerHover:Pr(Xe.hover),_groupFocus:Gr(Xe.focus),_peerFocus:Pr(Xe.focus),_groupFocusVisible:Gr(Xe.focusVisible),_peerFocusVisible:Pr(Xe.focusVisible),_groupActive:Gr(Xe.active),_peerActive:Pr(Xe.active),_groupDisabled:Gr(Xe.disabled),_peerDisabled:Pr(Xe.disabled),_groupInvalid:Gr(Xe.invalid),_peerInvalid:Pr(Xe.invalid),_groupChecked:Gr(Xe.checked),_peerChecked:Pr(Xe.checked),_groupFocusWithin:Gr(Xe.focusWithin),_peerFocusWithin:Pr(Xe.focusWithin),_peerPlaceholderShown:Pr(Xe.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},wk=sp(ko),nh=jt({},ns,ce,lk,Ds,$t,sk,hk,uk,vb,pk,qa,od,Ee,bk,yk,vk,mk,ck,gk);Object.assign({},Ee,$t,Ds,vb,qa);var Ek=[].concat(sp(nh),wk),Ck=Co({},nh,ko),Tk=function(t){return t in Ck},kk=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,a=n.toArrayValue,o=n.media,l={};for(var s in t){var u=hr(t[s],r);if(u!=null){if(u=Ct(u)&&i(u)?a(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,o.length).length,d=0;d<c;d+=1){var f=o==null?void 0:o[d];if(!f){l[s]=u[d];continue}l[f]=l[f]||{},u[d]!=null&&(l[f][s]=u[d])}}}return l}},_k=function(t,r){return t.startsWith("--")&&ap(r)&&!Ey(r)},Pk=function(t,r){var n,i;if(r==null)return r;var a=function(d){var f,p;return(f=t.__cssMap)==null||(p=f[d])==null?void 0:p.varRef},o=function(d){var f;return(f=a(d))!=null?f:d},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=a(s))!=null?i:o(u))!=null?n:o(r),r};function Ak(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,a=e.theme,o=function l(s,u){u===void 0&&(u=!1);var c=hr(s,a),d=kk(c)(a),f={};for(var p in d){var g,y,v,h,m,b=d[p],x=hr(b,a);p in i&&(p=i[p]),_k(p,x)&&(x=Pk(a,x));var P=r[p];if(P===!0&&(P={property:p}),Ct(x)){var k;f[p]=(k=f[p])!=null?k:{},f[p]=jt({},f[p],l(x,!0));continue}var T=(g=(y=P)==null||y.transform==null?void 0:y.transform(x,a,c))!=null?g:x;T=(v=P)!=null&&v.processResult?l(T,!0):T;var O=hr((h=P)==null?void 0:h.property,a);if(!u&&(m=P)!=null&&m.static){var R=hr(P.static,a);f=jt({},f,R)}if(O&&Array.isArray(O)){for(var I=xk(O),B;!(B=I()).done;){var U=B.value;f[U]=T}continue}if(O){O==="&"&&Ct(T)?f=jt({},f,T):f[O]=T;continue}if(Ct(T)){f=jt({},f,T);continue}f[p]=T}return f};return o}var gb=function(t){return function(r){var n=Ak({theme:r,pseudos:ko,configs:nh});return n(t)}};function yb(e){return Ct(e)&&e.reference?e.reference:String(e)}var Mu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(yb).join(" "+t+" ").replace(/calc/g,"")},Hm=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Mu.apply(void 0,["+"].concat(r))+")"},Wm=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Mu.apply(void 0,["-"].concat(r))+")"},ld=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Mu.apply(void 0,["*"].concat(r))+")"},Um=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Mu.apply(void 0,["/"].concat(r))+")"},Gm=function(t){var r=yb(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:ld(r,-1)},In=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return In(Hm.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return In(Wm.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return In(ld.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return In(Um.apply(void 0,[e].concat(n)))},negate:function(){return In(Gm(e))},toString:function(){return e.toString()}}},{add:Hm,subtract:Wm,multiply:ld,divide:Um,negate:Gm});function Rk(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function bb(e){var t=Rk(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function Ok(e,t){return t===void 0&&(t=""),[t,bb(e)].filter(Boolean).join("-")}function Mk(e,t){return"var("+bb(e)+(t?", "+t:"")+")"}function Ik(e,t){return t===void 0&&(t=""),"--"+Ok(e,t)}function Fk(e,t,r){var n=Ik(e,r);return{variable:n,reference:Mk(n,t)}}function Ym(e,t){return Fk(String(e).replace(/\./g,"-"),void 0,t)}function Lk(e,t){for(var r={},n={},i=function(){var u=o[a],c=u[0],d=u[1],f=d.isSemantic,p=d.value,g=Ym(c,t==null?void 0:t.cssVarPrefix),y=g.variable,v=g.reference;if(!f){if(c.startsWith("space")){var h=c.split("."),m=h[0],b=h.slice(1),x=m+".-"+b.join("."),P=In.negate(p),k=In.negate(v);n[x]={value:P,var:y,varRef:k}}return r[y]=p,n[c]={value:p,var:y,varRef:v},"continue"}var T=function(I){var B=String(c).split(".")[0],U=[B,I].join("."),Q=e[U];if(!Q)return I;var ae=Ym(U,t==null?void 0:t.cssVarPrefix),se=ae.reference;return se},O=Ct(p)?p:{default:p};r=jt(r,Object.entries(O).reduce(function(R,I){var B,U,Q=I[0],ae=I[1],se=T(ae);if(Q==="default")return R[y]=se,R;var Oe=(B=ko==null?void 0:ko[Q])!=null?B:Q;return R[Oe]=(U={},U[y]=se,U),R},{})),n[c]={value:v,var:y,varRef:v}},a=0,o=Object.entries(e);a<o.length;a++)var l=i();return{cssVars:r,cssMap:n}}function Dk(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var $k=["__cssMap","__cssVars","__breakpoints"],Bk=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Vk(e){var t=Bk;return lC(e,t)}function Nk(e){return e.semanticTokens}function zk(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=Dk(e,$k);return t}function jk(e){var t,r,n=e.tokens,i=e.semanticTokens,a=Object.entries((t=gf(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),o=Object.entries((r=gf(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return fs([].concat(a,o))}function Hk(e){var t,r=zk(e),n=Vk(r),i=Nk(r),a=jk({tokens:n,semanticTokens:i}),o=(t=r.config)==null?void 0:t.cssVarPrefix,l=Lk(a,{cssVarPrefix:o}),s=l.cssMap,u=l.cssVars,c={"--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"};return Object.assign(r,{__cssVars:Co({},c,u),__cssMap:s,__breakpoints:pC(r.breakpoints)}),r}var Wk=typeof Element!="undefined",Uk=typeof Map=="function",Gk=typeof Set=="function",Yk=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function is(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!is(e[n],t[n]))return!1;return!0}var a;if(Uk&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!is(n.value[1],t.get(n.value[0])))return!1;return!0}if(Gk&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Yk&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(Wk&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!is(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var Sb=function(t,r){try{return is(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},qk=/^((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)-.*))$/,Kk=Jd(function(e){return qk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Xk=!0;function Qk(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var xb=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||Xk===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Zk=function(t,r,n){xb(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}},Jk=/[A-Z]|^ms/g,e_=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wb=function(t){return t.charCodeAt(1)===45},qm=function(t){return t!=null&&typeof t!="boolean"},Oc=Jd(function(e){return wb(e)?e:e.replace(Jk,"-$&").toLowerCase()}),Km=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(e_,function(n,i,a){return pr={name:i,styles:a,next:pr},i})}return my[t]!==1&&!wb(t)&&typeof r=="number"&&r!==0?r+"px":r};function _o(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return pr={name:r.name,styles:r.styles,next:pr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)pr={name:n.name,styles:n.styles,next:pr},n=n.next;var i=r.styles+";";return i}return t_(e,t,r)}case"function":{if(e!==void 0){var a=pr,o=r(e);return pr=a,_o(e,t,o)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function t_(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=_o(e,t,r[i])+";";else for(var a in r){var o=r[a];if(typeof o!="object")t!=null&&t[o]!==void 0?n+=a+"{"+t[o]+"}":qm(o)&&(n+=Oc(a)+":"+Km(a,o)+";");else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)qm(o[l])&&(n+=Oc(a)+":"+Km(a,o[l])+";");else{var s=_o(e,t,o);switch(a){case"animation":case"animationName":{n+=Oc(a)+":"+s+";";break}default:n+=a+"{"+s+"}"}}}return n}var Xm=/label:\s*([^\s;\n{]+)\s*(;|$)/g,pr,r_=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,a="";pr=void 0;var o=t[0];o==null||o.raw===void 0?(i=!1,a+=_o(n,r,o)):a+=o[0];for(var l=1;l<t.length;l++)a+=_o(n,r,t[l]),i&&(a+=o[l]);Xm.lastIndex=0;for(var s="",u;(u=Xm.exec(a))!==null;)s+="-"+u[1];var c=vy(a)+s;return{name:c,styles:a,next:pr}},n_=Kk,i_=function(t){return t!=="theme"},Qm=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?n_:i_},Zm=function(t,r,n){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},a_=Hi["useInsertionEffect"]?Hi["useInsertionEffect"]:function(t){t()};function o_(e){a_(e)}var l_=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return xb(r,n,i),o_(function(){return Zk(r,n,i)}),null},s_=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,a,o;r!==void 0&&(a=r.label,o=r.target);var l=Zm(t,r,n),s=l||Qm(i),u=!s("as");return function(){var c=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push("label:"+a+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;p<f;p++)d.push(c[p],c[0][p])}var g=Sy(function(y,v,h){var m=u&&y.as||i,b="",x=[],P=y;if(y.theme==null){P={};for(var k in y)P[k]=y[k];P.theme=w.exports.useContext(lo)}typeof y.className=="string"?b=Qk(v.registered,x,y.className):y.className!=null&&(b=y.className+" ");var T=r_(d.concat(x),v.registered,P);b+=v.key+"-"+T.name,o!==void 0&&(b+=" "+o);var O=u&&l===void 0?Qm(m):s,R={};for(var I in y)u&&I==="as"||O(I)&&(R[I]=y[I]);return R.className=b,R.ref=h,w.exports.createElement(w.exports.Fragment,null,w.exports.createElement(l_,{cache:v,serialized:T,isStringTag:typeof m=="string"}),w.exports.createElement(m,R))});return g.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(y,v){return e(y,cs({},r,v,{shouldForwardProp:Zm(g,v,!0)})).apply(void 0,d)},g}},u_=["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"],sd=s_.bind();u_.forEach(function(e){sd[e]=sd(e)});function ud(){return ud=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ud.apply(this,arguments)}var c_=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,a=w.exports.useMemo(function(){return Hk(n)},[n]);return w.exports.createElement(eC,{theme:a},w.exports.createElement(f_,{root:r}),i)},f_=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return w.exports.createElement(np,{styles:function(o){var l;return l={},l[i]=o.__cssVars,l}})};function d_(){var e=w.exports.useContext(lo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Eb=ta({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),p_=Eb[0],ih=Eb[1],h_=function(){var t=rh(),r=t.colorMode;return w.exports.createElement(np,{styles:function(i){var a=mu(i,"styles.global"),o=hr(a,{theme:i,colorMode:r});if(!!o){var l=gb(o)(i);return l}}})};function Cn(e){return op(e,["styleConfig","size","variant","colorScheme"])}function v_(){var e=rh(),t=d_();return ud({},e,{theme:t})}function ah(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var m_=new Set([].concat(Ek,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),g_=new Set(["htmlWidth","htmlHeight","htmlSize"]),y_=function(t){return g_.has(t)||!m_.has(t)},b_=["theme","css","__css","sx"],S_=["baseStyle"],x_=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,a=n.__css,o=n.sx,l=ah(n,b_),s=Cy(l,function(f,p){return Tk(p)}),u=hr(r,n),c=Object.assign({},a,u,lp(s),o),d=gb(c)(n.theme);return i?[d,i]:d}};function Mc(e,t){var r=t!=null?t:{},n=r.baseStyle,i=ah(r,S_);i.shouldForwardProp||(i.shouldForwardProp=y_);var a=x_({baseStyle:n});return sd(e,i)(a)}function Ve(e){return w.exports.forwardRef(e)}var w_=["styleConfig"];function Tn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,a=i.styleConfig,o=ah(i,w_),l=v_(),s=l.theme,u=l.colorMode,c=mu(s,"components."+e),d=a||c,f=jt({theme:s,colorMode:u},(n=d==null?void 0:d.defaultProps)!=null?n:{},lp(op(o,["children"]))),p=w.exports.useRef({});if(d){var g,y,v,h,m,b,x=hr((g=d.baseStyle)!=null?g:{},f),P=hr((y=(v=d.variants)==null?void 0:v[f.variant])!=null?y:{},f),k=hr((h=(m=d.sizes)==null?void 0:m[f.size])!=null?h:{},f),T=jt({},x,k,P);(b=r)!=null&&b.isMultiPart&&d.parts&&d.parts.forEach(function(R){var I;T[R]=(I=T[R])!=null?I:{}});var O=Sb(p.current,T);O||(p.current=T)}return p.current}function Cb(e,t){return Tn(e,t,{isMultiPart:!0})}function E_(){var e=new Map;return new Proxy(Mc,{apply:function(r,n,i){return Mc.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,Mc(n)),e.get(n)}})}var xe=E_(),C_=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,a=t.resetCSS,o=a===void 0?!0:a,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,d=w.exports.createElement(L2,{environment:u},r);return w.exports.createElement(EC,null,w.exports.createElement(c_,{theme:s,cssVarsRoot:c},w.exports.createElement(H2,{colorModeManager:n,options:s.config},o&&w.exports.createElement(nC,null),w.exports.createElement(h_,null),i?w.exports.createElement(T2,{zIndex:i},d):d)))},Tb={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 Be(){return Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Be.apply(this,arguments)}var T_={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"},k_={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},kb=Be({},Tb,T_,{container:k_});function Je(e,t){__(e)&&(e="100%");var r=P_(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function kl(e){return Math.min(1,Math.max(0,e))}function __(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function P_(e){return typeof e=="string"&&e.indexOf("%")!==-1}function _b(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function _l(e){return e<=1?Number(e)*100+"%":e}function zn(e){return e.length===1?"0"+e:String(e)}function A_(e,t,r){return{r:Je(e,255)*255,g:Je(t,255)*255,b:Je(r,255)*255}}function Jm(e,t,r){e=Je(e,255),t=Je(t,255),r=Je(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=0,l=(n+i)/2;if(n===i)o=0,a=0;else{var s=n-i;switch(o=l>.5?s/(2-n-i):s/(n+i),n){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4;break}a/=6}return{h:a,s:o,l}}function Ic(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function R_(e,t,r){var n,i,a;if(e=Je(e,360),t=Je(t,100),r=Je(r,100),t===0)i=r,a=r,n=r;else{var o=r<.5?r*(1+t):r+t-r*t,l=2*r-o;n=Ic(l,o,e+1/3),i=Ic(l,o,e),a=Ic(l,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function e0(e,t,r){e=Je(e,255),t=Je(t,255),r=Je(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=n,l=n-i,s=n===0?0:l/n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4;break}a/=6}return{h:a,s,v:o}}function O_(e,t,r){e=Je(e,360)*6,t=Je(t,100),r=Je(r,100);var n=Math.floor(e),i=e-n,a=r*(1-t),o=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,o,a,a,l,r][s],c=[l,r,r,o,a,a][s],d=[a,a,l,r,r,o][s];return{r:u*255,g:c*255,b:d*255}}function t0(e,t,r,n){var i=[zn(Math.round(e).toString(16)),zn(Math.round(t).toString(16)),zn(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function M_(e,t,r,n,i){var a=[zn(Math.round(e).toString(16)),zn(Math.round(t).toString(16)),zn(Math.round(r).toString(16)),zn(I_(n))];return i&&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("")}function I_(e){return Math.round(parseFloat(e)*255).toString(16)}function r0(e){return Rt(e)/255}function Rt(e){return parseInt(e,16)}function F_(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var cd={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 L_(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,l=!1;return typeof e=="string"&&(e=B_(e)),typeof e=="object"&&(Ar(e.r)&&Ar(e.g)&&Ar(e.b)?(t=A_(e.r,e.g,e.b),o=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ar(e.h)&&Ar(e.s)&&Ar(e.v)?(n=_l(e.s),i=_l(e.v),t=O_(e.h,n,i),o=!0,l="hsv"):Ar(e.h)&&Ar(e.s)&&Ar(e.l)&&(n=_l(e.s),a=_l(e.l),t=R_(e.h,n,a),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=_b(r),{ok:o,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var D_="[-\\+]?\\d+%?",$_="[-\\+]?\\d*\\.\\d+%?",nn="(?:"+$_+")|(?:"+D_+")",Fc="[\\s|\\(]+("+nn+")[,|\\s]+("+nn+")[,|\\s]+("+nn+")\\s*\\)?",Lc="[\\s|\\(]+("+nn+")[,|\\s]+("+nn+")[,|\\s]+("+nn+")[,|\\s]+("+nn+")\\s*\\)?",er={CSS_UNIT:new RegExp(nn),rgb:new RegExp("rgb"+Fc),rgba:new RegExp("rgba"+Lc),hsl:new RegExp("hsl"+Fc),hsla:new RegExp("hsla"+Lc),hsv:new RegExp("hsv"+Fc),hsva:new RegExp("hsva"+Lc),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 B_(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(cd[e])e=cd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=er.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=er.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=er.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=er.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=er.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=er.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=er.hex8.exec(e),r?{r:Rt(r[1]),g:Rt(r[2]),b:Rt(r[3]),a:r0(r[4]),format:t?"name":"hex8"}:(r=er.hex6.exec(e),r?{r:Rt(r[1]),g:Rt(r[2]),b:Rt(r[3]),format:t?"name":"hex"}:(r=er.hex4.exec(e),r?{r:Rt(r[1]+r[1]),g:Rt(r[2]+r[2]),b:Rt(r[3]+r[3]),a:r0(r[4]+r[4]),format:t?"name":"hex8"}:(r=er.hex3.exec(e),r?{r:Rt(r[1]+r[1]),g:Rt(r[2]+r[2]),b:Rt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Ar(e){return Boolean(er.CSS_UNIT.exec(String(e)))}var Uo=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=F_(t)),this.originalInput=t;var i=L_(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,a=t.r/255,o=t.g/255,l=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=_b(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=e0(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=e0(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv("+r+", "+n+"%, "+i+"%)":"hsva("+r+", "+n+"%, "+i+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=Jm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Jm(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl("+r+", "+n+"%, "+i+"%)":"hsla("+r+", "+n+"%, "+i+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),t0(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),M_(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb("+t+", "+r+", "+n+")":"rgba("+t+", "+r+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(r){return Math.round(Je(r,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Je(r,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+t0(this.r,this.g,this.b,!1),r=0,n=Object.entries(cd);r<n.length;r++){var i=n[r],a=i[0],o=i[1];if(t===o)return a}return!1},e.prototype.toString=function(t){var r=Boolean(t);t=t!=null?t:this.format;var n=!1,i=this.a<1&&this.a>=0,a=!r&&i&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=kl(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=kl(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=kl(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=kl(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),a=r/100,o={r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a};return new e(o)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,a=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,a=r.v,o=[],l=1/t;t--;)o.push(new e({h:n,s:i,v:a})),a=(a+l)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],a=360/t,o=1;o<t;o++)i.push(new e({h:(n+o*a)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Pb(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Pb(e));return e.count=t,r}var n=V_(e.hue,e.seed),i=N_(n,e),a=z_(n,i,e),o={h:n,s:i,v:a};return e.alpha!==void 0&&(o.a=e.alpha),new Uo(o)}function V_(e,t){var r=H_(e),n=$s(r,t);return n<0&&(n=360+n),n}function N_(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return $s([0,100],t.seed);var r=Ab(e).saturationRange,n=r[0],i=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=i-10;break;case"light":i=55;break}return $s([n,i],t.seed)}function z_(e,t,r){var n=j_(e,t),i=100;switch(r.luminosity){case"dark":i=n+20;break;case"light":n=(i+n)/2;break;case"random":n=0,i=100;break}return $s([n,i],r.seed)}function j_(e,t){for(var r=Ab(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],a=r[n][1],o=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=o){var s=(l-a)/(o-i),u=a-s*i;return s*t+u}}return 0}function H_(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Ob.find(function(o){return o.name===e});if(r){var n=Rb(r);if(n.hueRange)return n.hueRange}var i=new Uo(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}function Ab(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Ob;t<r.length;t++){var n=r[t],i=Rb(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function $s(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(n+i*(r-n))}function Rb(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,i]}}var Ob=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],je=function(t,r,n){var i=mu(t,"colors."+r,r),a=new Uo(i),o=a.isValid;return o?i:n},W_=function(t){return function(r){var n=je(r,t),i=new Uo(n).isDark();return i?"dark":"light"}},U_=function(t){return function(r){return W_(t)(r)==="dark"}},Ki=function(t,r){return function(n){var i=je(n,t);return new Uo(i).setAlpha(r).toRgbString()}};function n0(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
    45deg,
    `+t+` 25%,
    transparent 25%,
    transparent 50%,
    `+t+` 50%,
    `+t+` 75%,
    transparent 75%,
    transparent
  )`,backgroundSize:e+" "+e}}function G_(e){var t=Pb().toHexString();return!e||aC(e)?t:e.string&&e.colors?q_(e.string,e.colors):e.string&&!e.colors?Y_(e.string):e.colors&&!e.string?K_(e.colors):t}function Y_(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;for(var n="#",i=0;i<3;i+=1){var a=t>>i*8&255;n+=("00"+a.toString(16)).substr(-2)}return n}function q_(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;return r=(r%t.length+t.length)%t.length,t[r]}function K_(e){return e[Math.floor(Math.random()*e.length)]}function L(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Go(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function fd(){return fd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fd.apply(this,arguments)}var X_=function(t){return mC({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),fd({base:"0em"},t)};function i0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q_(e,t,r){return t&&i0(e.prototype,t),r&&i0(e,r),e}var Z_=function(){function e(t){var r=this;this.map={},this.called=!1,this.assert=function(){if(!r.called){r.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")},this.parts=function(){r.assert();for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var o=0,l=i;o<l.length;o++){var s=l[o];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var o=0,l=i;o<l.length;o++){var s=l[o];s in r.map||(r.map[s]=r.toPart(s))}return r},this.toPart=function(n){var i=["container","root"].includes(n!=null?n:"")?[r.name]:[r.name,n],a=i.filter(Boolean).join("__"),o="chakra-"+a,l={className:o,selector:"."+o,toString:function(){return n}};return l},this.__type={}}return Q_(e,[{key:"selectors",get:function(){var r=fs(Object.entries(this.map).map(function(n){var i=n[0],a=n[1];return[i,a.selector]}));return r}},{key:"classNames",get:function(){var r=fs(Object.entries(this.map).map(function(n){var i=n[0],a=n[1];return[i,a.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function ye(e){return new Z_(e)}function Mb(e){return Ct(e)&&e.reference?e.reference:String(e)}var Iu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(Mb).join(" "+t+" ").replace(/calc/g,"")},a0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Iu.apply(void 0,["+"].concat(r))+")"},o0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Iu.apply(void 0,["-"].concat(r))+")"},dd=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Iu.apply(void 0,["*"].concat(r))+")"},l0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Iu.apply(void 0,["/"].concat(r))+")"},s0=function(t){var r=Mb(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:dd(r,-1)},Lr=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(a0.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(o0.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(dd.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(l0.apply(void 0,[e].concat(n)))},negate:function(){return Lr(s0(e))},toString:function(){return e.toString()}}},{add:a0,subtract:o0,multiply:dd,divide:l0,negate:s0});function J_(e){return!Number.isInteger(parseFloat(e.toString()))}function eP(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Ib(e){var t=eP(e.toString());return t.includes("\\.")?e:J_(e)?t.replace(".","\\."):e}function tP(e,t){return t===void 0&&(t=""),[t,Ib(e)].filter(Boolean).join("-")}function rP(e,t){return"var("+Ib(e)+(t?", "+t:"")+")"}function nP(e,t){return t===void 0&&(t=""),"--"+tP(e,t)}function Lt(e,t){var r=nP(e,t==null?void 0:t.prefix);return{variable:r,reference:rP(r,iP(t==null?void 0:t.fallback))}}function iP(e){return typeof e=="string"?e:e==null?void 0:e.reference}var aP=ye("accordion").parts("root","container","button","panel").extend("icon"),oP=ye("alert").parts("title","description","container").extend("icon"),lP=ye("avatar").parts("label","badge","container").extend("excessLabel","group"),sP=ye("breadcrumb").parts("link","item","container").extend("separator");ye("button").parts();var uP=ye("checkbox").parts("control","icon","container").extend("label");ye("progress").parts("track","filledTrack").extend("label");var cP=ye("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),fP=ye("editable").parts("preview","input","textarea"),dP=ye("form").parts("container","requiredIndicator","helperText"),pP=ye("formError").parts("text","icon"),hP=ye("input").parts("addon","field","element"),vP=ye("list").parts("container","item","icon"),mP=ye("menu").parts("button","list","item").extend("groupTitle","command","divider"),gP=ye("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),yP=ye("numberinput").parts("root","field","stepperGroup","stepper");ye("pininput").parts("field");var bP=ye("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),SP=ye("progress").parts("label","filledTrack","track"),xP=ye("radio").parts("container","control","label"),wP=ye("select").parts("field","icon"),EP=ye("slider").parts("container","track","thumb","filledTrack"),CP=ye("stat").parts("container","label","helpText","number","icon"),TP=ye("switch").parts("container","track","thumb"),kP=ye("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),_P=ye("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),PP=ye("tag").parts("container","label","closeButton"),Fb={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"}},AP={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},RP={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},OP={pt:2,px:4,pb:5},MP={fontSize:"1.25em"},IP={root:{},container:AP,button:RP,panel:OP,icon:MP},FP={parts:aP.keys,baseStyle:IP},LP={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function oh(e){var t=e.theme,r=e.colorScheme,n=je(t,r+".100",r),i=Ki(r+".200",.16)(t);return L(n,i)(e)}var DP=function(t){var r=t.colorScheme;return{container:{bg:oh(t)},icon:{color:L(r+".500",r+".200")(t)}}},$P=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:L(r+".500",r+".200")(t),bg:oh(t)},icon:{color:L(r+".500",r+".200")(t)}}},BP=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:L(r+".500",r+".200")(t),bg:oh(t)},icon:{color:L(r+".500",r+".200")(t)}}},VP=function(t){var r=t.colorScheme;return{container:{bg:L(r+".500",r+".200")(t),color:L("white","gray.900")(t)}}},NP={subtle:DP,"left-accent":$P,"top-accent":BP,solid:VP},zP={variant:"subtle",colorScheme:"blue"},jP={parts:oP.keys,baseStyle:LP,variants:NP,defaultProps:zP},HP=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:L("white","gray.800")(t)}},WP=function(t){return{bg:L("gray.200","whiteAlpha.400")(t)}},UP=function(t){var r=t.name,n=t.theme,i=r?G_({string:r}):"gray.400",a=U_(i)(n),o="white";a||(o="gray.800");var l=L("white","gray.800")(t);return{bg:i,color:o,borderColor:l,verticalAlign:"top"}},GP=function(t){return{badge:HP(t),excessLabel:WP(t),container:UP(t)}};function Yr(e){var t=kb[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var YP={"2xs":Yr("4"),xs:Yr("6"),sm:Yr("8"),md:Yr("12"),lg:Yr("16"),xl:Yr("24"),"2xl":Yr("32"),full:Yr("100%")},qP={size:"md"},KP={parts:lP.keys,baseStyle:GP,sizes:YP,defaultProps:qP},XP={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},QP=function(t){var r=t.colorScheme,n=t.theme,i=Ki(r+".500",.6)(n);return{bg:L(r+".500",i)(t),color:L("white","whiteAlpha.800")(t)}},ZP=function(t){var r=t.colorScheme,n=t.theme,i=Ki(r+".200",.16)(n);return{bg:L(r+".100",i)(t),color:L(r+".800",r+".200")(t)}},JP=function(t){var r=t.colorScheme,n=t.theme,i=Ki(r+".200",.8)(n),a=je(n,r+".500"),o=L(a,i)(t);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}},e5={solid:QP,subtle:ZP,outline:JP},t5={variant:"subtle",colorScheme:"gray"},Vi={baseStyle:XP,variants:e5,defaultProps:t5},r5={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},n5={link:r5},i5={parts:sP.keys,baseStyle:n5},a5={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"}}},Lb=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:L("inherit","whiteAlpha.900")(t),_hover:{bg:L("gray.100","whiteAlpha.200")(t)},_active:{bg:L("gray.200","whiteAlpha.300")(t)}};var i=Ki(r+".200",.12)(n),a=Ki(r+".200",.24)(n);return{color:L(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:L(r+".50",i)(t)},_active:{bg:L(r+".100",a)(t)}}},o5=function(t){var r=t.colorScheme,n=L("gray.200","whiteAlpha.300")(t);return Be({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},Lb(t))},l5={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},s5=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=L("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:L("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:L("gray.300","whiteAlpha.400")(t)}}}var a=(r=l5[n])!=null?r:{},o=a.bg,l=o===void 0?n+".500":o,s=a.color,u=s===void 0?"white":s,c=a.hoverBg,d=c===void 0?n+".600":c,f=a.activeBg,p=f===void 0?n+".700":f,g=L(l,n+".200")(t);return{bg:g,color:L(u,"gray.800")(t),_hover:{bg:L(d,n+".300")(t),_disabled:{bg:g}},_active:{bg:L(p,n+".400")(t)}}},u5=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:L(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:L(r+".700",r+".500")(t)}}},c5={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},f5={ghost:Lb,outline:o5,solid:s5,link:u5,unstyled:c5},d5={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}},p5={variant:"solid",size:"md",colorScheme:"gray"},h5={baseStyle:a5,variants:f5,sizes:d5,defaultProps:p5},v5=function(t){var r=t.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:L(r+".500",r+".200")(t),borderColor:L(r+".500",r+".200")(t),color:L("white","gray.900")(t),_hover:{bg:L(r+".600",r+".300")(t),borderColor:L(r+".600",r+".300")(t)},_disabled:{borderColor:L("gray.200","transparent")(t),bg:L("gray.200","whiteAlpha.300")(t),color:L("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:L(r+".500",r+".200")(t),borderColor:L(r+".500",r+".200")(t),color:L("white","gray.900")(t)},_disabled:{bg:L("gray.100","whiteAlpha.100")(t),borderColor:L("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:L("red.500","red.300")(t)}}},m5={_disabled:{cursor:"not-allowed"}},g5={userSelect:"none",_disabled:{opacity:.4}},y5={transitionProperty:"transform",transitionDuration:"normal"},b5=function(t){return{icon:y5,container:m5,control:v5(t),label:g5}},S5={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"}}},x5={size:"md",colorScheme:"blue"},Bs={parts:uP.keys,baseStyle:b5,sizes:S5,defaultProps:x5},Pl,Al,Rl,Ka=Lt("close-button-size"),w5=function(t){var r=L("blackAlpha.100","whiteAlpha.100")(t),n=L("blackAlpha.200","whiteAlpha.200")(t);return{w:[Ka.reference],h:[Ka.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},E5={lg:(Pl={},Pl[Ka.variable]="40px",Pl.fontSize="16px",Pl),md:(Al={},Al[Ka.variable]="32px",Al.fontSize="12px",Al),sm:(Rl={},Rl[Ka.variable]="24px",Rl.fontSize="10px",Rl)},C5={size:"md"},T5={baseStyle:w5,sizes:E5,defaultProps:C5},k5=Vi.variants,_5=Vi.defaultProps,P5={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},A5={baseStyle:P5,variants:k5,defaultProps:_5},R5={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},O5={baseStyle:R5},M5={opacity:.6,borderColor:"inherit"},I5={borderStyle:"solid"},F5={borderStyle:"dashed"},L5={solid:I5,dashed:F5},D5={variant:"solid"},$5={baseStyle:M5,variants:L5,defaultProps:D5};function ci(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var B5={bg:"blackAlpha.600",zIndex:"overlay"},V5={display:"flex",zIndex:"modal",justifyContent:"center"},N5=function(t){var r=t.isFullHeight;return Be({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:L("white","gray.700")(t),color:"inherit",boxShadow:L("lg","dark-lg")(t)})},z5={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},j5={position:"absolute",top:2,insetEnd:3},H5={px:6,py:2,flex:1,overflow:"auto"},W5={px:6,py:4},U5=function(t){return{overlay:B5,dialogContainer:V5,dialog:N5(t),header:z5,closeButton:j5,body:H5,footer:W5}},G5={xs:ci("xs"),sm:ci("md"),md:ci("lg"),lg:ci("2xl"),xl:ci("4xl"),full:ci("full")},Y5={size:"xs"},q5={parts:cP.keys,baseStyle:U5,sizes:G5,defaultProps:Y5},K5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},X5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},Q5={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},Z5={preview:K5,input:X5,textarea:Q5},J5={parts:fP.keys,baseStyle:Z5},eA=function(t){return{marginStart:1,color:L("red.500","red.300")(t)}},tA=function(t){return{mt:2,color:L("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},rA=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:eA(t),helperText:tA(t)}},nA={parts:dP.keys,baseStyle:rA},iA=function(t){return{color:L("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},aA=function(t){return{marginEnd:"0.5em",color:L("red.500","red.300")(t)}},oA=function(t){return{text:iA(t),icon:aA(t)}},lA={parts:pP.keys,baseStyle:oA},sA={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},uA={baseStyle:sA},cA={fontFamily:"heading",fontWeight:"bold"},fA={"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}},dA={size:"xl"},pA={baseStyle:cA,sizes:fA,defaultProps:dA},hA={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},qr={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"}},vA={lg:{field:qr.lg,addon:qr.lg},md:{field:qr.md,addon:qr.md},sm:{field:qr.sm,addon:qr.sm},xs:{field:qr.xs,addon:qr.xs}};function lh(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||L("blue.500","blue.300")(e),errorBorderColor:r||L("red.500","red.300")(e)}}var mA=function(t){var r=t.theme,n=lh(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:L("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,a),boxShadow:"0 0 0 1px "+je(r,a)},_focus:{zIndex:1,borderColor:je(r,i),boxShadow:"0 0 0 1px "+je(r,i)}},addon:{border:"1px solid",borderColor:L("inherit","whiteAlpha.50")(t),bg:L("gray.100","whiteAlpha.300")(t)}}},gA=function(t){var r=t.theme,n=lh(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:L("gray.100","whiteAlpha.50")(t),_hover:{bg:L("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,a)},_focus:{bg:"transparent",borderColor:je(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:L("gray.100","whiteAlpha.50")(t)}}},yA=function(t){var r=t.theme,n=lh(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:je(r,a),boxShadow:"0px 1px 0px 0px "+je(r,a)},_focus:{borderColor:je(r,i),boxShadow:"0px 1px 0px 0px "+je(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},bA={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},SA={outline:mA,filled:gA,flushed:yA,unstyled:bA},xA={size:"md",variant:"outline"},Ae={parts:hP.keys,baseStyle:hA,sizes:vA,variants:SA,defaultProps:xA},wA=function(t){return{bg:L("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},EA={baseStyle:wA},CA={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},TA={baseStyle:CA},kA={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},_A={container:{},item:{},icon:kA},PA={parts:vP.keys,baseStyle:_A},AA=function(t){return{bg:L("#fff","gray.700")(t),boxShadow:L("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},RA=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:L("gray.100","whiteAlpha.100")(t)},_active:{bg:L("gray.200","whiteAlpha.200")(t)},_expanded:{bg:L("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},OA={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},MA={opacity:.6},IA={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},FA={transitionProperty:"common",transitionDuration:"normal"},LA=function(t){return{button:FA,list:AA(t),item:RA(t),groupTitle:OA,command:MA,divider:IA}},DA={parts:mP.keys,baseStyle:LA},$A={bg:"blackAlpha.600",zIndex:"modal"},BA=function(t){var r=t.isCentered,n=t.scrollBehavior;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},VA=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:L("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:L("lg","dark-lg")(t)}},NA={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},zA={position:"absolute",top:2,insetEnd:3},jA=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},HA={px:6,py:4},WA=function(t){return{overlay:$A,dialogContainer:BA(t),dialog:VA(t),header:NA,closeButton:zA,body:jA(t),footer:HA}};function Jt(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var UA={xs:Jt("xs"),sm:Jt("sm"),md:Jt("md"),lg:Jt("lg"),xl:Jt("xl"),"2xl":Jt("2xl"),"3xl":Jt("3xl"),"4xl":Jt("4xl"),"5xl":Jt("5xl"),"6xl":Jt("6xl"),full:Jt("full")},GA={size:"md"},YA={parts:gP.keys,baseStyle:WA,sizes:UA,defaultProps:GA},Ol,u0,c0,qA=Ae.variants,KA=Ae.defaultProps,sh=Lt("number-input-stepper-width"),Db=Lt("number-input-input-padding"),XA=Lr(sh).add("0.5rem").toString(),QA=(Ol={},Ol[sh.variable]="24px",Ol[Db.variable]=XA,Ol),ZA=(u0=(c0=Ae.baseStyle)==null?void 0:c0.field)!=null?u0:{},JA={width:[sh.reference]},e3=function(t){return{borderStart:"1px solid",borderStartColor:L("inherit","whiteAlpha.300")(t),color:L("inherit","whiteAlpha.800")(t),_active:{bg:L("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},t3=function(t){return{root:QA,field:ZA,stepperGroup:JA,stepper:e3(t)}};function Ml(e){var t,r,n=Ae.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",o=Fb.fontSizes[a.toString()];return{field:Be({},n.field,{paddingInlineEnd:Db.reference,verticalAlign:"top"}),stepper:{fontSize:Lr(o).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var r3={xs:Ml("xs"),sm:Ml("sm"),md:Ml("md"),lg:Ml("lg")},n3={parts:yP.keys,baseStyle:t3,sizes:r3,variants:qA,defaultProps:KA},f0,i3=Be({},Ae.baseStyle.field,{textAlign:"center"}),a3={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"}},o3={outline:function(t){var r;return(r=Ae.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Ae.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Ae.variants.filled(t).field)!=null?r:{}},unstyled:(f0=Ae.variants.unstyled.field)!=null?f0:{}},l3=Ae.defaultProps,s3={baseStyle:i3,sizes:a3,variants:o3,defaultProps:l3},Dc=Lt("popper-bg"),u3=Lt("popper-arrow-bg"),c3=Lt("popper-arrow-shadow-color"),f3={zIndex:10},d3=function(t){var r,n=L("white","gray.700")(t),i=L("gray.200","whiteAlpha.300")(t);return r={},r[Dc.variable]="colors."+n,r.bg=Dc.reference,r[u3.variable]=Dc.reference,r[c3.variable]="colors."+i,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},p3={px:3,py:2,borderBottomWidth:"1px"},h3={px:3,py:2},v3={px:3,py:2,borderTopWidth:"1px"},m3={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},g3=function(t){return{popper:f3,content:d3(t),header:p3,body:h3,footer:v3,arrow:{},closeButton:m3}},y3={parts:bP.keys,baseStyle:g3};function b3(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,a=L(n0(),n0("1rem","rgba(0,0,0,0.1)"))(e),o=L(t+".500",t+".200")(e),l=`linear-gradient(
    to right,
    transparent 0%,
    `+je(r,o)+` 50%,
    transparent 100%
  )`,s=!n&&i;return Be({},s&&a,n?{bgImage:l}:{bgColor:o})}var S3={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},x3=function(t){return{bg:L("gray.100","whiteAlpha.300")(t)}},w3=function(t){return Be({transitionProperty:"common",transitionDuration:"slow"},b3(t))},E3=function(t){return{label:S3,filledTrack:w3(t),track:x3(t)}},C3={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},T3={size:"md",colorScheme:"blue"},k3={parts:SP.keys,sizes:C3,baseStyle:E3,defaultProps:T3},_3=function(t){var r=Bs.baseStyle(t),n=r.control,i=n===void 0?{}:n;return Be({},i,{borderRadius:"full",_checked:Be({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},P3=function(t){return{label:Bs.baseStyle(t).label,container:Bs.baseStyle(t).container,control:_3(t)}},A3={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"}}},R3={size:"md",colorScheme:"blue"},O3={parts:xP.keys,baseStyle:P3,sizes:A3,defaultProps:R3},M3=function(t){return Be({},Ae.baseStyle.field,{bg:L("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:L("white","gray.700")(t)}})},I3={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},F3=function(t){return{field:M3(t),icon:I3}},Il={paddingInlineEnd:"2rem"},L3=jt({},Ae.sizes,{lg:{field:Il},md:{field:Il},sm:{field:Il},xs:{field:Il,icon:{insetEnd:"0.25rem"}}}),D3={parts:wP.keys,baseStyle:F3,sizes:L3,variants:Ae.variants,defaultProps:Ae.defaultProps},$3=function(t,r){return xy({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},B3=function(t){var r=L("gray.100","gray.800")(t),n=L("gray.400","gray.600")(t),i=t.startColor,a=i===void 0?r:i,o=t.endColor,l=o===void 0?n:o,s=t.speed,u=t.theme,c=je(u,a),d=je(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:d,animation:s+"s linear infinite alternate "+$3(c,d)}},V3={baseStyle:B3},N3=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:L("white","gray.700")(t)}}},z3={baseStyle:N3};function j3(e){return Go({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)"}}})}var H3=function(t){var r=t.orientation;return Be({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Go({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},W3=function(t){return{overflow:"hidden",borderRadius:"sm",bg:L("gray.200","whiteAlpha.200")(t),_disabled:{bg:L("gray.300","whiteAlpha.300")(t)}}},U3=function(t){return Be({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"}},j3(t))},G3=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:L(r+".500",r+".200")(t)}},Y3=function(t){return{container:H3(t),track:W3(t),thumb:U3(t),filledTrack:G3(t)}},q3=function(t){return{thumb:{w:"16px",h:"16px"},track:Go({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},K3=function(t){return{thumb:{w:"14px",h:"14px"},track:Go({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},X3=function(t){return{thumb:{w:"10px",h:"10px"},track:Go({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},Q3={lg:q3,md:K3,sm:X3},Z3={size:"md",colorScheme:"blue"},J3={parts:EP.keys,sizes:Q3,baseStyle:Y3,defaultProps:Z3},$c,Bc,Vc,Nc,zc,Fn=Lt("spinner-size"),eR={width:[Fn.reference],height:[Fn.reference]},tR={xs:($c={},$c[Fn.variable]="0.75rem",$c),sm:(Bc={},Bc[Fn.variable]="1rem",Bc),md:(Vc={},Vc[Fn.variable]="1.5rem",Vc),lg:(Nc={},Nc[Fn.variable]="2rem",Nc),xl:(zc={},zc[Fn.variable]="3rem",zc)},rR={size:"md"},nR={baseStyle:eR,sizes:tR,defaultProps:rR},iR={fontWeight:"medium"},aR={opacity:.8,marginBottom:2},oR={verticalAlign:"baseline",fontWeight:"semibold"},lR={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},sR={container:{},label:iR,helpText:aR,number:oR,icon:lR},uR={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},cR={size:"md"},fR={parts:CP.keys,baseStyle:sR,sizes:uR,defaultProps:cR},Fl,Ll,Dl,Xa=Lt("switch-track-width"),Gn=Lt("switch-track-height"),jc=Lt("switch-track-diff"),dR=Lr.subtract(Xa,Gn),pd=Lt("switch-thumb-x"),pR=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Xa.reference],height:[Gn.reference],transitionProperty:"common",transitionDuration:"fast",bg:L("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:L(r+".500",r+".200")(t)}}},hR={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Gn.reference],height:[Gn.reference],_checked:{transform:"translateX("+pd.reference+")"}},vR=function(t){var r,n;return{container:(n={},n[jc.variable]=dR,n[pd.variable]=jc.reference,n._rtl=(r={},r[pd.variable]=Lr(jc).negate().toString(),r),n),track:pR(t),thumb:hR}},mR={sm:{container:(Fl={},Fl[Xa.variable]="1.375rem",Fl[Gn.variable]="0.75rem",Fl)},md:{container:(Ll={},Ll[Xa.variable]="1.875rem",Ll[Gn.variable]="1rem",Ll)},lg:{container:(Dl={},Dl[Xa.variable]="2.875rem",Dl[Gn.variable]="1.5rem",Dl)}},gR={size:"md",colorScheme:"blue"},yR={parts:TP.keys,baseStyle:vR,sizes:mR,defaultProps:gR},bR={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"}},Vs={"&[data-is-numeric=true]":{textAlign:"end"}},SR=function(t){var r=t.colorScheme;return{th:Be({color:L("gray.600","gray.400")(t),borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Vs),td:Be({borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Vs),caption:{color:L("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},xR=function(t){var r=t.colorScheme;return{th:Be({color:L("gray.600","gray.400")(t),borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Vs),td:Be({borderBottom:"1px",borderColor:L(r+".100",r+".700")(t)},Vs),caption:{color:L("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:L(r+".100",r+".700")(t)},td:{background:L(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},wR={simple:SR,striped:xR,unstyled:{}},ER={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"}}},CR={variant:"simple",size:"md",colorScheme:"gray"},TR={parts:kP.keys,baseStyle:bR,variants:wR,sizes:ER,defaultProps:CR},kR=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},_R=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},PR=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,a={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:a[n],flexDirection:i==="vertical"?"column":"row"}},AR={p:4},RR=function(t){return{root:kR(t),tab:_R(t),tablist:PR(t),tabpanel:AR}},OR={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},MR=function(t){var r,n,i=t.colorScheme,a=t.orientation,o=a==="vertical",l=a==="vertical"?"borderStart":"borderBottom",s=o?"marginStart":"marginBottom";return{tablist:(r={},r[l]="2px solid",r.borderColor="inherit",r),tab:(n={},n[l]="2px solid",n.borderColor="transparent",n[s]="-2px",n._selected={color:L(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:L("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},IR=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:L(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:L("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},FR=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:L("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:L("#fff","gray.800")(t),color:L(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},LR=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:je(n,r+".700"),bg:je(n,r+".100")}}}},DR=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:L("gray.600","inherit")(t),_selected:{color:L("#fff","gray.800")(t),bg:L(r+".600",r+".300")(t)}}}},$R={},BR={line:MR,enclosed:IR,"enclosed-colored":FR,"soft-rounded":LR,"solid-rounded":DR,unstyled:$R},VR={size:"md",variant:"line",colorScheme:"blue"},NR={parts:_P.keys,baseStyle:RR,sizes:OR,variants:BR,defaultProps:VR},zR={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},jR={lineHeight:1.2,overflow:"visible"},HR={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}},WR={container:zR,label:jR,closeButton:HR},UR={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}}},GR={subtle:function(t){return{container:Vi.variants.subtle(t)}},solid:function(t){return{container:Vi.variants.solid(t)}},outline:function(t){return{container:Vi.variants.outline(t)}}},YR={size:"md",variant:"subtle",colorScheme:"gray"},qR={parts:PP.keys,variants:GR,baseStyle:WR,sizes:UR,defaultProps:YR},d0,p0,h0,v0,m0,KR=Be({},Ae.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),XR={outline:function(t){var r;return(r=Ae.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Ae.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Ae.variants.filled(t).field)!=null?r:{}},unstyled:(d0=Ae.variants.unstyled.field)!=null?d0:{}},QR={xs:(p0=Ae.sizes.xs.field)!=null?p0:{},sm:(h0=Ae.sizes.sm.field)!=null?h0:{},md:(v0=Ae.sizes.md.field)!=null?v0:{},lg:(m0=Ae.sizes.lg.field)!=null?m0:{}},ZR={size:"md",variant:"outline"},JR={baseStyle:KR,sizes:QR,variants:XR,defaultProps:ZR},Hc=Lt("tooltip-bg"),e4=Lt("popper-arrow-bg"),t4=function(t){var r,n=L("gray.700","gray.300")(t);return r={},r[Hc.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[Hc.reference],r[e4.variable]=[Hc.reference],r.color=L("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},r4={baseStyle:t4},n4=Object.freeze({__proto__:null,Accordion:FP,Alert:jP,Avatar:KP,Badge:Vi,Breadcrumb:i5,Button:h5,Checkbox:Bs,CloseButton:T5,Code:A5,Container:O5,Divider:$5,Drawer:q5,Editable:J5,Form:nA,FormError:lA,FormLabel:uA,Heading:pA,Input:Ae,Kbd:EA,Link:TA,List:PA,Menu:DA,Modal:YA,NumberInput:n3,PinInput:s3,Popover:y3,Progress:k3,Radio:O3,Select:D3,Skeleton:V3,SkipLink:z3,Slider:J3,Spinner:nR,Stat:fR,Switch:yR,Table:TR,Tabs:NR,Tag:qR,Textarea:JR,Tooltip:r4}),i4={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},a4=X_({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),o4={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"}},l4={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},s4={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"},u4={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"},c4={"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)"},f4={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},d4={property:u4,easing:c4,duration:f4},p4={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},h4={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},v4=Be({breakpoints:a4,zIndices:p4,radii:l4,blur:h4,colors:o4},Fb,{sizes:kb,shadows:s4,space:Tb,borders:i4,transition:d4}),m4={global:function(t){return{body:{fontFamily:"body",color:L("gray.800","whiteAlpha.900")(t),bg:L("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:L("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:L("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},g4=m4,y4=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function b4(e){return Ct(e)?y4.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var S4="ltr",x4={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},$b=Be({direction:S4},v4,{components:n4,styles:g4,config:x4});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var hd=function(e,t){return hd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},hd(e,t)};function Bb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hd(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var V=function(){return V=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},V.apply(this,arguments)};function qt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function He(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(l){o={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function wr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||t)}var Rr=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Po={measureLayout:Rr(["layout","layoutId","drag"]),animation:Rr(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Rr(["exit"]),drag:Rr(["drag","dragControls"]),focus:Rr(["whileFocus"]),hover:Rr(["whileHover","onHoverStart","onHoverEnd"]),tap:Rr(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Rr(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Rr(["whileInView","onViewportEnter","onViewportLeave"])};function w4(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Po.projectionNodeConstructor=e[t]:Po[t].Component=e[t])}var E4=function(){},Ns=function(){},Vb=w.exports.createContext({strict:!1}),Nb=Object.keys(Po),C4=Nb.length;function T4(e,t,r){var n=[];if(w.exports.useContext(Vb),!t)return null;for(var i=0;i<C4;i++){var a=Nb[i],o=Po[a],l=o.isEnabled,s=o.Component;l(e)&&s&&n.push(w.exports.createElement(s,V({key:a},e,{visualElement:t})))}return n}var uh=w.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Fu=w.exports.createContext({});function k4(){return w.exports.useContext(Fu).visualElement}var Lu=w.exports.createContext(null),la=typeof document!="undefined",g0=la?w.exports.useLayoutEffect:w.exports.useEffect,vd={current:null},zb=!1;function _4(){if(zb=!0,!!la)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return vd.current=e.matches};e.addListener(t),t()}else vd.current=!1}function P4(){!zb&&_4();var e=He(w.exports.useState(vd.current),1),t=e[0];return t}function A4(){var e=P4(),t=w.exports.useContext(uh).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function R4(e,t,r,n){var i=w.exports.useContext(Vb),a=k4(),o=w.exports.useContext(Lu),l=A4(),s=w.exports.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:a,props:r,presenceId:o==null?void 0:o.id,blockInitialAnimation:(o==null?void 0:o.initial)===!1,shouldReduceMotion:l}));var u=s.current;return g0(function(){u==null||u.syncRender()}),w.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),g0(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function wi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function O4(e,t,r){return w.exports.useCallback(function(n){var i;n&&((i=e.mount)===null||i===void 0||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):wi(r)&&(r.current=n))},[t])}function jb(e){return Array.isArray(e)}function rr(e){return typeof e=="string"||jb(e)}function M4(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function I4(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function Hb(e,t,r,n,i){var a;return n===void 0&&(n={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),typeof t=="string"&&(t=(a=e.variants)===null||a===void 0?void 0:a[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Du(e,t,r){var n=e.getProps();return Hb(n,t,r!=null?r:n.custom,M4(e),I4(e))}function $u(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||rr(e.initial)||rr(e.animate)||rr(e.whileHover)||rr(e.whileDrag)||rr(e.whileTap)||rr(e.whileFocus)||rr(e.exit)}function Wb(e){return Boolean($u(e)||e.variants)}function F4(e,t){if($u(e)){var r=e.initial,n=e.animate;return{initial:r===!1||rr(r)?r:void 0,animate:rr(n)?n:void 0}}return e.inherit!==!1?t:{}}function L4(e){var t=F4(e,w.exports.useContext(Fu)),r=t.initial,n=t.animate;return w.exports.useMemo(function(){return{initial:r,animate:n}},[y0(r),y0(n)])}function y0(e){return Array.isArray(e)?e.join(" "):e}function Bu(e){var t=w.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ub=1/60*1e3,D4=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Gb=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(D4()),Ub);function $4(e){let t=[],r=[],n=0,i=!1,a=!1;const o=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const d=c&&i,f=d?t:r;return u&&o.add(s),f.indexOf(s)===-1&&(f.push(s),d&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),o.delete(s)},process:s=>{if(i){a=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),o.has(c)&&(l.schedule(c),e())}i=!1,a&&(a=!1,l.process(s))}};return l}const B4=40;let md=!0,Ao=!1,gd=!1;const Ni={delta:0,timestamp:0},Yo=["read","update","preRender","render","postRender"],Vu=Yo.reduce((e,t)=>(e[t]=$4(()=>Ao=!0),e),{}),Er=Yo.reduce((e,t)=>{const r=Vu[t];return e[t]=(n,i=!1,a=!1)=>(Ao||N4(),r.schedule(n,i,a)),e},{}),Xi=Yo.reduce((e,t)=>(e[t]=Vu[t].cancel,e),{}),Wc=Yo.reduce((e,t)=>(e[t]=()=>Vu[t].process(Ni),e),{}),V4=e=>Vu[e].process(Ni),Yb=e=>{Ao=!1,Ni.delta=md?Ub:Math.max(Math.min(e-Ni.timestamp,B4),1),Ni.timestamp=e,gd=!0,Yo.forEach(V4),gd=!1,Ao&&(md=!1,Gb(Yb))},N4=()=>{Ao=!0,md=!0,gd||Gb(Yb)},zs=()=>Ni,js=(e,t,r)=>Math.min(Math.max(r,e),t),Uc=.001,z4=.01,b0=10,j4=.05,H4=1;function W4({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,a;E4(e<=b0*1e3);let o=1-t;o=js(j4,H4,o),e=js(z4,b0,e/1e3),o<1?(i=u=>{const c=u*o,d=c*e,f=c-r,p=yd(u,o),g=Math.exp(-d);return Uc-f/p*g},a=u=>{const d=u*o*e,f=d*r+r,p=Math.pow(o,2)*Math.pow(u,2)*e,g=Math.exp(-d),y=yd(Math.pow(u,2),o);return(-i(u)+Uc>0?-1:1)*((f-p)*g)/y}):(i=u=>{const c=Math.exp(-u*e),d=(u-r)*e+1;return-Uc+c*d},a=u=>{const c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});const l=5/e,s=G4(i,a,l);if(e=e*1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(s,2)*n;return{stiffness:u,damping:o*2*Math.sqrt(n*u),duration:e}}}const U4=12;function G4(e,t,r){let n=r;for(let i=1;i<U4;i++)n=n-e(n)/t(n);return n}function yd(e,t){return e*Math.sqrt(1-t*t)}const Y4=["duration","bounce"],q4=["stiffness","damping","mass"];function S0(e,t){return t.some(r=>e[r]!==void 0)}function K4(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!S0(e,q4)&&S0(e,Y4)){const r=W4(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function ch(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,a=qt(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=K4(a),p=x0,g=x0;function y(){const v=c?-(c/1e3):0,h=r-t,m=s/(2*Math.sqrt(l*u)),b=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),m<1){const x=yd(b,m);p=P=>{const k=Math.exp(-m*b*P);return r-k*((v+m*b*h)/x*Math.sin(x*P)+h*Math.cos(x*P))},g=P=>{const k=Math.exp(-m*b*P);return m*b*k*(Math.sin(x*P)*(v+m*b*h)/x+h*Math.cos(x*P))-k*(Math.cos(x*P)*(v+m*b*h)-x*h*Math.sin(x*P))}}else if(m===1)p=x=>r-Math.exp(-b*x)*(h+(v+b*h)*x);else{const x=b*Math.sqrt(m*m-1);p=P=>{const k=Math.exp(-m*b*P),T=Math.min(x*P,300);return r-k*((v+m*b*h)*Math.sinh(T)+x*h*Math.cosh(T))/x}}}return y(),{next:v=>{const h=p(v);if(f)o.done=v>=d;else{const m=g(v)*1e3,b=Math.abs(m)<=n,x=Math.abs(r-h)<=i;o.done=b&&x}return o.value=o.done?r:h,o},flipTarget:()=>{c=-c,[t,r]=[r,t],y()}}}ch.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const x0=e=>0,Ro=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},De=(e,t,r)=>-r*e+r*t+e,qb=(e,t)=>r=>Math.max(Math.min(r,t),e),Qa=e=>e%1?Number(e.toFixed(5)):e,Oo=/(-)?([\d]*\.?[\d])+/g,bd=/(#[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,X4=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function qo(e){return typeof e=="string"}const ri={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Za=Object.assign(Object.assign({},ri),{transform:qb(0,1)}),$l=Object.assign(Object.assign({},ri),{default:1}),Ko=e=>({test:t=>qo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Xr=Ko("deg"),Cr=Ko("%"),J=Ko("px"),Q4=Ko("vh"),Z4=Ko("vw"),w0=Object.assign(Object.assign({},Cr),{parse:e=>Cr.parse(e)/100,transform:e=>Cr.transform(e*100)}),fh=(e,t)=>r=>Boolean(qo(r)&&X4.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Kb=(e,t,r)=>n=>{if(!qo(n))return n;const[i,a,o,l]=n.match(Oo);return{[e]:parseFloat(i),[t]:parseFloat(a),[r]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},jn={test:fh("hsl","hue"),parse:Kb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Cr.transform(Qa(t))+", "+Cr.transform(Qa(r))+", "+Qa(Za.transform(n))+")"},J4=qb(0,255),Gc=Object.assign(Object.assign({},ri),{transform:e=>Math.round(J4(e))}),an={test:fh("rgb","red"),parse:Kb("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Gc.transform(e)+", "+Gc.transform(t)+", "+Gc.transform(r)+", "+Qa(Za.transform(n))+")"};function eO(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const Sd={test:fh("#"),parse:eO,transform:an.transform},dt={test:e=>an.test(e)||Sd.test(e)||jn.test(e),parse:e=>an.test(e)?an.parse(e):jn.test(e)?jn.parse(e):Sd.parse(e),transform:e=>qo(e)?e:e.hasOwnProperty("red")?an.transform(e):jn.transform(e)},Xb="${c}",Qb="${n}";function tO(e){var t,r,n,i;return isNaN(e)&&qo(e)&&((r=(t=e.match(Oo))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(bd))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function Zb(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(bd);n&&(r=n.length,e=e.replace(bd,Xb),t.push(...n.map(dt.parse)));const i=e.match(Oo);return i&&(e=e.replace(Oo,Qb),t.push(...i.map(ri.parse))),{values:t,numColors:r,tokenised:e}}function Jb(e){return Zb(e).values}function eS(e){const{values:t,numColors:r,tokenised:n}=Zb(e),i=t.length;return a=>{let o=n;for(let l=0;l<i;l++)o=o.replace(l<r?Xb:Qb,l<r?dt.transform(a[l]):Qa(a[l]));return o}}const rO=e=>typeof e=="number"?0:e;function nO(e){const t=Jb(e);return eS(e)(t.map(rO))}const zr={test:tO,parse:Jb,createTransformer:eS,getAnimatableNone:nO},iO=new Set(["brightness","contrast","saturate","opacity"]);function aO(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Oo)||[];if(!n)return e;const i=r.replace(n,"");let a=iO.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}const oO=/([a-z-]*)\(.*?\)/g,xd=Object.assign(Object.assign({},zr),{getAnimatableNone:e=>{const t=e.match(oO);return t?t.map(aO).join(" "):e}});function Yc(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function E0({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,a=0,o=0;if(!t)i=a=o=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=Yc(s,l,e+1/3),a=Yc(s,l,e),o=Yc(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:n}}const lO=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},sO=[Sd,an,jn],C0=e=>sO.find(t=>t.test(e)),tS=(e,t)=>{let r=C0(e),n=C0(t),i=r.parse(e),a=n.parse(t);r===jn&&(i=E0(i),r=an),n===jn&&(a=E0(a),n=an);const o=Object.assign({},i);return l=>{for(const s in o)s!=="alpha"&&(o[s]=lO(i[s],a[s],l));return o.alpha=De(i.alpha,a.alpha,l),r.transform(o)}},wd=e=>typeof e=="number",uO=(e,t)=>r=>t(e(r)),Nu=(...e)=>e.reduce(uO);function rS(e,t){return wd(e)?r=>De(e,t,r):dt.test(e)?tS(e,t):iS(e,t)}const nS=(e,t)=>{const r=[...e],n=r.length,i=e.map((a,o)=>rS(a,t[o]));return a=>{for(let o=0;o<n;o++)r[o]=i[o](a);return r}},cO=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=rS(e[i],t[i]));return i=>{for(const a in n)r[a]=n[a](i);return r}};function T0(e){const t=zr.parse(e),r=t.length;let n=0,i=0,a=0;for(let o=0;o<r;o++)n||typeof t[o]=="number"?n++:t[o].hue!==void 0?a++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:a}}const iS=(e,t)=>{const r=zr.createTransformer(t),n=T0(e),i=T0(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Nu(nS(n.parsed,i.parsed),r):o=>`${o>0?t:e}`},fO=(e,t)=>r=>De(e,t,r);function dO(e){if(typeof e=="number")return fO;if(typeof e=="string")return dt.test(e)?tS:iS;if(Array.isArray(e))return nS;if(typeof e=="object")return cO}function pO(e,t,r){const n=[],i=r||dO(e[0]),a=e.length-1;for(let o=0;o<a;o++){let l=i(e[o],e[o+1]);if(t){const s=Array.isArray(t)?t[o]:t;l=Nu(s,l)}n.push(l)}return n}function hO([e,t],[r]){return n=>r(Ro(e,t,n))}function vO(e,t){const r=e.length,n=r-1;return i=>{let a=0,o=!1;if(i<=e[0]?o=!0:i>=e[n]&&(a=n-1,o=!0),!o){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);a=s-1}const l=Ro(e[a],e[a+1],i);return t[a](l)}}function aS(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const a=e.length;Ns(a===t.length),Ns(!n||!Array.isArray(n)||n.length===a-1),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=pO(t,n,i),l=a===2?hO(e,o):vO(e,o);return r?s=>l(js(e[0],e[a-1],s)):l}const zu=e=>t=>1-e(1-t),dh=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mO=e=>t=>Math.pow(t,e),oS=e=>t=>t*t*((e+1)*t-e),gO=e=>{const t=oS(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},lS=1.525,yO=4/11,bO=8/11,SO=9/10,ph=e=>e,hh=mO(2),xO=zu(hh),sS=dh(hh),uS=e=>1-Math.sin(Math.acos(e)),vh=zu(uS),wO=dh(vh),mh=oS(lS),EO=zu(mh),CO=dh(mh),TO=gO(lS),kO=4356/361,_O=35442/1805,PO=16061/1805,Hs=e=>{if(e===1||e===0)return e;const t=e*e;return e<yO?7.5625*t:e<bO?9.075*t-9.9*e+3.4:e<SO?kO*t-_O*e+PO:10.8*e*e-20.52*e+10.72},AO=zu(Hs),RO=e=>e<.5?.5*(1-Hs(1-e*2)):.5*Hs(e*2-1)+.5;function OO(e,t){return e.map(()=>t||sS).splice(0,e.length-1)}function MO(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function IO(e,t){return e.map(r=>r*t)}function as({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const a={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=IO(n&&n.length===o.length?n:MO(o),i);function s(){return aS(l,o,{ease:Array.isArray(r)?r:OO(o,r)})}let u=s();return{next:c=>(a.value=u(c),a.done=c>=i,a),flipTarget:()=>{o.reverse(),u=s()}}}function FO({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:a}){const o={done:!1,value:t};let l=r*e;const s=t+l,u=a===void 0?s:a(s);return u!==s&&(l=u-t),{next:c=>{const d=-l*Math.exp(-c/n);return o.done=!(d>i||d<-i),o.value=o.done?u:u+d,o},flipTarget:()=>{}}}const k0={keyframes:as,spring:ch,decay:FO};function LO(e){if(Array.isArray(e.to))return as;if(k0[e.type])return k0[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?as:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?ch:as}function cS(e,t,r=0){return e-t-r}function DO(e,t,r=0,n=!0){return n?cS(t+-e,t,r):t-(e-t)+r}function $O(e,t,r,n){return n?e>=t+r:e<=-r}const BO=e=>{const t=({delta:r})=>e(r);return{start:()=>Er.update(t,!0),stop:()=>Xi.update(t)}};function fS(e){var t,r,{from:n,autoplay:i=!0,driver:a=BO,elapsed:o=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:g}=e,y=qt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,h,m=0,b=y.duration,x,P=!1,k=!0,T;const O=LO(y);!((r=(t=O).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(T=aS([0,100],[n,v],{clamp:!1}),n=0,v=100);const R=O(Object.assign(Object.assign({},y),{from:n,to:v}));function I(){m++,s==="reverse"?(k=m%2===0,o=DO(o,b,u,k)):(o=cS(o,b,u),s==="mirror"&&R.flipTarget()),P=!1,p&&p()}function B(){h.stop(),f&&f()}function U(ae){if(k||(ae=-ae),o+=ae,!P){const se=R.next(Math.max(0,o));x=se.value,T&&(x=T(x)),P=k?se.done:o<=0}g==null||g(x),P&&(m===0&&(b!=null||(b=o)),m<l?$O(o,b,u,k)&&I():B())}function Q(){c==null||c(),h=a(U),h.start()}return i&&Q(),{stop:()=>{d==null||d(),h.stop()}}}function dS(e,t){return t?e*(1e3/t):0}function VO({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let g;function y(b){return r!==void 0&&b<r||n!==void 0&&b>n}function v(b){return r===void 0?n:n===void 0||Math.abs(r-b)<Math.abs(n-b)?r:n}function h(b){g==null||g.stop(),g=fS(Object.assign(Object.assign({},b),{driver:c,onUpdate:x=>{var P;d==null||d(x),(P=b.onUpdate)===null||P===void 0||P.call(b,x)},onComplete:f,onStop:p}))}function m(b){h(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:s},b))}if(y(e))m({from:e,velocity:t,to:v(e)});else{let b=i*t+e;typeof u!="undefined"&&(b=u(b));const x=v(b),P=x===r?-1:1;let k,T;const O=R=>{k=T,T=R,t=dS(R-k,zs().delta),(P===1&&R>x||P===-1&&R<x)&&m({from:R,to:x,velocity:t})};h({type:"decay",from:e,velocity:t,timeConstant:a,power:i,restDelta:s,modifyTarget:u,onUpdate:y(b)?O:void 0})}return{stop:()=>g==null?void 0:g.stop()}}const Ed=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),_0=e=>Ed(e)&&e.hasOwnProperty("z"),Bl=(e,t)=>Math.abs(e-t);function pS(e,t){if(wd(e)&&wd(t))return Bl(e,t);if(Ed(e)&&Ed(t)){const r=Bl(e.x,t.x),n=Bl(e.y,t.y),i=_0(e)&&_0(t)?Bl(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const hS=(e,t)=>1-3*t+3*e,vS=(e,t)=>3*t-6*e,mS=e=>3*e,Ws=(e,t,r)=>((hS(t,r)*e+vS(t,r))*e+mS(t))*e,gS=(e,t,r)=>3*hS(t,r)*e*e+2*vS(t,r)*e+mS(t),NO=1e-7,zO=10;function jO(e,t,r,n,i){let a,o,l=0;do o=t+(r-t)/2,a=Ws(o,n,i)-e,a>0?r=o:t=o;while(Math.abs(a)>NO&&++l<zO);return o}const HO=8,WO=.001;function UO(e,t,r,n){for(let i=0;i<HO;++i){const a=gS(t,r,n);if(a===0)return t;t-=(Ws(t,r,n)-e)/a}return t}const os=11,Vl=1/(os-1);function GO(e,t,r,n){if(e===t&&r===n)return ph;const i=new Float32Array(os);for(let o=0;o<os;++o)i[o]=Ws(o*Vl,e,r);function a(o){let l=0,s=1;const u=os-1;for(;s!==u&&i[s]<=o;++s)l+=Vl;--s;const c=(o-i[s])/(i[s+1]-i[s]),d=l+c*Vl,f=gS(d,e,r);return f>=WO?UO(o,d,e,r):f===0?d:jO(o,l,l+Vl,e,r)}return o=>o===0||o===1?o:Ws(a(o),t,n)}function gh(e,t){e.indexOf(t)===-1&&e.push(t)}function yh(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ja=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return gh(this.subscriptions,t),function(){return yh(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,r,n);else for(var a=0;a<i;a++){var o=this.subscriptions[a];o&&o(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),YO=function(e){return!isNaN(parseFloat(e))},qO=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Ja,this.velocityUpdateSubscribers=new Ja,this.renderSubscribers=new Ja,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var a=zs(),o=a.delta,l=a.timestamp;r.lastUpdated!==l&&(r.timeDelta=o,r.lastUpdated=l,Er.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),i&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Er.postRender(r.velocityCheck)},this.velocityCheck=function(n){var i=n.timestamp;i!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=YO(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?dS(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).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 Qi(e){return new qO(e)}var jr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Us=function(e){return e*1e3},KO={linear:ph,easeIn:hh,easeInOut:sS,easeOut:xO,circIn:uS,circInOut:wO,circOut:vh,backIn:mh,backInOut:CO,backOut:EO,anticipate:TO,bounceIn:AO,bounceInOut:RO,bounceOut:Hs},P0=function(e){if(Array.isArray(e)){Ns(e.length===4);var t=He(e,4),r=t[0],n=t[1],i=t[2],a=t[3];return GO(r,n,i,a)}else if(typeof e=="string")return KO[e];return e},XO=function(e){return Array.isArray(e)&&typeof e[0]!="number"},A0=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&zr.test(t)&&!t.startsWith("url("))},Mo=function(e){return Array.isArray(e)},Rn=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Nl=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},qc=function(){return{type:"keyframes",ease:"linear",duration:.3}},QO=function(e){return{type:"keyframes",duration:.8,values:e}},R0={x:Rn,y:Rn,z:Rn,rotate:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scaleX:Nl,scaleY:Nl,scale:Nl,opacity:qc,backgroundColor:qc,color:qc,default:Nl},ZO=function(e,t){var r;return Mo(t)?r=QO:r=R0[e]||R0.default,V({to:t},r(t))},O0=V(V({},ri),{transform:Math.round}),yS={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,size:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,rotate:Xr,rotateX:Xr,rotateY:Xr,rotateZ:Xr,scale:$l,scaleX:$l,scaleY:$l,scaleZ:$l,skew:Xr,skewX:Xr,skewY:Xr,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Za,originX:w0,originY:w0,originZ:J,zIndex:O0,fillOpacity:Za,strokeOpacity:Za,numOctaves:O0},JO=V(V({},yS),{color:dt,backgroundColor:dt,outlineColor:dt,fill:dt,stroke:dt,borderColor:dt,borderTopColor:dt,borderRightColor:dt,borderBottomColor:dt,borderLeftColor:dt,filter:xd,WebkitFilter:xd}),bh=function(e){return JO[e]};function Sh(e,t){var r,n=bh(e);return n!==xd&&(n=zr),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var eM={current:!1},tM=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},bS=function(e){return Mo(e)?e[e.length-1]||0:e};function rM(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=qt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function nM(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,a=e.loop,o=qt(e,["ease","times","yoyo","flip","loop"]),l=V({},o);return r&&(l.offset=r),o.duration&&(l.duration=Us(o.duration)),o.repeatDelay&&(l.repeatDelay=Us(o.repeatDelay)),t&&(l.ease=XO(t)?t.map(P0):P0(t)),o.type==="tween"&&(l.type="keyframes"),(n||a||i)&&(n?l.repeatType="reverse":a?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=a||n||i||o.repeat),o.type!=="spring"&&(l.type="keyframes"),l}function iM(e,t){var r,n,i=xh(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function aM(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=wr([],He(e.to),!1),e.to[0]=e.from),e}function oM(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),aM(t),rM(e)||(e=V(V({},e),ZO(r,t.to))),V(V({},t),nM(e))}function lM(e,t,r,n,i){var a,o=xh(n,e),l=(a=o.from)!==null&&a!==void 0?a:t.get(),s=A0(e,r);l==="none"&&s&&typeof r=="string"?l=Sh(e,r):M0(l)&&typeof r=="string"?l=I0(r):!Array.isArray(r)&&M0(r)&&typeof l=="string"&&(r=I0(l));var u=A0(e,l);function c(){var f={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(p){return t.set(p)}};return o.type==="inertia"||o.type==="decay"?VO(V(V({},f),o)):fS(V(V({},oM(o,f,e)),{onUpdate:function(p){var g;f.onUpdate(p),(g=o.onUpdate)===null||g===void 0||g.call(o,p)},onComplete:function(){var p;f.onComplete(),(p=o.onComplete)===null||p===void 0||p.call(o)}}))}function d(){var f,p,g=bS(r);return t.set(g),i(),(f=o==null?void 0:o.onUpdate)===null||f===void 0||f.call(o,g),(p=o==null?void 0:o.onComplete)===null||p===void 0||p.call(o),{stop:function(){}}}return!u||!s||o.type===!1?d:c}function M0(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function I0(e){return typeof e=="number"?0:Sh("",e)}function xh(e,t){return e[t]||e.default||e}function wh(e,t,r,n){return n===void 0&&(n={}),eM.current&&(n={type:!1}),t.start(function(i){var a,o,l=lM(e,t,r,n,i),s=iM(n,e),u=function(){return o=l()};return s?a=window.setTimeout(u,Us(s)):u(),function(){clearTimeout(a),o==null||o.stop()}})}function sM(e,t,r){r===void 0&&(r={});var n=jr(e)?e:Qi(e);return wh("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var SS=["TopLeft","TopRight","BottomLeft","BottomRight"],uM=SS.length,F0=function(e){return typeof e=="string"?parseFloat(e):e},L0=function(e){return typeof e=="number"||J.test(e)};function cM(e,t,r,n,i,a){var o,l,s,u;i?(e.opacity=De(0,(o=r.opacity)!==null&&o!==void 0?o:1,fM(n)),e.opacityExit=De((l=t.opacity)!==null&&l!==void 0?l:1,0,dM(n))):a&&(e.opacity=De((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<uM;c++){var d="border".concat(SS[c],"Radius"),f=D0(t,d),p=D0(r,d);if(!(f===void 0&&p===void 0)){f||(f=0),p||(p=0);var g=f===0||p===0||L0(f)===L0(p);g?(e[d]=Math.max(De(F0(f),F0(p),n),0),(Cr.test(p)||Cr.test(f))&&(e[d]+="%")):e[d]=p}}(t.rotate||r.rotate)&&(e.rotate=De(t.rotate||0,r.rotate||0,n))}function D0(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var fM=xS(0,.5,vh),dM=xS(.5,.95,ph);function xS(e,t,r){return function(n){return n<e?0:n>t?1:r(Ro(e,t,n))}}function $0(e,t){e.min=t.min,e.max=t.max}function ur(e,t){$0(e.x,t.x),$0(e.y,t.y)}function Kc(e){return e===void 0||e===1}function wS(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!Kc(t)||!Kc(r)||!Kc(n)}function Qr(e){return wS(e)||B0(e.x)||B0(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function B0(e){return e&&e!=="0%"}function Gs(e,t,r){var n=e-r,i=t*n;return r+i}function V0(e,t,r,n,i){return i!==void 0&&(e=Gs(e,i,n)),Gs(e,r,n)+t}function Cd(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=V0(e.min,t,r,n,i),e.max=V0(e.max,t,r,n,i)}function ES(e,t){var r=t.x,n=t.y;Cd(e.x,r.translate,r.scale,r.originPoint),Cd(e.y,n.translate,n.scale,n.originPoint)}function pM(e,t,r,n){var i,a;n===void 0&&(n=!1);var o=r.length;if(!!o){t.x=t.y=1;for(var l,s,u=0;u<o;u++)l=r[u],s=l.projectionDelta,((a=(i=l.instance)===null||i===void 0?void 0:i.style)===null||a===void 0?void 0:a.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Ci(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,ES(e,s)),n&&Qr(l.latestValues)&&Ci(e,l.latestValues))}}function Ei(e,t){e.min=e.min+t,e.max=e.max+t}function N0(e,t,r){var n=He(r,3),i=n[0],a=n[1],o=n[2],l=t[o]!==void 0?t[o]:.5,s=De(e.min,e.max,l);Cd(e,t[i],t[a],s,t.scale)}var hM=["x","scaleX","originX"],vM=["y","scaleY","originY"];function Ci(e,t){N0(e.x,t,hM),N0(e.y,t,vM)}function Hr(e){return e.max-e.min}function z0(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),pS(e,t)<r}function j0(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=De(t.min,t.max,e.origin),e.scale=Hr(r)/Hr(t),(z0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=De(r.min,r.max,e.origin)-e.originPoint,(z0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function eo(e,t,r,n){j0(e.x,t.x,r.x,n==null?void 0:n.originX),j0(e.y,t.y,r.y,n==null?void 0:n.originY)}function H0(e,t,r){e.min=r.min+t.min,e.max=e.min+Hr(t)}function mM(e,t,r){H0(e.x,t.x,r.x),H0(e.y,t.y,r.y)}function W0(e,t,r){e.min=t.min-r.min,e.max=e.min+Hr(t)}function to(e,t,r){W0(e.x,t.x,r.x),W0(e.y,t.y,r.y)}function U0(e,t,r,n,i){return e-=t,e=Gs(e,1/r,n),i!==void 0&&(e=Gs(e,1/i,n)),e}function gM(e,t,r,n,i,a,o){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),a===void 0&&(a=e),o===void 0&&(o=e),Cr.test(t)){t=parseFloat(t);var l=De(o.min,o.max,t/100);t=l-o.min}if(typeof t=="number"){var s=De(a.min,a.max,n);e===a&&(s-=t),e.min=U0(e.min,t,r,s,i),e.max=U0(e.max,t,r,s,i)}}function G0(e,t,r,n,i){var a=He(r,3),o=a[0],l=a[1],s=a[2];gM(e,t[o],t[l],t[s],t.scale,n,i)}var yM=["x","scaleX","originX"],bM=["y","scaleY","originY"];function Y0(e,t,r,n){G0(e.x,t,yM,r==null?void 0:r.x,n==null?void 0:n.x),G0(e.y,t,bM,r==null?void 0:r.y,n==null?void 0:n.y)}var q0=function(){return{translate:0,scale:1,origin:0,originPoint:0}},ro=function(){return{x:q0(),y:q0()}},K0=function(){return{min:0,max:0}},rt=function(){return{x:K0(),y:K0()}};function X0(e){return e.translate===0&&e.scale===1}function CS(e){return X0(e.x)&&X0(e.y)}function TS(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var SM=function(){function e(){this.members=[]}return e.prototype.add=function(t){gh(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(yh(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(o){return t===o});if(r===0)return!1;for(var n,i=r;i>=0;i--){var a=this.members[i];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var a=t.options.crossfade;a===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,a,o;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(o=(i=t.resumingFrom)===null||i===void 0?void 0:(a=i.options).onExitComplete)===null||o===void 0||o.call(a)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Ys={};function xM(e){Object.assign(Ys,e)}var wM="translate3d(0px, 0px, 0) scale(1, 1)";function Q0(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,a="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var o=r.rotate,l=r.rotateX,s=r.rotateY;o&&(a+="rotate(".concat(o,"deg) ")),l&&(a+="rotateX(".concat(l,"deg) ")),s&&(a+="rotateY(".concat(s,"deg) "))}return a+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),a===wM?"none":a}function cr(e){return[e("x"),e("y")]}var Td=["","X","Y","Z"],EM=["translate","scale","rotate","skew"],Io=["transformPerspective","x","y","z"];EM.forEach(function(e){return Td.forEach(function(t){return Io.push(e+t)})});function CM(e,t){return Io.indexOf(e)-Io.indexOf(t)}var TM=new Set(Io);function Xo(e){return TM.has(e)}var kM=new Set(["originX","originY","originZ"]);function kS(e){return kM.has(e)}var _M=function(e,t){return e.depth-t.depth},PM=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){gh(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){yh(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(_M),this.isDirty=!1,this.children.forEach(t)},e}();function ls(e){var t=jr(e)?e.get():e;return tM(t)?t.toValue():t}var Z0=1e3,no={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _S(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function a(o,l,s){var u=this;l===void 0&&(l={}),s===void 0&&(s=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(FM),u.nodes.forEach(LM)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=o,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?wr(wr([],He(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,o&&this.root.registerPotentialNode(o,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new PM)}return a.prototype.addEventListener=function(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Ja),this.eventHandlers.get(o).add(l)},a.prototype.notifyListeners=function(o){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(o);u==null||u.notify.apply(u,wr([],He(l),!1))},a.prototype.hasListeners=function(o){return this.eventHandlers.has(o)},a.prototype.registerPotentialNode=function(o,l){this.potentialNodes.set(o,l)},a.prototype.mount=function(o,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=o instanceof SVGElement&&o.tagName!=="svg",this.instance=o;var c=this.options,d=c.layoutId,f=c.layout,p=c.visualElement;if(p&&!p.getInstance()&&p.mount(o),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(f||d)&&(this.isLayoutDirty=!0),t){var g,y=function(){return s.root.updateBlockedByResize=!1};t(o,function(){s.root.updateBlockedByResize=!0,clearTimeout(g),g=window.setTimeout(y,250),no.hasAnimatedSinceResize&&(no.hasAnimatedSinceResize=!1,s.nodes.forEach(IM))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||f)&&this.addEventListener("didUpdate",function(v){var h,m,b,x,P,k=v.delta,T=v.hasLayoutChanged,O=v.hasRelativeTargetChanged,R=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var I=(m=(h=s.options.transition)!==null&&h!==void 0?h:p.getDefaultTransition())!==null&&m!==void 0?m:NM,B=p.getProps(),U=B.onLayoutAnimationStart,Q=B.onLayoutAnimationComplete,ae=!s.targetLayout||!TS(s.targetLayout,R)||O,se=!T&&O;if(((b=s.resumeFrom)===null||b===void 0?void 0:b.instance)||se||T&&(ae||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(k,se);var Oe=V(V({},xh(I,"layout")),{onPlay:U,onComplete:Q});p.shouldReduceMotion&&(Oe.delay=0,Oe.type=!1),s.startAnimation(Oe)}else!T&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((P=(x=s.options).onExitComplete)===null||P===void 0||P.call(x));s.targetLayout=R})}},a.prototype.unmount=function(){var o,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(o=this.getStack())===null||o===void 0||o.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Xi.preRender(this.updateProjection)},a.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},a.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},a.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},a.prototype.isTreeAnimationBlocked=function(){var o;return this.isAnimationBlocked||((o=this.parent)===null||o===void 0?void 0:o.isTreeAnimationBlocked())||!1},a.prototype.startUpdate=function(){var o;this.isUpdateBlocked()||(this.isUpdating=!0,(o=this.nodes)===null||o===void 0||o.forEach(DM))},a.prototype.willUpdate=function(o){var l,s,u;if(o===void 0&&(o=!0),this.root.isUpdateBlocked()){(s=(l=this.options).onExitComplete)===null||s===void 0||s.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var c=0;c<this.path.length;c++){var d=this.path[c];d.shouldResetTransform=!0,d.updateScroll()}var f=this.options,p=f.layoutId,g=f.layout;if(!(p===void 0&&!g)){var y=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}}},a.prototype.didUpdate=function(){var o=this.isUpdateBlocked();if(o){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(J0);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(zM),this.potentialNodes.clear()),this.nodes.forEach(MM),this.nodes.forEach(AM),this.nodes.forEach(RM),this.clearAllSnapshots(),Wc.update(),Wc.preRender(),Wc.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(OM),this.sharedNodes.forEach($M)},a.prototype.scheduleUpdateProjection=function(){Er.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var o=this;Er.postRender(function(){o.isLayoutDirty?o.root.didUpdate():o.root.checkUpdateFailed()})},a.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var o=this.measure(),l=this.removeTransform(this.removeElementScroll(o));ng(l),this.snapshot={measured:o,layout:l,latestValues:{}}}},a.prototype.updateLayout=function(){var o;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var s=this.path[l];s.updateScroll()}var u=this.measure();ng(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=rt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(o=this.options.visualElement)===null||o===void 0||o.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},a.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},a.prototype.resetTransform=function(){var o;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!CS(this.projectionDelta),u=(o=this.options.visualElement)===null||o===void 0?void 0:o.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),d=c!==this.prevTransformTemplateValue;l&&(s||Qr(this.latestValues)||d)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var o=this.options.visualElement;if(!o)return rt();var l=o.measureViewportBox(),s=this.root.scroll;return s&&(Ei(l.x,s.x),Ei(l.y,s.y)),l},a.prototype.removeElementScroll=function(o){var l=rt();ur(l,o);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,d=u.options;u!==this.root&&c&&d.layoutScroll&&(Ei(l.x,c.x),Ei(l.y,c.y))}return l},a.prototype.applyTransform=function(o,l){l===void 0&&(l=!1);var s=rt();ur(s,o);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Ci(s,{x:-c.scroll.x,y:-c.scroll.y}),Qr(c.latestValues)&&Ci(s,c.latestValues)}return Qr(this.latestValues)&&Ci(s,this.latestValues),s},a.prototype.removeTransform=function(o){var l,s=rt();ur(s,o);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!Qr(c.latestValues)){wS(c.latestValues)&&c.updateSnapshot();var d=rt(),f=c.measure();ur(d,f),Y0(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,d)}}return Qr(this.latestValues)&&Y0(s,this.latestValues),s},a.prototype.setTargetDelta=function(o){this.targetDelta=o,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(o){var l;this.options=V(V(V({},this.options),o),{crossfade:(l=o.crossfade)!==null&&l!==void 0?l:!0})},a.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},a.prototype.resolveTargetDelta=function(){var o,l=this.options,s=l.layout,u=l.layoutId;!this.layout||!(s||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),to(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),ur(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rt(),this.targetWithTransforms=rt()),this.relativeTarget&&this.relativeTargetOrigin&&((o=this.relativeParent)===null||o===void 0?void 0:o.target)?mM(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):ur(this.target,this.layout.actual),ES(this.target,this.targetDelta)):ur(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),to(this.relativeTargetOrigin,this.target,this.relativeParent.target),ur(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Qr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},a.prototype.calcProjection=function(){var o,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((o=this.parent)===null||o===void 0?void 0:o.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();ur(this.layoutCorrected,this.layout.actual),pM(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var d=c.target;if(!!d){this.projectionDelta||(this.projectionDelta=ro(),this.projectionDeltaWithTransform=ro());var f=this.treeScale.x,p=this.treeScale.y,g=this.projectionTransform;eo(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=Q0(this.projectionDelta,this.treeScale),(this.projectionTransform!==g||this.treeScale.x!==f||this.treeScale.y!==p)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}}},a.prototype.hide=function(){this.isVisible=!1},a.prototype.show=function(){this.isVisible=!0},a.prototype.scheduleRender=function(o){var l,s,u;o===void 0&&(o=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),o&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},a.prototype.setAnimationOrigin=function(o,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,d=(c==null?void 0:c.latestValues)||{},f=V({},this.latestValues),p=ro();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var g=rt(),y=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,h=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(VM));this.animationProgress=0,this.mixTargetDelta=function(m){var b,x=m/1e3;eg(p.x,o.x,x),eg(p.y,o.y,x),s.setTargetDelta(p),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((b=s.relativeParent)===null||b===void 0?void 0:b.layout)&&(to(g,s.layout.actual,s.relativeParent.layout.actual),BM(s.relativeTarget,s.relativeTargetOrigin,g,x)),y&&(s.animationValues=f,cM(f,d,s.latestValues,x,h,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=x},this.mixTargetDelta(0)},a.prototype.startAnimation=function(o){var l=this,s,u;this.notifyListeners("animationStart"),(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Xi.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Er.update(function(){no.hasAnimatedSinceResize=!0,l.currentAnimation=sM(0,Z0,V(V({},o),{onUpdate:function(c){var d;l.mixTargetDelta(c),(d=o.onUpdate)===null||d===void 0||d.call(o,c)},onComplete:function(){var c;(c=o.onComplete)===null||c===void 0||c.call(o),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},a.prototype.completeAnimation=function(){var o;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(o=this.getStack())===null||o===void 0||o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},a.prototype.finishAnimation=function(){var o;this.currentAnimation&&((o=this.mixTargetDelta)===null||o===void 0||o.call(this,Z0),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var o=this.getLead(),l=o.targetWithTransforms,s=o.target,u=o.layout,c=o.latestValues;!l||!s||!u||(ur(l,s),Ci(l,c),eo(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},a.prototype.registerSharedNode=function(o,l){var s,u,c;this.sharedNodes.has(o)||this.sharedNodes.set(o,new SM);var d=this.sharedNodes.get(o);d.add(l),l.promote({transition:(s=l.options.initialPromotionConfig)===null||s===void 0?void 0:s.transition,preserveFollowOpacity:(c=(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||c===void 0?void 0:c.call(u,l)})},a.prototype.isLead=function(){var o=this.getStack();return o?o.lead===this:!0},a.prototype.getLead=function(){var o,l=this.options.layoutId;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this},a.prototype.getPrevLead=function(){var o,l=this.options.layoutId;return l?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0},a.prototype.getStack=function(){var o=this.options.layoutId;if(o)return this.root.sharedNodes.get(o)},a.prototype.promote=function(o){var l=o===void 0?{}:o,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,d=this.getStack();d&&d.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},a.prototype.relegate=function(){var o=this.getStack();return o?o.relegate(this):!1},a.prototype.resetRotation=function(){var o=this.options.visualElement;if(!!o){for(var l=!1,s={},u=0;u<Td.length;u++){var c=Td[u],d="rotate"+c;!o.getStaticValue(d)||(l=!0,s[d]=o.getStaticValue(d),o.setStaticValue(d,0))}if(!!l){o==null||o.syncRender();for(var d in s)o.setStaticValue(d,s[d]);o.scheduleRender()}}},a.prototype.getProjectionStyles=function(o){var l,s,u,c,d,f;o===void 0&&(o={});var p={};if(!this.instance||this.isSVG)return p;if(this.isVisible)p.visibility="";else return{visibility:"hidden"};var g=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=ls(o.pointerEvents)||"",p.transform=g?g(this.latestValues,""):"none",p;var y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){var v={};return this.options.layoutId&&(v.opacity=(s=this.latestValues.opacity)!==null&&s!==void 0?s:1,v.pointerEvents=ls(o.pointerEvents)||""),this.hasProjected&&!Qr(this.latestValues)&&(v.transform=g?g({},""):"none",this.hasProjected=!1),v}var h=y.animationValues||y.latestValues;this.applyTransformsToTarget(),p.transform=Q0(this.projectionDeltaWithTransform,this.treeScale,h),g&&(p.transform=g(h,p.transform));var m=this.projectionDelta,b=m.x,x=m.y;p.transformOrigin="".concat(b.origin*100,"% ").concat(x.origin*100,"% 0"),y.animationValues?p.opacity=y===this?(c=(u=h.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:p.opacity=y===this?(d=h.opacity)!==null&&d!==void 0?d:"":(f=h.opacityExit)!==null&&f!==void 0?f:0;for(var P in Ys)if(h[P]!==void 0){var k=Ys[P],T=k.correct,O=k.applyTo,R=T(h[P],y);if(O)for(var I=O.length,B=0;B<I;B++)p[O[B]]=R;else p[P]=R}return this.options.layoutId&&(p.pointerEvents=y===this?ls(o.pointerEvents)||"":"none"),p},a.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},a.prototype.resetTree=function(){this.root.nodes.forEach(function(o){var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(J0),this.root.sharedNodes.clear()},a}()}function AM(e){e.updateLayout()}function RM(e){var t,r,n,i,a=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var o=e.layout,l=o.actual,s=o.measured;e.options.animationType==="size"?cr(function(m){var b=a.isShared?a.measured[m]:a.layout[m],x=Hr(b);b.min=l[m].min,b.max=b.min+x}):e.options.animationType==="position"&&cr(function(m){var b=a.isShared?a.measured[m]:a.layout[m],x=Hr(l[m]);b.max=b.min+x});var u=ro();eo(u,l,a.layout);var c=ro();a.isShared?eo(c,e.applyTransform(s,!0),a.measured):eo(c,l,a.layout);var d=!CS(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,g=p.snapshot,y=p.layout;if(g&&y){var v=rt();to(v,a.layout,g.layout);var h=rt();to(h,l,y.actual),TS(v,h)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:a,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function OM(e){e.clearSnapshot()}function J0(e){e.clearMeasurements()}function MM(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function IM(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function FM(e){e.resolveTargetDelta()}function LM(e){e.calcProjection()}function DM(e){e.resetRotation()}function $M(e){e.removeLeadSnapshot()}function eg(e,t,r){e.translate=De(t.translate,0,r),e.scale=De(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function tg(e,t,r,n){e.min=De(t.min,r.min,n),e.max=De(t.max,r.max,n)}function BM(e,t,r,n){tg(e.x,t.x,r.x,n),tg(e.y,t.y,r.y,n)}function VM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var NM={duration:.45,ease:[.4,0,.1,1]};function zM(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=r&&r!==e.root?r.instance:document,a=i.querySelector('[data-projection-id="'.concat(t,'"]'));a&&e.mount(a,!0)}function rg(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ng(e){rg(e.x),rg(e.y)}var jM=1;function HM(){return Bu(function(){if(no.hasEverUpdated)return jM++})}var PS=w.exports.createContext({}),AS=w.exports.createContext({});function WM(e,t,r,n){var i,a=t.layoutId,o=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=w.exports.useContext(AS);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(e,r.getLatestValues(),(i=r.parent)===null||i===void 0?void 0:i.projection),r.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:Boolean(l)||s&&wi(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof o=="string"?o:"both",initialPromotionConfig:c,layoutScroll:u}))}var UM=function(e){Bb(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,i=r.props;n&&n.setProps(i)},t.prototype.render=function(){return this.props.children},t}(ie.Component);function GM(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,a=e.useVisualState,o=e.Component;t&&w4(t);function l(s,u){var c=YM(s);s=V(V({},s),{layoutId:c});var d=w.exports.useContext(uh),f=null,p=L4(s),g=d.isStatic?void 0:HM(),y=a(s,d.isStatic);return!d.isStatic&&la&&(p.visualElement=R4(o,y,V(V({},d),s),r),WM(g,s,p.visualElement,n||Po.projectionNodeConstructor),f=T4(s,p.visualElement)),w.exports.createElement(UM,{visualElement:p.visualElement,props:V(V({},d),s)},f,w.exports.createElement(Fu.Provider,{value:p},i(o,s,g,O4(y,p.visualElement,u),y,d.isStatic,p.visualElement)))}return w.exports.forwardRef(l)}function YM(e){var t,r=e.layoutId,n=(t=w.exports.useContext(PS))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function qM(e){function t(n,i){return i===void 0&&(i={}),GM(e(n,i))}if(typeof Proxy=="undefined")return t;var r=new Map;return new Proxy(t,{get:function(n,i){return r.has(i)||r.set(i,t(i)),r.get(i)}})}var KM=["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 Eh(e){return typeof e!="string"||e.includes("-")?!1:!!(KM.indexOf(e)>-1||/[A-Z]/.test(e))}function RS(e,t){var r=t.layout,n=t.layoutId;return Xo(e)||kS(e)||(r||n!==void 0)&&(!!Ys[e]||e==="opacity")}var XM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function QM(e,t,r,n){var i=e.transform,a=e.transformKeys,o=t.enableHardwareAcceleration,l=o===void 0?!0:o,s=t.allowTransformNone,u=s===void 0?!0:s,c="";a.sort(CM);for(var d=!1,f=a.length,p=0;p<f;p++){var g=a[p];c+="".concat(XM[g]||g,"(").concat(i[g],") "),g==="z"&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function ZM(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,a=e.originZ,o=a===void 0?0:a;return"".concat(r," ").concat(i," ").concat(o)}function OS(e){return e.startsWith("--")}var JM=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function Ch(e,t,r,n){var i,a=e.style,o=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,d=!1,f=!0;for(var p in t){var g=t[p];if(OS(p)){o[p]=g;continue}var y=yS[p],v=JM(g,y);if(Xo(p)){if(c=!0,l[p]=v,s.push(p),!f)continue;g!==((i=y.default)!==null&&i!==void 0?i:0)&&(f=!1)}else kS(p)?(u[p]=v,d=!0):a[p]=v}c?a.transform=QM(e,r,f,n):n?a.transform=n({},""):!t.transform&&a.transform&&(a.transform="none"),d&&(a.transformOrigin=ZM(u))}var Th=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function MS(e,t,r){for(var n in t)!jr(t[n])&&!RS(n,r)&&(e[n]=t[n])}function e6(e,t,r){var n=e.transformTemplate;return w.exports.useMemo(function(){var i=Th();Ch(i,t,{enableHardwareAcceleration:!r},n);var a=i.vars,o=i.style;return V(V({},a),o)},[t])}function t6(e,t,r){var n=e.style||{},i={};return MS(i,n,e),Object.assign(i,e6(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function r6(e,t,r){var n={},i=t6(e,t,r);return Boolean(e.drag)&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=i,n}var n6=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Fo(e){return n6.has(e)}var IS=function(e){return!Fo(e)};function i6(e){!e||(IS=function(t){return t.startsWith("on")?!Fo(t):e(t)})}try{i6(require("@emotion/is-prop-valid").default)}catch{}function a6(e,t,r){var n={};for(var i in e)(IS(i)||r===!0&&Fo(i)||!t&&!Fo(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function ig(e,t,r){return typeof e=="string"?e:J.transform(t+r*e)}function o6(e,t,r){var n=ig(t,e.x,e.width),i=ig(r,e.y,e.height);return"".concat(n," ").concat(i)}var l6={offset:"stroke-dashoffset",array:"stroke-dasharray"},s6={offset:"strokeDashoffset",array:"strokeDasharray"};function u6(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var a=i?l6:s6;e[a.offset]=J.transform(-n);var o=J.transform(t),l=J.transform(r);e[a.array]="".concat(o," ").concat(l)}function kh(e,t,r,n){var i=t.attrX,a=t.attrY,o=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,d=t.pathOffset,f=d===void 0?0:d,p=qt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Ch(e,p,r,n),e.attrs=e.style,e.style={};var g=e.attrs,y=e.style,v=e.dimensions;g.transform&&(v&&(y.transform=g.transform),delete g.transform),v&&(o!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=o6(v,o!==void 0?o:.5,l!==void 0?l:.5)),i!==void 0&&(g.x=i),a!==void 0&&(g.y=a),s!==void 0&&u6(g,s,c,f,!1)}var FS=function(){return V(V({},Th()),{attrs:{}})};function c6(e,t){var r=w.exports.useMemo(function(){var i=FS();return kh(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),V(V({},i.attrs),{style:V({},i.style)})},[t]);if(e.style){var n={};MS(n,e.style,e),r.style=V(V({},n),r.style)}return r}function f6(e){e===void 0&&(e=!1);var t=function(r,n,i,a,o,l){var s=o.latestValues,u=Eh(r)?c6:r6,c=u(n,s,l),d=a6(n,typeof r=="string",e),f=V(V(V({},d),c),{ref:a});return i&&(f["data-projection-id"]=i),w.exports.createElement(r,f)};return t}var d6=/([a-z])([A-Z])/g,p6="$1-$2",LS=function(e){return e.replace(d6,p6).toLowerCase()};function DS(e,t,r,n){var i=t.style,a=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var o in a)e.style.setProperty(o,a[o])}var $S=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function BS(e,t){DS(e,t);for(var r in t.attrs)e.setAttribute($S.has(r)?r:LS(r),t.attrs[r])}function _h(e){var t=e.style,r={};for(var n in t)(jr(t[n])||RS(n,e))&&(r[n]=t[n]);return r}function VS(e){var t=_h(e);for(var r in e)if(jr(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function Ph(e){return typeof e=="object"&&typeof e.start=="function"}function ag(e,t,r,n){var i=e.scrapeMotionValuesFromProps,a=e.createRenderState,o=e.onMount,l={latestValues:h6(t,r,n,i),renderState:a()};return o&&(l.mount=function(s){return o(t,s,l)}),l}var NS=function(e){return function(t,r){var n=w.exports.useContext(Fu),i=w.exports.useContext(Lu);return r?ag(e,t,n,i):Bu(function(){return ag(e,t,n,i)})}};function h6(e,t,r,n){var i={},a=(r==null?void 0:r.initial)===!1,o=n(e);for(var l in o)i[l]=ls(o[l]);var s=e.initial,u=e.animate,c=$u(e),d=Wb(e);t&&d&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var f=a||s===!1,p=f?u:s;if(p&&typeof p!="boolean"&&!Ph(p)){var g=Array.isArray(p)?p:[p];g.forEach(function(y){var v=Hb(e,y);if(!!v){var h=v.transitionEnd;v.transition;var m=qt(v,["transitionEnd","transition"]);for(var b in m){var x=m[b];if(Array.isArray(x)){var P=f?x.length-1:0;x=x[P]}x!==null&&(i[b]=x)}for(var b in h)i[b]=h[b]}})}return i}var v6={useVisualState:NS({scrapeMotionValuesFromProps:VS,createRenderState:FS,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}kh(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),BS(t,n)}})},m6={useVisualState:NS({scrapeMotionValuesFromProps:_h,createRenderState:Th})};function g6(e,t,r,n,i){var a=t.forwardMotionProps,o=a===void 0?!1:a,l=Eh(e)?v6:m6;return V(V({},l),{preloadedFeatures:r,useRender:f6(o),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var Se;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Se||(Se={}));function Ah(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function kd(e,t,r,n){w.exports.useEffect(function(){var i=e.current;if(r&&i)return Ah(i,t,r,n)},[e,t,r,n])}function y6(e){var t=e.whileFocus,r=e.visualElement,n=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(Se.Focus,!0)},i=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(Se.Focus,!1)};kd(r,"focus",t?n:void 0),kd(r,"blur",t?i:void 0)}function zS(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function jS(e){var t=!!e.touches;return t}function b6(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var S6={pageX:0,pageY:0};function x6(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||S6;return{x:n[t+"X"],y:n[t+"Y"]}}function w6(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Rh(e,t){return t===void 0&&(t="page"),{point:jS(e)?x6(e,t):w6(e,t)}}var HS=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,Rh(n))};return t?b6(r):r},E6=function(){return la&&window.onpointerdown===null},C6=function(){return la&&window.ontouchstart===null},T6=function(){return la&&window.onmousedown===null},k6={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},_6={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function WS(e){return E6()?e:C6()?_6[e]:T6()?k6[e]:e}function zi(e,t,r,n){return Ah(e,WS(t),HS(r,t==="pointerdown"),n)}function qs(e,t,r,n){return kd(e,WS(t),r&&HS(r,t==="pointerdown"),n)}function US(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var og=US("dragHorizontal"),lg=US("dragVertical");function GS(e){var t=!1;if(e==="y")t=lg();else if(e==="x")t=og();else{var r=og(),n=lg();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function YS(){var e=GS(!0);return e?(e(),!1):!0}function sg(e,t,r){return function(n,i){var a;!zS(n)||YS()||((a=e.animationState)===null||a===void 0||a.setActive(Se.Hover,t),r==null||r(n,i))}}function P6(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;qs(i,"pointerenter",t||n?sg(i,!0,t):void 0),qs(i,"pointerleave",r||n?sg(i,!1,r):void 0)}var qS=function(e,t){return t?e===t?!0:qS(e,t.parentElement):!1};function KS(e){return w.exports.useEffect(function(){return function(){return e()}},[])}function A6(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,a=e.visualElement,o=t||r||n||i,l=w.exports.useRef(!1),s=w.exports.useRef(null);function u(){var g;(g=s.current)===null||g===void 0||g.call(s),s.current=null}function c(){var g;return u(),l.current=!1,(g=a.animationState)===null||g===void 0||g.setActive(Se.Tap,!1),!YS()}function d(g,y){!c()||(qS(a.getInstance(),g.target)?t==null||t(g,y):n==null||n(g,y))}function f(g,y){!c()||n==null||n(g,y)}function p(g,y){var v;u(),!l.current&&(l.current=!0,s.current=Nu(zi(window,"pointerup",d),zi(window,"pointercancel",f)),(v=a.animationState)===null||v===void 0||v.setActive(Se.Tap,!0),r==null||r(g,y))}qs(a,"pointerdown",o?p:void 0),KS(u)}var _d=new WeakMap,Xc=new WeakMap,R6=function(e){var t;(t=_d.get(e.target))===null||t===void 0||t(e)},O6=function(e){e.forEach(R6)};function M6(e){var t=e.root,r=qt(e,["root"]),n=t||document;Xc.has(n)||Xc.set(n,{});var i=Xc.get(n),a=JSON.stringify(r);return i[a]||(i[a]=new IntersectionObserver(O6,V({root:t},r))),i[a]}function I6(e,t,r){var n=M6(t);return _d.set(e,r),n.observe(e),function(){_d.delete(e),n.unobserve(e)}}function F6(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,a=e.viewport,o=a===void 0?{}:a,l=w.exports.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);o.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?$6:D6;u(s,l.current,t,o)}var L6={some:0,all:1};function D6(e,t,r,n){var i=n.root,a=n.margin,o=n.amount,l=o===void 0?"some":o,s=n.once;w.exports.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:a,threshold:typeof l=="number"?l:L6[l]},c=function(d){var f,p=d.isIntersecting;if(t.isInView!==p&&(t.isInView=p,!(s&&!p&&t.hasEnteredView))){p&&(t.hasEnteredView=!0),(f=r.animationState)===null||f===void 0||f.setActive(Se.InView,p);var g=r.getProps(),y=p?g.onViewportEnter:g.onViewportLeave;y==null||y(d)}};return I6(r.getInstance(),u,c)}},[e,i,a,l])}function $6(e,t,r,n){var i=n.fallback,a=i===void 0?!0:i;w.exports.useEffect(function(){!e||!a||requestAnimationFrame(function(){var o;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(o=r.animationState)===null||o===void 0||o.setActive(Se.InView,!0)})},[e])}var on=function(e){return function(t){return e(t),null}},B6={inView:on(F6),tap:on(A6),focus:on(y6),hover:on(P6)},V6=0,N6=function(){return V6++},z6=function(){return Bu(N6)};function XS(){var e=w.exports.useContext(Lu);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=z6();w.exports.useEffect(function(){return n(i)},[]);var a=function(){return r==null?void 0:r(i)};return!t&&r?[!1,a]:[!0]}function QS(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var j6=function(e){return/^\-?\d*\.?\d+$/.test(e)},H6=function(e){return/^0[^.\s]+$/.test(e)},ZS=function(e){return function(t){return t.test(e)}},W6={test:function(e){return e==="auto"},parse:function(e){return e}},JS=[ri,J,Cr,Xr,Z4,Q4,W6],ka=function(e){return JS.find(ZS(e))},U6=wr(wr([],He(JS),!1),[dt,zr],!1),G6=function(e){return U6.find(ZS(e))};function Y6(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Qi(r))}function q6(e,t){var r=Du(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,a=i===void 0?{}:i;n.transition;var o=qt(n,["transitionEnd","transition"]);o=V(V({},o),a);for(var l in o){var s=bS(o[l]);Y6(e,l,s)}}function K6(e,t,r){var n,i,a,o,l=Object.keys(t).filter(function(p){return!e.hasValue(p)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),f===null&&(f=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),f!=null&&(typeof f=="string"&&(j6(f)||H6(f))?f=parseFloat(f):!G6(f)&&zr.test(d)&&(f=Sh(c,d)),e.addValue(c,Qi(f)),(a=(o=r)[c])!==null&&a!==void 0||(o[c]=f),e.setBaseTarget(c,f))}}function X6(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function Q6(e,t,r){var n,i,a={};for(var o in e)a[o]=(n=X6(o,t))!==null&&n!==void 0?n:(i=r.getValue(o))===null||i===void 0?void 0:i.get();return a}function Z6(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(o){return Pd(e,o,r)});n=Promise.all(i)}else if(typeof t=="string")n=Pd(e,t,r);else{var a=typeof t=="function"?Du(e,t,r.custom):t;n=ex(e,a,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function Pd(e,t,r){var n;r===void 0&&(r={});var i=Du(e,t,r.custom),a=(i||{}).transition,o=a===void 0?e.getDefaultTransition()||{}:a;r.transitionOverride&&(o=r.transitionOverride);var l=i?function(){return ex(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(p){p===void 0&&(p=0);var g=o.delayChildren,y=g===void 0?0:g,v=o.staggerChildren,h=o.staggerDirection;return J6(e,t,y+p,v,h,r)}:function(){return Promise.resolve()},u=o.when;if(u){var c=He(u==="beforeChildren"?[l,s]:[s,l],2),d=c[0],f=c[1];return d().then(f)}else return Promise.all([l(),s(r.delay)])}function ex(e,t,r){var n,i=r===void 0?{}:r,a=i.delay,o=a===void 0?0:a,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,d=c===void 0?e.getDefaultTransition():c,f=u.transitionEnd,p=qt(u,["transition","transitionEnd"]);l&&(d=l);var g=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in p){var h=e.getValue(v),m=p[v];if(!(!h||m===void 0||y&&tI(y,v))){var b=V({delay:o},d);e.shouldReduceMotion&&Xo(v)&&(b=V(V({},b),{type:!1,delay:0}));var x=wh(v,h,m,b);g.push(x)}}return Promise.all(g).then(function(){f&&q6(e,f)})}function J6(e,t,r,n,i,a){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var o=[],l=(e.variantChildren.size-1)*n,s=i===1?function(u){return u===void 0&&(u=0),u*n}:function(u){return u===void 0&&(u=0),l-u*n};return Array.from(e.variantChildren).sort(eI).forEach(function(u,c){o.push(Pd(u,t,V(V({},a),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(o)}function eI(e,t){return e.sortNodePosition(t)}function tI(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var Oh=[Se.Animate,Se.InView,Se.Focus,Se.Hover,Se.Tap,Se.Drag,Se.Exit],rI=wr([],He(Oh),!1).reverse(),nI=Oh.length;function iI(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return Z6(e,n,i)}))}}function aI(e){var t=iI(e),r=lI(),n={},i=!0,a=function(c,d){var f=Du(e,d);if(f){f.transition;var p=f.transitionEnd,g=qt(f,["transition","transitionEnd"]);c=V(V(V({},c),g),p)}return c};function o(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,d){for(var f,p=e.getProps(),g=e.getVariantContext(!0)||{},y=[],v=new Set,h={},m=1/0,b=function(T){var O=rI[T],R=r[O],I=(f=p[O])!==null&&f!==void 0?f:g[O],B=rr(I),U=O===d?R.isActive:null;U===!1&&(m=T);var Q=I===g[O]&&I!==p[O]&&B;if(Q&&i&&e.manuallyAnimateOnMount&&(Q=!1),R.protectedKeys=V({},h),!R.isActive&&U===null||!I&&!R.prevProp||Ph(I)||typeof I=="boolean")return"continue";var ae=oI(R.prevProp,I),se=ae||O===d&&R.isActive&&!Q&&B||T>m&&B,Oe=Array.isArray(I)?I:[I],Ye=Oe.reduce(a,{});U===!1&&(Ye={});var ut=R.prevResolvedValues,ct=ut===void 0?{}:ut,Kt=V(V({},ct),Ye),j=function(W){se=!0,v.delete(W),R.needsAnimating[W]=!0};for(var q in Kt){var D=Ye[q],$=ct[q];h.hasOwnProperty(q)||(D!==$?Mo(D)&&Mo($)?!QS(D,$)||ae?j(q):R.protectedKeys[q]=!0:D!==void 0?j(q):v.add(q):D!==void 0&&v.has(q)?j(q):R.protectedKeys[q]=!0)}R.prevProp=I,R.prevResolvedValues=Ye,R.isActive&&(h=V(V({},h),Ye)),i&&e.blockInitialAnimation&&(se=!1),se&&!Q&&y.push.apply(y,wr([],He(Oe.map(function(W){return{animation:W,options:V({type:O},c)}})),!1))},x=0;x<nI;x++)b(x);if(n=V({},h),v.size){var P={};v.forEach(function(T){var O=e.getBaseTarget(T);O!==void 0&&(P[T]=O)}),y.push({animation:P})}var k=Boolean(y.length);return i&&p.initial===!1&&!e.manuallyAnimateOnMount&&(k=!1),i=!1,k?t(y):Promise.resolve()}function u(c,d,f){var p;if(r[c].isActive===d)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(function(v){var h;return(h=v.animationState)===null||h===void 0?void 0:h.setActive(c,d)}),r[c].isActive=d;var g=s(f,c);for(var y in r)r[y].protectedKeys={};return g}return{isAnimated:o,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function oI(e,t){return typeof t=="string"?t!==e:jb(t)?!QS(t,e):!1}function On(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lI(){var e;return e={},e[Se.Animate]=On(!0),e[Se.InView]=On(),e[Se.Hover]=On(),e[Se.Tap]=On(),e[Se.Drag]=On(),e[Se.Focus]=On(),e[Se.Exit]=On(),e}var sI={animation:on(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=aI(t)),Ph(r)&&w.exports.useEffect(function(){return r.subscribe(t)},[r])}),exit:on(function(e){var t=e.custom,r=e.visualElement,n=He(XS(),2),i=n[0],a=n[1],o=w.exports.useContext(Lu);w.exports.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(Se.Exit,!i,{custom:(s=o==null?void 0:o.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(a))},[i])})},tx=function(){function e(t,r,n){var i=this,a=n===void 0?{}:n,o=a.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var f=Zc(i.lastMoveEventInfo,i.history),p=i.startEvent!==null,g=pS(f.offset,{x:0,y:0})>=3;if(!(!p&&!g)){var y=f.point,v=zs().timestamp;i.history.push(V(V({},y),{timestamp:v}));var h=i.handlers,m=h.onStart,b=h.onMove;p||(m&&m(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),b&&b(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,p){if(i.lastMoveEvent=f,i.lastMoveEventInfo=Qc(p,i.transformPagePoint),zS(f)&&f.buttons===0){i.handlePointerUp(f,p);return}Er.update(i.updatePoint,!0)},this.handlePointerUp=function(f,p){i.end();var g=i.handlers,y=g.onEnd,v=g.onSessionEnd,h=Zc(Qc(p,i.transformPagePoint),i.history);i.startEvent&&y&&y(f,h),v&&v(f,h)},!(jS(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=o;var l=Rh(t),s=Qc(l,this.transformPagePoint),u=s.point,c=zs().timestamp;this.history=[V(V({},u),{timestamp:c})];var d=r.onSessionStart;d&&d(t,Zc(s,this.history)),this.removeListeners=Nu(zi(window,"pointermove",this.handlePointerMove),zi(window,"pointerup",this.handlePointerUp),zi(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Xi.update(this.updatePoint)},e}();function Qc(e,t){return t?{point:t(e.point)}:e}function ug(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zc(e,t){var r=e.point;return{point:r,delta:ug(r,rx(t)),offset:ug(r,uI(t)),velocity:cI(t,.1)}}function uI(e){return e[0]}function rx(e){return e[e.length-1]}function cI(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=rx(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Us(t)));)r--;if(!n)return{x:0,y:0};var a=(i.timestamp-n.timestamp)/1e3;if(a===0)return{x:0,y:0};var o={x:(i.x-n.x)/a,y:(i.y-n.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function fI(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?De(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?De(i,e,r.max):Math.min(e,i)),e}function cg(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function dI(e,t){var r=t.top,n=t.left,i=t.bottom,a=t.right;return{x:cg(e.x,n,a),y:cg(e.y,r,i)}}function fg(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=He([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function pI(e,t){return{x:fg(e.x,t.x),y:fg(e.y,t.y)}}function hI(e,t){var r=.5,n=Hr(e),i=Hr(t);return i>n?r=Ro(t.min,t.max-n,e.min):n>i&&(r=Ro(e.min,e.max-i,t.min)),js(0,1,r)}function vI(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Ad=.35;function mI(e){return e===void 0&&(e=Ad),e===!1?e=0:e===!0&&(e=Ad),{x:dg(e,"left","right"),y:dg(e,"top","bottom")}}function dg(e,t,r){return{min:pg(e,t),max:pg(e,r)}}function pg(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function nx(e){var t=e.top,r=e.left,n=e.right,i=e.bottom;return{x:{min:r,max:n},y:{min:t,max:i}}}function gI(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function yI(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function ix(e,t){return nx(yI(e.getBoundingClientRect(),t))}function bI(e,t,r){var n=ix(e,r),i=t.scroll;return i&&(Ei(n.x,i.x),Ei(n.y,i.y)),n}var SI=new WeakMap,xI=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rt(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,a=i.snapToCursor,o=a===void 0?!1:a;if(this.visualElement.isPresent!==!1){var l=function(d){n.stopAnimation(),o&&n.snapToCursor(Rh(d,"page").point)},s=function(d,f){var p,g=n.getProps(),y=g.drag,v=g.dragPropagation,h=g.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=GS(y),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),cr(function(m){var b,x,P=n.getAxisMotionValue(m).get()||0;if(Cr.test(P)){var k=(x=(b=n.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||x===void 0?void 0:x.actual[m];if(k){var T=Hr(k);P=T*(parseFloat(P)/100)}}n.originPoint[m]=P}),h==null||h(d,f),(p=n.visualElement.animationState)===null||p===void 0||p.setActive(Se.Drag,!0))},u=function(d,f){var p=n.getProps(),g=p.dragPropagation,y=p.dragDirectionLock,v=p.onDirectionLock,h=p.onDrag;if(!(!g&&!n.openGlobalLock)){var m=f.offset;if(y&&n.currentDirection===null){n.currentDirection=wI(m),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,m),n.updateAxis("y",f.point,m),n.visualElement.syncRender(),h==null||h(d,f)}},c=function(d,f){return n.stop(d,f)};this.panSession=new tx(t,{onSessionStart:l,onStart:s,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var i=r.velocity;this.startAnimation(i);var a=this.getProps().onDragEnd;a==null||a(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(Se.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!zl(t,i,this.currentDirection))){var a=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=fI(o,this.constraints[t],this.elastic[t])),a.set(o)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,a=(this.visualElement.projection||{}).layout,o=this.constraints;n&&wi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=dI(a.actual,n):this.constraints=!1,this.elastic=mI(i),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&cr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=vI(a.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!wi(r))return!1;var i=r.current,a=this.visualElement.projection;if(!a||!a.layout)return!1;var o=bI(i,a.root,this.visualElement.getTransformPagePoint()),l=pI(a.layout.actual,o);if(n){var s=n(gI(l));this.hasMutatedConstraints=!!s,s&&(l=nx(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,a=n.dragMomentum,o=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},d=cr(function(f){var p;if(!!zl(f,i,r.currentDirection)){var g=(p=c==null?void 0:c[f])!==null&&p!==void 0?p:{};s&&(g={min:0,max:0});var y=o?200:1e6,v=o?40:1e7,h=V(V({type:"inertia",velocity:a?t[f]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),g);return r.startAxisValueAnimation(f,h)}});return Promise.all(d).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return wh(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;cr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),a=this.visualElement.getProps()[i];return a||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;cr(function(n){var i=r.getProps().drag;if(!!zl(n,i,r.currentDirection)){var a=r.visualElement.projection,o=r.getAxisMotionValue(n);if(a&&a.layout){var l=a.layout.actual[n],s=l.min,u=l.max;o.set(t[n]-De(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,a=n.dragConstraints,o=this.visualElement.projection;if(!(!wi(a)||!o||!this.constraints)){this.stopAnimation();var l={x:0,y:0};cr(function(u){var c=t.getAxisMotionValue(u);if(c){var d=c.get();l[u]=hI({min:d,max:d},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=o.root)===null||r===void 0||r.updateScroll(),o.updateLayout(),this.resolveConstraints(),cr(function(u){if(!!zl(u,i,null)){var c=t.getAxisMotionValue(u),d=t.constraints[u],f=d.min,p=d.max;c.set(De(f,p,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;SI.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=zi(n,"pointerdown",function(u){var c=t.getProps(),d=c.drag,f=c.dragListener,p=f===void 0?!0:f;d&&p&&t.start(u)}),a=function(){var u=t.getProps().dragConstraints;wi(u)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,l=o.addEventListener("measure",a);o&&!o.layout&&((r=o.root)===null||r===void 0||r.updateScroll(),o.updateLayout()),a();var s=Ah(window,"resize",function(){t.scalePositionWithinConstraints()});return o.addEventListener("didUpdate",function(u){var c=u.delta,d=u.hasLayoutChanged;t.isDragging&&d&&(cr(function(f){var p=t.getAxisMotionValue(f);!p||(t.originPoint[f]+=c[f].translate,p.set(p.get()+c[f].translate))}),t.visualElement.syncRender())}),function(){s(),i(),l()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,i=t.dragDirectionLock,a=i===void 0?!1:i,o=t.dragPropagation,l=o===void 0?!1:o,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,d=c===void 0?Ad:c,f=t.dragMomentum,p=f===void 0?!0:f;return V(V({},t),{drag:n,dragDirectionLock:a,dragPropagation:l,dragConstraints:u,dragElastic:d,dragMomentum:p})},e}();function zl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function wI(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function EI(e){var t=e.dragControls,r=e.visualElement,n=Bu(function(){return new xI(r)});w.exports.useEffect(function(){return t&&t.subscribe(n)},[n,t]),w.exports.useEffect(function(){return n.addListeners()},[n])}function CI(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,o=t||r||n||i,l=w.exports.useRef(null),s=w.exports.useContext(uh).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(d,f){l.current=null,n&&n(d,f)}};w.exports.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(d){l.current=new tx(d,u,{transformPagePoint:s})}qs(a,"pointerdown",o&&c),KS(function(){return l.current&&l.current.end()})}var TI={pan:on(CI),drag:on(EI)},jl=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function kI(){var e=jl.map(function(){return new Ja}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){jl.forEach(function(i){var a,o="on"+i,l=n[o];(a=t[i])===null||a===void 0||a.call(t),l&&(t[i]=r[o](l))})}};return e.forEach(function(n,i){r["on"+jl[i]]=function(a){return n.add(a)},r["notify"+jl[i]]=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return n.notify.apply(n,wr([],He(a),!1))}}),r}function _I(e,t,r){var n;for(var i in t){var a=t[i],o=r[i];if(jr(a))e.addValue(i,a);else if(jr(o))e.addValue(i,Qi(a));else if(o!==a)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(a)}else e.addValue(i,Qi((n=e.getStaticValue(i))!==null&&n!==void 0?n:a))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var ax=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,o=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(f,p){var g=f.parent,y=f.props,v=f.presenceId,h=f.blockInitialAnimation,m=f.visualState,b=f.shouldReduceMotion;p===void 0&&(p={});var x=!1,P=m.latestValues,k=m.renderState,T,O=kI(),R=new Map,I=new Map,B={},U=V({},P),Q;function ae(){!T||!x||(se(),l(T,k,y.style,D.projection))}function se(){n(D,k,P,p,y)}function Oe(){O.notifyUpdate(P)}function Ye($,W){var de=W.onChange(function(Ke){P[$]=Ke,y.onUpdate&&Er.update(Oe,!1,!0)}),qe=W.onRenderRequest(D.scheduleRender);I.set($,function(){de(),qe()})}var ut=d(y);for(var ct in ut){var Kt=ut[ct];P[ct]!==void 0&&jr(Kt)&&Kt.set(P[ct],!1)}var j=$u(y),q=Wb(y),D=V(V({treeType:r,current:null,depth:g?g.depth+1:0,parent:g,children:new Set,presenceId:v,shouldReduceMotion:b,variantChildren:q?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(g==null?void 0:g.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(T)},mount:function($){x=!0,T=D.current=$,D.projection&&D.projection.mount($),q&&g&&!j&&(Q=g==null?void 0:g.addVariantChild(D)),R.forEach(function(W,de){return Ye(de,W)}),g==null||g.children.add(D),D.setProps(y)},unmount:function(){var $;($=D.projection)===null||$===void 0||$.unmount(),Xi.update(Oe),Xi.render(ae),I.forEach(function(W){return W()}),Q==null||Q(),g==null||g.children.delete(D),O.clearAllListeners(),T=void 0,x=!1},addVariantChild:function($){var W,de=D.getClosestVariantNode();if(de)return(W=de.variantChildren)===null||W===void 0||W.add($),function(){return de.variantChildren.delete($)}},sortNodePosition:function($){return!c||r!==$.treeType?0:c(D.getInstance(),$.getInstance())},getClosestVariantNode:function(){return q?D:g==null?void 0:g.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return T},getStaticValue:function($){return P[$]},setStaticValue:function($,W){return P[$]=W},getLatestValues:function(){return P},setVisibility:function($){D.isVisible!==$&&(D.isVisible=$,D.scheduleRender())},makeTargetAnimatable:function($,W){return W===void 0&&(W=!0),a(D,$,y,W)},measureViewportBox:function(){return o(T,y)},addValue:function($,W){D.hasValue($)&&D.removeValue($),R.set($,W),P[$]=W.get(),Ye($,W)},removeValue:function($){var W;R.delete($),(W=I.get($))===null||W===void 0||W(),I.delete($),delete P[$],u($,k)},hasValue:function($){return R.has($)},getValue:function($,W){var de=R.get($);return de===void 0&&W!==void 0&&(de=Qi(W),D.addValue($,de)),de},forEachValue:function($){return R.forEach($)},readValue:function($){var W;return(W=P[$])!==null&&W!==void 0?W:s(T,$,p)},setBaseTarget:function($,W){U[$]=W},getBaseTarget:function($){if(i){var W=i(y,$);if(W!==void 0&&!jr(W))return W}return U[$]}},O),{build:function(){return se(),k},scheduleRender:function(){Er.render(ae,!1,!0)},syncRender:ae,setProps:function($){($.transformTemplate||y.transformTemplate)&&D.scheduleRender(),y=$,O.updatePropListeners($),B=_I(D,d(y),B)},getProps:function(){return y},getVariant:function($){var W;return(W=y.variants)===null||W===void 0?void 0:W[$]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function($){if($===void 0&&($=!1),$)return g==null?void 0:g.getVariantContext();if(!j){var W=(g==null?void 0:g.getVariantContext())||{};return y.initial!==void 0&&(W.initial=y.initial),W}for(var de={},qe=0;qe<PI;qe++){var Ke=ox[qe],vt=y[Ke];(rr(vt)||vt===!1)&&(de[Ke]=vt)}return de}});return D}},ox=wr(["initial"],He(Oh),!1),PI=ox.length;function Rd(e){return typeof e=="string"&&e.startsWith("var(--")}var lx=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function AI(e){var t=lx.exec(e);if(!t)return[,];var r=He(t,3),n=r[1],i=r[2];return[n,i]}function Od(e,t,r){var n=He(AI(e),2),i=n[0],a=n[1];if(!!i){var o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():Rd(a)?Od(a,t):a}}function RI(e,t,r){var n,i=qt(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:r};r&&(r=V({},r)),e.forEachValue(function(u){var c=u.get();if(!!Rd(c)){var d=Od(c,a);d&&u.set(d)}});for(var o in i){var l=i[o];if(!!Rd(l)){var s=Od(l,a);!s||(i[o]=s,r&&((n=r[o])!==null&&n!==void 0||(r[o]=l)))}}return{target:i,transitionEnd:r}}var OI=new Set(["width","height","top","left","right","bottom","x","y"]),sx=function(e){return OI.has(e)},MI=function(e){return Object.keys(e).some(sx)},ux=function(e,t){e.set(t,!1),e.set(t)},hg=function(e){return e===ri||e===J},vg;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(vg||(vg={}));var mg=function(e,t){return parseFloat(e.split(", ")[t])},gg=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var a=i.match(/^matrix3d\((.+)\)$/);if(a)return mg(a[1],t);var o=i.match(/^matrix\((.+)\)$/);return o?mg(o[1],e):0}},II=new Set(["x","y","z"]),FI=Io.filter(function(e){return!II.has(e)});function LI(e){var t=[];return FI.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var yg={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,a=t.paddingRight,o=a===void 0?"0":a;return r.max-r.min-parseFloat(i)-parseFloat(o)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,a=t.paddingBottom,o=a===void 0?"0":a;return r.max-r.min-parseFloat(i)-parseFloat(o)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:gg(4,13),y:gg(5,14)},DI=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),a=getComputedStyle(i),o=a.display,l={};o==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=yg[u](n,a)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);ux(c,l[u]),e[u]=yg[u](s,a)}),e},$I=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=V({},t),n=V({},n);var i=Object.keys(t).filter(sx),a=[],o=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var d=r[u],f=ka(d),p=t[u],g;if(Mo(p)){var y=p.length,v=p[0]===null?1:0;d=p[v],f=ka(d);for(var h=v;h<y;h++)g?Ns(ka(p[h])===g):g=ka(p[h])}else g=ka(p);if(f!==g)if(hg(f)&&hg(g)){var m=c.get();typeof m=="string"&&c.set(parseFloat(m)),typeof p=="string"?t[u]=parseFloat(p):Array.isArray(p)&&g===J&&(t[u]=p.map(parseFloat))}else(f==null?void 0:f.transform)&&(g==null?void 0:g.transform)&&(d===0||p===0)?d===0?c.set(g.transform(d)):t[u]=f.transform(p):(o||(a=LI(e),o=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],ux(c,p))}}),l.length){var s=DI(t,e,l);return a.length&&a.forEach(function(u){var c=He(u,2),d=c[0],f=c[1];e.getValue(d).set(f)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function BI(e,t,r,n){return MI(t)?$I(e,t,r,n):{target:t,transitionEnd:n}}var VI=function(e,t,r,n){var i=RI(e,t,n);return t=i.target,n=i.transitionEnd,BI(e,t,r,n)};function NI(e){return window.getComputedStyle(e)}var cx={treeType:"dom",readValueFromInstance:function(e,t){if(Xo(t)){var r=bh(t);return r&&r.default||0}else{var n=NI(e);return(OS(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return ix(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;n===void 0&&(n=!0);var a=t.transition,o=t.transitionEnd,l=qt(t,["transition","transitionEnd"]),s=Q6(l,a||{},e);if(i&&(o&&(o=i(o)),l&&(l=i(l)),s&&(s=i(s))),n){K6(e,l,s);var u=VI(e,l,s,o);o=u.transitionEnd,l=u.target}return V({transition:a,transitionEnd:o},l)},scrapeMotionValuesFromProps:_h,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),Ch(t,r,n,i.transformTemplate)},render:DS},zI=ax(cx),jI=ax(V(V({},cx),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return Xo(t)?((r=bh(t))===null||r===void 0?void 0:r.default)||0:(t=$S.has(t)?t:LS(t),e.getAttribute(t))},scrapeMotionValuesFromProps:VS,build:function(e,t,r,n,i){kh(t,r,n,i.transformTemplate)},render:BS})),HI=function(e,t){return Eh(e)?jI(t,{enableHardwareAcceleration:!1}):zI(t,{enableHardwareAcceleration:!0})};function bg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var _a={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(J.test(e))e=parseFloat(e);else return e;var r=bg(e,t.target.x),n=bg(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Sg="_$css",WI={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,a=e.includes("var("),o=[];a&&(e=e.replace(lx,function(y){return o.push(y),Sg}));var l=zr.parse(e);if(l.length>5)return i;var s=zr.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,d=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=d;var f=De(c,d,.5);typeof l[2+u]=="number"&&(l[2+u]/=f),typeof l[3+u]=="number"&&(l[3+u]/=f);var p=s(l);if(a){var g=0;p=p.replace(Sg,function(){var y=o[g];return g++,y})}return p}},UI=function(e){Bb(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,i=n.visualElement,a=n.layoutGroup,o=n.switchLayoutGroup,l=n.layoutId,s=i.projection;xM(YI),s&&(a!=null&&a.group&&a.group.add(s),(o==null?void 0:o.register)&&l&&o.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(V(V({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),no.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,a=i.layoutDependency,o=i.visualElement,l=i.drag,s=i.isPresent,u=o.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==a||a===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||Er.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,i=r.layoutGroup,a=r.switchLayoutGroup,o=n.projection;o&&(o.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(o),a!=null&&a.deregister&&a.deregister(o))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(ie.Component);function GI(e){var t=He(XS(),2),r=t[0],n=t[1],i=w.exports.useContext(PS);return te(UI,ee({},V({},e,{layoutGroup:i,switchLayoutGroup:w.exports.useContext(AS),isPresent:r,safeToRemove:n})))}var YI={borderRadius:V(V({},_a),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:_a,borderTopRightRadius:_a,borderBottomLeftRadius:_a,borderBottomRightRadius:_a,boxShadow:WI},qI={measureLayout:GI},KI=_S({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),Jc={current:void 0},XI=_S({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Jc.current){var e=new KI(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Jc.current=e}return Jc.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),QI=V(V(V(V({},sI),B6),TI),qI),ZI=qM(function(e,t){return g6(e,t,QI,HI,XI)});function Hn(){return Hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hn.apply(this,arguments)}function fx(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function JI(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,a=e.onError,o=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=w.exports.useState("pending"),c=u[0],d=u[1];w.exports.useEffect(function(){d(r?"loading":"pending")},[r]);var f=w.exports.useRef(),p=w.exports.useCallback(function(){if(!!r){g();var y=new Image;y.src=r,o&&(y.crossOrigin=o),n&&(y.srcset=n),l&&(y.sizes=l),t&&(y.loading=t),y.onload=function(v){g(),d("loaded"),i==null||i(v)},y.onerror=function(v){g(),d("failed"),a==null||a(v)},f.current=y}},[r,o,n,l,i,a,t]),g=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return SC(function(){if(!s)return c==="loading"&&p(),function(){g()}},[c,p,s]),s?"loaded":c}var eF=["htmlWidth","htmlHeight","alt"],tF=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],xg=w.exports.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,a=fx(e,eF);return w.exports.createElement("img",Hn({width:r,height:n,ref:t,alt:i},a))}),rF=Ve(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,a=e.srcSet,o=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,d=fx(e,tF),f=s!=null||u||r===void 0&&n===void 0,p=JI(Hn({},e,{ignoreFallback:f})),g=Hn({ref:t,objectFit:l,objectPosition:o},f?d:op(d,["onError","onLoad"]));return p!=="loaded"?n||w.exports.createElement(xe.img,Hn({as:xg,className:"chakra-image__placeholder",src:r},g)):w.exports.createElement(xe.img,Hn({as:xg,src:i,srcSet:a,crossOrigin:c,loading:s,className:"chakra-image"},g))}),dx={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},nF=xe("span",{baseStyle:dx});xe("input",{baseStyle:dx});function Ks(){return Ks=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ks.apply(this,arguments)}function iF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var aF=["label","thickness","speed","emptyColor","className"],oF=xy({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),lF=Ve(function(e,t){var r=Tn("Spinner",e),n=Cn(e),i=n.label,a=i===void 0?"Loading...":i,o=n.thickness,l=o===void 0?"2px":o,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,d=c===void 0?"transparent":c,f=n.className,p=iF(n,aF),g=st("chakra-spinner",f),y=Ks({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:d,borderLeftColor:d,animation:oF+" "+u+" linear infinite"},r);return w.exports.createElement(xe.div,Ks({ref:t,__css:y,className:g},p),a&&w.exports.createElement(nF,null,a))});function ju(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Vr(){return Vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vr.apply(this,arguments)}var sF=ta({strict:!1,name:"ButtonGroupContext"}),uF=sF[1],cF=["label","placement","spacing","children","className","__css"],wg=function(t){var r=t.label,n=t.placement,i=t.spacing,a=i===void 0?"0.5rem":i,o=t.children,l=o===void 0?w.exports.createElement(lF,{color:"currentColor",width:"1em",height:"1em"}):o,s=t.className,u=t.__css,c=ju(t,cF),d=st("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",p=w.exports.useMemo(function(){var g;return Vr((g={display:"flex",alignItems:"center",position:r?"relative":"absolute"},g[f]=r?a:0,g.fontSize="1em",g.lineHeight="normal",g),u)},[u,r,f,a]);return w.exports.createElement(xe.div,Vr({className:d},c,{__css:p}),l)},fF=["children","className"],Eg=function(t){var r=t.children,n=t.className,i=ju(t,fF),a=w.exports.isValidElement(r)?w.exports.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,o=st("chakra-button__icon",n);return w.exports.createElement(xe.span,Vr({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:o}),a)};function dF(e){var t=w.exports.useState(!e),r=t[0],n=t[1],i=w.exports.useCallback(function(o){!o||n(o.tagName==="BUTTON")},[]),a=r?"button":void 0;return{ref:i,type:a}}var pF=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Mh=Ve(function(e,t){var r=uF(),n=Tn("Button",Vr({},r,e)),i=Cn(e),a=i.isDisabled,o=a===void 0?r==null?void 0:r.isDisabled:a,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,d=i.leftIcon,f=i.rightIcon,p=i.loadingText,g=i.iconSpacing,y=g===void 0?"0.5rem":g,v=i.type,h=i.spinner,m=i.spinnerPlacement,b=m===void 0?"start":m,x=i.className,P=i.as,k=ju(i,pF),T=w.exports.useMemo(function(){var U,Q=jt({},(U=n==null?void 0:n._focus)!=null?U:{},{zIndex:1});return Vr({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:Q})},[n,r,u]),O=dF(P),R=O.ref,I=O.type,B={rightIcon:f,leftIcon:d,iconSpacing:y,children:c};return w.exports.createElement(xe.button,Vr({disabled:o||l,ref:_C(t,R),as:P,type:v!=null?v:I,"data-active":vi(s),"data-loading":vi(l),__css:T,className:st("chakra-button",x)},k),l&&b==="start"&&w.exports.createElement(wg,{className:"chakra-button__spinner--start",label:p,placement:"start",spacing:y},h),l?p||w.exports.createElement(xe.span,{opacity:0},w.exports.createElement(Cg,B)):w.exports.createElement(Cg,B),l&&b==="end"&&w.exports.createElement(wg,{className:"chakra-button__spinner--end",label:p,placement:"end",spacing:y},h))});function Cg(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return w.exports.createElement(w.exports.Fragment,null,t&&w.exports.createElement(Eg,{marginEnd:i},t),n,r&&w.exports.createElement(Eg,{marginStart:i},r))}var hF=["icon","children","isRound","aria-label"],vF=Ve(function(e,t){var r=e.icon,n=e.children,i=e.isRound,a=e["aria-label"],o=ju(e,hF),l=r||n,s=w.exports.isValidElement(l)?w.exports.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null;return w.exports.createElement(Mh,Vr({padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":a},o),s)});function Et(){return Et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Et.apply(this,arguments)}function Qo(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var mF=["id","isRequired","isInvalid","isDisabled","isReadOnly"],gF=["getRootProps","htmlProps"],px=ta({strict:!1,name:"FormControlContext"}),yF=px[0],Ih=px[1];function bF(e){var t=e.id,r=e.isRequired,n=e.isInvalid,i=e.isDisabled,a=e.isReadOnly,o=Qo(e,mF),l=TC(),s=t||"field-"+l,u=s+"-label",c=s+"-feedback",d=s+"-helptext",f=w.exports.useState(!1),p=f[0],g=f[1],y=w.exports.useState(!1),v=y[0],h=y[1],m=xC(),b=m[0],x=m[1],P=w.exports.useCallback(function(I,B){return I===void 0&&(I={}),B===void 0&&(B=null),Et({id:d},I,{ref:Ev(B,function(U){!U||h(!0)})})},[d]),k=w.exports.useCallback(function(I,B){var U,Q;return I===void 0&&(I={}),B===void 0&&(B=null),Et({},I,{ref:B,"data-focus":vi(b),"data-disabled":vi(i),"data-invalid":vi(n),"data-readonly":vi(a),id:(U=I.id)!=null?U:u,htmlFor:(Q=I.htmlFor)!=null?Q:s})},[s,i,b,n,a,u]),T=w.exports.useCallback(function(I,B){return I===void 0&&(I={}),B===void 0&&(B=null),Et({id:c},I,{ref:Ev(B,function(U){!U||g(!0)}),"aria-live":"polite"})},[c]),O=w.exports.useCallback(function(I,B){return I===void 0&&(I={}),B===void 0&&(B=null),Et({},I,o,{ref:B,role:"group"})},[o]),R=w.exports.useCallback(function(I,B){return I===void 0&&(I={}),B===void 0&&(B=null),Et({},I,{ref:B,role:"presentation","aria-hidden":!0,children:I.children||"*"})},[]);return{isRequired:!!r,isInvalid:!!n,isReadOnly:!!a,isDisabled:!!i,isFocused:!!b,onFocus:x.on,onBlur:x.off,hasFeedbackText:p,setHasFeedbackText:g,hasHelpText:v,setHasHelpText:h,id:s,labelId:u,feedbackId:c,helpTextId:d,htmlProps:o,getHelpTextProps:P,getErrorMessageProps:T,getRootProps:O,getLabelProps:k,getRequiredIndicatorProps:R}}var SF=Ve(function(e,t){var r=Cb("Form",e),n=Cn(e),i=bF(n),a=i.getRootProps;i.htmlProps;var o=Qo(i,gF),l=st("chakra-form-control",e.className);return w.exports.createElement(yF,{value:o},w.exports.createElement(p_,{value:r},w.exports.createElement(xe.div,Et({},a({},t),{className:l,__css:r.container}))))}),xF=["isDisabled","isInvalid","isReadOnly","isRequired"],wF=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function EF(e){var t=CF(e),r=t.isDisabled,n=t.isInvalid,i=t.isReadOnly,a=t.isRequired,o=Qo(t,xF);return Et({},o,{disabled:r,readOnly:i,required:a,"aria-invalid":ic(n),"aria-required":ic(a),"aria-readonly":ic(i)})}function CF(e){var t,r,n,i=Ih(),a=e.id,o=e.disabled,l=e.readOnly,s=e.required,u=e.isRequired,c=e.isInvalid,d=e.isReadOnly,f=e.isDisabled,p=e.onFocus,g=e.onBlur,y=Qo(e,wF),v=e["aria-describedby"]?[e["aria-describedby"]]:[];return i!=null&&i.hasFeedbackText&&i!=null&&i.isInvalid&&v.push(i.feedbackId),i!=null&&i.hasHelpText&&v.push(i.helpTextId),Et({},y,{"aria-describedby":v.join(" ")||void 0,id:a!=null?a:i==null?void 0:i.id,isDisabled:(t=o!=null?o:f)!=null?t:i==null?void 0:i.isDisabled,isReadOnly:(r=l!=null?l:d)!=null?r:i==null?void 0:i.isReadOnly,isRequired:(n=s!=null?s:u)!=null?n:i==null?void 0:i.isRequired,isInvalid:c!=null?c:i==null?void 0:i.isInvalid,onFocus:wv(i==null?void 0:i.onFocus,p),onBlur:wv(i==null?void 0:i.onBlur,g)})}var TF=["className","children","requiredIndicator","optionalIndicator"],kF=Ve(function(e,t){var r,n=Tn("FormLabel",e),i=Cn(e);i.className;var a=i.children,o=i.requiredIndicator,l=o===void 0?w.exports.createElement(_F,null):o,s=i.optionalIndicator,u=s===void 0?null:s,c=Qo(i,TF),d=Ih(),f=(r=d==null?void 0:d.getLabelProps(c,t))!=null?r:Et({ref:t},c);return w.exports.createElement(xe.label,Et({},f,{className:st("chakra-form__label",i.className),__css:Et({display:"block",textAlign:"start"},n)}),a,d!=null&&d.isRequired?l:u)}),_F=Ve(function(e,t){var r=Ih(),n=ih();if(!(r!=null&&r.isRequired))return null;var i=st("chakra-form__required-indicator",e.className);return w.exports.createElement(xe.span,Et({},r==null?void 0:r.getRequiredIndicatorProps(e,t),{__css:n.requiredIndicator,className:i}))});function or(){return or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},or.apply(this,arguments)}function Zo(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var PF=["htmlSize"],Md=Ve(function(e,t){var r=e.htmlSize,n=Zo(e,PF),i=Cb("Input",n),a=Cn(n),o=EF(a),l=st("chakra-input",e.className);return w.exports.createElement(xe.input,or({size:r},o,{__css:i.field,ref:t,className:l}))});Md.id="Input";var AF=["placement"],RF={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},OF=xe("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),hx=Ve(function(e,t){var r,n=e.placement,i=n===void 0?"left":n,a=Zo(e,AF),o=(r=RF[i])!=null?r:{},l=ih();return w.exports.createElement(OF,or({ref:t},a,{__css:or({},l.addon,o)}))}),MF=Ve(function(e,t){return w.exports.createElement(hx,or({ref:t,placement:"left"},e,{className:st("chakra-input__left-addon",e.className)}))});MF.id="InputLeftAddon";var IF=Ve(function(e,t){return w.exports.createElement(hx,or({ref:t,placement:"right"},e,{className:st("chakra-input__right-addon",e.className)}))});IF.id="InputRightAddon";var FF=["placement"],LF=["className"],DF=["className"],$F=xe("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),Fh=Ve(function(e,t){var r,n,i,a=e.placement,o=a===void 0?"left":a,l=Zo(e,FF),s=ih(),u=s.field,c=o==="left"?"insetStart":"insetEnd",d=or((i={},i[c]="0",i.width=(r=u==null?void 0:u.height)!=null?r:u==null?void 0:u.h,i.height=(n=u==null?void 0:u.height)!=null?n:u==null?void 0:u.h,i.fontSize=u==null?void 0:u.fontSize,i),s.element);return w.exports.createElement($F,or({ref:t,__css:d},l))});Fh.id="InputElement";var BF=Ve(function(e,t){var r=e.className,n=Zo(e,LF),i=st("chakra-input__left-element",r);return w.exports.createElement(Fh,or({ref:t,placement:"left",className:i},n))});BF.id="InputLeftElement";var VF=Ve(function(e,t){var r=e.className,n=Zo(e,DF),i=st("chakra-input__right-element",r);return w.exports.createElement(Fh,or({ref:t,placement:"right",className:i},n))});VF.id="InputRightElement";function lr(){return lr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lr.apply(this,arguments)}function ni(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var Qn=xe("div");xe("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});var NF=["direction","align","justify","wrap","basis","grow","shrink"],Lh=Ve(function(e,t){var r=e.direction,n=e.align,i=e.justify,a=e.wrap,o=e.basis,l=e.grow,s=e.shrink,u=ni(e,NF),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:a,flexBasis:o,flexGrow:l,flexShrink:s};return w.exports.createElement(xe.div,lr({ref:t,__css:c},u))}),zF=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],Dh=Ve(function(e,t){var r=e.area,n=e.templateAreas,i=e.gap,a=e.rowGap,o=e.columnGap,l=e.column,s=e.row,u=e.autoFlow,c=e.autoRows,d=e.templateRows,f=e.autoColumns,p=e.templateColumns,g=ni(e,zF),y={display:"grid",gridArea:r,gridTemplateAreas:n,gridGap:i,gridRowGap:a,gridColumnGap:o,gridAutoColumns:f,gridColumn:l,gridRow:s,gridAutoFlow:u,gridAutoRows:c,gridTemplateRows:d,gridTemplateColumns:p};return w.exports.createElement(xe.div,lr({ref:t,__css:y},g))}),jF=["className"],vx=Ve(function(e,t){var r=Tn("Heading",e),n=Cn(e);n.className;var i=ni(n,jF);return w.exports.createElement(xe.h2,lr({ref:t,className:st("chakra-heading",e.className)},i,{__css:r}))}),HF=["className","isExternal"],WF=Ve(function(e,t){var r=Tn("Link",e),n=Cn(e),i=n.className,a=n.isExternal,o=ni(n,HF);return w.exports.createElement(xe.a,lr({target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:t,className:st("chakra-link",i)},o,{__css:r}))});ta({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "});var UF=["columns","spacingX","spacingY","spacing","minChildWidth"],GF=Ve(function(e,t){var r=e.columns,n=e.spacingX,i=e.spacingY,a=e.spacing,o=e.minChildWidth,l=ni(e,UF),s=o?qF(o):KF(r);return w.exports.createElement(Dh,lr({ref:t,gap:a,columnGap:n,rowGap:i,templateColumns:s},l))});function YF(e){return Pi(e)?e+"px":e}function qF(e){return gu(e,function(t){return wy(t)?null:"repeat(auto-fit, minmax("+YF(t)+", 1fr))"})}function KF(e){return gu(e,function(t){return wy(t)?null:"repeat("+t+", minmax(0, 1fr))"})}xe("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var Id="& > *:not(style) ~ *:not(style)";function XF(e){var t,r=e.spacing,n=e.direction,i={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 t={flexDirection:n},t[Id]=gu(n,function(a){return i[a]}),t}function QF(e){var t=e.spacing,r=e.direction,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":gu(r,function(i){return n[i]})}}var ZF=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],JF=function(t){return w.exports.createElement(xe.div,lr({className:"chakra-stack__item"},t,{__css:lr({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},eL=Ve(function(e,t){var r,n=e.isInline,i=e.direction,a=e.align,o=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,d=e.divider,f=e.className,p=e.shouldWrapChildren,g=ni(e,ZF),y=n?"row":i!=null?i:"column",v=w.exports.useMemo(function(){return XF({direction:y,spacing:s})},[y,s]),h=w.exports.useMemo(function(){return QF({spacing:s,direction:y})},[s,y]),m=!!d,b=!p&&!m,x=bC(c),P=b?x:x.map(function(T,O){var R=typeof T.key!="undefined"?T.key:O,I=O+1===x.length,B=w.exports.createElement(JF,{key:R},T),U=p?B:T;if(!m)return U;var Q=w.exports.cloneElement(d,{__css:h}),ae=I?null:Q;return w.exports.createElement(w.exports.Fragment,{key:R},U,ae)}),k=st("chakra-stack",f);return w.exports.createElement(xe.div,lr({ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:v.flexDirection,flexWrap:u,className:k,__css:m?{}:(r={},r[Id]=v[Id],r)},g),P)}),tL=["className","align","decoration","casing"],mx=Ve(function(e,t){var r=Tn("Text",e),n=Cn(e);n.className,n.align,n.decoration,n.casing;var i=ni(n,tL),a=lp({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return w.exports.createElement(xe.p,lr({ref:t,className:st("chakra-text",e.className)},a,i,{__css:r}))}),gx={exports:{}},rL="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",nL=rL,iL=nL;function yx(){}function bx(){}bx.resetWarningCache=yx;var aL=function(){function e(n,i,a,o,l,s){if(s!==iL){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:bx,resetWarningCache:yx};return r.PropTypes=r,r};gx.exports=aL();var _e=gx.exports,Sx=C_;Sx.defaultProps={theme:$b};function oL(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return b4(i)&&n.length>1?n=n.slice(0,n.length-1):i=$b,gC.apply(void 0,n.map(function(a){return function(o){return Ln(a)?a(o):lL(o,a)}}))(i)}function lL(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return jt.apply(void 0,[{}].concat(t,[xx]))}function xx(e,t,r,n){if((Ln(e)||Ln(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Ln(e)?e.apply(void 0,arguments):e,a=Ln(t)?t.apply(void 0,arguments):t;return jt({},i,a,xx)}}function Xs(){return Xs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xs.apply(this,arguments)}var Wn,$h=Wn||(Wn={});$h.Pop="POP";$h.Push="PUSH";$h.Replace="REPLACE";var Tg=function(e){return e};function kg(e){e.preventDefault(),e.returnValue=""}function _g(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(r){return r!==t})}},call:function(t){e.forEach(function(r){return r&&r(t)})}}}function sL(){return Math.random().toString(36).substr(2,8)}function Fd(e){var t=e.pathname;t=t===void 0?"/":t;var r=e.search;return r=r===void 0?"":r,e=e.hash,e=e===void 0?"":e,r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),e&&e!=="#"&&(t+=e.charAt(0)==="#"?e:"#"+e),t}function ii(e){var t={};if(e){var r=e.indexOf("#");0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),r=e.indexOf("?"),0<=r&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function uL(e){function t(){var v=s.location,h=u.state||{};return[h.idx,Tg({pathname:v.pathname,search:v.search,hash:v.hash,state:h.usr||null,key:h.key||"default"})]}function r(v){return typeof v=="string"?v:Fd(v)}function n(v,h){return h===void 0&&(h=null),Tg(Xs({pathname:p.pathname,hash:"",search:""},typeof v=="string"?ii(v):v,{state:h,key:sL()}))}function i(v){d=v,v=t(),f=v[0],p=v[1],g.call({action:d,location:p})}function a(v,h){function m(){a(v,h)}var b=Wn.Push,x=n(v,h);if(!y.length||(y.call({action:b,location:x,retry:m}),!1)){var P=[{usr:x.state,key:x.key,idx:f+1},r(x)];x=P[0],P=P[1];try{u.pushState(x,"",P)}catch{s.location.assign(P)}i(b)}}function o(v,h){function m(){o(v,h)}var b=Wn.Replace,x=n(v,h);y.length&&(y.call({action:b,location:x,retry:m}),1)||(x=[{usr:x.state,key:x.key,idx:f},r(x)],u.replaceState(x[0],"",x[1]),i(b))}function l(v){u.go(v)}e===void 0&&(e={}),e=e.window;var s=e===void 0?document.defaultView:e,u=s.history,c=null;s.addEventListener("popstate",function(){if(c)y.call(c),c=null;else{var v=Wn.Pop,h=t(),m=h[0];if(h=h[1],y.length){if(m!=null){var b=f-m;b&&(c={action:v,location:h,retry:function(){l(-1*b)}},l(b))}}else i(v)}});var d=Wn.Pop;e=t();var f=e[0],p=e[1],g=_g(),y=_g();return f==null&&(f=0,u.replaceState(Xs({},u.state,{idx:f}),"")),{get action(){return d},get location(){return p},createHref:r,push:a,replace:o,go:l,back:function(){l(-1)},forward:function(){l(1)},listen:function(v){return g.push(v)},block:function(v){var h=y.push(v);return y.length===1&&s.addEventListener("beforeunload",kg),function(){h(),y.length||s.removeEventListener("beforeunload",kg)}}}}/**
 * React Router v6.3.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const Bh=w.exports.createContext(null),Vh=w.exports.createContext(null),Hu=w.exports.createContext({outlet:null,matches:[]});function Tr(e,t){if(!e)throw new Error(t)}function cL(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ii(t):t,i=Cx(n.pathname||"/",r);if(i==null)return null;let a=wx(e);fL(a);let o=null;for(let l=0;o==null&&l<a.length;++l)o=SL(a[l],i);return o}function wx(e,t,r,n){return t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n=""),e.forEach((i,a)=>{let o={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(n)||Tr(!1),o.relativePath=o.relativePath.slice(n.length));let l=vn([n,o.relativePath]),s=r.concat(o);i.children&&i.children.length>0&&(i.index===!0&&Tr(!1),wx(i.children,t,s,l)),!(i.path==null&&!i.index)&&t.push({path:l,score:yL(l,i.index),routesMeta:s})}),t}function fL(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:bL(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const dL=/^:\w+$/,pL=3,hL=2,vL=1,mL=10,gL=-2,Pg=e=>e==="*";function yL(e,t){let r=e.split("/"),n=r.length;return r.some(Pg)&&(n+=gL),t&&(n+=hL),r.filter(i=>!Pg(i)).reduce((i,a)=>i+(dL.test(a)?pL:a===""?vL:mL),n)}function bL(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function SL(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let o=0;o<r.length;++o){let l=r[o],s=o===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",c=xL({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u);if(!c)return null;Object.assign(n,c.params);let d=l.route;a.push({params:n,pathname:vn([i,c.pathname]),pathnameBase:Tx(vn([i,c.pathnameBase])),route:d}),c.pathnameBase!=="/"&&(i=vn([i,c.pathnameBase]))}return a}function xL(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=wL(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:n.reduce((u,c,d)=>{if(c==="*"){let f=l[d]||"";o=a.slice(0,a.length-f.length).replace(/(.)\/+$/,"$1")}return u[c]=EL(l[d]||""),u},{}),pathname:a,pathnameBase:o,pattern:e}}function wL(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(o,l)=>(n.push(l),"([^\\/]+)"));return e.endsWith("*")?(n.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),n]}function EL(e,t){try{return decodeURIComponent(e)}catch{return e}}function CL(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ii(e):e;return{pathname:r?r.startsWith("/")?r:TL(r,t):t,search:_L(n),hash:PL(i)}}function TL(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Ex(e,t,r){let n=typeof e=="string"?ii(e):e,i=e===""||n.pathname===""?"/":n.pathname,a;if(i==null)a=r;else{let l=t.length-1;if(i.startsWith("..")){let s=i.split("/");for(;s[0]==="..";)s.shift(),l-=1;n.pathname=s.join("/")}a=l>=0?t[l]:"/"}let o=CL(n,a);return i&&i!=="/"&&i.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function kL(e){return e===""||e.pathname===""?"/":typeof e=="string"?ii(e).pathname:e.pathname}function Cx(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=e.charAt(t.length);return r&&r!=="/"?null:e.slice(t.length)||"/"}const vn=e=>e.join("/").replace(/\/\/+/g,"/"),Tx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_L=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,PL=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function AL(e){Jo()||Tr(!1);let{basename:t,navigator:r}=w.exports.useContext(Bh),{hash:n,pathname:i,search:a}=_x(e),o=i;if(t!=="/"){let l=kL(e),s=l!=null&&l.endsWith("/");o=i==="/"?t+(s?"/":""):vn([t,i])}return r.createHref({pathname:o,search:a,hash:n})}function Jo(){return w.exports.useContext(Vh)!=null}function Wu(){return Jo()||Tr(!1),w.exports.useContext(Vh).location}function kx(){Jo()||Tr(!1);let{basename:e,navigator:t}=w.exports.useContext(Bh),{matches:r}=w.exports.useContext(Hu),{pathname:n}=Wu(),i=JSON.stringify(r.map(l=>l.pathnameBase)),a=w.exports.useRef(!1);return w.exports.useEffect(()=>{a.current=!0}),w.exports.useCallback(function(l,s){if(s===void 0&&(s={}),!a.current)return;if(typeof l=="number"){t.go(l);return}let u=Ex(l,JSON.parse(i),n);e!=="/"&&(u.pathname=vn([e,u.pathname])),(s.replace?t.replace:t.push)(u,s.state)},[e,t,i,n])}function _x(e){let{matches:t}=w.exports.useContext(Hu),{pathname:r}=Wu(),n=JSON.stringify(t.map(i=>i.pathnameBase));return w.exports.useMemo(()=>Ex(e,JSON.parse(n),r),[e,n,r])}function RL(e,t){Jo()||Tr(!1);let{matches:r}=w.exports.useContext(Hu),n=r[r.length-1],i=n?n.params:{};n&&n.pathname;let a=n?n.pathnameBase:"/";n&&n.route;let o=Wu(),l;if(t){var s;let f=typeof t=="string"?ii(t):t;a==="/"||((s=f.pathname)==null?void 0:s.startsWith(a))||Tr(!1),l=f}else l=o;let u=l.pathname||"/",c=a==="/"?u:u.slice(a.length)||"/",d=cL(e,{pathname:c});return OL(d&&d.map(f=>Object.assign({},f,{params:Object.assign({},i,f.params),pathname:vn([a,f.pathname]),pathnameBase:f.pathnameBase==="/"?a:vn([a,f.pathnameBase])})),r)}function OL(e,t){return t===void 0&&(t=[]),e==null?null:e.reduceRight((r,n,i)=>w.exports.createElement(Hu.Provider,{children:n.route.element!==void 0?n.route.element:r,value:{outlet:r,matches:t.concat(e.slice(0,i+1))}}),null)}function Ld(e){Tr(!1)}function ML(e){let{basename:t="/",children:r=null,location:n,navigationType:i=Wn.Pop,navigator:a,static:o=!1}=e;Jo()&&Tr(!1);let l=Tx(t),s=w.exports.useMemo(()=>({basename:l,navigator:a,static:o}),[l,a,o]);typeof n=="string"&&(n=ii(n));let{pathname:u="/",search:c="",hash:d="",state:f=null,key:p="default"}=n,g=w.exports.useMemo(()=>{let y=Cx(u,l);return y==null?null:{pathname:y,search:c,hash:d,state:f,key:p}},[l,u,c,d,f,p]);return g==null?null:w.exports.createElement(Bh.Provider,{value:s},w.exports.createElement(Vh.Provider,{children:r,value:{location:g,navigationType:i}}))}function IL(e){let{children:t,location:r}=e;return RL(Dd(t),r)}function Dd(e){let t=[];return w.exports.Children.forEach(e,r=>{if(!w.exports.isValidElement(r))return;if(r.type===w.exports.Fragment){t.push.apply(t,Dd(r.props.children));return}r.type!==Ld&&Tr(!1);let n={caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path};r.props.children&&(n.children=Dd(r.props.children)),t.push(n)}),t}/**
 * React Router DOM v6.3.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function $d(){return $d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$d.apply(this,arguments)}function FL(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const LL=["onClick","reloadDocument","replace","state","target","to"];function DL(e){let{basename:t,children:r,window:n}=e,i=w.exports.useRef();i.current==null&&(i.current=uL({window:n}));let a=i.current,[o,l]=w.exports.useState({action:a.action,location:a.location});return w.exports.useLayoutEffect(()=>a.listen(l),[a]),w.exports.createElement(ML,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a})}function $L(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const BL=w.exports.forwardRef(function(t,r){let{onClick:n,reloadDocument:i,replace:a=!1,state:o,target:l,to:s}=t,u=FL(t,LL),c=AL(s),d=VL(s,{replace:a,state:o,target:l});function f(p){n&&n(p),!p.defaultPrevented&&!i&&d(p)}return w.exports.createElement("a",$d({},u,{href:c,onClick:f,ref:r,target:l}))});function VL(e,t){let{target:r,replace:n,state:i}=t===void 0?{}:t,a=kx(),o=Wu(),l=_x(e);return w.exports.useCallback(s=>{if(s.button===0&&(!r||r==="_self")&&!$L(s)){s.preventDefault();let u=!!n||Fd(o)===Fd(l);a(e,{replace:u,state:i})}},[o,a,l,n,i,r,e])}const NL=()=>te(Lh,{as:"footer",width:"full",align:"center",alignSelf:"flex-end",justifyContent:"center"}),zL=()=>te(Qn,{maxW:"200px",children:_t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 798.92 453.49",children:[te("defs",{children:te("style",{children:`   .b,
      .c {
        fill: none;
        stroke: #5300f9;
        stroke-miterlimit: 10;
        stroke-width: 40px;
      }

      .d {
        fill: #333;
      }

      .e {
        fill: #ffca22;
      }

      .played {
          fill: white;
      }

      .c {
        stroke-linecap: round;
      }`})}),te("path",{d:"M56.19 101.61c266.27-71.11 171.63 434.9 399.46-31.49 61.99-126.9-79.84 503.13 12.99 302.97C531.18 238.26 682 186.15 706.22 356.36",className:"b"}),te("path",{d:"M315.73 169.2l.75 20.36c1.08 29.53-7.23 56.08-25.21 80.02-17.7 23.57-41.19 39.88-70.75 48.73-31.28 9.37-57.48 7.07-78.59-6.89-20.83-14.05-31.77-35.7-32.86-65.23s8.06-57.2 27.4-83.57c19.34-26.37 43.94-43.89 73.5-52.74 18.65-5.59 36.03-6.45 51.83-2.77 16.09 3.59 28.55 11.16 37.97 22.54l-42.71 38.01c-8.5-10.21-25.16-13.62-44.68-7.78-15.78 4.73-28.8 13.84-38.46 27.17-9.67 13.33-14.35 28.07-13.76 44.12s5.93 27.21 16.36 34.81c10.43 7.6 24.98 8.75 43.06 3.33 23.25-6.96 38.42-20.49 45.24-40.22l-48.79 14.61-1.62-44.15 101.31-30.35zM391.34 304.36l78.16 35.59v48.46l-129.79-59.1v-201.9l128.35 58.44v48.17l-76.72-34.93v27.98l69.51 31.65v47.59l-69.51-31.65v29.71zM606.36 52.68l51.34-24.49v201.9l-39.8 18.99-71.24-67.54v101.53l-51.63 24.63V105.79l40.09-19.13 71.24 67.54V52.68z",className:"e"}),te("path",{d:"M759.76 308.57L714.51 378.92 637.05 333.59",className:"c"}),te("path",{d:"M108.52 155.94L38.17 110.7 83.5 33.23",className:"c"}),te("path",{d:"M256.3 210.31l1.47 5.29.18-.05c3.57-6.6 7.64-8.91 13.21-10.46 12.95-3.6 25.16.37 28.95 13.96 3.48 12.5-3.97 23.51-16.56 27.02-7.39 2.06-13.52 1.21-17.04-1.55l-.18.05 5.51 19.79-13.13 3.66-15.08-54.18 12.68-3.53zm20.89 27.4c6.66-1.85 11.34-7.28 9.28-14.67-2.06-7.39-8.87-9.62-15.53-7.77-6.57 1.83-11.25 7.26-9.19 14.65 2.06 7.39 8.87 9.62 15.44 7.79zM329.61 193.54l-11.34 53.25-13.33-2.84 11.34-53.25 13.33 2.84zM353.23 248.28c-10.77 1.62-18.81-.91-20.2-10.18-1.45-9.64 7.04-13.03 15.2-14.83l14.18-3.09c4.08-.9 5.37-1.86 4.89-5.04s-3.42-4.27-11.28-3.09c-5.71.86-8.65 1.68-9.79 7.5l-13.01 1.96c-.25-12.5 11.24-15.67 22.29-17.33 19.29-2.9 24.32 2.57 25.43 9.96l4.18 27.81-12.83 1.93-.63-4.21c-4.02 5.1-12.34 7.7-18.43 8.61zm8.26-20.87l-7.77 1.84c-4.72 1.09-6.86 2.76-6.33 6.31s4.29 5 9.35 4.24c6.83-1.03 13.94-5.35 12.94-12l-.49-3.28c-2.34 1.6-5.11 2.3-7.71 2.88zM410.7 262.01c-4.03 6.47-7.99 7.61-15.5 6.7-3.2-.39-6.37-.97-9.54-1.54l1.14-9.4c1.95.43 3.91.76 5.89 1 3.29.4 4.95-.73 6.89-3.36l1.67-2.75-14.58-41.64 14.66 1.79 8.57 28.32 14.65-25.5 14.47 1.76-28.33 44.62zM470.33 259.52c-16.19 3.07-28.18-1.2-31-16.09-2.84-14.98 6.75-23.35 22.93-26.42 17.67-3.36 27.87 3.67 30.7 18.55l.23 1.21-39.35 7.47.02.09c.72 3.81 5.82 8.82 14.93 7.09 5.4-1.02 8.87-3.52 10.17-7.33l14.33-2.72c-2.12 10.14-10.68 15.81-22.96 18.14zm7.52-27.93c-.41-2.14-4.56-8.29-14.33-6.44-10.6 2.01-11.35 10.25-11.16 11.27l.02.09 25.49-4.84-.02-.09zM512.39 236.55c-12.59-3.13-20.78-12.58-17.4-26.18 3.15-12.68 15.04-18.51 27.72-15.36 7.44 1.85 12.39 5.52 14.09 9.65l.09.02 4.61-18.56 13.32 3.31-13.13 52.84-12.86-3.2 1.21-4.87-.09-.02c-5.55 3.89-11.5 3.87-17.56 2.37zm6.03-8.55c6.62 1.64 13.36-.78 15.21-8.22 1.85-7.44-2.98-12.74-9.6-14.38-6.71-1.67-13.46.75-15.3 8.2-1.85 7.44 2.98 12.74 9.69 14.41z",className:"played"})]})});var Px={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ag=ie.createContext&&ie.createContext(Px),mn=globalThis&&globalThis.__assign||function(){return mn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},mn.apply(this,arguments)},jL=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};function Ax(e){return e&&e.map(function(t,r){return ie.createElement(t.tag,mn({key:r},t.attr),Ax(t.child))})}function Rx(e){return function(t){return ie.createElement(HL,mn({attr:mn({},e.attr)},t),Ax(e.child))}}function HL(e){var t=function(r){var n=e.attr,i=e.size,a=e.title,o=jL(e,["attr","size","title"]),l=i||r.size||"1em",s;return r.className&&(s=r.className),e.className&&(s=(s?s+" ":"")+e.className),ie.createElement("svg",mn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,o,{className:s,style:mn(mn({color:e.color||r.color},r.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&ie.createElement("title",null,a),e.children)};return Ag!==void 0?ie.createElement(Ag.Consumer,null,function(r){return t(r)}):t(Px)}function WL(e){return Rx({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"}}]}]})(e)}function UL(e){return Rx({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"}}]}]})(e)}const GL=()=>{const{colorMode:e,toggleColorMode:t}=rh();return te(vF,{"aria-label":"theme toggle",icon:e==="light"?te(WL,{}):te(UL,{}),onClick:t})},YL=()=>_t(Lh,{as:"header",width:"full",align:"center",alignSelf:"flex-start",justifyContent:"center",gridGap:2,children:[te(BL,{to:"/",children:te(zL,{})}),te(Qn,{marginLeft:"auto",children:te(GL,{})})]});function qL(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Ox=w.exports,KL=qL(Ox);function Rg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var QL=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function ZL(e,t,r){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof r!="undefined"&&typeof r!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function n(i){return i.displayName||i.name||"Component"}return function(a){if(typeof a!="function")throw new Error("Expected WrappedComponent to be a React component.");var o=[],l;function s(){l=e(o.map(function(c){return c.props})),u.canUseDOM?t(l):r&&(l=r(l))}var u=function(c){XL(d,c);function d(){return c.apply(this,arguments)||this}d.peek=function(){return l},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var g=l;return l=void 0,o=[],g};var f=d.prototype;return f.UNSAFE_componentWillMount=function(){o.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var g=o.indexOf(this);o.splice(g,1),s()},f.render=function(){return KL.createElement(a,this.props)},d}(Ox.PureComponent);return Rg(u,"displayName","SideEffect("+n(a)+")"),Rg(u,"canUseDOM",QL),u}}var JL=ZL,Yn={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},ne={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(ne).map(function(e){return ne[e]});var Pe={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},Qs={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Lo={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},eD=Object.keys(Qs).reduce(function(e,t){return e[Qs[t]]=t,e},{}),tD=[ne.NOSCRIPT,ne.SCRIPT,ne.STYLE],ar="data-react-helmet",rD=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nD=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},iD=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aD=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},Og=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||!Object.prototype.hasOwnProperty.call(e,n)||(r[n]=e[n]);return r},oD=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Bd=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},lD=function(t){var r=ji(t,ne.TITLE),n=ji(t,Lo.TITLE_TEMPLATE);if(n&&r)return n.replace(/%s/g,function(){return Array.isArray(r)?r.join(""):r});var i=ji(t,Lo.DEFAULT_TITLE);return r||i||void 0},sD=function(t){return ji(t,Lo.ON_CHANGE_CLIENT_STATE)||function(){}},ef=function(t,r){return r.filter(function(n){return typeof n[t]!="undefined"}).map(function(n){return n[t]}).reduce(function(n,i){return bt({},n,i)},{})},uD=function(t,r){return r.filter(function(n){return typeof n[ne.BASE]!="undefined"}).map(function(n){return n[ne.BASE]}).reverse().reduce(function(n,i){if(!n.length)for(var a=Object.keys(i),o=0;o<a.length;o++){var l=a[o],s=l.toLowerCase();if(t.indexOf(s)!==-1&&i[s])return n.concat(i)}return n},[])},Pa=function(t,r,n){var i={};return n.filter(function(a){return Array.isArray(a[t])?!0:(typeof a[t]!="undefined"&&pD("Helmet: "+t+' should be of type "Array". Instead found type "'+rD(a[t])+'"'),!1)}).map(function(a){return a[t]}).reverse().reduce(function(a,o){var l={};o.filter(function(f){for(var p=void 0,g=Object.keys(f),y=0;y<g.length;y++){var v=g[y],h=v.toLowerCase();r.indexOf(h)!==-1&&!(p===Pe.REL&&f[p].toLowerCase()==="canonical")&&!(h===Pe.REL&&f[h].toLowerCase()==="stylesheet")&&(p=h),r.indexOf(v)!==-1&&(v===Pe.INNER_HTML||v===Pe.CSS_TEXT||v===Pe.ITEM_PROP)&&(p=v)}if(!p||!f[p])return!1;var m=f[p].toLowerCase();return i[p]||(i[p]={}),l[p]||(l[p]={}),i[p][m]?!1:(l[p][m]=!0,!0)}).reverse().forEach(function(f){return a.push(f)});for(var s=Object.keys(l),u=0;u<s.length;u++){var c=s[u],d=Wd({},i[c],l[c]);i[c]=d}return a},[]).reverse()},ji=function(t,r){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.hasOwnProperty(r))return i[r]}return null},cD=function(t){return{baseTag:uD([Pe.HREF,Pe.TARGET],t),bodyAttributes:ef(Yn.BODY,t),defer:ji(t,Lo.DEFER),encode:ji(t,Lo.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ef(Yn.HTML,t),linkTags:Pa(ne.LINK,[Pe.REL,Pe.HREF],t),metaTags:Pa(ne.META,[Pe.NAME,Pe.CHARSET,Pe.HTTPEQUIV,Pe.PROPERTY,Pe.ITEM_PROP],t),noscriptTags:Pa(ne.NOSCRIPT,[Pe.INNER_HTML],t),onChangeClientState:sD(t),scriptTags:Pa(ne.SCRIPT,[Pe.SRC,Pe.INNER_HTML],t),styleTags:Pa(ne.STYLE,[Pe.CSS_TEXT],t),title:lD(t),titleAttributes:ef(Yn.TITLE,t)}},Vd=function(){var e=Date.now();return function(t){var r=Date.now();r-e>16?(e=r,t(r)):setTimeout(function(){Vd(t)},0)}}(),Mg=function(t){return clearTimeout(t)},fD=typeof window!="undefined"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Vd:global.requestAnimationFrame||Vd,dD=typeof window!="undefined"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Mg:global.cancelAnimationFrame||Mg,pD=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Aa=null,hD=function(t){Aa&&dD(Aa),t.defer?Aa=fD(function(){Ig(t,function(){Aa=null})}):(Ig(t),Aa=null)},Ig=function(t,r){var n=t.baseTag,i=t.bodyAttributes,a=t.htmlAttributes,o=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,f=t.title,p=t.titleAttributes;Nd(ne.BODY,i),Nd(ne.HTML,a),vD(f,p);var g={baseTag:fi(ne.BASE,n),linkTags:fi(ne.LINK,o),metaTags:fi(ne.META,l),noscriptTags:fi(ne.NOSCRIPT,s),scriptTags:fi(ne.SCRIPT,c),styleTags:fi(ne.STYLE,d)},y={},v={};Object.keys(g).forEach(function(h){var m=g[h],b=m.newTags,x=m.oldTags;b.length&&(y[h]=b),x.length&&(v[h]=g[h].oldTags)}),r&&r(),u(t,y,v)},Mx=function(t){return Array.isArray(t)?t.join(""):t},vD=function(t,r){typeof t!="undefined"&&document.title!==t&&(document.title=Mx(t)),Nd(ne.TITLE,r)},Nd=function(t,r){var n=document.getElementsByTagName(t)[0];if(!!n){for(var i=n.getAttribute(ar),a=i?i.split(","):[],o=[].concat(a),l=Object.keys(r),s=0;s<l.length;s++){var u=l[s],c=r[u]||"";n.getAttribute(u)!==c&&n.setAttribute(u,c),a.indexOf(u)===-1&&a.push(u);var d=o.indexOf(u);d!==-1&&o.splice(d,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);a.length===o.length?n.removeAttribute(ar):n.getAttribute(ar)!==l.join(",")&&n.setAttribute(ar,l.join(","))}},fi=function(t,r){var n=document.head||document.querySelector(ne.HEAD),i=n.querySelectorAll(t+"["+ar+"]"),a=Array.prototype.slice.call(i),o=[],l=void 0;return r&&r.length&&r.forEach(function(s){var u=document.createElement(t);for(var c in s)if(s.hasOwnProperty(c))if(c===Pe.INNER_HTML)u.innerHTML=s.innerHTML;else if(c===Pe.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var d=typeof s[c]=="undefined"?"":s[c];u.setAttribute(c,d)}u.setAttribute(ar,"true"),a.some(function(f,p){return l=p,u.isEqualNode(f)})?a.splice(l,1):o.push(u)}),a.forEach(function(s){return s.parentNode.removeChild(s)}),o.forEach(function(s){return n.appendChild(s)}),{oldTags:a,newTags:o}},Ix=function(t){return Object.keys(t).reduce(function(r,n){var i=typeof t[n]!="undefined"?n+'="'+t[n]+'"':""+n;return r?r+" "+i:i},"")},mD=function(t,r,n,i){var a=Ix(n),o=Mx(r);return a?"<"+t+" "+ar+'="true" '+a+">"+Bd(o,i)+"</"+t+">":"<"+t+" "+ar+'="true">'+Bd(o,i)+"</"+t+">"},gD=function(t,r,n){return r.reduce(function(i,a){var o=Object.keys(a).filter(function(u){return!(u===Pe.INNER_HTML||u===Pe.CSS_TEXT)}).reduce(function(u,c){var d=typeof a[c]=="undefined"?c:c+'="'+Bd(a[c],n)+'"';return u?u+" "+d:d},""),l=a.innerHTML||a.cssText||"",s=tD.indexOf(t)===-1;return i+"<"+t+" "+ar+'="true" '+o+(s?"/>":">"+l+"</"+t+">")},"")},Fx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(n,i){return n[Qs[i]||i]=t[i],n},r)},yD=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(n,i){return n[eD[i]||i]=t[i],n},r)},bD=function(t,r,n){var i,a=(i={key:r},i[ar]=!0,i),o=Fx(n,a);return[ie.createElement(ne.TITLE,o,r)]},SD=function(t,r){return r.map(function(n,i){var a,o=(a={key:i},a[ar]=!0,a);return Object.keys(n).forEach(function(l){var s=Qs[l]||l;if(s===Pe.INNER_HTML||s===Pe.CSS_TEXT){var u=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:u}}else o[s]=n[l]}),ie.createElement(t,o)})},Or=function(t,r,n){switch(t){case ne.TITLE:return{toComponent:function(){return bD(t,r.title,r.titleAttributes)},toString:function(){return mD(t,r.title,r.titleAttributes,n)}};case Yn.BODY:case Yn.HTML:return{toComponent:function(){return Fx(r)},toString:function(){return Ix(r)}};default:return{toComponent:function(){return SD(t,r)},toString:function(){return gD(t,r,n)}}}},Lx=function(t){var r=t.baseTag,n=t.bodyAttributes,i=t.encode,a=t.htmlAttributes,o=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.scriptTags,c=t.styleTags,d=t.title,f=d===void 0?"":d,p=t.titleAttributes;return{base:Or(ne.BASE,r,i),bodyAttributes:Or(Yn.BODY,n,i),htmlAttributes:Or(Yn.HTML,a,i),link:Or(ne.LINK,o,i),meta:Or(ne.META,l,i),noscript:Or(ne.NOSCRIPT,s,i),script:Or(ne.SCRIPT,u,i),style:Or(ne.STYLE,c,i),title:Or(ne.TITLE,{title:f,titleAttributes:p},i)}},xD=function(t){var r,n;return n=r=function(i){aD(a,i);function a(){return nD(this,a),oD(this,i.apply(this,arguments))}return a.prototype.shouldComponentUpdate=function(l){return!Sb(this.props,l)},a.prototype.mapNestedChildrenToProps=function(l,s){if(!s)return null;switch(l.type){case ne.SCRIPT:case ne.NOSCRIPT:return{innerHTML:s};case ne.STYLE:return{cssText:s}}throw new Error("<"+l.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},a.prototype.flattenArrayTypeChildren=function(l){var s,u=l.child,c=l.arrayTypeChildren,d=l.newChildProps,f=l.nestedChildren;return bt({},c,(s={},s[u.type]=[].concat(c[u.type]||[],[bt({},d,this.mapNestedChildrenToProps(u,f))]),s))},a.prototype.mapObjectTypeChildren=function(l){var s,u,c=l.child,d=l.newProps,f=l.newChildProps,p=l.nestedChildren;switch(c.type){case ne.TITLE:return bt({},d,(s={},s[c.type]=p,s.titleAttributes=bt({},f),s));case ne.BODY:return bt({},d,{bodyAttributes:bt({},f)});case ne.HTML:return bt({},d,{htmlAttributes:bt({},f)})}return bt({},d,(u={},u[c.type]=bt({},f),u))},a.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=bt({},s);return Object.keys(l).forEach(function(c){var d;u=bt({},u,(d={},d[c]=l[c],d))}),u},a.prototype.warnOnInvalidChildren=function(l,s){return!0},a.prototype.mapChildrenToProps=function(l,s){var u=this,c={};return ie.Children.forEach(l,function(d){if(!(!d||!d.props)){var f=d.props,p=f.children,g=Og(f,["children"]),y=yD(g);switch(u.warnOnInvalidChildren(d,p),d.type){case ne.LINK:case ne.META:case ne.NOSCRIPT:case ne.SCRIPT:case ne.STYLE:c=u.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:y,nestedChildren:p});break;default:s=u.mapObjectTypeChildren({child:d,newProps:s,newChildProps:y,nestedChildren:p});break}}}),s=this.mapArrayTypeChildrenToProps(c,s),s},a.prototype.render=function(){var l=this.props,s=l.children,u=Og(l,["children"]),c=bt({},u);return s&&(c=this.mapChildrenToProps(s,c)),ie.createElement(t,c)},iD(a,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),a}(ie.Component),r.propTypes={base:_e.object,bodyAttributes:_e.object,children:_e.oneOfType([_e.arrayOf(_e.node),_e.node]),defaultTitle:_e.string,defer:_e.bool,encodeSpecialCharacters:_e.bool,htmlAttributes:_e.object,link:_e.arrayOf(_e.object),meta:_e.arrayOf(_e.object),noscript:_e.arrayOf(_e.object),onChangeClientState:_e.func,script:_e.arrayOf(_e.object),style:_e.arrayOf(_e.object),title:_e.string,titleAttributes:_e.object,titleTemplate:_e.string},r.defaultProps={defer:!0,encodeSpecialCharacters:!0},r.peek=t.peek,r.rewind=function(){var i=t.rewind();return i||(i=Lx({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},n},wD=function(){return null},ED=JL(cD,hD,Lx)(wD),zd=xD(ED);zd.renderStatic=zd.rewind;const CD=()=>te(zd,{children:te("title",{children:"Project Name"})}),TD=({children:e})=>_t(Qn,{margin:"0 auto",maxWidth:800,transition:"0.5s ease-out",children:[te(CD,{}),_t(Lh,{wrap:"wrap",margin:"8",minHeight:"90vh",children:[te(YL,{}),te(Qn,{width:"full",as:"main",marginY:22,children:e}),te(NL,{})]})]}),kD=()=>{const e=kx();return _t(Dh,{gap:4,textAlign:"center",children:[te(vx,{children:"Page not Found"}),_t(Qn,{maxWidth:[280,400],marginX:"auto",children:[te(rF,{width:400,src:"/assets/404 Error-rafiki.svg"}),te(WF,{fontSize:"xs",href:"https://stories.freepik.com/web",isExternal:!0,children:"Illustration by Freepik Stories"})]}),_t(Qn,{children:[te(mx,{children:"It's Okay!"}),te(Mh,{onClick:()=>e("/"),children:"Let's Head Back"})]})]})},_D=xe(ZI.div,{shouldForwardProp:e=>Fo(e)||e==="children"}),PD=({players:e,index:t})=>{const r=Tn("Card",{variant:"smooth"});return _t(_D,{animate:"enter",initial:"from",variants:{enter:{scale:1},from:{scale:0}},__css:r,children:[_t(vx,{size:"md",as:"h3",children:["Team ",t+1]}),e.map((n,i)=>te(mx,{children:n},i))]})};var el=e=>e.type==="checkbox",Ti=e=>e instanceof Date,wt=e=>e==null;const Dx=e=>typeof e=="object";var lt=e=>!wt(e)&&!Array.isArray(e)&&Dx(e)&&!Ti(e),AD=e=>lt(e)&&e.target?el(e.target)?e.target.checked:e.target.value:e,RD=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,OD=(e,t)=>e.has(RD(t)),tl=e=>Array.isArray(e)?e.filter(Boolean):[],Me=e=>e===void 0,X=(e,t,r)=>{if(!t||!lt(e))return r;const n=tl(t.split(/[,[\].]+?/)).reduce((i,a)=>wt(i)?i:i[a],e);return Me(n)||n===e?Me(e[t])?r:e[t]:n};const Fg={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},nr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Mr={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},MD=ie.createContext(null),ID=()=>ie.useContext(MD);var FD=(e,t,r,n=!0)=>{const i={};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t[o]!==nr.all&&(t[o]=!n||nr.all),r&&(r[o]=!0),e[o]}});return i},Bt=e=>lt(e)&&!Object.keys(e).length,LD=(e,t,r)=>{const a=e,{name:n}=a,i=ul(a,["name"]);return Bt(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!r||nr.all))},Ht=e=>Array.isArray(e)?e:[e];function $x(e){const t=ie.useRef(e);t.current=e,ie.useEffect(()=>{const r=i=>{i&&i.unsubscribe()},n=!e.disabled&&t.current.subject.subscribe({next:t.current.callback});return()=>r(n)},[e.disabled])}var yr=e=>typeof e=="string",DD=(e,t,r,n)=>{const i=Array.isArray(e);return yr(e)?(n&&t.watch.add(e),X(r,e)):i?e.map(a=>(n&&t.watch.add(a),X(r,a))):(n&&(t.watchAll=!0),r)},Uu=e=>typeof e=="function",Bx=e=>{for(const t in e)if(Uu(e[t]))return!0;return!1},$D=(e,t,r,n,i)=>t?gt(ee({},r[e]),{types:gt(ee({},r[e]&&r[e].types?r[e].types:{}),{[n]:i||!0})}):{},Nh=e=>/^\w*$/.test(e),Vx=e=>tl(e.replace(/["|']|\]/g,"").split(/\.|\[/));function Ie(e,t,r){let n=-1;const i=Nh(t)?[t]:Vx(t),a=i.length,o=a-1;for(;++n<a;){const l=i[n];let s=r;if(n!==o){const u=e[l];s=lt(u)||Array.isArray(u)?u:isNaN(+i[n+1])?{}:[]}e[l]=s,e=e[l]}return e}const Zs=(e,t,r)=>{for(const i of r||Object.keys(e)){const a=X(e,i);if(a){const n=a,{_f:o}=n,l=ul(n,["_f"]);if(o&&t(o.name)){if(o.ref.focus&&Me(o.ref.focus()))break;if(o.refs){o.refs[0].focus();break}}else lt(l)&&Zs(l,t)}}};var Kr=()=>{const e=typeof performance=="undefined"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const r=(Math.random()*16+e)%16|0;return(t=="x"?r:r&3|8).toString(16)})},tf=(e,t,r={})=>r.shouldFocus||Me(r.shouldFocus)?r.focusName||`${e}.${Me(r.focusIndex)?t:r.focusIndex}.`:"",jd=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));function rf(e,t){return[...e,...Ht(t)]}function Vt(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(r||lt(e)){t=r?[]:{};for(const n in e){if(Uu(e[n])){t=e;break}t[n]=Vt(e[n])}}else return e;return t}var nf=e=>Array.isArray(e)?e.map(()=>{}):void 0;function af(e,t,r){return[...e.slice(0,t),...Ht(r),...e.slice(t)]}var of=(e,t,r)=>Array.isArray(e)?(Me(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[];function lf(e,t){return[...Ht(t),...Ht(e)]}function BD(e,t){let r=0;const n=[...e];for(const i of t)n.splice(i-r,1),r++;return tl(n).length?n:[]}var sf=(e,t)=>Me(t)?[]:BD(e,Ht(t).sort((r,n)=>r-n)),uf=(e,t,r)=>{e[t]=[e[r],e[r]=e[t]][0]},Lg=(e,t,r)=>(e[t]=r,e);function VD(e){const t=ID(),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:a}=e,[o,l]=ie.useState(r._getFieldArray(n)),s=ie.useRef(r._getFieldArray(n).map(Kr)),u=ie.useRef(o),c=ie.useRef(n),d=ie.useRef(!1);c.current=n,u.current=o,r._names.array.add(n);const f=ie.useCallback(({values:k,name:T})=>{if(T===c.current||!T){const O=X(k,c.current,[]);l(O),s.current=O.map(Kr)}},[]);$x({callback:f,subject:r._subjects.array});const p=ie.useCallback(k=>{d.current=!0,r._updateFieldArray(n,k)},[r,n]),g=(k,T)=>{const O=Ht(Vt(k)),R=rf(r._getFieldArray(n),O);r._names.focus=tf(n,R.length-1,T),s.current=rf(s.current,O.map(Kr)),p(R),l(R),r._updateFieldArray(n,R,rf,{argA:nf(k)})},y=(k,T)=>{const O=Ht(Vt(k)),R=lf(r._getFieldArray(n),O);r._names.focus=tf(n,0,T),s.current=lf(s.current,O.map(Kr)),p(R),l(R),r._updateFieldArray(n,R,lf,{argA:nf(k)})},v=k=>{const T=sf(r._getFieldArray(n),k);s.current=sf(s.current,k),p(T),l(T),r._updateFieldArray(n,T,sf,{argA:k})},h=(k,T,O)=>{const R=Ht(Vt(T)),I=af(r._getFieldArray(n),k,R);r._names.focus=tf(n,k,O),s.current=af(s.current,k,R.map(Kr)),p(I),l(I),r._updateFieldArray(n,I,af,{argA:k,argB:nf(T)})},m=(k,T)=>{const O=r._getFieldArray(n);uf(O,k,T),uf(s.current,k,T),p(O),l(O),r._updateFieldArray(n,O,uf,{argA:k,argB:T},!1)},b=(k,T)=>{const O=r._getFieldArray(n);of(O,k,T),of(s.current,k,T),p(O),l(O),r._updateFieldArray(n,O,of,{argA:k,argB:T},!1)},x=(k,T)=>{const O=Vt(T),R=Lg(r._getFieldArray(n),k,O);s.current=[...R].map((I,B)=>!I||B===k?Kr():s.current[B]),p(R),l([...R]),r._updateFieldArray(n,R,Lg,{argA:k,argB:O},!0,!1)},P=k=>{const T=Ht(Vt(k));s.current=T.map(Kr),p([...T]),l([...T]),r._updateFieldArray(n,[...T],O=>O,{},!0,!1)};return ie.useEffect(()=>{r._stateFlags.action=!1,jd(n,r._names)&&r._subjects.state.next({}),d.current&&r._executeSchema([n]).then(k=>{const T=X(k.errors,n);T&&T.type&&!X(r._formState.errors,n)&&(Ie(r._formState.errors,n,T),r._subjects.state.next({errors:r._formState.errors}))}),r._subjects.watch.next({name:n,values:r._formValues}),r._names.focus&&Zs(r._fields,k=>k.startsWith(r._names.focus)),r._names.focus="",r._proxyFormState.isValid&&r._updateValid()},[o,n,r]),ie.useEffect(()=>(!X(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||a)&&r.unregister(n)}),[n,r,i,a]),{swap:ie.useCallback(m,[p,n,r]),move:ie.useCallback(b,[p,n,r]),prepend:ie.useCallback(y,[p,n,r]),append:ie.useCallback(g,[p,n,r]),remove:ie.useCallback(v,[p,n,r]),insert:ie.useCallback(h,[p,n,r]),update:ie.useCallback(x,[p,n,r]),replace:ie.useCallback(P,[p,n,r]),fields:ie.useMemo(()=>o.map((k,T)=>gt(ee({},k),{[i]:s.current[T]||Kr()})),[o,i])}}function cf(){let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}}var Js=e=>wt(e)||!Dx(e);function ki(e,t){if(Js(e)||Js(t))return e===t;if(Ti(e)&&Ti(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=t[i];if(Ti(a)&&Ti(o)||lt(a)&&lt(o)||Array.isArray(a)&&Array.isArray(o)?!ki(a,o):a!==o)return!1}}return!0}var Dg=e=>({isOnSubmit:!e||e===nr.onSubmit,isOnBlur:e===nr.onBlur,isOnChange:e===nr.onChange,isOnAll:e===nr.all,isOnTouch:e===nr.onTouched}),eu=e=>typeof e=="boolean",zh=e=>e.type==="file",Hd=e=>e instanceof HTMLElement,Nx=e=>e.type==="select-multiple",jh=e=>e.type==="radio",ND=e=>jh(e)||el(e),$g=typeof window!="undefined"&&typeof window.HTMLElement!="undefined"&&typeof document!="undefined",ff=e=>Hd(e)&&e.isConnected;function zD(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=Me(e)?n++:e[t[n++]];return e}function ft(e,t){const r=Nh(t)?[t]:Vx(t),n=r.length==1?e:zD(e,r),i=r[r.length-1];let a;n&&delete n[i];for(let o=0;o<r.slice(0,-1).length;o++){let l=-1,s;const u=r.slice(0,-(o+1)),c=u.length-1;for(o>0&&(a=e);++l<u.length;){const d=u[l];s=s?s[d]:e[d],c===l&&(lt(s)&&Bt(s)||Array.isArray(s)&&!s.filter(f=>!Me(f)).length)&&(a?delete a[d]:delete e[d]),a=s}}return e}function tu(e,t={}){const r=Array.isArray(e);if(lt(e)||r)for(const n in e)Array.isArray(e[n])||lt(e[n])&&!Bx(e[n])?(t[n]=Array.isArray(e[n])?[]:{},tu(e[n],t[n])):wt(e[n])||(t[n]=!0);return t}function zx(e,t,r){const n=Array.isArray(e);if(lt(e)||n)for(const i in e)Array.isArray(e[i])||lt(e[i])&&!Bx(e[i])?Me(t)||Js(r[i])?r[i]=Array.isArray(e[i])?tu(e[i],[]):ee({},tu(e[i])):zx(e[i],wt(t)?{}:t[i],r[i]):r[i]=!ki(e[i],t[i]);return r}var Bg=(e,t)=>zx(e,t,tu(t));const Vg={value:!1,isValid:!1},Ng={value:!0,isValid:!0};var jx=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Me(e[0].attributes.value)?Me(e[0].value)||e[0].value===""?Ng:{value:e[0].value,isValid:!0}:Ng:Vg}return Vg},Hx=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Me(e)?e:t?e===""?NaN:+e:r&&yr(e)?new Date(e):n?n(e):e;const zg={isValid:!1,value:null};var Wx=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,zg):zg;function df(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return zh(t)?t.files:jh(t)?Wx(e.refs).value:Nx(t)?[...t.selectedOptions].map(({value:r})=>r):el(t)?jx(e.refs).value:Hx(Me(t.value)?e.ref.value:t.value,e)}var jD=(e,t,r,n)=>{const i={};for(const a of e){const o=X(t,a);o&&Ie(i,a,o._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},ru=e=>e instanceof RegExp,Ra=e=>Me(e)?void 0:ru(e)?e.source:lt(e)?ru(e.value)?e.value.source:e.value:e,HD=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function jg(e,t,r){const n=X(e,r);if(n||Nh(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const a=i.join("."),o=X(t,a),l=X(e,a);if(o&&!Array.isArray(o)&&r!==a)return{name:r};if(l&&l.type)return{name:a,error:l};i.pop()}return{name:r}}var WD=(e,t,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?n.isOnChange:i.isOnChange)?e:!0,UD=(e,t)=>!tl(X(e,t)).length&&ft(e,t),ss=e=>yr(e)||ie.isValidElement(e);function Hg(e,t,r="validate"){if(ss(e)||Array.isArray(e)&&e.every(ss)||eu(e)&&!e)return{type:r,message:ss(e)?e:"",ref:t}}var di=e=>lt(e)&&!ru(e)?e:{value:e,message:""},Wg=async(e,t,r,n)=>{const{ref:i,refs:a,required:o,maxLength:l,minLength:s,min:u,max:c,pattern:d,validate:f,name:p,valueAsNumber:g,mount:y,disabled:v}=e._f;if(!y||v)return{};const h=a?a[0]:i,m=I=>{n&&h.reportValidity&&(h.setCustomValidity(eu(I)?"":I||" "),h.reportValidity())},b={},x=jh(i),P=el(i),k=x||P,T=(g||zh(i))&&!i.value||t===""||Array.isArray(t)&&!t.length,O=$D.bind(null,p,r,b),R=(I,B,U,Q=Mr.maxLength,ae=Mr.minLength)=>{const se=I?B:U;b[p]=ee({type:I?Q:ae,message:se,ref:i},O(I?Q:ae,se))};if(o&&(!k&&(T||wt(t))||eu(t)&&!t||P&&!jx(a).isValid||x&&!Wx(a).isValid)){const{value:I,message:B}=ss(o)?{value:!!o,message:o}:di(o);if(I&&(b[p]=ee({type:Mr.required,message:B,ref:h},O(Mr.required,B)),!r))return m(B),b}if(!T&&(!wt(u)||!wt(c))){let I,B;const U=di(c),Q=di(u);if(isNaN(t)){const ae=i.valueAsDate||new Date(t);yr(U.value)&&(I=ae>new Date(U.value)),yr(Q.value)&&(B=ae<new Date(Q.value))}else{const ae=i.valueAsNumber||+t;wt(U.value)||(I=ae>U.value),wt(Q.value)||(B=ae<Q.value)}if((I||B)&&(R(!!I,U.message,Q.message,Mr.max,Mr.min),!r))return m(b[p].message),b}if((l||s)&&!T&&yr(t)){const I=di(l),B=di(s),U=!wt(I.value)&&t.length>I.value,Q=!wt(B.value)&&t.length<B.value;if((U||Q)&&(R(U,I.message,B.message),!r))return m(b[p].message),b}if(d&&!T&&yr(t)){const{value:I,message:B}=di(d);if(ru(I)&&!t.match(I)&&(b[p]=ee({type:Mr.pattern,message:B,ref:i},O(Mr.pattern,B)),!r))return m(B),b}if(f){if(Uu(f)){const I=await f(t),B=Hg(I,h);if(B&&(b[p]=ee(ee({},B),O(Mr.validate,B.message)),!r))return m(B.message),b}else if(lt(f)){let I={};for(const B in f){if(!Bt(I)&&!r)break;const U=Hg(await f[B](t),h,B);U&&(I=ee(ee({},U),O(B,U.message)),m(U.message),r&&(b[p]=I))}if(!Bt(I)&&(b[p]=ee({ref:h},I),!r))return b}}return m(!0),b};const GD={mode:nr.onSubmit,reValidateMode:nr.onChange,shouldFocusError:!0};function YD(e={}){let t=ee(ee({},GD),e),r={isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}},n={},i=Vt(t.defaultValues)||{},a=t.shouldUnregister?{}:Vt(i),o={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},s,u=0,c={};const d={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={watch:cf(),array:cf(),state:cf()},p=Dg(t.mode),g=Dg(t.reValidateMode),y=t.criteriaMode===nr.all,v=(_,M)=>(...F)=>{clearTimeout(u),u=window.setTimeout(()=>_(...F),M)},h=async _=>{let M=!1;return d.isValid&&(M=t.resolver?Bt((await T()).errors):await R(n,!0),!_&&M!==r.isValid&&(r.isValid=M,f.state.next({isValid:M}))),M},m=(_,M=[],F,H,Z=!0,z=!0)=>{if(H&&F){if(o.action=!0,z&&Array.isArray(X(n,_))){const K=F(X(n,_),H.argA,H.argB);Z&&Ie(n,_,K)}if(d.errors&&z&&Array.isArray(X(r.errors,_))){const K=F(X(r.errors,_),H.argA,H.argB);Z&&Ie(r.errors,_,K),UD(r.errors,_)}if(d.touchedFields&&z&&Array.isArray(X(r.touchedFields,_))){const K=F(X(r.touchedFields,_),H.argA,H.argB);Z&&Ie(r.touchedFields,_,K)}d.dirtyFields&&(r.dirtyFields=Bg(i,a)),f.state.next({isDirty:B(_,M),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ie(a,_,M)},b=(_,M)=>(Ie(r.errors,_,M),f.state.next({errors:r.errors})),x=(_,M,F,H)=>{const Z=X(n,_);if(Z){const z=X(a,_,Me(F)?X(i,_):F);Me(z)||H&&H.defaultChecked||M?Ie(a,_,M?z:df(Z._f)):ae(_,z),o.mount&&h()}},P=(_,M,F,H,Z)=>{let z=!1;const K={name:_},he=X(r.touchedFields,_);if(d.isDirty){const mt=r.isDirty;r.isDirty=K.isDirty=B(),z=mt!==K.isDirty}if(d.dirtyFields&&(!F||H)){const mt=X(r.dirtyFields,_);ki(X(i,_),M)?ft(r.dirtyFields,_):Ie(r.dirtyFields,_,!0),K.dirtyFields=r.dirtyFields,z=z||mt!==X(r.dirtyFields,_)}return F&&!he&&(Ie(r.touchedFields,_,F),K.touchedFields=r.touchedFields,z=z||d.touchedFields&&he!==F),z&&Z&&f.state.next(K),z?K:{}},k=async(_,M,F,H,Z)=>{const z=X(r.errors,M),K=d.isValid&&r.isValid!==F;if(e.delayError&&H?(s=s||v(b,e.delayError),s(M,H)):(clearTimeout(u),H?Ie(r.errors,M,H):ft(r.errors,M)),((H?!ki(z,H):z)||!Bt(Z)||K)&&!_){const he=gt(ee(ee({},Z),K?{isValid:F}:{}),{errors:r.errors,name:M});r=ee(ee({},r),he),f.state.next(he)}c[M]--,d.isValidating&&!Object.values(c).some(he=>he)&&(f.state.next({isValidating:!1}),c={})},T=async _=>t.resolver?await t.resolver(ee({},a),t.context,jD(_||l.mount,n,t.criteriaMode,t.shouldUseNativeValidation)):{},O=async _=>{const{errors:M}=await T();if(_)for(const F of _){const H=X(M,F);H?Ie(r.errors,F,H):ft(r.errors,F)}else r.errors=M;return M},R=async(_,M,F={valid:!0})=>{for(const Z in _){const z=_[Z];if(z){const H=z,{_f:K}=H,he=ul(H,["_f"]);if(K){const mt=await Wg(z,X(a,K.name),y,t.shouldUseNativeValidation);if(mt[K.name]&&(F.valid=!1,M))break;M||(mt[K.name]?Ie(r.errors,K.name,mt[K.name]):ft(r.errors,K.name))}he&&await R(he,M,F)}}return F.valid},I=()=>{for(const _ of l.unMount){const M=X(n,_);M&&(M._f.refs?M._f.refs.every(F=>!ff(F)):!ff(M._f.ref))&&$(_)}l.unMount=new Set},B=(_,M)=>(_&&M&&Ie(a,_,M),!ki(ct(),i)),U=(_,M,F)=>{const H=ee({},o.mount?a:Me(M)?i:yr(_)?{[_]:M}:M);return DD(_,l,H,F)},Q=_=>tl(X(o.mount?a:i,_,e.shouldUnregister?X(i,_,[]):[])),ae=(_,M,F={})=>{const H=X(n,_);let Z=M;if(H){const z=H._f;z&&(!z.disabled&&Ie(a,_,Hx(M,z)),Z=$g&&Hd(z.ref)&&wt(M)?"":M,Nx(z.ref)?[...z.ref.options].forEach(K=>K.selected=Z.includes(K.value)):z.refs?el(z.ref)?z.refs.length>1?z.refs.forEach(K=>!K.disabled&&(K.checked=Array.isArray(Z)?!!Z.find(he=>he===K.value):Z===K.value)):z.refs[0]&&(z.refs[0].checked=!!Z):z.refs.forEach(K=>K.checked=K.value===Z):zh(z.ref)?z.ref.value="":(z.ref.value=Z,z.ref.type||f.watch.next({name:_})))}(F.shouldDirty||F.shouldTouch)&&P(_,Z,F.shouldTouch,F.shouldDirty,!0),F.shouldValidate&&ut(_)},se=(_,M,F)=>{for(const H in M){const Z=M[H],z=`${_}.${H}`,K=X(n,z);(l.array.has(_)||!Js(Z)||K&&!K._f)&&!Ti(Z)?se(z,Z,F):ae(z,Z,F)}},Oe=(_,M,F={})=>{const H=X(n,_),Z=l.array.has(_),z=Vt(M);Ie(a,_,z),Z?(f.array.next({name:_,values:a}),(d.isDirty||d.dirtyFields)&&F.shouldDirty&&(r.dirtyFields=Bg(i,a),f.state.next({name:_,dirtyFields:r.dirtyFields,isDirty:B(_,z)}))):H&&!H._f&&!wt(z)?se(_,z,F):ae(_,z,F),jd(_,l)&&f.state.next({}),f.watch.next({name:_})},Ye=async _=>{const M=_.target;let F=M.name;const H=X(n,F);if(H){let Z,z;const K=M.type?df(H._f):AD(_),he=_.type===Fg.BLUR||_.type===Fg.FOCUS_OUT,mt=!HD(H._f)&&!t.resolver&&!X(r.errors,F)&&!H._f.deps||WD(he,X(r.touchedFields,F),r.isSubmitted,g,p),ai=jd(F,l,he);Ie(a,F,K),he?H._f.onBlur&&H._f.onBlur(_):H._f.onChange&&H._f.onChange(_);const Ur=P(F,K,he,!1),sa=!Bt(Ur)||ai;if(!he&&f.watch.next({name:F,type:_.type}),mt)return sa&&f.state.next(ee({name:F},ai?{}:Ur));if(!he&&ai&&f.state.next({}),c[F]=(c[F],1),f.state.next({isValidating:!0}),t.resolver){const{errors:kn}=await T([F]),Xt=jg(r.errors,n,F),ua=jg(kn,n,Xt.name||F);Z=ua.error,F=ua.name,z=Bt(kn)}else Z=(await Wg(H,X(a,F),y,t.shouldUseNativeValidation))[F],z=await h(!0);H._f.deps&&ut(H._f.deps),k(!1,F,z,Z,Ur)}},ut=async(_,M={})=>{let F,H;const Z=Ht(_);if(f.state.next({isValidating:!0}),t.resolver){const z=await O(Me(_)?_:Z);F=Bt(z),H=_?!Z.some(K=>X(z,K)):F}else _?(H=(await Promise.all(Z.map(async z=>{const K=X(n,z);return await R(K&&K._f?{[z]:K}:K)}))).every(Boolean),!(!H&&!r.isValid)&&h()):H=F=await R(n);return f.state.next(gt(ee(ee({},!yr(_)||d.isValid&&F!==r.isValid?{}:{name:_}),t.resolver?{isValid:F}:{}),{errors:r.errors,isValidating:!1})),M.shouldFocus&&!H&&Zs(n,z=>X(r.errors,z),_?Z:l.mount),H},ct=_=>{const M=ee(ee({},i),o.mount?a:{});return Me(_)?M:yr(_)?X(M,_):_.map(F=>X(M,F))},Kt=(_,M)=>({invalid:!!X((M||r).errors,_),isDirty:!!X((M||r).dirtyFields,_),isTouched:!!X((M||r).touchedFields,_),error:X((M||r).errors,_)}),j=_=>{_?Ht(_).forEach(M=>ft(r.errors,M)):r.errors={},f.state.next({errors:r.errors})},q=(_,M,F)=>{const H=(X(n,_,{_f:{}})._f||{}).ref;Ie(r.errors,_,gt(ee({},M),{ref:H})),f.state.next({name:_,errors:r.errors,isValid:!1}),F&&F.shouldFocus&&H&&H.focus&&H.focus()},D=(_,M)=>Uu(_)?f.watch.subscribe({next:F=>_(U(void 0,M),F)}):U(_,M,!0),$=(_,M={})=>{for(const F of _?Ht(_):l.mount)l.mount.delete(F),l.array.delete(F),X(n,F)&&(M.keepValue||(ft(n,F),ft(a,F)),!M.keepError&&ft(r.errors,F),!M.keepDirty&&ft(r.dirtyFields,F),!M.keepTouched&&ft(r.touchedFields,F),!t.shouldUnregister&&!M.keepDefaultValue&&ft(i,F));f.watch.next({}),f.state.next(ee(ee({},r),M.keepDirty?{isDirty:B()}:{})),!M.keepIsValid&&h()},W=(_,M={})=>{let F=X(n,_);const H=eu(M.disabled);return Ie(n,_,{_f:ee(gt(ee({},F&&F._f?F._f:{ref:{name:_}}),{name:_,mount:!0}),M)}),l.mount.add(_),F?H&&Ie(a,_,M.disabled?void 0:X(a,_,df(F._f))):x(_,!0,M.value),gt(ee(ee({},H?{disabled:M.disabled}:{}),t.shouldUseNativeValidation?{required:!!M.required,min:Ra(M.min),max:Ra(M.max),minLength:Ra(M.minLength),maxLength:Ra(M.maxLength),pattern:Ra(M.pattern)}:{}),{name:_,onChange:Ye,onBlur:Ye,ref:Z=>{if(Z){W(_,M),F=X(n,_);const z=Me(Z.value)&&Z.querySelectorAll&&Z.querySelectorAll("input,select,textarea")[0]||Z,K=ND(z),he=F._f.refs||[];if(K?he.find(mt=>mt===z):z===F._f.ref)return;Ie(n,_,{_f:ee(ee({},F._f),K?{refs:[...he.filter(ff),z,...Array.isArray(X(i,_))?[{}]:[]],ref:{type:z.type,name:_}}:{ref:z})}),x(_,!1,void 0,z)}else F=X(n,_,{}),F._f&&(F._f.mount=!1),(t.shouldUnregister||M.shouldUnregister)&&!(OD(l.array,_)&&o.action)&&l.unMount.add(_)}})};return{control:{register:W,unregister:$,getFieldState:Kt,_executeSchema:T,_getWatch:U,_getDirty:B,_updateValid:h,_removeUnmounted:I,_updateFieldArray:m,_getFieldArray:Q,_subjects:f,_proxyFormState:d,get _fields(){return n},get _formValues(){return a},get _stateFlags(){return o},set _stateFlags(_){o=_},get _defaultValues(){return i},get _names(){return l},set _names(_){l=_},get _formState(){return r},set _formState(_){r=_},get _options(){return t},set _options(_){t=ee(ee({},t),_)}},trigger:ut,register:W,handleSubmit:(_,M)=>async F=>{F&&(F.preventDefault&&F.preventDefault(),F.persist&&F.persist());let H=!0,Z=Vt(a);f.state.next({isSubmitting:!0});try{if(t.resolver){const{errors:z,values:K}=await T();r.errors=z,Z=K}else await R(n);Bt(r.errors)&&Object.keys(r.errors).every(z=>X(Z,z))?(f.state.next({errors:{},isSubmitting:!0}),await _(Z,F)):(M&&await M(ee({},r.errors),F),t.shouldFocusError&&Zs(n,z=>X(r.errors,z),l.mount))}catch(z){throw H=!1,z}finally{r.isSubmitted=!0,f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Bt(r.errors)&&H,submitCount:r.submitCount+1,errors:r.errors})}},watch:D,setValue:Oe,getValues:ct,reset:(_,M={})=>{const F=_||i,H=Vt(F),Z=_&&!Bt(_)?H:i;if(M.keepDefaultValues||(i=F),!M.keepValues){if($g&&Me(_))for(const z of l.mount){const K=X(n,z);if(K&&K._f){const he=Array.isArray(K._f.refs)?K._f.refs[0]:K._f.ref;try{Hd(he)&&he.closest("form").reset();break}catch{}}}a=e.shouldUnregister?M.keepDefaultValues?Vt(i):{}:H,n={},f.array.next({values:Z}),f.watch.next({values:Z})}l={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!d.isValid||!!M.keepIsValid,o.watch=!!e.shouldUnregister,f.state.next({submitCount:M.keepSubmitCount?r.submitCount:0,isDirty:M.keepDirty?r.isDirty:M.keepDefaultValues?!ki(_,i):!1,isSubmitted:M.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:M.keepDirty?r.dirtyFields:M.keepDefaultValues&&_?Object.entries(_).reduce((z,[K,he])=>gt(ee({},z),{[K]:he!==X(i,K)}),{}):{},touchedFields:M.keepTouched?r.touchedFields:{},errors:M.keepErrors?r.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},resetField:(_,M={})=>{X(n,_)&&(Me(M.defaultValue)?Oe(_,X(i,_)):(Oe(_,M.defaultValue),Ie(i,_,M.defaultValue)),M.keepTouched||ft(r.touchedFields,_),M.keepDirty||(ft(r.dirtyFields,_),r.isDirty=M.defaultValue?B(_,X(i,_)):B()),M.keepError||(ft(r.errors,_),d.isValid&&h()),f.state.next(ee({},r)))},clearErrors:j,unregister:$,setError:q,setFocus:(_,M={})=>{const F=X(n,_)._f,H=F.refs?F.refs[0]:F.ref;M.shouldSelect?H.select():H.focus()},getFieldState:Kt}}function qD(e={}){const t=ie.useRef(),[r,n]=ie.useState({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}});t.current?t.current.control._options=e:t.current=gt(ee({},YD(e)),{formState:r});const i=t.current.control,a=ie.useCallback(o=>{LD(o,i._proxyFormState,!0)&&(i._formState=ee(ee({},i._formState),o),n(ee({},i._formState)))},[i]);return $x({subject:i._subjects.state,callback:a}),ie.useEffect(()=>{i._stateFlags.mount||(i._proxyFormState.isValid&&i._updateValid(),i._stateFlags.mount=!0),i._stateFlags.watch&&(i._stateFlags.watch=!1,i._subjects.state.next({})),i._removeUnmounted()}),t.current.formState=FD(r,i._proxyFormState),t.current}const KD=()=>{const[e,t]=w.exports.useState([]),{handleSubmit:r,register:n,control:i,getValues:a,formState:{errors:o,isSubmitting:l}}=qD({defaultValues:{players:[{value:""}],teamCount:2}}),{fields:s,append:u,remove:c}=VD({control:i,name:"players"});return _t(Qn,{children:[te("form",{onSubmit:r(d=>{const f=[...d.players].sort(()=>Math.random()>.5?1:-1).map(y=>y.value),p=[],g=Math.ceil(d.players.length/d.teamCount);for(;f.length>0;)p.push(f.splice(0,g));t(p)}),children:_t(eL,{spacing:3,children:[s.map((d,f)=>te(Md,gt(ee({placeholder:`Player ${f+1} name`,size:"md",type:"name"},n(`players.${f}.value`)),{autoFocus:f===s.length,onKeyDown:p=>{p.key==="Enter"&&f===s.length-1&&(p.preventDefault(),a(`players.${f}.value`)!==""?u({value:""}):c(f))}}),d.id)),_t(SF,{children:[te(kF,{htmlFor:"team-count",children:"Team count"}),te(Md,gt(ee({id:"team-count",placeholder:"Team Count",type:"number"},n("teamCount",{valueAsNumber:!0})),{defaultValue:2}))]}),te(Mh,{type:"submit",children:"Generate"})]})}),te(GF,{columns:2,mt:"1rem",spacing:"1.5rem",children:e.map((d,f)=>te(PD,{players:d,index:f},f))})]})},XD=()=>te(Dh,{gap:4,children:te(KD,{})}),QD=[{path:"/",element:te(XD,{})}],ZD=()=>te(DL,{children:te(TD,{children:_t(IL,{children:[QD.map(e=>w.exports.createElement(Ld,gt(ee({},e),{key:e.path}))),te(Ld,{path:"*",element:te(kD,{})})]})})}),JD={baseStyle:{display:"flex",flexDirection:"column",background:"neutral",alignItems:"center",gap:6},variants:{rounded:{padding:8,borderRadius:"xl",boxShadow:"xl"},smooth:{padding:6,borderRadius:"base",boxShadow:"md"}},defaultProps:{variant:"smooth"}},e8=oL({fonts:{heading:"Raleway, sans-serif",body:"Inter, sans-serif"},config:{initialColorMode:"dark"},semanticTokens:{color:{neutral:{default:"white.50",_dark:"black.50"}}},components:{Card:JD},styles:{global:e=>({"html, body":{fontSize:"sm",color:e.colorMode==="dark"?"white":"gray.600",background:e.colorMode==="dark"?"black":"white",lineHeight:"tall"},a:{color:e.colorMode==="dark"?"teal.300":"teal.500"}})},colors:{gray:{"50":"#F2F2F2","100":"#DBDBDB","200":"#C4C4C4","300":"#ADADAD","400":"#969696","500":"#808080","600":"#666666","700":"#4D4D4D","800":"#333333","900":"#1A1A1A"}}});w2.render(te(w.exports.StrictMode,{children:te(Sx,{theme:e8,children:te(ZD,{})})}),document.getElementById("root"));
