@eclass/ui-kit 1.11.1 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/Icons/AcademicRecord.d.ts +6 -0
- package/dist/atoms/Icons/index.d.ts +1 -0
- package/dist/eclass-ui-kit.es.js +32 -3
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +22 -22
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/molecules/Buttons/BtnTertiary.d.ts +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var qB=Object.defineProperty,QB=Object.defineProperties;var JB=Object.getOwnPropertyDescriptors;var Kx=Object.getOwnPropertySymbols;var ez=Object.prototype.hasOwnProperty,tz=Object.prototype.propertyIsEnumerable;var Xx=(se,M,wt)=>M in se?qB(se,M,{enumerable:!0,configurable:!0,writable:!0,value:wt}):se[M]=wt,R=(se,M)=>{for(var wt in M||(M={}))ez.call(M,wt)&&Xx(se,wt,M[wt]);if(Kx)for(var wt of Kx(M))tz.call(M,wt)&&Xx(se,wt,M[wt]);return se},L=(se,M)=>QB(se,JB(M));(function(se,M){typeof exports=="object"&&typeof module!="undefined"?M(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],M):(se=typeof globalThis!="undefined"?globalThis:se||self,M(se["@eclass/ui-kit"]={},se.React))})(this,function(se,M){"use strict";function wt(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Zx(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var w=Zx(M),br=wt(M);function qx(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 Qx(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 Jx=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(Qx(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=qx(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}(),Ge="-ms-",Oo="-moz-",oe="-webkit-",Ev="comm",Cu="rule",Eu="decl",ew="@import",kv="@keyframes",tw=Math.abs,Mo=String.fromCharCode,rw=Object.assign;function nw(e,t){return(((t<<2^at(e,0))<<2^at(e,1))<<2^at(e,2))<<2^at(e,3)}function Tv(e){return e.trim()}function iw(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,r){return e.replace(t,r)}function ku(e,t){return e.indexOf(t)}function at(e,t){return e.charCodeAt(t)|0}function $i(e,t,r){return e.slice(t,r)}function Vt(e){return e.length}function Tu(e){return e.length}function Io(e,t){return t.push(e),e}function aw(e,t){return e.map(t).join("")}var Ro=1,Rn=1,_v=0,ot=0,Oe=0,Ln="";function Lo(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:Ro,column:Rn,length:o,return:""}}function Ni(e,t){return rw(Lo("",null,null,"",null,null,0),e,{length:-e.length},t)}function ow(){return Oe}function lw(){return Oe=ot>0?at(Ln,--ot):0,Rn--,Oe===10&&(Rn=1,Ro--),Oe}function pt(){return Oe=ot<_v?at(Ln,ot++):0,Rn++,Oe===10&&(Rn=1,Ro++),Oe}function jt(){return at(Ln,ot)}function Bo(){return ot}function Vi(e,t){return $i(Ln,e,t)}function ji(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 Pv(e){return Ro=Rn=1,_v=Vt(Ln=e),ot=0,[]}function Av(e){return Ln="",e}function zo(e){return Tv(Vi(ot-1,_u(e===91?e+2:e===40?e+1:e)))}function sw(e){for(;(Oe=jt())&&Oe<33;)pt();return ji(e)>2||ji(Oe)>3?"":" "}function uw(e,t){for(;--t&&pt()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Vi(e,Bo()+(t<6&&jt()==32&&pt()==32))}function _u(e){for(;pt();)switch(Oe){case e:return ot;case 34:case 39:e!==34&&e!==39&&_u(Oe);break;case 40:e===41&&_u(e);break;case 92:pt();break}return ot}function cw(e,t){for(;pt()&&e+Oe!==47+10;)if(e+Oe===42+42&&jt()===47)break;return"/*"+Vi(t,ot-1)+"*"+Mo(e===47?e:pt())}function fw(e){for(;!ji(jt());)pt();return Vi(e,ot)}function dw(e){return Av(Do("",null,null,null,[""],e=Pv(e),0,[0],e))}function Do(e,t,r,n,i,a,o,l,s){for(var u=0,c=0,d=o,f=0,p=0,m=0,y=1,v=1,h=1,g=0,b="",x=i,k=a,_=n,T=b;v;)switch(m=g,g=pt()){case 40:if(m!=108&&T.charCodeAt(d-1)==58){ku(T+=ue(zo(g),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:T+=zo(g);break;case 9:case 10:case 13:case 32:T+=sw(m);break;case 92:T+=uw(Bo()-1,7);continue;case 47:switch(jt()){case 42:case 47:Io(pw(cw(pt(),Bo()),t,r),s);break;default:T+="/"}break;case 123*y:l[u++]=Vt(T)*h;case 125*y:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:p>0&&Vt(T)-d&&Io(p>32?Ov(T+";",n,r,d-1):Ov(ue(T," ","")+";",n,r,d-2),s);break;case 59:T+=";";default:if(Io(_=Fv(T,t,r,u,c,i,l,b,x=[],k=[],d),a),g===123)if(c===0)Do(T,t,_,_,x,a,d,l,k);else switch(f){case 100:case 109:case 115:Do(e,_,_,n&&Io(Fv(e,_,_,0,0,i,l,b,i,x=[],d),k),i,k,d,l,n?x:k);break;default:Do(T,_,_,_,[""],k,0,l,k)}}u=c=p=0,y=h=1,b=T="",d=o;break;case 58:d=1+Vt(T),p=m;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&lw()==125)continue}switch(T+=Mo(g),g*y){case 38:h=c>0?1:(T+="\f",-1);break;case 44:l[u++]=(Vt(T)-1)*h,h=1;break;case 64:jt()===45&&(T+=zo(pt())),f=jt(),c=d=Vt(b=T+=fw(Bo())),g++;break;case 45:m===45&&Vt(T)==2&&(y=0)}}return a}function Fv(e,t,r,n,i,a,o,l,s,u,c){for(var d=i-1,f=i===0?a:[""],p=Tu(f),m=0,y=0,v=0;m<n;++m)for(var h=0,g=$i(e,d+1,d=tw(y=o[m])),b=e;h<p;++h)(b=Tv(y>0?f[h]+" "+g:ue(g,/&\f/g,f[h])))&&(s[v++]=b);return Lo(e,t,r,i===0?Cu:l,s,u,c)}function pw(e,t,r){return Lo(e,t,r,Ev,Mo(ow()),$i(e,2,-2),0)}function Ov(e,t,r,n){return Lo(e,t,r,Eu,$i(e,0,n),$i(e,n+1,-1),n)}function Mv(e,t){switch(nw(e,t)){case 5103:return oe+"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 oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+Oo+e+Ge+e+e;case 6828:case 4268:return oe+e+Ge+e+e;case 6165:return oe+e+Ge+"flex-"+e+e;case 5187:return oe+e+ue(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return oe+e+Ge+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return oe+e+Ge+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return oe+e+Ge+ue(e,"shrink","negative")+e;case 5292:return oe+e+Ge+ue(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+ue(e,"-grow","")+oe+e+Ge+ue(e,"grow","positive")+e;case 4554:return oe+ue(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,oe+"$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(Vt(e)-1-t>6)switch(at(e,t+1)){case 109:if(at(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+Oo+(at(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ku(e,"stretch")?Mv(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(at(e,t+1)!==115)break;case 6444:switch(at(e,Vt(e)-3-(~ku(e,"!important")&&10))){case 107:return ue(e,":",":"+oe)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+oe+(at(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(at(e,t+11)){case 114:return oe+e+Ge+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+Ge+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+Ge+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return oe+e+Ge+e+e}return e}function Bn(e,t){for(var r="",n=Tu(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function vw(e,t,r,n){switch(e.type){case ew:case Eu:return e.return=e.return||e.value;case Ev:return"";case kv:return e.return=e.value+"{"+Bn(e.children,n)+"}";case Cu:e.value=e.props.join(",")}return Vt(r=Bn(e.children,n))?e.return=e.value+"{"+r+"}":""}function hw(e){var t=Tu(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 mw(e){return function(t){t.root||(t=t.return)&&e(t)}}function gw(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Eu:e.return=Mv(e.value,e.length);break;case kv:return Bn([Ni(e,{value:ue(e.value,"@","@"+oe)})],n);case Cu:if(e.length)return aw(e.props,function(i){switch(iw(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bn([Ni(e,{props:[ue(i,/:(read-\w+)/,":"+Oo+"$1")]})],n);case"::placeholder":return Bn([Ni(e,{props:[ue(i,/:(plac\w+)/,":"+oe+"input-$1")]}),Ni(e,{props:[ue(i,/:(plac\w+)/,":"+Oo+"$1")]}),Ni(e,{props:[ue(i,/:(plac\w+)/,Ge+"input-$1")]})],n)}return""})}}var Iv=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 Rv(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var yw=function(t,r,n){for(var i=0,a=0;i=a,a=jt(),i===38&&a===12&&(r[n]=1),!ji(a);)pt();return Vi(t,ot)},bw=function(t,r){var n=-1,i=44;do switch(ji(i)){case 0:i===38&&jt()===12&&(r[n]=1),t[n]+=yw(ot-1,r,n);break;case 2:t[n]+=zo(i);break;case 4:if(i===44){t[++n]=jt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Mo(i)}while(i=pt());return t},Sw=function(t,r){return Av(bw(Pv(t),r))},Lv=new WeakMap,xw=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&&!Lv.get(n))&&!i){Lv.set(t,!0);for(var a=[],o=Sw(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]}}},ww=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Cw=[gw],Ew=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||Cw,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=[xw,ww];{var c,d=[vw,mw(function(y){c.insert(y)})],f=hw(u.concat(i,d)),p=function(v){return Bn(dw(v),f)};s=function(v,h,g,b){c=g,p(v?v+"{"+h.styles+"}":h.styles),b&&(m.inserted[h.name]=!0)}}var m={key:r,sheet:new Jx({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 m.sheet.hydrate(l),m};function Qr(){return Qr=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},Qr.apply(this,arguments)}var $o=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Bv={exports:{}},ce={};/** @license React v16.13.1
|
|
1
|
+
var QB=Object.defineProperty,JB=Object.defineProperties;var ez=Object.getOwnPropertyDescriptors;var Xx=Object.getOwnPropertySymbols;var tz=Object.prototype.hasOwnProperty,rz=Object.prototype.propertyIsEnumerable;var Zx=(se,M,wt)=>M in se?QB(se,M,{enumerable:!0,configurable:!0,writable:!0,value:wt}):se[M]=wt,R=(se,M)=>{for(var wt in M||(M={}))tz.call(M,wt)&&Zx(se,wt,M[wt]);if(Xx)for(var wt of Xx(M))rz.call(M,wt)&&Zx(se,wt,M[wt]);return se},L=(se,M)=>JB(se,ez(M));(function(se,M){typeof exports=="object"&&typeof module!="undefined"?M(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],M):(se=typeof globalThis!="undefined"?globalThis:se||self,M(se["@eclass/ui-kit"]={},se.React))})(this,function(se,M){"use strict";function wt(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function qx(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var w=qx(M),br=wt(M);function Qx(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 Jx(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 ew=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(Jx(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Qx(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}(),Ge="-ms-",Oo="-moz-",oe="-webkit-",Ev="comm",Cu="rule",Eu="decl",tw="@import",kv="@keyframes",rw=Math.abs,Mo=String.fromCharCode,nw=Object.assign;function iw(e,t){return(((t<<2^at(e,0))<<2^at(e,1))<<2^at(e,2))<<2^at(e,3)}function Tv(e){return e.trim()}function aw(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,r){return e.replace(t,r)}function ku(e,t){return e.indexOf(t)}function at(e,t){return e.charCodeAt(t)|0}function $i(e,t,r){return e.slice(t,r)}function Vt(e){return e.length}function Tu(e){return e.length}function Ro(e,t){return t.push(e),e}function ow(e,t){return e.map(t).join("")}var Io=1,In=1,_v=0,ot=0,Oe=0,Ln="";function Lo(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:Io,column:In,length:o,return:""}}function Ni(e,t){return nw(Lo("",null,null,"",null,null,0),e,{length:-e.length},t)}function lw(){return Oe}function sw(){return Oe=ot>0?at(Ln,--ot):0,In--,Oe===10&&(In=1,Io--),Oe}function pt(){return Oe=ot<_v?at(Ln,ot++):0,In++,Oe===10&&(In=1,Io++),Oe}function jt(){return at(Ln,ot)}function Bo(){return ot}function Vi(e,t){return $i(Ln,e,t)}function ji(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 Pv(e){return Io=In=1,_v=Vt(Ln=e),ot=0,[]}function Av(e){return Ln="",e}function zo(e){return Tv(Vi(ot-1,_u(e===91?e+2:e===40?e+1:e)))}function uw(e){for(;(Oe=jt())&&Oe<33;)pt();return ji(e)>2||ji(Oe)>3?"":" "}function cw(e,t){for(;--t&&pt()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Vi(e,Bo()+(t<6&&jt()==32&&pt()==32))}function _u(e){for(;pt();)switch(Oe){case e:return ot;case 34:case 39:e!==34&&e!==39&&_u(Oe);break;case 40:e===41&&_u(e);break;case 92:pt();break}return ot}function fw(e,t){for(;pt()&&e+Oe!==47+10;)if(e+Oe===42+42&&jt()===47)break;return"/*"+Vi(t,ot-1)+"*"+Mo(e===47?e:pt())}function dw(e){for(;!ji(jt());)pt();return Vi(e,ot)}function pw(e){return Av(Do("",null,null,null,[""],e=Pv(e),0,[0],e))}function Do(e,t,r,n,i,a,o,l,s){for(var u=0,c=0,d=o,f=0,p=0,m=0,y=1,v=1,h=1,g=0,b="",x=i,k=a,_=n,T=b;v;)switch(m=g,g=pt()){case 40:if(m!=108&&T.charCodeAt(d-1)==58){ku(T+=ue(zo(g),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:T+=zo(g);break;case 9:case 10:case 13:case 32:T+=uw(m);break;case 92:T+=cw(Bo()-1,7);continue;case 47:switch(jt()){case 42:case 47:Ro(vw(fw(pt(),Bo()),t,r),s);break;default:T+="/"}break;case 123*y:l[u++]=Vt(T)*h;case 125*y:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:p>0&&Vt(T)-d&&Ro(p>32?Ov(T+";",n,r,d-1):Ov(ue(T," ","")+";",n,r,d-2),s);break;case 59:T+=";";default:if(Ro(_=Fv(T,t,r,u,c,i,l,b,x=[],k=[],d),a),g===123)if(c===0)Do(T,t,_,_,x,a,d,l,k);else switch(f){case 100:case 109:case 115:Do(e,_,_,n&&Ro(Fv(e,_,_,0,0,i,l,b,i,x=[],d),k),i,k,d,l,n?x:k);break;default:Do(T,_,_,_,[""],k,0,l,k)}}u=c=p=0,y=h=1,b=T="",d=o;break;case 58:d=1+Vt(T),p=m;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&sw()==125)continue}switch(T+=Mo(g),g*y){case 38:h=c>0?1:(T+="\f",-1);break;case 44:l[u++]=(Vt(T)-1)*h,h=1;break;case 64:jt()===45&&(T+=zo(pt())),f=jt(),c=d=Vt(b=T+=dw(Bo())),g++;break;case 45:m===45&&Vt(T)==2&&(y=0)}}return a}function Fv(e,t,r,n,i,a,o,l,s,u,c){for(var d=i-1,f=i===0?a:[""],p=Tu(f),m=0,y=0,v=0;m<n;++m)for(var h=0,g=$i(e,d+1,d=rw(y=o[m])),b=e;h<p;++h)(b=Tv(y>0?f[h]+" "+g:ue(g,/&\f/g,f[h])))&&(s[v++]=b);return Lo(e,t,r,i===0?Cu:l,s,u,c)}function vw(e,t,r){return Lo(e,t,r,Ev,Mo(lw()),$i(e,2,-2),0)}function Ov(e,t,r,n){return Lo(e,t,r,Eu,$i(e,0,n),$i(e,n+1,-1),n)}function Mv(e,t){switch(iw(e,t)){case 5103:return oe+"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 oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+Oo+e+Ge+e+e;case 6828:case 4268:return oe+e+Ge+e+e;case 6165:return oe+e+Ge+"flex-"+e+e;case 5187:return oe+e+ue(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+Ge+"flex-$1$2")+e;case 5443:return oe+e+Ge+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return oe+e+Ge+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return oe+e+Ge+ue(e,"shrink","negative")+e;case 5292:return oe+e+Ge+ue(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+ue(e,"-grow","")+oe+e+Ge+ue(e,"grow","positive")+e;case 4554:return oe+ue(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,oe+"$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(Vt(e)-1-t>6)switch(at(e,t+1)){case 109:if(at(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+Oo+(at(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ku(e,"stretch")?Mv(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(at(e,t+1)!==115)break;case 6444:switch(at(e,Vt(e)-3-(~ku(e,"!important")&&10))){case 107:return ue(e,":",":"+oe)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+oe+(at(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+Ge+"$2box$3")+e}break;case 5936:switch(at(e,t+11)){case 114:return oe+e+Ge+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+Ge+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+Ge+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return oe+e+Ge+e+e}return e}function Bn(e,t){for(var r="",n=Tu(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function hw(e,t,r,n){switch(e.type){case tw:case Eu:return e.return=e.return||e.value;case Ev:return"";case kv:return e.return=e.value+"{"+Bn(e.children,n)+"}";case Cu:e.value=e.props.join(",")}return Vt(r=Bn(e.children,n))?e.return=e.value+"{"+r+"}":""}function mw(e){var t=Tu(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 gw(e){return function(t){t.root||(t=t.return)&&e(t)}}function yw(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Eu:e.return=Mv(e.value,e.length);break;case kv:return Bn([Ni(e,{value:ue(e.value,"@","@"+oe)})],n);case Cu:if(e.length)return ow(e.props,function(i){switch(aw(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bn([Ni(e,{props:[ue(i,/:(read-\w+)/,":"+Oo+"$1")]})],n);case"::placeholder":return Bn([Ni(e,{props:[ue(i,/:(plac\w+)/,":"+oe+"input-$1")]}),Ni(e,{props:[ue(i,/:(plac\w+)/,":"+Oo+"$1")]}),Ni(e,{props:[ue(i,/:(plac\w+)/,Ge+"input-$1")]})],n)}return""})}}var Rv=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 Iv(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var bw=function(t,r,n){for(var i=0,a=0;i=a,a=jt(),i===38&&a===12&&(r[n]=1),!ji(a);)pt();return Vi(t,ot)},Sw=function(t,r){var n=-1,i=44;do switch(ji(i)){case 0:i===38&&jt()===12&&(r[n]=1),t[n]+=bw(ot-1,r,n);break;case 2:t[n]+=zo(i);break;case 4:if(i===44){t[++n]=jt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Mo(i)}while(i=pt());return t},xw=function(t,r){return Av(Sw(Pv(t),r))},Lv=new WeakMap,ww=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&&!Lv.get(n))&&!i){Lv.set(t,!0);for(var a=[],o=xw(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]}}},Cw=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Ew=[yw],kw=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||Ew,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=[ww,Cw];{var c,d=[hw,gw(function(y){c.insert(y)})],f=mw(u.concat(i,d)),p=function(v){return Bn(pw(v),f)};s=function(v,h,g,b){c=g,p(v?v+"{"+h.styles+"}":h.styles),b&&(m.inserted[h.name]=!0)}}var m={key:r,sheet:new ew({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 m.sheet.hydrate(l),m};function Qr(){return Qr=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},Qr.apply(this,arguments)}var $o=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Bv={exports:{}},ce={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var
|
|
8
|
+
*/var ze=typeof Symbol=="function"&&Symbol.for,Pu=ze?Symbol.for("react.element"):60103,Au=ze?Symbol.for("react.portal"):60106,No=ze?Symbol.for("react.fragment"):60107,Vo=ze?Symbol.for("react.strict_mode"):60108,jo=ze?Symbol.for("react.profiler"):60114,Ho=ze?Symbol.for("react.provider"):60109,Wo=ze?Symbol.for("react.context"):60110,Fu=ze?Symbol.for("react.async_mode"):60111,Uo=ze?Symbol.for("react.concurrent_mode"):60111,Go=ze?Symbol.for("react.forward_ref"):60112,Yo=ze?Symbol.for("react.suspense"):60113,Tw=ze?Symbol.for("react.suspense_list"):60120,Ko=ze?Symbol.for("react.memo"):60115,Xo=ze?Symbol.for("react.lazy"):60116,_w=ze?Symbol.for("react.block"):60121,Pw=ze?Symbol.for("react.fundamental"):60117,Aw=ze?Symbol.for("react.responder"):60118,Fw=ze?Symbol.for("react.scope"):60119;function vt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pu:switch(e=e.type,e){case Fu:case Uo:case No:case jo:case Vo:case Yo:return e;default:switch(e=e&&e.$$typeof,e){case Wo:case Go:case Xo:case Ko:case Ho:return e;default:return t}}case Au:return t}}}function zv(e){return vt(e)===Uo}ce.AsyncMode=Fu,ce.ConcurrentMode=Uo,ce.ContextConsumer=Wo,ce.ContextProvider=Ho,ce.Element=Pu,ce.ForwardRef=Go,ce.Fragment=No,ce.Lazy=Xo,ce.Memo=Ko,ce.Portal=Au,ce.Profiler=jo,ce.StrictMode=Vo,ce.Suspense=Yo,ce.isAsyncMode=function(e){return zv(e)||vt(e)===Fu},ce.isConcurrentMode=zv,ce.isContextConsumer=function(e){return vt(e)===Wo},ce.isContextProvider=function(e){return vt(e)===Ho},ce.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pu},ce.isForwardRef=function(e){return vt(e)===Go},ce.isFragment=function(e){return vt(e)===No},ce.isLazy=function(e){return vt(e)===Xo},ce.isMemo=function(e){return vt(e)===Ko},ce.isPortal=function(e){return vt(e)===Au},ce.isProfiler=function(e){return vt(e)===jo},ce.isStrictMode=function(e){return vt(e)===Vo},ce.isSuspense=function(e){return vt(e)===Yo},ce.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===No||e===Uo||e===jo||e===Vo||e===Yo||e===Tw||typeof e=="object"&&e!==null&&(e.$$typeof===Xo||e.$$typeof===Ko||e.$$typeof===Ho||e.$$typeof===Wo||e.$$typeof===Go||e.$$typeof===Pw||e.$$typeof===Aw||e.$$typeof===Fw||e.$$typeof===_w)},ce.typeOf=vt,Bv.exports=ce;var Dv=Bv.exports,Ow={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$v={};$v[Dv.ForwardRef]=Ow,$v[Dv.Memo]=Mw;var Rw=!0;function Iw(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Nv=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||Rw===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Vv=function(t,r,n){Nv(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 Lw(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 Bw={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},zw=/[A-Z]|^ms/g,Dw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jv=function(t){return t.charCodeAt(1)===45},Hv=function(t){return t!=null&&typeof t!="boolean"},Ou=Iv(function(e){return jv(e)?e:e.replace(zw,"-$&").toLowerCase()}),Wv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Dw,function(n,i,a){return Ht={name:i,styles:a,next:Ht},i})}return Bw[t]!==1&&!jv(t)&&typeof r=="number"&&r!==0?r+"px":r};function Hi(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 Ht={name:r.name,styles:r.styles,next:Ht},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ht={name:n.name,styles:n.styles,next:Ht},n=n.next;var i=r.styles+";";return i}return $w(e,t,r)}case"function":{if(e!==void 0){var a=Ht,o=r(e);return Ht=a,Hi(e,t,o)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function $w(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Hi(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]+"}":Hv(o)&&(n+=Ou(a)+":"+Wv(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++)Hv(o[l])&&(n+=Ou(a)+":"+Wv(a,o[l])+";");else{var s=Hi(e,t,o);switch(a){case"animation":case"animationName":{n+=Ou(a)+":"+s+";";break}default:n+=a+"{"+s+"}"}}}return n}var Uv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ht,Mu=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="";Ht=void 0;var o=t[0];o==null||o.raw===void 0?(i=!1,a+=Hi(n,r,o)):a+=o[0];for(var l=1;l<t.length;l++)a+=Hi(n,r,t[l]),i&&(a+=o[l]);Uv.lastIndex=0;for(var s="",u;(u=Uv.exec(a))!==null;)s+="-"+u[1];var c=Lw(a)+s;return{name:c,styles:a,next:Ht}},Gv=M.createContext(typeof HTMLElement!="undefined"?kw({key:"css"}):null);Gv.Provider;var Yv=function(t){return M.forwardRef(function(r,n){var i=M.useContext(Gv);return t(r,i,n)})},Wi=M.createContext({}),Nw=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Qr({},t,r)},Vw=Rv(function(e){return Rv(function(t){return Nw(e,t)})}),jw=function(t){var r=M.useContext(Wi);return t.theme!==r&&(r=Vw(r)(t.theme)),M.createElement(Wi.Provider,{value:r},t.children)},Kv=w["useInsertionEffect"]?w["useInsertionEffect"]:M.useLayoutEffect,Ru=Yv(function(e,t){var r=e.styles,n=Mu([r],void 0,M.useContext(Wi)),i=M.useRef();return Kv(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]),Kv(function(){var a=i.current,o=a[0],l=a[1];if(l){a[1]=!1;return}if(n.next!==void 0&&Vv(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 Hw(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Mu(t)}var zn=function(){var t=Hw.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_"}}},Ww=function(){return w.createElement(Ru,{styles:`
|
|
9
9
|
html {
|
|
10
10
|
line-height: 1.5;
|
|
11
11
|
-webkit-text-size-adjust: 100%;
|
|
@@ -281,42 +281,42 @@ var qB=Object.defineProperty,QB=Object.defineProperties;var JB=Object.getOwnProp
|
|
|
281
281
|
select::-ms-expand {
|
|
282
282
|
display: none;
|
|
283
283
|
}
|
|
284
|
-
`})},Ww=Hw,Ru={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]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",h="[object Null]",g="[object Object]",b="[object Proxy]",x="[object RegExp]",k="[object Set]",_="[object String]",T="[object Undefined]",O="[object WeakMap]",F="[object ArrayBuffer]",H="[object DataView]",J="[object Float32Array]",X="[object Float64Array]",Z="[object Int8Array]",q="[object Int16Array]",ne="[object Int32Array]",Re="[object Uint8Array]",Qe="[object Uint8ClampedArray]",bt="[object Uint16Array]",dt="[object Uint32Array]",rr=/[\\^$.*+?()[\]{}|]/g,V=/^\[object .+?Constructor\]$/,Y=/^(?:0|[1-9]\d*)$/,B={};B[J]=B[X]=B[Z]=B[q]=B[ne]=B[Re]=B[Qe]=B[bt]=B[dt]=!0,B[l]=B[s]=B[F]=B[c]=B[H]=B[d]=B[f]=B[p]=B[y]=B[v]=B[g]=B[x]=B[k]=B[_]=B[O]=!1;var z=typeof $o=="object"&&$o&&$o.Object===Object&&$o,j=typeof self=="object"&&self&&self.Object===Object&&self,ie=z||j||Function("return this")(),Le=t&&!t.nodeType&&t,Je=Le&&!0&&e&&!e.nodeType&&e,St=Je&&Je.exports===Le,dv=St&&z.process,_x=function(){try{var S=Je&&Je.require&&Je.require("util").types;return S||dv&&dv.binding&&dv.binding("util")}catch{}}(),Px=_x&&_x.isTypedArray;function DL(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 $L(S,E){for(var A=-1,U=Array(S);++A<S;)U[A]=E(A);return U}function NL(S){return function(E){return S(E)}}function VL(S,E){return S==null?void 0:S[E]}function jL(S,E){return function(A){return S(E(A))}}var HL=Array.prototype,WL=Function.prototype,hu=Object.prototype,pv=ie["__core-js_shared__"],mu=WL.toString,gr=hu.hasOwnProperty,Ax=function(){var S=/[^.]+$/.exec(pv&&pv.keys&&pv.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Fx=hu.toString,UL=mu.call(Object),GL=RegExp("^"+mu.call(gr).replace(rr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gu=St?ie.Buffer:void 0,Ox=ie.Symbol,Mx=ie.Uint8Array,Ix=gu?gu.allocUnsafe:void 0,Rx=jL(Object.getPrototypeOf,Object),Lx=Object.create,YL=hu.propertyIsEnumerable,KL=HL.splice,On=Ox?Ox.toStringTag:void 0,yu=function(){try{var S=mv(Object,"defineProperty");return S({},"",{}),S}catch{}}(),XL=gu?gu.isBuffer:void 0,Bx=Math.max,ZL=Date.now,zx=mv(ie,"Map"),Po=mv(Object,"create"),qL=function(){function S(){}return function(E){if(!In(E))return{};if(Lx)return Lx(E);S.prototype=E;var A=new S;return S.prototype=void 0,A}}();function Mn(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var U=S[E];this.set(U[0],U[1])}}function QL(){this.__data__=Po?Po(null):{},this.size=0}function JL(S){var E=this.has(S)&&delete this.__data__[S];return this.size-=E?1:0,E}function eB(S){var E=this.__data__;if(Po){var A=E[S];return A===n?void 0:A}return gr.call(E,S)?E[S]:void 0}function tB(S){var E=this.__data__;return Po?E[S]!==void 0:gr.call(E,S)}function rB(S,E){var A=this.__data__;return this.size+=this.has(S)?0:1,A[S]=Po&&E===void 0?n:E,this}Mn.prototype.clear=QL,Mn.prototype.delete=JL,Mn.prototype.get=eB,Mn.prototype.has=tB,Mn.prototype.set=rB;function yr(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var U=S[E];this.set(U[0],U[1])}}function nB(){this.__data__=[],this.size=0}function iB(S){var E=this.__data__,A=bu(E,S);if(A<0)return!1;var U=E.length-1;return A==U?E.pop():KL.call(E,A,1),--this.size,!0}function aB(S){var E=this.__data__,A=bu(E,S);return A<0?void 0:E[A][1]}function oB(S){return bu(this.__data__,S)>-1}function lB(S,E){var A=this.__data__,U=bu(A,S);return U<0?(++this.size,A.push([S,E])):A[U][1]=E,this}yr.prototype.clear=nB,yr.prototype.delete=iB,yr.prototype.get=aB,yr.prototype.has=oB,yr.prototype.set=lB;function zi(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var U=S[E];this.set(U[0],U[1])}}function sB(){this.size=0,this.__data__={hash:new Mn,map:new(zx||yr),string:new Mn}}function uB(S){var E=xu(this,S).delete(S);return this.size-=E?1:0,E}function cB(S){return xu(this,S).get(S)}function fB(S){return xu(this,S).has(S)}function dB(S,E){var A=xu(this,S),U=A.size;return A.set(S,E),this.size+=A.size==U?0:1,this}zi.prototype.clear=sB,zi.prototype.delete=uB,zi.prototype.get=cB,zi.prototype.has=fB,zi.prototype.set=dB;function Di(S){var E=this.__data__=new yr(S);this.size=E.size}function pB(){this.__data__=new yr,this.size=0}function vB(S){var E=this.__data__,A=E.delete(S);return this.size=E.size,A}function hB(S){return this.__data__.get(S)}function mB(S){return this.__data__.has(S)}function gB(S,E){var A=this.__data__;if(A instanceof yr){var U=A.__data__;if(!zx||U.length<r-1)return U.push([S,E]),this.size=++A.size,this;A=this.__data__=new zi(U)}return A.set(S,E),this.size=A.size,this}Di.prototype.clear=pB,Di.prototype.delete=vB,Di.prototype.get=hB,Di.prototype.has=mB,Di.prototype.set=gB;function yB(S,E){var A=bv(S),U=!A&&yv(S),ae=!A&&!U&&jx(S),pe=!A&&!U&&!ae&&Wx(S),xe=A||U||ae||pe,te=xe?$L(S.length,String):[],we=te.length;for(var It in S)(E||gr.call(S,It))&&!(xe&&(It=="length"||ae&&(It=="offset"||It=="parent")||pe&&(It=="buffer"||It=="byteLength"||It=="byteOffset")||Nx(It,we)))&&te.push(It);return te}function vv(S,E,A){(A!==void 0&&!wu(S[E],A)||A===void 0&&!(E in S))&&hv(S,E,A)}function bB(S,E,A){var U=S[E];(!(gr.call(S,E)&&wu(U,A))||A===void 0&&!(E in S))&&hv(S,E,A)}function bu(S,E){for(var A=S.length;A--;)if(wu(S[A][0],E))return A;return-1}function hv(S,E,A){E=="__proto__"&&yu?yu(S,E,{configurable:!0,enumerable:!0,value:A,writable:!0}):S[E]=A}var SB=IB();function Su(S){return S==null?S===void 0?T:h:On&&On in Object(S)?RB(S):NB(S)}function Dx(S){return Ao(S)&&Su(S)==l}function xB(S){if(!In(S)||DB(S))return!1;var E=xv(S)?GL:V;return E.test(WB(S))}function wB(S){return Ao(S)&&Hx(S.length)&&!!B[Su(S)]}function CB(S){if(!In(S))return $B(S);var E=Vx(S),A=[];for(var U in S)U=="constructor"&&(E||!gr.call(S,U))||A.push(U);return A}function $x(S,E,A,U,ae){S!==E&&SB(E,function(pe,xe){if(ae||(ae=new Di),In(pe))EB(S,E,xe,A,$x,U,ae);else{var te=U?U(gv(S,xe),pe,xe+"",S,E,ae):void 0;te===void 0&&(te=pe),vv(S,xe,te)}},Ux)}function EB(S,E,A,U,ae,pe,xe){var te=gv(S,A),we=gv(E,A),It=xe.get(we);if(It){vv(S,A,It);return}var xt=pe?pe(te,we,A+"",S,E,xe):void 0,Fo=xt===void 0;if(Fo){var wv=bv(we),Cv=!wv&&jx(we),Yx=!wv&&!Cv&&Wx(we);xt=we,wv||Cv||Yx?bv(te)?xt=te:UB(te)?xt=FB(te):Cv?(Fo=!1,xt=_B(we,!0)):Yx?(Fo=!1,xt=AB(we,!0)):xt=[]:GB(we)||yv(we)?(xt=te,yv(te)?xt=YB(te):(!In(te)||xv(te))&&(xt=LB(we))):Fo=!1}Fo&&(xe.set(we,xt),ae(xt,we,U,pe,xe),xe.delete(we)),vv(S,A,xt)}function kB(S,E){return jB(VB(S,E,Gx),S+"")}var TB=yu?function(S,E){return yu(S,"toString",{configurable:!0,enumerable:!1,value:XB(E),writable:!0})}:Gx;function _B(S,E){if(E)return S.slice();var A=S.length,U=Ix?Ix(A):new S.constructor(A);return S.copy(U),U}function PB(S){var E=new S.constructor(S.byteLength);return new Mx(E).set(new Mx(S)),E}function AB(S,E){var A=E?PB(S.buffer):S.buffer;return new S.constructor(A,S.byteOffset,S.length)}function FB(S,E){var A=-1,U=S.length;for(E||(E=Array(U));++A<U;)E[A]=S[A];return E}function OB(S,E,A,U){var ae=!A;A||(A={});for(var pe=-1,xe=E.length;++pe<xe;){var te=E[pe],we=U?U(A[te],S[te],te,A,S):void 0;we===void 0&&(we=S[te]),ae?hv(A,te,we):bB(A,te,we)}return A}function MB(S){return kB(function(E,A){var U=-1,ae=A.length,pe=ae>1?A[ae-1]:void 0,xe=ae>2?A[2]:void 0;for(pe=S.length>3&&typeof pe=="function"?(ae--,pe):void 0,xe&&BB(A[0],A[1],xe)&&(pe=ae<3?void 0:pe,ae=1),E=Object(E);++U<ae;){var te=A[U];te&&S(E,te,U,pe)}return E})}function IB(S){return function(E,A,U){for(var ae=-1,pe=Object(E),xe=U(E),te=xe.length;te--;){var we=xe[S?te:++ae];if(A(pe[we],we,pe)===!1)break}return E}}function xu(S,E){var A=S.__data__;return zB(E)?A[typeof E=="string"?"string":"hash"]:A.map}function mv(S,E){var A=VL(S,E);return xB(A)?A:void 0}function RB(S){var E=gr.call(S,On),A=S[On];try{S[On]=void 0;var U=!0}catch{}var ae=Fx.call(S);return U&&(E?S[On]=A:delete S[On]),ae}function LB(S){return typeof S.constructor=="function"&&!Vx(S)?qL(Rx(S)):{}}function Nx(S,E){var A=typeof S;return E=E==null?o:E,!!E&&(A=="number"||A!="symbol"&&Y.test(S))&&S>-1&&S%1==0&&S<E}function BB(S,E,A){if(!In(A))return!1;var U=typeof E;return(U=="number"?Sv(A)&&Nx(E,A.length):U=="string"&&E in A)?wu(A[E],S):!1}function zB(S){var E=typeof S;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?S!=="__proto__":S===null}function DB(S){return!!Ax&&Ax in S}function Vx(S){var E=S&&S.constructor,A=typeof E=="function"&&E.prototype||hu;return S===A}function $B(S){var E=[];if(S!=null)for(var A in Object(S))E.push(A);return E}function NB(S){return Fx.call(S)}function VB(S,E,A){return E=Bx(E===void 0?S.length-1:E,0),function(){for(var U=arguments,ae=-1,pe=Bx(U.length-E,0),xe=Array(pe);++ae<pe;)xe[ae]=U[E+ae];ae=-1;for(var te=Array(E+1);++ae<E;)te[ae]=U[ae];return te[E]=A(xe),DL(S,this,te)}}function gv(S,E){if(!(E==="constructor"&&typeof S[E]=="function")&&E!="__proto__")return S[E]}var jB=HB(TB);function HB(S){var E=0,A=0;return function(){var U=ZL(),ae=a-(U-A);if(A=U,ae>0){if(++E>=i)return arguments[0]}else E=0;return S.apply(void 0,arguments)}}function WB(S){if(S!=null){try{return mu.call(S)}catch{}try{return S+""}catch{}}return""}function wu(S,E){return S===E||S!==S&&E!==E}var yv=Dx(function(){return arguments}())?Dx:function(S){return Ao(S)&&gr.call(S,"callee")&&!YL.call(S,"callee")},bv=Array.isArray;function Sv(S){return S!=null&&Hx(S.length)&&!xv(S)}function UB(S){return Ao(S)&&Sv(S)}var jx=XL||ZB;function xv(S){if(!In(S))return!1;var E=Su(S);return E==p||E==m||E==u||E==b}function Hx(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=o}function In(S){var E=typeof S;return S!=null&&(E=="object"||E=="function")}function Ao(S){return S!=null&&typeof S=="object"}function GB(S){if(!Ao(S)||Su(S)!=g)return!1;var E=Rx(S);if(E===null)return!0;var A=gr.call(E,"constructor")&&E.constructor;return typeof A=="function"&&A instanceof A&&mu.call(A)==UL}var Wx=Px?NL(Px):wB;function YB(S){return OB(S,Ux(S))}function Ux(S){return Sv(S)?yB(S,!0):CB(S)}var KB=MB(function(S,E,A,U){$x(S,E,A,U)});function XB(S){return function(){return S}}function Gx(S){return S}function ZB(){return!1}e.exports=KB})(Ru,Ru.exports);var Ct=Ru.exports;function Uw(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Jr(e){return typeof e=="number"}function Lu(e){return Array.isArray(e)}function Sr(e){return typeof e=="function"}function Gw(e){return typeof e=="undefined"||e===void 0}function lt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Lu(e)}function Yw(e){return lt(e)&&Object.keys(e).length===0}function Bu(e){return Object.prototype.toString.call(e)==="[object String]"}function Xv(e){return/^var\(--.+\)$/.test(e)}var Kw=!1;function zu(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function Xw(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function Zw(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 qw=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},Zo=qw(Zw);function Zv(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 Du=function(t){return Zv(t,function(r){return r!=null})},$u=function(t){return Object.keys(t)},qo=function(t){return t.reduce(function(r,n){var i=n[0],a=n[1];return r[i]=a,r},{})};function Qw(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Nu(e){if(e==null)return e;var t=Qw(e),r=t.unitless;return r||Jr(e)?e+"px":e}var qv=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},Vu=function(t){return qo(Object.entries(t).sort(qv))};function Qv(e){var t=Vu(e);return Object.assign(Object.values(t),t)}function Jw(e){var t=Object.keys(Vu(e));return new Set(t)}function e2(e){var t;if(!e)return e;e=(t=Nu(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Jr(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function Qo(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Nu(e)+")"),t&&r.push("and","(max-width: "+Nu(t)+")"),r.join(" ")}function t2(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=Qv(e),n=Object.entries(e).sort(qv).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?e2(p):void 0,{breakpoint:c,minW:d,maxW:p,maxWQuery:Qo(null,p),minWQuery:Qo(d),minMaxQuery:Qo(d,p)}}),i=Jw(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:Vu(e),asArray:Qv(e),details:n,media:[null].concat(r.map(function(o){return Qo(o)}).slice(1)),toArrayValue:function(l){if(!lt(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});Uw(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 Jv(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function ju(e){var t;if(!Jv(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function eh(e){var t;return Jv(e)&&(t=e.ownerDocument)!=null?t:document}function r2(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Dn=r2(),th=function(t){return t?"":void 0},ze=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")},n2=function(t){return t.hasAttribute("tabindex")};function i2(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function a2(e){return ju(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function o2(e){var t=ju(e)?eh(e):document;return t.activeElement===e}function rh(e){return e.parentElement&&rh(e.parentElement)?!0:e.hidden}function l2(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function s2(e){if(!ju(e)||rh(e)||i2(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():l2(e)?!0:n2(e)}var u2=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],c2=u2.join();function f2(e){var t=Array.from(e.querySelectorAll(c2));return t.unshift(e),t.filter(s2).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function nh(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 d2(e,t){if(!!e){if(typeof e=="string")return nh(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 nh(e,t)}}function p2(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=d2(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.
|
|
285
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wt(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 Sr(e)?e.apply(void 0,r):e}function $n(){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
|
|
284
|
+
`})},Uw=Ww,Iu={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]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",h="[object Null]",g="[object Object]",b="[object Proxy]",x="[object RegExp]",k="[object Set]",_="[object String]",T="[object Undefined]",O="[object WeakMap]",F="[object ArrayBuffer]",W="[object DataView]",J="[object Float32Array]",X="[object Float64Array]",Z="[object Int8Array]",q="[object Int16Array]",ne="[object Int32Array]",Le="[object Uint8Array]",Qe="[object Uint8ClampedArray]",bt="[object Uint16Array]",dt="[object Uint32Array]",rr=/[\\^$.*+?()[\]{}|]/g,V=/^\[object .+?Constructor\]$/,Y=/^(?:0|[1-9]\d*)$/,B={};B[J]=B[X]=B[Z]=B[q]=B[ne]=B[Le]=B[Qe]=B[bt]=B[dt]=!0,B[l]=B[s]=B[F]=B[c]=B[W]=B[d]=B[f]=B[p]=B[y]=B[v]=B[g]=B[x]=B[k]=B[_]=B[O]=!1;var z=typeof $o=="object"&&$o&&$o.Object===Object&&$o,H=typeof self=="object"&&self&&self.Object===Object&&self,ie=z||H||Function("return this")(),Be=t&&!t.nodeType&&t,Je=Be&&!0&&e&&!e.nodeType&&e,St=Je&&Je.exports===Be,dv=St&&z.process,Px=function(){try{var S=Je&&Je.require&&Je.require("util").types;return S||dv&&dv.binding&&dv.binding("util")}catch{}}(),Ax=Px&&Px.isTypedArray;function $L(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 NL(S,E){for(var A=-1,U=Array(S);++A<S;)U[A]=E(A);return U}function VL(S){return function(E){return S(E)}}function jL(S,E){return S==null?void 0:S[E]}function HL(S,E){return function(A){return S(E(A))}}var WL=Array.prototype,UL=Function.prototype,hu=Object.prototype,pv=ie["__core-js_shared__"],mu=UL.toString,gr=hu.hasOwnProperty,Fx=function(){var S=/[^.]+$/.exec(pv&&pv.keys&&pv.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Ox=hu.toString,GL=mu.call(Object),YL=RegExp("^"+mu.call(gr).replace(rr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gu=St?ie.Buffer:void 0,Mx=ie.Symbol,Rx=ie.Uint8Array,Ix=gu?gu.allocUnsafe:void 0,Lx=HL(Object.getPrototypeOf,Object),Bx=Object.create,KL=hu.propertyIsEnumerable,XL=WL.splice,On=Mx?Mx.toStringTag:void 0,yu=function(){try{var S=mv(Object,"defineProperty");return S({},"",{}),S}catch{}}(),ZL=gu?gu.isBuffer:void 0,zx=Math.max,qL=Date.now,Dx=mv(ie,"Map"),Po=mv(Object,"create"),QL=function(){function S(){}return function(E){if(!Rn(E))return{};if(Bx)return Bx(E);S.prototype=E;var A=new S;return S.prototype=void 0,A}}();function Mn(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var U=S[E];this.set(U[0],U[1])}}function JL(){this.__data__=Po?Po(null):{},this.size=0}function eB(S){var E=this.has(S)&&delete this.__data__[S];return this.size-=E?1:0,E}function tB(S){var E=this.__data__;if(Po){var A=E[S];return A===n?void 0:A}return gr.call(E,S)?E[S]:void 0}function rB(S){var E=this.__data__;return Po?E[S]!==void 0:gr.call(E,S)}function nB(S,E){var A=this.__data__;return this.size+=this.has(S)?0:1,A[S]=Po&&E===void 0?n:E,this}Mn.prototype.clear=JL,Mn.prototype.delete=eB,Mn.prototype.get=tB,Mn.prototype.has=rB,Mn.prototype.set=nB;function yr(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var U=S[E];this.set(U[0],U[1])}}function iB(){this.__data__=[],this.size=0}function aB(S){var E=this.__data__,A=bu(E,S);if(A<0)return!1;var U=E.length-1;return A==U?E.pop():XL.call(E,A,1),--this.size,!0}function oB(S){var E=this.__data__,A=bu(E,S);return A<0?void 0:E[A][1]}function lB(S){return bu(this.__data__,S)>-1}function sB(S,E){var A=this.__data__,U=bu(A,S);return U<0?(++this.size,A.push([S,E])):A[U][1]=E,this}yr.prototype.clear=iB,yr.prototype.delete=aB,yr.prototype.get=oB,yr.prototype.has=lB,yr.prototype.set=sB;function zi(S){var E=-1,A=S==null?0:S.length;for(this.clear();++E<A;){var U=S[E];this.set(U[0],U[1])}}function uB(){this.size=0,this.__data__={hash:new Mn,map:new(Dx||yr),string:new Mn}}function cB(S){var E=xu(this,S).delete(S);return this.size-=E?1:0,E}function fB(S){return xu(this,S).get(S)}function dB(S){return xu(this,S).has(S)}function pB(S,E){var A=xu(this,S),U=A.size;return A.set(S,E),this.size+=A.size==U?0:1,this}zi.prototype.clear=uB,zi.prototype.delete=cB,zi.prototype.get=fB,zi.prototype.has=dB,zi.prototype.set=pB;function Di(S){var E=this.__data__=new yr(S);this.size=E.size}function vB(){this.__data__=new yr,this.size=0}function hB(S){var E=this.__data__,A=E.delete(S);return this.size=E.size,A}function mB(S){return this.__data__.get(S)}function gB(S){return this.__data__.has(S)}function yB(S,E){var A=this.__data__;if(A instanceof yr){var U=A.__data__;if(!Dx||U.length<r-1)return U.push([S,E]),this.size=++A.size,this;A=this.__data__=new zi(U)}return A.set(S,E),this.size=A.size,this}Di.prototype.clear=vB,Di.prototype.delete=hB,Di.prototype.get=mB,Di.prototype.has=gB,Di.prototype.set=yB;function bB(S,E){var A=bv(S),U=!A&&yv(S),ae=!A&&!U&&Hx(S),pe=!A&&!U&&!ae&&Ux(S),xe=A||U||ae||pe,re=xe?NL(S.length,String):[],we=re.length;for(var Rt in S)(E||gr.call(S,Rt))&&!(xe&&(Rt=="length"||ae&&(Rt=="offset"||Rt=="parent")||pe&&(Rt=="buffer"||Rt=="byteLength"||Rt=="byteOffset")||Vx(Rt,we)))&&re.push(Rt);return re}function vv(S,E,A){(A!==void 0&&!wu(S[E],A)||A===void 0&&!(E in S))&&hv(S,E,A)}function SB(S,E,A){var U=S[E];(!(gr.call(S,E)&&wu(U,A))||A===void 0&&!(E in S))&&hv(S,E,A)}function bu(S,E){for(var A=S.length;A--;)if(wu(S[A][0],E))return A;return-1}function hv(S,E,A){E=="__proto__"&&yu?yu(S,E,{configurable:!0,enumerable:!0,value:A,writable:!0}):S[E]=A}var xB=IB();function Su(S){return S==null?S===void 0?T:h:On&&On in Object(S)?LB(S):VB(S)}function $x(S){return Ao(S)&&Su(S)==l}function wB(S){if(!Rn(S)||$B(S))return!1;var E=xv(S)?YL:V;return E.test(UB(S))}function CB(S){return Ao(S)&&Wx(S.length)&&!!B[Su(S)]}function EB(S){if(!Rn(S))return NB(S);var E=jx(S),A=[];for(var U in S)U=="constructor"&&(E||!gr.call(S,U))||A.push(U);return A}function Nx(S,E,A,U,ae){S!==E&&xB(E,function(pe,xe){if(ae||(ae=new Di),Rn(pe))kB(S,E,xe,A,Nx,U,ae);else{var re=U?U(gv(S,xe),pe,xe+"",S,E,ae):void 0;re===void 0&&(re=pe),vv(S,xe,re)}},Gx)}function kB(S,E,A,U,ae,pe,xe){var re=gv(S,A),we=gv(E,A),Rt=xe.get(we);if(Rt){vv(S,A,Rt);return}var xt=pe?pe(re,we,A+"",S,E,xe):void 0,Fo=xt===void 0;if(Fo){var wv=bv(we),Cv=!wv&&Hx(we),Kx=!wv&&!Cv&&Ux(we);xt=we,wv||Cv||Kx?bv(re)?xt=re:GB(re)?xt=OB(re):Cv?(Fo=!1,xt=PB(we,!0)):Kx?(Fo=!1,xt=FB(we,!0)):xt=[]:YB(we)||yv(we)?(xt=re,yv(re)?xt=KB(re):(!Rn(re)||xv(re))&&(xt=BB(we))):Fo=!1}Fo&&(xe.set(we,xt),ae(xt,we,U,pe,xe),xe.delete(we)),vv(S,A,xt)}function TB(S,E){return HB(jB(S,E,Yx),S+"")}var _B=yu?function(S,E){return yu(S,"toString",{configurable:!0,enumerable:!1,value:ZB(E),writable:!0})}:Yx;function PB(S,E){if(E)return S.slice();var A=S.length,U=Ix?Ix(A):new S.constructor(A);return S.copy(U),U}function AB(S){var E=new S.constructor(S.byteLength);return new Rx(E).set(new Rx(S)),E}function FB(S,E){var A=E?AB(S.buffer):S.buffer;return new S.constructor(A,S.byteOffset,S.length)}function OB(S,E){var A=-1,U=S.length;for(E||(E=Array(U));++A<U;)E[A]=S[A];return E}function MB(S,E,A,U){var ae=!A;A||(A={});for(var pe=-1,xe=E.length;++pe<xe;){var re=E[pe],we=U?U(A[re],S[re],re,A,S):void 0;we===void 0&&(we=S[re]),ae?hv(A,re,we):SB(A,re,we)}return A}function RB(S){return TB(function(E,A){var U=-1,ae=A.length,pe=ae>1?A[ae-1]:void 0,xe=ae>2?A[2]:void 0;for(pe=S.length>3&&typeof pe=="function"?(ae--,pe):void 0,xe&&zB(A[0],A[1],xe)&&(pe=ae<3?void 0:pe,ae=1),E=Object(E);++U<ae;){var re=A[U];re&&S(E,re,U,pe)}return E})}function IB(S){return function(E,A,U){for(var ae=-1,pe=Object(E),xe=U(E),re=xe.length;re--;){var we=xe[S?re:++ae];if(A(pe[we],we,pe)===!1)break}return E}}function xu(S,E){var A=S.__data__;return DB(E)?A[typeof E=="string"?"string":"hash"]:A.map}function mv(S,E){var A=jL(S,E);return wB(A)?A:void 0}function LB(S){var E=gr.call(S,On),A=S[On];try{S[On]=void 0;var U=!0}catch{}var ae=Ox.call(S);return U&&(E?S[On]=A:delete S[On]),ae}function BB(S){return typeof S.constructor=="function"&&!jx(S)?QL(Lx(S)):{}}function Vx(S,E){var A=typeof S;return E=E==null?o:E,!!E&&(A=="number"||A!="symbol"&&Y.test(S))&&S>-1&&S%1==0&&S<E}function zB(S,E,A){if(!Rn(A))return!1;var U=typeof E;return(U=="number"?Sv(A)&&Vx(E,A.length):U=="string"&&E in A)?wu(A[E],S):!1}function DB(S){var E=typeof S;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?S!=="__proto__":S===null}function $B(S){return!!Fx&&Fx in S}function jx(S){var E=S&&S.constructor,A=typeof E=="function"&&E.prototype||hu;return S===A}function NB(S){var E=[];if(S!=null)for(var A in Object(S))E.push(A);return E}function VB(S){return Ox.call(S)}function jB(S,E,A){return E=zx(E===void 0?S.length-1:E,0),function(){for(var U=arguments,ae=-1,pe=zx(U.length-E,0),xe=Array(pe);++ae<pe;)xe[ae]=U[E+ae];ae=-1;for(var re=Array(E+1);++ae<E;)re[ae]=U[ae];return re[E]=A(xe),$L(S,this,re)}}function gv(S,E){if(!(E==="constructor"&&typeof S[E]=="function")&&E!="__proto__")return S[E]}var HB=WB(_B);function WB(S){var E=0,A=0;return function(){var U=qL(),ae=a-(U-A);if(A=U,ae>0){if(++E>=i)return arguments[0]}else E=0;return S.apply(void 0,arguments)}}function UB(S){if(S!=null){try{return mu.call(S)}catch{}try{return S+""}catch{}}return""}function wu(S,E){return S===E||S!==S&&E!==E}var yv=$x(function(){return arguments}())?$x:function(S){return Ao(S)&&gr.call(S,"callee")&&!KL.call(S,"callee")},bv=Array.isArray;function Sv(S){return S!=null&&Wx(S.length)&&!xv(S)}function GB(S){return Ao(S)&&Sv(S)}var Hx=ZL||qB;function xv(S){if(!Rn(S))return!1;var E=Su(S);return E==p||E==m||E==u||E==b}function Wx(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=o}function Rn(S){var E=typeof S;return S!=null&&(E=="object"||E=="function")}function Ao(S){return S!=null&&typeof S=="object"}function YB(S){if(!Ao(S)||Su(S)!=g)return!1;var E=Lx(S);if(E===null)return!0;var A=gr.call(E,"constructor")&&E.constructor;return typeof A=="function"&&A instanceof A&&mu.call(A)==GL}var Ux=Ax?VL(Ax):CB;function KB(S){return MB(S,Gx(S))}function Gx(S){return Sv(S)?bB(S,!0):EB(S)}var XB=RB(function(S,E,A,U){Nx(S,E,A,U)});function ZB(S){return function(){return S}}function Yx(S){return S}function qB(){return!1}e.exports=XB})(Iu,Iu.exports);var Ct=Iu.exports;function Gw(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Jr(e){return typeof e=="number"}function Lu(e){return Array.isArray(e)}function Sr(e){return typeof e=="function"}function Yw(e){return typeof e=="undefined"||e===void 0}function lt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Lu(e)}function Kw(e){return lt(e)&&Object.keys(e).length===0}function Bu(e){return Object.prototype.toString.call(e)==="[object String]"}function Xv(e){return/^var\(--.+\)$/.test(e)}var Xw=!1;function zu(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function Zw(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function qw(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 Qw=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},Zo=Qw(qw);function Zv(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 Du=function(t){return Zv(t,function(r){return r!=null})},$u=function(t){return Object.keys(t)},qo=function(t){return t.reduce(function(r,n){var i=n[0],a=n[1];return r[i]=a,r},{})};function Jw(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Nu(e){if(e==null)return e;var t=Jw(e),r=t.unitless;return r||Jr(e)?e+"px":e}var qv=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},Vu=function(t){return qo(Object.entries(t).sort(qv))};function Qv(e){var t=Vu(e);return Object.assign(Object.values(t),t)}function e2(e){var t=Object.keys(Vu(e));return new Set(t)}function t2(e){var t;if(!e)return e;e=(t=Nu(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Jr(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function Qo(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Nu(e)+")"),t&&r.push("and","(max-width: "+Nu(t)+")"),r.join(" ")}function r2(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=Qv(e),n=Object.entries(e).sort(qv).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?t2(p):void 0,{breakpoint:c,minW:d,maxW:p,maxWQuery:Qo(null,p),minWQuery:Qo(d),minMaxQuery:Qo(d,p)}}),i=e2(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:Vu(e),asArray:Qv(e),details:n,media:[null].concat(r.map(function(o){return Qo(o)}).slice(1)),toArrayValue:function(l){if(!lt(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});Gw(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 Jv(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function ju(e){var t;if(!Jv(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function eh(e){var t;return Jv(e)&&(t=e.ownerDocument)!=null?t:document}function n2(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Dn=n2(),th=function(t){return t?"":void 0},De=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")},i2=function(t){return t.hasAttribute("tabindex")};function a2(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function o2(e){return ju(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function l2(e){var t=ju(e)?eh(e):document;return t.activeElement===e}function rh(e){return e.parentElement&&rh(e.parentElement)?!0:e.hidden}function s2(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function u2(e){if(!ju(e)||rh(e)||a2(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():s2(e)?!0:i2(e)}var c2=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],f2=c2.join();function d2(e){var t=Array.from(e.querySelectorAll(f2));return t.unshift(e),t.filter(u2).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function nh(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 p2(e,t){if(!!e){if(typeof e=="string")return nh(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 nh(e,t)}}function v2(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=p2(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.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wt(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 Sr(e)?e.apply(void 0,r):e}function $n(){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 h2(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 Ui=function(){},ih=h2(function(e){return function(){var t=e.condition,r=e.message;t&&Xw&&console.warn(r)}}),m2=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 g2(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?l2:n,a=r.nextTick,o=r.preventScroll,l=o===void 0?!0:o,s=r.selectTextIfInput,u=s===void 0?!0:s;if(!e||i(e))return-1;function c(){if(!e){ih({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(y2())e.focus({preventScroll:l});else if(e.focus(),l){var d=b2(e);S2(d)}o2(e)&&u&&e.select()}return a?requestAnimationFrame(c):(c(),-1)}var Jo=null;function y2(){if(Jo==null){Jo=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Jo=!0,!0}})}catch{}}return Jo}function b2(e){for(var t,r=eh(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,a=[],o=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==o;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&a.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return o instanceof n.HTMLElement&&a.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),a}function S2(e){for(var t=v2(e),r;!(r=t()).done;){var n=r.value,i=n.element,a=n.scrollTop,o=n.scrollLeft;i.scrollTop=a,i.scrollLeft=o}}function Hu(e,t){return t===void 0&&(t=1/0),!lt(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],a=n[1];return lt(a)||Lu(a)?Object.entries(Hu(a,t-1)).forEach(function(o){var l=o[0],s=o[1];r[i+"."+l]=s}):r[i]=a,r},{})}function x2(e,t,r){return(e-t)*100/(r-t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function ah(e,t){return Lu(e)?e.map(function(r){return r===null?null:t(r)}):lt(e)?$u(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function w2(e,t){if(e!=null){if(Sr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function oh(){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 w2(i,n)})}}function en(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.createContext(void 0);l.displayName=o;function s(){var u=w.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 lh(e){return w.Children.toArray(e).filter(function(t){return w.isValidElement(t)})}var Gi=Dn?w.useLayoutEffect:w.useEffect;function sh(e,t){t===void 0&&(t=[]);var r=w.useRef(e);return Gi(function(){r.current=e}),w.useCallback(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.current==null?void 0:r.current.apply(r,i)},t)}function C2(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function el(){return el=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},el.apply(this,arguments)}var E2={current:1},uh=w.createContext(E2),k2=w.memo(function(e){var t=e.children;return w.createElement(uh.Provider,{value:{current:1}},t)}),T2=function(t){return t.current++};function ch(e,t){var r=w.useContext(uh),n=w.useState(r.current),i=n[0],a=n[1];return w.useEffect(function(){a(T2(r))},[r]),w.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function _2(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=ch(e);return w.useMemo(function(){return r.map(function(a){return a+"-"+i})},[i,r])}function P2(e){e===void 0&&(e={});var t=e,r=t.onClose,n=t.onOpen,i=t.isOpen,a=t.id,o=sh(n),l=sh(r),s=w.useState(e.defaultIsOpen||!1),u=s[0],c=s[1],d=C2(i,u),f=d[0],p=d[1],m=ch(a,"disclosure"),y=w.useCallback(function(){f||c(!1),l==null||l()},[f,l]),v=w.useCallback(function(){f||c(!0),o==null||o()},[f,o]),h=w.useCallback(function(){var g=p?y:v;g()},[p,v,y]);return{isOpen:!!p,onOpen:v,onClose:y,onToggle:h,isControlled:f,getButtonProps:function(b){return b===void 0&&(b={}),el({},b,{"aria-expanded":"true","aria-controls":m,onClick:$n(b.onClick,h)})},getDisclosureProps:function(b){return b===void 0&&(b={}),el({},b,{hidden:!p,id:m})}}}function A2(e,t){return t===void 0&&(t=[]),w.useEffect(function(){return function(){return e()}},t)}function fh(){var e=w.useRef(!1),t=w.useState(0),r=t[0],n=t[1];return A2(function(){e.current=!0}),w.useCallback(function(){e.current||n(r+1)},[r])}function F2(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 O2(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return w.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&F2(i,n)})}},t)}var Wu={exports:{}},Et={};/*
|
|
286
286
|
object-assign
|
|
287
287
|
(c) Sindre Sorhus
|
|
288
288
|
@license MIT
|
|
289
|
-
*/var dh=Object.getOwnPropertySymbols,
|
|
289
|
+
*/var dh=Object.getOwnPropertySymbols,M2=Object.prototype.hasOwnProperty,R2=Object.prototype.propertyIsEnumerable;function I2(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function L2(){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 B2=L2()?Object.assign:function(e,t){for(var r,n=I2(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)M2.call(r,o)&&(n[o]=r[o]);if(dh){i=dh(r);for(var l=0;l<i.length;l++)R2.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},ph={exports:{}},vh={};/** @license React v0.20.2
|
|
290
290
|
* scheduler.production.min.js
|
|
291
291
|
*
|
|
292
292
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
293
293
|
*
|
|
294
294
|
* This source code is licensed under the MIT license found in the
|
|
295
295
|
* LICENSE file in the root directory of this source tree.
|
|
296
|
-
*/(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 V=e.unstable_now();s(!0,V),s=null}catch(Y){throw setTimeout(c,0),Y}};t=function(V){s!==null?setTimeout(t,0,V):(s=V,setTimeout(c,0))},r=function(V,Y){u=setTimeout(V,Y)},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 m=!1,y=null,v=-1,h=5,g=0;e.unstable_shouldYield=function(){return e.unstable_now()>=g},i=function(){},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):h=0<V?Math.floor(1e3/V):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(y!==null){var V=e.unstable_now();g=V+h;try{y(!0,V)?x.postMessage(null):(m=!1,y=null)}catch(Y){throw x.postMessage(null),Y}}else m=!1},t=function(V){y=V,m||(m=!0,x.postMessage(null))},r=function(V,Y){v=d(function(){V(e.unstable_now())},Y)},n=function(){f(v),v=-1}}function k(V,Y){var B=V.length;V.push(Y);e:for(;;){var z=B-1>>>1,
|
|
296
|
+
*/(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 V=e.unstable_now();s(!0,V),s=null}catch(Y){throw setTimeout(c,0),Y}};t=function(V){s!==null?setTimeout(t,0,V):(s=V,setTimeout(c,0))},r=function(V,Y){u=setTimeout(V,Y)},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 m=!1,y=null,v=-1,h=5,g=0;e.unstable_shouldYield=function(){return e.unstable_now()>=g},i=function(){},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):h=0<V?Math.floor(1e3/V):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(y!==null){var V=e.unstable_now();g=V+h;try{y(!0,V)?x.postMessage(null):(m=!1,y=null)}catch(Y){throw x.postMessage(null),Y}}else m=!1},t=function(V){y=V,m||(m=!0,x.postMessage(null))},r=function(V,Y){v=d(function(){V(e.unstable_now())},Y)},n=function(){f(v),v=-1}}function k(V,Y){var B=V.length;V.push(Y);e:for(;;){var z=B-1>>>1,H=V[z];if(H!==void 0&&0<O(H,Y))V[z]=Y,V[B]=H,B=z;else break e}}function _(V){return V=V[0],V===void 0?null:V}function T(V){var Y=V[0];if(Y!==void 0){var B=V.pop();if(B!==Y){V[0]=B;e:for(var z=0,H=V.length;z<H;){var ie=2*(z+1)-1,Be=V[ie],Je=ie+1,St=V[Je];if(Be!==void 0&&0>O(Be,B))St!==void 0&&0>O(St,Be)?(V[z]=St,V[Je]=B,z=Je):(V[z]=Be,V[ie]=B,z=ie);else if(St!==void 0&&0>O(St,B))V[z]=St,V[Je]=B,z=Je;else break e}}return Y}return null}function O(V,Y){var B=V.sortIndex-Y.sortIndex;return B!==0?B:V.id-Y.id}var F=[],W=[],J=1,X=null,Z=3,q=!1,ne=!1,Le=!1;function Qe(V){for(var Y=_(W);Y!==null;){if(Y.callback===null)T(W);else if(Y.startTime<=V)T(W),Y.sortIndex=Y.expirationTime,k(F,Y);else break;Y=_(W)}}function bt(V){if(Le=!1,Qe(V),!ne)if(_(F)!==null)ne=!0,t(dt);else{var Y=_(W);Y!==null&&r(bt,Y.startTime-V)}}function dt(V,Y){ne=!1,Le&&(Le=!1,n()),q=!0;var B=Z;try{for(Qe(Y),X=_(F);X!==null&&(!(X.expirationTime>Y)||V&&!e.unstable_shouldYield());){var z=X.callback;if(typeof z=="function"){X.callback=null,Z=X.priorityLevel;var H=z(X.expirationTime<=Y);Y=e.unstable_now(),typeof H=="function"?X.callback=H:X===_(F)&&T(F),Qe(Y)}else T(F);X=_(F)}if(X!==null)var ie=!0;else{var Be=_(W);Be!==null&&r(bt,Be.startTime-Y),ie=!1}return ie}finally{X=null,Z=B,q=!1}}var rr=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(V){V.callback=null},e.unstable_continueExecution=function(){ne||q||(ne=!0,t(dt))},e.unstable_getCurrentPriorityLevel=function(){return Z},e.unstable_getFirstCallbackNode=function(){return _(F)},e.unstable_next=function(V){switch(Z){case 1:case 2:case 3:var Y=3;break;default:Y=Z}var B=Z;Z=Y;try{return V()}finally{Z=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=rr,e.unstable_runWithPriority=function(V,Y){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var B=Z;Z=V;try{return Y()}finally{Z=B}},e.unstable_scheduleCallback=function(V,Y,B){var z=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?z+B:z):B=z,V){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=B+H,V={id:J++,callback:Y,priorityLevel:V,startTime:B,expirationTime:H,sortIndex:-1},B>z?(V.sortIndex=B,k(W,V),_(F)===null&&V===_(W)&&(Le?n():Le=!0,r(bt,B-z))):(V.sortIndex=H,k(F,V),ne||q||(ne=!0,t(dt))),V},e.unstable_wrapCallback=function(V){var Y=Z;return function(){var B=Z;Z=Y;try{return V.apply(this,arguments)}finally{Z=B}}}})(vh),ph.exports=vh;/** @license React v17.0.2
|
|
297
297
|
* react-dom.production.min.js
|
|
298
298
|
*
|
|
299
299
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
300
300
|
*
|
|
301
301
|
* This source code is licensed under the MIT license found in the
|
|
302
302
|
* LICENSE file in the root directory of this source tree.
|
|
303
|
-
*/var tl=br.default,be=
|
|
303
|
+
*/var tl=br.default,be=B2,$e=ph.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(!tl)throw Error(N(227));var hh=new Set,Yi={};function tn(e,t){Nn(e,t),Nn(e+"Capture",t)}function Nn(e,t){for(Yi[e]=t,e=0;e<t.length;e++)hh.add(t[e])}var nr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),z2=/^[: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]*$/,mh=Object.prototype.hasOwnProperty,gh={},yh={};function D2(e){return mh.call(yh,e)?!0:mh.call(gh,e)?!1:z2.test(e)?yh[e]=!0:(gh[e]=!0,!1)}function $2(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 N2(e,t,r,n){if(t===null||typeof t=="undefined"||$2(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 et(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 Ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ve[e]=new et(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ve[t]=new et(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ve[e]=new et(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ve[e]=new et(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){Ve[e]=new et(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ve[e]=new et(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ve[e]=new et(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ve[e]=new et(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ve[e]=new et(e,5,!1,e.toLowerCase(),null,!1,!1)});var Uu=/[\-:]([a-z])/g;function Gu(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(Uu,Gu);Ve[t]=new et(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(Uu,Gu);Ve[t]=new et(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(Uu,Gu);Ve[t]=new et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ve[e]=new et(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ve.xlinkHref=new et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ve[e]=new et(e,1,!1,e.toLowerCase(),null,!0,!0)});function Yu(e,t,r,n){var i=Ve.hasOwnProperty(t)?Ve[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||(N2(t,r,i,n)&&(r=null),n||i===null?D2(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 rn=tl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ki=60103,nn=60106,xr=60107,Ku=60108,Xi=60114,Xu=60109,Zu=60110,rl=60112,Zi=60113,nl=60120,il=60115,qu=60116,Qu=60121,Ju=60128,bh=60129,ec=60130,tc=60131;if(typeof Symbol=="function"&&Symbol.for){var Ne=Symbol.for;Ki=Ne("react.element"),nn=Ne("react.portal"),xr=Ne("react.fragment"),Ku=Ne("react.strict_mode"),Xi=Ne("react.profiler"),Xu=Ne("react.provider"),Zu=Ne("react.context"),rl=Ne("react.forward_ref"),Zi=Ne("react.suspense"),nl=Ne("react.suspense_list"),il=Ne("react.memo"),qu=Ne("react.lazy"),Qu=Ne("react.block"),Ne("react.scope"),Ju=Ne("react.opaque.id"),bh=Ne("react.debug_trace_mode"),ec=Ne("react.offscreen"),tc=Ne("react.legacy_hidden")}var Sh=typeof Symbol=="function"&&Symbol.iterator;function qi(e){return e===null||typeof e!="object"?null:(e=Sh&&e[Sh]||e["@@iterator"],typeof e=="function"?e:null)}var rc;function Qi(e){if(rc===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);rc=t&&t[1]||""}return`
|
|
304
304
|
`+rc+e}var nc=!1;function al(e,t){if(!e||nc)return"";nc=!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(`
|
|
305
305
|
`),a=n.stack.split(`
|
|
306
306
|
`),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`
|
|
307
|
-
`+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{nc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Qi(e):""}function N2(e){switch(e.tag){case 5:return Qi(e.type);case 16:return Qi("Lazy");case 13:return Qi("Suspense");case 19:return Qi("SuspenseList");case 0:case 2:case 15:return e=al(e.type,!1),e;case 11:return e=al(e.type.render,!1),e;case 22:return e=al(e.type._render,!1),e;case 1:return e=al(e.type,!0),e;default:return""}}function Vn(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 xr:return"Fragment";case nn:return"Portal";case Xi:return"Profiler";case Ku:return"StrictMode";case Zi:return"Suspense";case nl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zu:return(e.displayName||"Context")+".Consumer";case Xu:return(e._context.displayName||"Context")+".Provider";case rl:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case il:return Vn(e.type);case Qu:return Vn(e._render);case qu:t=e._payload,e=e._init;try{return Vn(e(t))}catch{}}return null}function wr(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V2(e){var t=xh(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 ol(e){e._valueTracker||(e._valueTracker=V2(e))}function wh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=xh(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ll(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 ic(e,t){var r=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Ch(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=wr(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 Eh(e,t){t=t.checked,t!=null&&Yu(e,"checked",t,!1)}function ac(e,t){Eh(e,t);var r=wr(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")?oc(e,t.type,r):t.hasOwnProperty("defaultValue")&&oc(e,t.type,wr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function kh(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 oc(e,t,r){(t!=="number"||ll(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function j2(e){var t="";return tl.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function lc(e,t){return e=be({children:void 0},t),(t=j2(t.children))&&(e.children=t),e}function jn(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=""+wr(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 sc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return be({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Th(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:wr(r)}}function _h(e,t){var r=wr(t.value),n=wr(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 Ph(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var uc={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ah(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 cc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ah(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sl,Fh=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!==uc.svg||"innerHTML"in e)e.innerHTML=t;else{for(sl=sl||document.createElement("div"),sl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=sl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ji(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var ea={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},H2=["Webkit","ms","Moz","O"];Object.keys(ea).forEach(function(e){H2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ea[t]=ea[e]})});function Oh(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||ea.hasOwnProperty(e)&&ea[e]?(""+t).trim():t+"px"}function Mh(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Oh(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var W2=be({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 fc(e,t){if(t){if(W2[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 dc(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 pc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vc=null,Hn=null,Wn=null;function Ih(e){if(e=ba(e)){if(typeof vc!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Tl(t),vc(e.stateNode,e.type,t))}}function Rh(e){Hn?Wn?Wn.push(e):Wn=[e]:Hn=e}function Lh(){if(Hn){var e=Hn,t=Wn;if(Wn=Hn=null,Ih(e),t)for(e=0;e<t.length;e++)Ih(t[e])}}function hc(e,t){return e(t)}function Bh(e,t,r,n,i){return e(t,r,n,i)}function mc(){}var zh=hc,an=!1,gc=!1;function yc(){(Hn!==null||Wn!==null)&&(mc(),Lh())}function U2(e,t,r){if(gc)return e(t,r);gc=!0;try{return zh(e,t,r)}finally{gc=!1,yc()}}function ta(e,t){var r=e.stateNode;if(r===null)return null;var n=Tl(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 bc=!1;if(nr)try{var ra={};Object.defineProperty(ra,"passive",{get:function(){bc=!0}}),window.addEventListener("test",ra,ra),window.removeEventListener("test",ra,ra)}catch{bc=!1}function G2(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 na=!1,ul=null,cl=!1,Sc=null,Y2={onError:function(e){na=!0,ul=e}};function K2(e,t,r,n,i,a,o,l,s){na=!1,ul=null,G2.apply(Y2,arguments)}function X2(e,t,r,n,i,a,o,l,s){if(K2.apply(this,arguments),na){if(na){var u=ul;na=!1,ul=null}else throw Error(N(198));cl||(cl=!0,Sc=u)}}function on(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 Dh(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 $h(e){if(on(e)!==e)throw Error(N(188))}function Z2(e){var t=e.alternate;if(!t){if(t=on(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 $h(i),e;if(a===n)return $h(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 Nh(e){if(e=Z2(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 Vh(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var jh,xc,Hh,Wh,wc=!1,Ut=[],Cr=null,Er=null,kr=null,ia=new Map,aa=new Map,oa=[],Uh="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 Cc(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function Gh(e,t){switch(e){case"focusin":case"focusout":Cr=null;break;case"dragenter":case"dragleave":Er=null;break;case"mouseover":case"mouseout":kr=null;break;case"pointerover":case"pointerout":ia.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":aa.delete(t.pointerId)}}function la(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Cc(t,r,n,i,a),t!==null&&(t=ba(t),t!==null&&xc(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function q2(e,t,r,n,i){switch(t){case"focusin":return Cr=la(Cr,e,t,r,n,i),!0;case"dragenter":return Er=la(Er,e,t,r,n,i),!0;case"mouseover":return kr=la(kr,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return ia.set(a,la(ia.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,aa.set(a,la(aa.get(a)||null,e,t,r,n,i)),!0}return!1}function Q2(e){var t=ln(e.target);if(t!==null){var r=on(t);if(r!==null){if(t=r.tag,t===13){if(t=Dh(r),t!==null){e.blockedOn=t,Wh(e.lanePriority,function(){De.unstable_runWithPriority(e.priority,function(){Hh(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Ac(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=ba(r),t!==null&&xc(t),e.blockedOn=r,!1;t.shift()}return!0}function Yh(e,t,r){fl(e)&&r.delete(t)}function J2(){for(wc=!1;0<Ut.length;){var e=Ut[0];if(e.blockedOn!==null){e=ba(e.blockedOn),e!==null&&jh(e);break}for(var t=e.targetContainers;0<t.length;){var r=Ac(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&Ut.shift()}Cr!==null&&fl(Cr)&&(Cr=null),Er!==null&&fl(Er)&&(Er=null),kr!==null&&fl(kr)&&(kr=null),ia.forEach(Yh),aa.forEach(Yh)}function sa(e,t){e.blockedOn===t&&(e.blockedOn=null,wc||(wc=!0,De.unstable_scheduleCallback(De.unstable_NormalPriority,J2)))}function Kh(e){function t(i){return sa(i,e)}if(0<Ut.length){sa(Ut[0],e);for(var r=1;r<Ut.length;r++){var n=Ut[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Cr!==null&&sa(Cr,e),Er!==null&&sa(Er,e),kr!==null&&sa(kr,e),ia.forEach(t),aa.forEach(t),r=0;r<oa.length;r++)n=oa[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<oa.length&&(r=oa[0],r.blockedOn===null);)Q2(r),r.blockedOn===null&&oa.shift()}function dl(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Un={animationend:dl("Animation","AnimationEnd"),animationiteration:dl("Animation","AnimationIteration"),animationstart:dl("Animation","AnimationStart"),transitionend:dl("Transition","TransitionEnd")},Ec={},Xh={};nr&&(Xh=document.createElement("div").style,"AnimationEvent"in window||(delete Un.animationend.animation,delete Un.animationiteration.animation,delete Un.animationstart.animation),"TransitionEvent"in window||delete Un.transitionend.transition);function pl(e){if(Ec[e])return Ec[e];if(!Un[e])return e;var t=Un[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Xh)return Ec[e]=t[r];return e}var Zh=pl("animationend"),qh=pl("animationiteration"),Qh=pl("animationstart"),Jh=pl("transitionend"),em=new Map,kc=new Map,eC=["abort","abort",Zh,"animationEnd",qh,"animationIteration",Qh,"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",Jh,"transitionEnd","waiting","waiting"];function Tc(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)),kc.set(n,t),em.set(n,i),tn(i,[n])}}var tC=De.unstable_now;tC();var ve=8;function Gn(e){if((1&e)!==0)return ve=15,1;if((2&e)!==0)return ve=14,2;if((4&e)!==0)return ve=13,4;var t=24&e;return t!==0?(ve=12,t):(e&32)!==0?(ve=11,32):(t=192&e,t!==0?(ve=10,t):(e&256)!==0?(ve=9,256):(t=3584&e,t!==0?(ve=8,t):(e&4096)!==0?(ve=7,4096):(t=4186112&e,t!==0?(ve=6,t):(t=62914560&e,t!==0?(ve=5,t):e&67108864?(ve=4,67108864):(e&134217728)!==0?(ve=3,134217728):(t=805306368&e,t!==0?(ve=2,t):(1073741824&e)!==0?(ve=1,1073741824):(ve=8,e))))))}function rC(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 nC(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 ua(e,t){var r=e.pendingLanes;if(r===0)return ve=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=ve=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=Gn(s),i=ve):(l&=a,l!==0&&(n=Gn(l),i=ve))}else a=r&~o,a!==0?(n=Gn(a),i=ve):l!==0&&(n=Gn(l),i=ve);if(n===0)return 0;if(n=31-Tr(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(Gn(t),i<=ve)return t;ve=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Tr(t),i=1<<r,n|=e[r],t&=~i;return n}function tm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vl(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Yn(24&~t),e===0?vl(10,t):e;case 10:return e=Yn(192&~t),e===0?vl(8,t):e;case 8:return e=Yn(3584&~t),e===0&&(e=Yn(4186112&~t),e===0&&(e=512)),e;case 2:return t=Yn(805306368&~t),t===0&&(t=268435456),t}throw Error(N(358,e))}function Yn(e){return e&-e}function _c(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function hl(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Tr(t),e[t]=r}var Tr=Math.clz32?Math.clz32:oC,iC=Math.log,aC=Math.LN2;function oC(e){return e===0?32:31-(iC(e)/aC|0)|0}var lC=De.unstable_UserBlockingPriority,sC=De.unstable_runWithPriority,ml=!0;function uC(e,t,r,n){an||mc();var i=Pc,a=an;an=!0;try{Bh(i,e,t,r,n)}finally{(an=a)||yc()}}function cC(e,t,r,n){sC(lC,Pc.bind(null,e,t,r,n))}function Pc(e,t,r,n){if(ml){var i;if((i=(t&4)===0)&&0<Ut.length&&-1<Uh.indexOf(e))e=Cc(null,e,t,r,n),Ut.push(e);else{var a=Ac(e,t,r,n);if(a===null)i&&Gh(e,n);else{if(i){if(-1<Uh.indexOf(e)){e=Cc(a,e,t,r,n),Ut.push(e);return}if(q2(a,e,t,r,n))return;Gh(e,n)}Om(e,t,n,null,r)}}}}function Ac(e,t,r,n){var i=pc(n);if(i=ln(i),i!==null){var a=on(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=Dh(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 Om(e,t,n,i,r),null}var _r=null,Fc=null,gl=null;function rm(){if(gl)return gl;var e,t=Fc,r=t.length,n,i="value"in _r?_r.value:_r.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 gl=i.slice(e,1<n?1-n:void 0)}function yl(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 bl(){return!0}function nm(){return!1}function ht(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)?bl:nm,this.isPropagationStopped=nm,this}return be(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=bl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=bl)},persist:function(){},isPersistent:bl}),t}var Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oc=ht(Kn),ca=be({},Kn,{view:0,detail:0}),fC=ht(ca),Mc,Ic,fa,Sl=be({},ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lc,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!==fa&&(fa&&e.type==="mousemove"?(Mc=e.screenX-fa.screenX,Ic=e.screenY-fa.screenY):Ic=Mc=0,fa=e),Mc)},movementY:function(e){return"movementY"in e?e.movementY:Ic}}),im=ht(Sl),dC=be({},Sl,{dataTransfer:0}),pC=ht(dC),vC=be({},ca,{relatedTarget:0}),Rc=ht(vC),hC=be({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0}),mC=ht(hC),gC=be({},Kn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yC=ht(gC),bC=be({},Kn,{data:0}),am=ht(bC),SC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xC={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"},wC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wC[e])?!!t[e]:!1}function Lc(){return CC}var EC=be({},ca,{key:function(e){if(e.key){var t=SC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lc,charCode:function(e){return e.type==="keypress"?yl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kC=ht(EC),TC=be({},Sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),om=ht(TC),_C=be({},ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lc}),PC=ht(_C),AC=be({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),FC=ht(AC),OC=be({},Sl,{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}),MC=ht(OC),IC=[9,13,27,32],Bc=nr&&"CompositionEvent"in window,da=null;nr&&"documentMode"in document&&(da=document.documentMode);var RC=nr&&"TextEvent"in window&&!da,lm=nr&&(!Bc||da&&8<da&&11>=da),sm=String.fromCharCode(32),um=!1;function cm(e,t){switch(e){case"keyup":return IC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xn=!1;function LC(e,t){switch(e){case"compositionend":return fm(t);case"keypress":return t.which!==32?null:(um=!0,sm);case"textInput":return e=t.data,e===sm&&um?null:e;default:return null}}function BC(e,t){if(Xn)return e==="compositionend"||!Bc&&cm(e,t)?(e=rm(),gl=Fc=_r=null,Xn=!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 lm&&t.locale!=="ko"?null:t.data;default:return null}}var zC={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 dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zC[e.type]:t==="textarea"}function pm(e,t,r,n){Rh(n),t=wl(t,"onChange"),0<t.length&&(r=new Oc("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var pa=null,va=null;function DC(e){Tm(e,0)}function xl(e){var t=ei(e);if(wh(t))return e}function $C(e,t){if(e==="change")return t}var vm=!1;if(nr){var zc;if(nr){var Dc="oninput"in document;if(!Dc){var hm=document.createElement("div");hm.setAttribute("oninput","return;"),Dc=typeof hm.oninput=="function"}zc=Dc}else zc=!1;vm=zc&&(!document.documentMode||9<document.documentMode)}function mm(){pa&&(pa.detachEvent("onpropertychange",gm),va=pa=null)}function gm(e){if(e.propertyName==="value"&&xl(va)){var t=[];if(pm(t,va,e,pc(e)),e=DC,an)e(t);else{an=!0;try{hc(e,t)}finally{an=!1,yc()}}}}function NC(e,t,r){e==="focusin"?(mm(),pa=t,va=r,pa.attachEvent("onpropertychange",gm)):e==="focusout"&&mm()}function VC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xl(va)}function jC(e,t){if(e==="click")return xl(t)}function HC(e,t){if(e==="input"||e==="change")return xl(t)}function WC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kt=typeof Object.is=="function"?Object.is:WC,UC=Object.prototype.hasOwnProperty;function ha(e,t){if(kt(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(!UC.call(t,r[n])||!kt(e[r[n]],t[r[n]]))return!1;return!0}function ym(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bm(e,t){var r=ym(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=ym(r)}}function Sm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xm(){for(var e=window,t=ll();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ll(e.document)}return t}function $c(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 GC=nr&&"documentMode"in document&&11>=document.documentMode,Zn=null,Nc=null,ma=null,Vc=!1;function wm(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Vc||Zn==null||Zn!==ll(n)||(n=Zn,"selectionStart"in n&&$c(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}),ma&&ha(ma,n)||(ma=n,n=wl(Nc,"onSelect"),0<n.length&&(t=new Oc("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Zn)))}Tc("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),Tc("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),Tc(eC,2);for(var Cm="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),jc=0;jc<Cm.length;jc++)kc.set(Cm[jc],0);Nn("onMouseEnter",["mouseout","mouseover"]),Nn("onMouseLeave",["mouseout","mouseover"]),Nn("onPointerEnter",["pointerout","pointerover"]),Nn("onPointerLeave",["pointerout","pointerover"]),tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tn("onBeforeInput",["compositionend","keypress","textInput","paste"]),tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ga="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Em=new Set("cancel close invalid load scroll toggle".split(" ").concat(ga));function km(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,X2(n,t,void 0,e),e.currentTarget=null}function Tm(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;km(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;km(i,l,u),a=s}}}if(cl)throw e=Sc,cl=!1,Sc=null,e}function me(e,t){var r=zm(t),n=e+"__bubble";r.has(n)||(Fm(t,e,2,!1),r.add(n))}var _m="_reactListening"+Math.random().toString(36).slice(2);function Pm(e){e[_m]||(e[_m]=!0,hh.forEach(function(t){Em.has(t)||Am(t,!1,e,null),Am(t,!0,e,null)}))}function Am(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&&Em.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=zm(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),Fm(a,e,i,t),o.add(l))}function Fm(e,t,r,n){var i=kc.get(t);switch(i===void 0?2:i){case 0:i=uC;break;case 1:i=cC;break;default:i=Pc}r=i.bind(null,t,r,e),i=void 0,!bc||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 Om(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=ln(l),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}l=l.parentNode}}n=n.return}U2(function(){var u=a,c=pc(r),d=[];e:{var f=em.get(e);if(f!==void 0){var p=Oc,m=e;switch(e){case"keypress":if(yl(r)===0)break e;case"keydown":case"keyup":p=kC;break;case"focusin":m="focus",p=Rc;break;case"focusout":m="blur",p=Rc;break;case"beforeblur":case"afterblur":p=Rc;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=im;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=pC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=PC;break;case Zh:case qh:case Qh:p=mC;break;case Jh:p=FC;break;case"scroll":p=fC;break;case"wheel":p=MC;break;case"copy":case"cut":case"paste":p=yC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=om}var y=(t&4)!==0,v=!y&&e==="scroll",h=y?f!==null?f+"Capture":null:f;y=[];for(var g=u,b;g!==null;){b=g;var x=b.stateNode;if(b.tag===5&&x!==null&&(b=x,h!==null&&(x=ta(g,h),x!=null&&y.push(ya(g,x,b)))),v)break;g=g.return}0<y.length&&(f=new p(f,m,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&&(m=r.relatedTarget||r.fromElement)&&(ln(m)||m[Jn]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(m=r.relatedTarget||r.toElement,p=u,m=m?ln(m):null,m!==null&&(v=on(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(p=null,m=u),p!==m)){if(y=im,x="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=om,x="onPointerLeave",h="onPointerEnter",g="pointer"),v=p==null?f:ei(p),b=m==null?f:ei(m),f=new y(x,g+"leave",p,r,c),f.target=v,f.relatedTarget=b,x=null,ln(c)===u&&(y=new y(h,g+"enter",m,r,c),y.target=b,y.relatedTarget=v,x=y),v=x,p&&m)t:{for(y=p,h=m,g=0,b=y;b;b=qn(b))g++;for(b=0,x=h;x;x=qn(x))b++;for(;0<g-b;)y=qn(y),g--;for(;0<b-g;)h=qn(h),b--;for(;g--;){if(y===h||h!==null&&y===h.alternate)break t;y=qn(y),h=qn(h)}y=null}else y=null;p!==null&&Mm(d,f,p,y,!1),m!==null&&v!==null&&Mm(d,v,m,y,!0)}}e:{if(f=u?ei(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var k=$C;else if(dm(f))if(vm)k=HC;else{k=VC;var _=NC}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=jC);if(k&&(k=k(e,u))){pm(d,k,r,c);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&oc(f,"number",f.value)}switch(_=u?ei(u):window,e){case"focusin":(dm(_)||_.contentEditable==="true")&&(Zn=_,Nc=u,ma=null);break;case"focusout":ma=Nc=Zn=null;break;case"mousedown":Vc=!0;break;case"contextmenu":case"mouseup":case"dragend":Vc=!1,wm(d,r,c);break;case"selectionchange":if(GC)break;case"keydown":case"keyup":wm(d,r,c)}var T;if(Bc)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 Xn?cm(e,r)&&(O="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(O="onCompositionStart");O&&(lm&&r.locale!=="ko"&&(Xn||O!=="onCompositionStart"?O==="onCompositionEnd"&&Xn&&(T=rm()):(_r=c,Fc="value"in _r?_r.value:_r.textContent,Xn=!0)),_=wl(u,O),0<_.length&&(O=new am(O,e,null,r,c),d.push({event:O,listeners:_}),T?O.data=T:(T=fm(r),T!==null&&(O.data=T)))),(T=RC?LC(e,r):BC(e,r))&&(u=wl(u,"onBeforeInput"),0<u.length&&(c=new am("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=T))}Tm(d,t)})}function ya(e,t,r){return{instance:e,listener:t,currentTarget:r}}function wl(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=ta(e,r),a!=null&&n.unshift(ya(e,a,i)),a=ta(e,t),a!=null&&n.push(ya(e,a,i))),e=e.return}return n}function qn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Mm(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=ta(r,a),s!=null&&o.unshift(ya(r,s,l))):i||(s=ta(r,a),s!=null&&o.push(ya(r,s,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function Cl(){}var Hc=null,Wc=null;function Im(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Uc(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,YC=typeof clearTimeout=="function"?clearTimeout:void 0;function Gc(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Qn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function Lm(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 KC(e){return{$$typeof:Ju,toString:e,valueOf:e}}var El=Math.random().toString(36).slice(2),Pr="__reactFiber$"+El,kl="__reactProps$"+El,Jn="__reactContainer$"+El,Bm="__reactEvents$"+El;function ln(e){var t=e[Pr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Jn]||r[Pr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Lm(e);e!==null;){if(r=e[Pr])return r;e=Lm(e)}return t}e=r,r=e.parentNode}return null}function ba(e){return e=e[Pr]||e[Jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ei(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function Tl(e){return e[kl]||null}function zm(e){var t=e[Bm];return t===void 0&&(t=e[Bm]=new Set),t}var Kc=[],ti=-1;function Ar(e){return{current:e}}function ge(e){0>ti||(e.current=Kc[ti],Kc[ti]=null,ti--)}function Ce(e,t){ti++,Kc[ti]=e.current,e.current=t}var Fr={},Ye=Ar(Fr),st=Ar(!1),sn=Fr;function ri(e,t){var r=e.type.contextTypes;if(!r)return Fr;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 ut(e){return e=e.childContextTypes,e!=null}function _l(){ge(st),ge(Ye)}function Dm(e,t,r){if(Ye.current!==Fr)throw Error(N(168));Ce(Ye,t),Ce(st,r)}function $m(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,Vn(t)||"Unknown",i));return be({},r,n)}function Pl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fr,sn=Ye.current,Ce(Ye,e),Ce(st,st.current),!0}function Nm(e,t,r){var n=e.stateNode;if(!n)throw Error(N(169));r?(e=$m(e,t,sn),n.__reactInternalMemoizedMergedChildContext=e,ge(st),ge(Ye),Ce(Ye,e)):ge(st),Ce(st,r)}var Xc=null,un=null,XC=De.unstable_runWithPriority,Zc=De.unstable_scheduleCallback,qc=De.unstable_cancelCallback,ZC=De.unstable_shouldYield,Vm=De.unstable_requestPaint,Qc=De.unstable_now,qC=De.unstable_getCurrentPriorityLevel,Al=De.unstable_ImmediatePriority,jm=De.unstable_UserBlockingPriority,Hm=De.unstable_NormalPriority,Wm=De.unstable_LowPriority,Um=De.unstable_IdlePriority,Jc={},QC=Vm!==void 0?Vm:function(){},ir=null,Fl=null,ef=!1,Gm=Qc(),Ke=1e4>Gm?Qc:function(){return Qc()-Gm};function ni(){switch(qC()){case Al:return 99;case jm:return 98;case Hm:return 97;case Wm:return 96;case Um:return 95;default:throw Error(N(332))}}function Ym(e){switch(e){case 99:return Al;case 98:return jm;case 97:return Hm;case 96:return Wm;case 95:return Um;default:throw Error(N(332))}}function cn(e,t){return e=Ym(e),XC(e,t)}function Sa(e,t,r){return e=Ym(e),Zc(e,t,r)}function Gt(){if(Fl!==null){var e=Fl;Fl=null,qc(e)}Km()}function Km(){if(!ef&&ir!==null){ef=!0;var e=0;try{var t=ir;cn(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)),Zc(Al,Gt),r}finally{ef=!1}}}var JC=rn.ReactCurrentBatchConfig;function Rt(e,t){if(e&&e.defaultProps){t=be({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ol=Ar(null),Ml=null,ii=null,Il=null;function tf(){Il=ii=Ml=null}function rf(e){var t=Ol.current;ge(Ol),e.type._context._currentValue=t}function Xm(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 ai(e,t){Ml=e,Il=ii=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Lt=!0),e.firstContext=null)}function Tt(e,t){if(Il!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Il=e,t=1073741823),t={context:e,observedBits:t,next:null},ii===null){if(Ml===null)throw Error(N(308));ii=t,Ml.dependencies={lanes:0,firstContext:t,responders:null}}else ii=ii.next=t;return e._currentValue}var Or=!1;function nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Zm(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 Mr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ir(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 qm(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 xa(e,t,r,n){var i=e.updateQueue;Or=!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,m=a;switch(l=t,f=r,m.tag){case 1:if(p=m.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=m.payload,l=typeof p=="function"?p.call(f,d,l):p,l==null)break e;d=be({},d,l);break e;case 2:Or=!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,Ia|=o,e.lanes=o,e.memoizedState=d}}function Qm(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 Jm=new tl.Component().refs;function Rl(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:be({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ll={isMounted:function(e){return(e=e._reactInternals)?on(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=mt(),i=Br(e),a=Mr(n,i);a.payload=t,r!=null&&(a.callback=r),Ir(e,a),zr(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=mt(),i=Br(e),a=Mr(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Ir(e,a),zr(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=mt(),n=Br(e),i=Mr(r,n);i.tag=2,t!=null&&(i.callback=t),Ir(e,i),zr(e,n,r)}};function e0(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?!ha(r,n)||!ha(i,a):!0}function t0(e,t,r){var n=!1,i=Fr,a=t.contextType;return typeof a=="object"&&a!==null?a=Tt(a):(i=ut(t)?sn:Ye.current,n=t.contextTypes,a=(n=n!=null)?ri(e,i):Fr),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ll,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function r0(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&&Ll.enqueueReplaceState(t,t.state,null)}function af(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Jm,nf(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Tt(a):(a=ut(t)?sn:Ye.current,i.context=ri(e,a)),xa(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Rl(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&&Ll.enqueueReplaceState(i,i.state,null),xa(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Bl=Array.isArray;function wa(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===Jm&&(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 zl(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 n0(e){function t(v,h){if(e){var g=v.lastEffect;g!==null?(g.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=Nr(v,h),v.index=0,v.sibling=null,v}function a(v,h,g){return v.index=g,e?(g=v.alternate,g!==null?(g=g.index,g<h?(v.flags=2,h):g):(v.flags=2,h)):h}function o(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,h,g,b){return h===null||h.tag!==6?(h=Vf(g,v.mode,b),h.return=v,h):(h=i(h,g),h.return=v,h)}function s(v,h,g,b){return h!==null&&h.elementType===g.type?(b=i(h,g.props),b.ref=wa(v,h,g),b.return=v,b):(b=ts(g.type,g.key,g.props,null,v.mode,b),b.ref=wa(v,h,g),b.return=v,b)}function u(v,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=jf(g,v.mode,b),h.return=v,h):(h=i(h,g.children||[]),h.return=v,h)}function c(v,h,g,b,x){return h===null||h.tag!==7?(h=pi(g,v.mode,b,x),h.return=v,h):(h=i(h,g),h.return=v,h)}function d(v,h,g){if(typeof h=="string"||typeof h=="number")return h=Vf(""+h,v.mode,g),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ki:return g=ts(h.type,h.key,h.props,null,v.mode,g),g.ref=wa(v,null,h),g.return=v,g;case nn:return h=jf(h,v.mode,g),h.return=v,h}if(Bl(h)||qi(h))return h=pi(h,v.mode,g,null),h.return=v,h;zl(v,h)}return null}function f(v,h,g,b){var x=h!==null?h.key:null;if(typeof g=="string"||typeof g=="number")return x!==null?null:l(v,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ki:return g.key===x?g.type===xr?c(v,h,g.props.children,b,x):s(v,h,g,b):null;case nn:return g.key===x?u(v,h,g,b):null}if(Bl(g)||qi(g))return x!==null?null:c(v,h,g,b,null);zl(v,g)}return null}function p(v,h,g,b,x){if(typeof b=="string"||typeof b=="number")return v=v.get(g)||null,l(h,v,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ki:return v=v.get(b.key===null?g:b.key)||null,b.type===xr?c(h,v,b.props.children,x,b.key):s(h,v,b,x);case nn:return v=v.get(b.key===null?g:b.key)||null,u(h,v,b,x)}if(Bl(b)||qi(b))return v=v.get(g)||null,c(h,v,b,x,null);zl(h,b)}return null}function m(v,h,g,b){for(var x=null,k=null,_=h,T=h=0,O=null;_!==null&&T<g.length;T++){_.index>T?(O=_,_=null):O=_.sibling;var F=f(v,_,g[T],b);if(F===null){_===null&&(_=O);break}e&&_&&F.alternate===null&&t(v,_),h=a(F,h,T),k===null?x=F:k.sibling=F,k=F,_=O}if(T===g.length)return r(v,_),x;if(_===null){for(;T<g.length;T++)_=d(v,g[T],b),_!==null&&(h=a(_,h,T),k===null?x=_:k.sibling=_,k=_);return x}for(_=n(v,_);T<g.length;T++)O=p(_,v,T,g[T],b),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?T:O.key),h=a(O,h,T),k===null?x=O:k.sibling=O,k=O);return e&&_.forEach(function(H){return t(v,H)}),x}function y(v,h,g,b){var x=qi(g);if(typeof x!="function")throw Error(N(150));if(g=x.call(g),g==null)throw Error(N(151));for(var k=x=null,_=h,T=h=0,O=null,F=g.next();_!==null&&!F.done;T++,F=g.next()){_.index>T?(O=_,_=null):O=_.sibling;var H=f(v,_,F.value,b);if(H===null){_===null&&(_=O);break}e&&_&&H.alternate===null&&t(v,_),h=a(H,h,T),k===null?x=H:k.sibling=H,k=H,_=O}if(F.done)return r(v,_),x;if(_===null){for(;!F.done;T++,F=g.next())F=d(v,F.value,b),F!==null&&(h=a(F,h,T),k===null?x=F:k.sibling=F,k=F);return x}for(_=n(v,_);!F.done;T++,F=g.next())F=p(_,v,T,F.value,b),F!==null&&(e&&F.alternate!==null&&_.delete(F.key===null?T:F.key),h=a(F,h,T),k===null?x=F:k.sibling=F,k=F);return e&&_.forEach(function(J){return t(v,J)}),x}return function(v,h,g,b){var x=typeof g=="object"&&g!==null&&g.type===xr&&g.key===null;x&&(g=g.props.children);var k=typeof g=="object"&&g!==null;if(k)switch(g.$$typeof){case Ki:e:{for(k=g.key,x=h;x!==null;){if(x.key===k){switch(x.tag){case 7:if(g.type===xr){r(v,x.sibling),h=i(x,g.props.children),h.return=v,v=h;break e}break;default:if(x.elementType===g.type){r(v,x.sibling),h=i(x,g.props),h.ref=wa(v,x,g),h.return=v,v=h;break e}}r(v,x);break}else t(v,x);x=x.sibling}g.type===xr?(h=pi(g.props.children,v.mode,b,g.key),h.return=v,v=h):(b=ts(g.type,g.key,g.props,null,v.mode,b),b.ref=wa(v,h,g),b.return=v,v=b)}return o(v);case nn:e:{for(x=g.key;h!==null;){if(h.key===x)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){r(v,h.sibling),h=i(h,g.children||[]),h.return=v,v=h;break e}else{r(v,h);break}else t(v,h);h=h.sibling}h=jf(g,v.mode,b),h.return=v,v=h}return o(v)}if(typeof g=="string"||typeof g=="number")return g=""+g,h!==null&&h.tag===6?(r(v,h.sibling),h=i(h,g),h.return=v,v=h):(r(v,h),h=Vf(g,v.mode,b),h.return=v,v=h),o(v);if(Bl(g))return m(v,h,g,b);if(qi(g))return y(v,h,g,b);if(k&&zl(v,g),typeof g=="undefined"&&!x)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(N(152,Vn(v.type)||"Component"))}return r(v,h)}}var Dl=n0(!0),i0=n0(!1),Ca={},Yt=Ar(Ca),Ea=Ar(Ca),ka=Ar(Ca);function fn(e){if(e===Ca)throw Error(N(174));return e}function of(e,t){switch(Ce(ka,t),Ce(Ea,e),Ce(Yt,Ca),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cc(t,e)}ge(Yt),Ce(Yt,t)}function oi(){ge(Yt),ge(Ea),ge(ka)}function a0(e){fn(ka.current);var t=fn(Yt.current),r=cc(t,e.type);t!==r&&(Ce(Ea,e),Ce(Yt,r))}function lf(e){Ea.current===e&&(ge(Yt),ge(Ea))}var Ee=Ar(0);function $l(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 ar=null,Rr=null,Kt=!1;function o0(e,t){var r=At(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 l0(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 sf(e){if(Kt){var t=Rr;if(t){var r=t;if(!l0(e,t)){if(t=Qn(r.nextSibling),!t||!l0(e,t)){e.flags=e.flags&-1025|2,Kt=!1,ar=e;return}o0(ar,r)}ar=e,Rr=Qn(t.firstChild)}else e.flags=e.flags&-1025|2,Kt=!1,ar=e}}function s0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ar=e}function Nl(e){if(e!==ar)return!1;if(!Kt)return s0(e),Kt=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Uc(t,e.memoizedProps))for(t=Rr;t;)o0(e,t),t=Qn(t.nextSibling);if(s0(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){Rr=Qn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Rr=null}}else Rr=ar?Qn(e.stateNode.nextSibling):null;return!0}function uf(){Rr=ar=null,Kt=!1}var li=[];function cf(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var Ta=rn.ReactCurrentDispatcher,_t=rn.ReactCurrentBatchConfig,_a=0,_e=null,Xe=null,je=null,Vl=!1,Pa=!1;function ct(){throw Error(N(321))}function ff(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!kt(e[r],t[r]))return!1;return!0}function df(e,t,r,n,i,a){if(_a=a,_e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ta.current=e===null||e.memoizedState===null?tE:rE,e=r(n,i),Pa){a=0;do{if(Pa=!1,!(25>a))throw Error(N(301));a+=1,je=Xe=null,t.updateQueue=null,Ta.current=nE,e=r(n,i)}while(Pa)}if(Ta.current=Ul,t=Xe!==null&&Xe.next!==null,_a=0,je=Xe=_e=null,Vl=!1,t)throw Error(N(300));return e}function dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?_e.memoizedState=je=e:je=je.next=e,je}function pn(){if(Xe===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var t=je===null?_e.memoizedState:je.next;if(t!==null)je=t,Xe=e;else{if(e===null)throw Error(N(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},je===null?_e.memoizedState=je=e:je=je.next=e}return je}function Xt(e,t){return typeof t=="function"?t(e):t}function Aa(e){var t=pn(),r=t.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=e;var n=Xe,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((_a&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,Ia|=u}s=s.next}while(s!==null&&s!==i);l===null?a=n:l.next=o,kt(n,t.memoizedState)||(Lt=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function Fa(e){var t=pn(),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);kt(a,t.memoizedState)||(Lt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function u0(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=(_a&e)===e)&&(t._workInProgressVersionPrimary=n,li.push(t))),e)return r(t._source);throw li.push(t),Error(N(350))}function c0(e,t,r,n){var i=tt;if(i===null)throw Error(N(349));var a=t._getVersion,o=a(t._source),l=Ta.current,s=l.useState(function(){return u0(i,t,r)}),u=s[1],c=s[0];s=je;var d=e.memoizedState,f=d.refs,p=f.getSnapshot,m=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(!kt(o,v)){v=r(t._source),kt(c,v)||(u(v),v=Br(y),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var h=i.entanglements,g=v;0<g;){var b=31-Tr(g),x=1<<b;h[b]|=v,g&=~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 g=Br(y);i.mutableReadLanes|=g&i.pendingLanes}catch(b){h(function(){throw b})}})},[t,n]),kt(p,r)&&kt(m,t)&&kt(d,n)||(e={pending:null,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:c},e.dispatch=u=mf.bind(null,_e,e),s.queue=e,s.baseQueue=null,c=u0(i,t,r),s.memoizedState=s.baseState=c),c}function f0(e,t,r){var n=pn();return c0(n,e,t,r)}function Oa(e){var t=dn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:e},e=e.dispatch=mf.bind(null,_e,e),[t.memoizedState,e]}function jl(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 d0(e){var t=dn();return e={current:e},t.memoizedState=e}function Hl(){return pn().memoizedState}function pf(e,t,r,n){var i=dn();_e.flags|=e,i.memoizedState=jl(1|t,r,void 0,n===void 0?null:n)}function vf(e,t,r,n){var i=pn();n=n===void 0?null:n;var a=void 0;if(Xe!==null){var o=Xe.memoizedState;if(a=o.destroy,n!==null&&ff(n,o.deps)){jl(t,r,a,n);return}}_e.flags|=e,i.memoizedState=jl(1|t,r,a,n)}function p0(e,t){return pf(516,4,e,t)}function Wl(e,t){return vf(516,4,e,t)}function v0(e,t){return vf(4,2,e,t)}function h0(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 m0(e,t,r){return r=r!=null?r.concat([e]):null,vf(4,2,h0.bind(null,t,e),r)}function hf(){}function g0(e,t){var r=pn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&ff(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function y0(e,t){var r=pn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&ff(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function eE(e,t){var r=ni();cn(98>r?98:r,function(){e(!0)}),cn(97<r?97:r,function(){var n=_t.transition;_t.transition=1;try{e(!1),t()}finally{_t.transition=n}})}function mf(e,t,r){var n=mt(),i=Br(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)Pa=Vl=!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,kt(s,l))return}catch{}finally{}zr(e,i,n)}}var Ul={readContext:Tt,useCallback:ct,useContext:ct,useEffect:ct,useImperativeHandle:ct,useLayoutEffect:ct,useMemo:ct,useReducer:ct,useRef:ct,useState:ct,useDebugValue:ct,useDeferredValue:ct,useTransition:ct,useMutableSource:ct,useOpaqueIdentifier:ct,unstable_isNewReconciler:!1},tE={readContext:Tt,useCallback:function(e,t){return dn().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:p0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,pf(4,2,h0.bind(null,t,e),r)},useLayoutEffect:function(e,t){return pf(4,2,e,t)},useMemo:function(e,t){var r=dn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=dn();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=mf.bind(null,_e,e),[n.memoizedState,e]},useRef:d0,useState:Oa,useDebugValue:hf,useDeferredValue:function(e){var t=Oa(e),r=t[0],n=t[1];return p0(function(){var i=_t.transition;_t.transition=1;try{n(e)}finally{_t.transition=i}},[e]),r},useTransition:function(){var e=Oa(!1),t=e[0];return e=eE.bind(null,e[1]),d0(e),[e,t]},useMutableSource:function(e,t,r){var n=dn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},c0(n,e,t,r)},useOpaqueIdentifier:function(){if(Kt){var e=!1,t=KC(function(){throw e||(e=!0,r("r:"+(Yc++).toString(36))),Error(N(355))}),r=Oa(t)[1];return(_e.mode&2)===0&&(_e.flags|=516,jl(5,function(){r("r:"+(Yc++).toString(36))},void 0,null)),t}return t="r:"+(Yc++).toString(36),Oa(t),t},unstable_isNewReconciler:!1},rE={readContext:Tt,useCallback:g0,useContext:Tt,useEffect:Wl,useImperativeHandle:m0,useLayoutEffect:v0,useMemo:y0,useReducer:Aa,useRef:Hl,useState:function(){return Aa(Xt)},useDebugValue:hf,useDeferredValue:function(e){var t=Aa(Xt),r=t[0],n=t[1];return Wl(function(){var i=_t.transition;_t.transition=1;try{n(e)}finally{_t.transition=i}},[e]),r},useTransition:function(){var e=Aa(Xt)[0];return[Hl().current,e]},useMutableSource:f0,useOpaqueIdentifier:function(){return Aa(Xt)[0]},unstable_isNewReconciler:!1},nE={readContext:Tt,useCallback:g0,useContext:Tt,useEffect:Wl,useImperativeHandle:m0,useLayoutEffect:v0,useMemo:y0,useReducer:Fa,useRef:Hl,useState:function(){return Fa(Xt)},useDebugValue:hf,useDeferredValue:function(e){var t=Fa(Xt),r=t[0],n=t[1];return Wl(function(){var i=_t.transition;_t.transition=1;try{n(e)}finally{_t.transition=i}},[e]),r},useTransition:function(){var e=Fa(Xt)[0];return[Hl().current,e]},useMutableSource:f0,useOpaqueIdentifier:function(){return Fa(Xt)[0]},unstable_isNewReconciler:!1},iE=rn.ReactCurrentOwner,Lt=!1;function ft(e,t,r,n){t.child=e===null?i0(t,null,r,n):Dl(t,e.child,r,n)}function b0(e,t,r,n,i){r=r.render;var a=t.ref;return ai(t,i),n=df(e,t,r,n,a,i),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,or(e,t,i)):(t.flags|=1,ft(e,t,n,i),t.child)}function S0(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!$f(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,x0(e,t,o,n,i,a)):(e=ts(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:ha,r(i,n)&&e.ref===t.ref)?or(e,t,a):(t.flags|=1,e=Nr(o,n),e.ref=t.ref,e.return=t,t.child=e)}function x0(e,t,r,n,i,a){if(e!==null&&ha(e.memoizedProps,n)&&e.ref===t.ref)if(Lt=!1,(a&i)!==0)(e.flags&16384)!==0&&(Lt=!0);else return t.lanes=e.lanes,or(e,t,a);return yf(e,t,r,n,a)}function gf(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},es(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},es(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},es(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,es(t,n);return ft(e,t,i,r),t.child}function w0(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function yf(e,t,r,n,i){var a=ut(r)?sn:Ye.current;return a=ri(t,a),ai(t,i),r=df(e,t,r,n,a,i),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,or(e,t,i)):(t.flags|=1,ft(e,t,r,i),t.child)}function C0(e,t,r,n,i){if(ut(r)){var a=!0;Pl(t)}else a=!1;if(ai(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t0(t,r,n),af(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=Tt(u):(u=ut(r)?sn:Ye.current,u=ri(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)&&r0(t,o,n,u),Or=!1;var f=t.memoizedState;o.state=f,xa(t,n,o,i),s=t.memoizedState,l!==n||f!==s||st.current||Or?(typeof c=="function"&&(Rl(t,r,c,n),s=t.memoizedState),(l=Or||e0(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,Zm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Rt(t.type,l),o.props=u,d=t.pendingProps,f=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Tt(s):(s=ut(r)?sn:Ye.current,s=ri(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)&&r0(t,o,n,s),Or=!1,f=t.memoizedState,o.state=f,xa(t,n,o,i);var m=t.memoizedState;l!==d||f!==m||st.current||Or?(typeof p=="function"&&(Rl(t,r,p,n),m=t.memoizedState),(u=Or||e0(t,r,u,n,f,m,s))?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,m,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,m,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=m),o.props=n,o.state=m,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 bf(e,t,r,n,a,i)}function bf(e,t,r,n,i,a){w0(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&Nm(t,r,!1),or(e,t,a);n=t.stateNode,iE.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=Dl(t,e.child,null,a),t.child=Dl(t,null,l,a)):ft(e,t,l,a),t.memoizedState=n.state,i&&Nm(t,r,!0),t.child}function E0(e){var t=e.stateNode;t.pendingContext?Dm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dm(e,t.context,!1),of(e,t.containerInfo)}var Gl={dehydrated:null,retryLane:0};function k0(e,t,r){var n=t.pendingProps,i=Ee.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),Ce(Ee,i&1),e===null?(n.fallback!==void 0&&sf(t),e=n.children,i=n.fallback,a?(e=T0(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Gl,e):typeof n.unstable_expectedLoadTime=="number"?(e=T0(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Gl,t.lanes=33554432,e):(r=Nf({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=P0(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=Gl,n):(r=_0(e,t,n.children,r),t.memoizedState=null,r):a?(n=P0(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=Gl,n):(r=_0(e,t,n.children,r),t.memoizedState=null,r)}function T0(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=Nf(t,i,0,null),r=pi(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function _0(e,t,r,n){var i=e.child;return e=i.sibling,r=Nr(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 P0(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=Nr(o,l),e!==null?n=Nr(e,n):(n=pi(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function A0(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xm(e.return,t)}function Sf(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 F0(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(ft(e,t,n.children,r),n=Ee.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&&A0(e,r);else if(e.tag===19)A0(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(Ce(Ee,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&&$l(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Sf(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&&$l(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Sf(t,!0,r,null,a,t.lastEffect);break;case"together":Sf(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function or(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ia|=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=Nr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Nr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var O0,xf,M0,I0;O0=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}},xf=function(){},M0=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,fn(Yt.current);var a=null;switch(r){case"input":i=ic(e,i),n=ic(e,n),a=[];break;case"option":i=lc(e,i),n=lc(e,n),a=[];break;case"select":i=be({},i,{value:void 0}),n=be({},n,{value:void 0}),a=[];break;case"textarea":i=sc(e,i),n=sc(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Cl)}fc(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"&&(Yi.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"&&(Yi.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&me("scroll",e),a||l===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===Ju?s.toString():(a=a||[]).push(u,s))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},I0=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ma(e,t){if(!Kt)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 aE(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 ut(t.type)&&_l(),null;case 3:return oi(),ge(st),ge(Ye),cf(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Nl(t)?t.flags|=4:n.hydrate||(t.flags|=256)),xf(t),null;case 5:lf(t);var i=fn(ka.current);if(r=t.type,e!==null&&t.stateNode!=null)M0(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=fn(Yt.current),Nl(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Pr]=t,n[kl]=a,r){case"dialog":me("cancel",n),me("close",n);break;case"iframe":case"object":case"embed":me("load",n);break;case"video":case"audio":for(e=0;e<ga.length;e++)me(ga[e],n);break;case"source":me("error",n);break;case"img":case"image":case"link":me("error",n),me("load",n);break;case"details":me("toggle",n);break;case"input":Ch(n,a),me("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},me("invalid",n);break;case"textarea":Th(n,a),me("invalid",n)}fc(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]):Yi.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&me("scroll",n));switch(r){case"input":ol(n),kh(n,a,!0);break;case"textarea":ol(n),Ph(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Cl)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===uc.html&&(e=Ah(r)),e===uc.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[Pr]=t,e[kl]=n,O0(e,t,!1,!1),t.stateNode=e,o=dc(r,n),r){case"dialog":me("cancel",e),me("close",e),i=n;break;case"iframe":case"object":case"embed":me("load",e),i=n;break;case"video":case"audio":for(i=0;i<ga.length;i++)me(ga[i],e);i=n;break;case"source":me("error",e),i=n;break;case"img":case"image":case"link":me("error",e),me("load",e),i=n;break;case"details":me("toggle",e),i=n;break;case"input":Ch(e,n),i=ic(e,n),me("invalid",e);break;case"option":i=lc(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=be({},n,{value:void 0}),me("invalid",e);break;case"textarea":Th(e,n),i=sc(e,n),me("invalid",e);break;default:i=n}fc(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?Mh(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Fh(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Ji(e,s):typeof s=="number"&&Ji(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Yi.hasOwnProperty(a)?s!=null&&a==="onScroll"&&me("scroll",e):s!=null&&Yu(e,a,s,o))}switch(r){case"input":ol(e),kh(e,n,!1);break;case"textarea":ol(e),Ph(e);break;case"option":n.value!=null&&e.setAttribute("value",""+wr(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?jn(e,!!n.multiple,a,!1):n.defaultValue!=null&&jn(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Cl)}Im(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)I0(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(N(166));r=fn(ka.current),fn(Yt.current),Nl(t)?(n=t.stateNode,r=t.memoizedProps,n[Pr]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Pr]=t,t.stateNode=n)}return null;case 13:return ge(Ee),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Nl(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Ee.current&1)!==0?He===0&&(He=3):((He===0||He===3)&&(He=4),tt===null||(Ia&134217727)===0&&(ui&134217727)===0||fi(tt,Ze))),(n||r)&&(t.flags|=4),null);case 4:return oi(),xf(t),e===null&&Pm(t.stateNode.containerInfo),null;case 10:return rf(t),null;case 17:return ut(t.type)&&_l(),null;case 19:if(ge(Ee),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)Ma(n,!1);else{if(He!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=$l(e),o!==null){for(t.flags|=64,Ma(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 Ce(Ee,Ee.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ke()>Mf&&(t.flags|=64,a=!0,Ma(n,!1),t.lanes=33554432)}else{if(!a)if(e=$l(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ma(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Kt)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ke()-n.renderingStartTime>Mf&&r!==1073741824&&(t.flags|=64,a=!0,Ma(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=Ke(),r.sibling=null,t=Ee.current,Ce(Ee,a?t&1|2:t&1),r):null;case 23:case 24:return Df(),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 oE(e){switch(e.tag){case 1:ut(e.type)&&_l();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(oi(),ge(st),ge(Ye),cf(),t=e.flags,(t&64)!==0)throw Error(N(285));return e.flags=t&-4097|64,e;case 5:return lf(e),null;case 13:return ge(Ee),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return ge(Ee),null;case 4:return oi(),null;case 10:return rf(e),null;case 23:case 24:return Df(),null;default:return null}}function wf(e,t){try{var r="",n=t;do r+=N2(n),n=n.return;while(n);var i=r}catch(a){i=`
|
|
307
|
+
`+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{nc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Qi(e):""}function V2(e){switch(e.tag){case 5:return Qi(e.type);case 16:return Qi("Lazy");case 13:return Qi("Suspense");case 19:return Qi("SuspenseList");case 0:case 2:case 15:return e=al(e.type,!1),e;case 11:return e=al(e.type.render,!1),e;case 22:return e=al(e.type._render,!1),e;case 1:return e=al(e.type,!0),e;default:return""}}function Vn(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 xr:return"Fragment";case nn:return"Portal";case Xi:return"Profiler";case Ku:return"StrictMode";case Zi:return"Suspense";case nl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zu:return(e.displayName||"Context")+".Consumer";case Xu:return(e._context.displayName||"Context")+".Provider";case rl:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case il:return Vn(e.type);case Qu:return Vn(e._render);case qu:t=e._payload,e=e._init;try{return Vn(e(t))}catch{}}return null}function wr(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function j2(e){var t=xh(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 ol(e){e._valueTracker||(e._valueTracker=j2(e))}function wh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=xh(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ll(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 ic(e,t){var r=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Ch(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=wr(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 Eh(e,t){t=t.checked,t!=null&&Yu(e,"checked",t,!1)}function ac(e,t){Eh(e,t);var r=wr(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")?oc(e,t.type,r):t.hasOwnProperty("defaultValue")&&oc(e,t.type,wr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function kh(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 oc(e,t,r){(t!=="number"||ll(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function H2(e){var t="";return tl.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function lc(e,t){return e=be({children:void 0},t),(t=H2(t.children))&&(e.children=t),e}function jn(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=""+wr(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 sc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return be({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Th(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:wr(r)}}function _h(e,t){var r=wr(t.value),n=wr(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 Ph(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var uc={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ah(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 cc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ah(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sl,Fh=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!==uc.svg||"innerHTML"in e)e.innerHTML=t;else{for(sl=sl||document.createElement("div"),sl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=sl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ji(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var ea={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},W2=["Webkit","ms","Moz","O"];Object.keys(ea).forEach(function(e){W2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ea[t]=ea[e]})});function Oh(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||ea.hasOwnProperty(e)&&ea[e]?(""+t).trim():t+"px"}function Mh(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Oh(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var U2=be({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 fc(e,t){if(t){if(U2[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 dc(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 pc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vc=null,Hn=null,Wn=null;function Rh(e){if(e=ba(e)){if(typeof vc!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Tl(t),vc(e.stateNode,e.type,t))}}function Ih(e){Hn?Wn?Wn.push(e):Wn=[e]:Hn=e}function Lh(){if(Hn){var e=Hn,t=Wn;if(Wn=Hn=null,Rh(e),t)for(e=0;e<t.length;e++)Rh(t[e])}}function hc(e,t){return e(t)}function Bh(e,t,r,n,i){return e(t,r,n,i)}function mc(){}var zh=hc,an=!1,gc=!1;function yc(){(Hn!==null||Wn!==null)&&(mc(),Lh())}function G2(e,t,r){if(gc)return e(t,r);gc=!0;try{return zh(e,t,r)}finally{gc=!1,yc()}}function ta(e,t){var r=e.stateNode;if(r===null)return null;var n=Tl(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 bc=!1;if(nr)try{var ra={};Object.defineProperty(ra,"passive",{get:function(){bc=!0}}),window.addEventListener("test",ra,ra),window.removeEventListener("test",ra,ra)}catch{bc=!1}function Y2(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 na=!1,ul=null,cl=!1,Sc=null,K2={onError:function(e){na=!0,ul=e}};function X2(e,t,r,n,i,a,o,l,s){na=!1,ul=null,Y2.apply(K2,arguments)}function Z2(e,t,r,n,i,a,o,l,s){if(X2.apply(this,arguments),na){if(na){var u=ul;na=!1,ul=null}else throw Error(N(198));cl||(cl=!0,Sc=u)}}function on(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 Dh(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 $h(e){if(on(e)!==e)throw Error(N(188))}function q2(e){var t=e.alternate;if(!t){if(t=on(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 $h(i),e;if(a===n)return $h(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 Nh(e){if(e=q2(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 Vh(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var jh,xc,Hh,Wh,wc=!1,Ut=[],Cr=null,Er=null,kr=null,ia=new Map,aa=new Map,oa=[],Uh="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 Cc(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function Gh(e,t){switch(e){case"focusin":case"focusout":Cr=null;break;case"dragenter":case"dragleave":Er=null;break;case"mouseover":case"mouseout":kr=null;break;case"pointerover":case"pointerout":ia.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":aa.delete(t.pointerId)}}function la(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Cc(t,r,n,i,a),t!==null&&(t=ba(t),t!==null&&xc(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Q2(e,t,r,n,i){switch(t){case"focusin":return Cr=la(Cr,e,t,r,n,i),!0;case"dragenter":return Er=la(Er,e,t,r,n,i),!0;case"mouseover":return kr=la(kr,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return ia.set(a,la(ia.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,aa.set(a,la(aa.get(a)||null,e,t,r,n,i)),!0}return!1}function J2(e){var t=ln(e.target);if(t!==null){var r=on(t);if(r!==null){if(t=r.tag,t===13){if(t=Dh(r),t!==null){e.blockedOn=t,Wh(e.lanePriority,function(){$e.unstable_runWithPriority(e.priority,function(){Hh(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Ac(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=ba(r),t!==null&&xc(t),e.blockedOn=r,!1;t.shift()}return!0}function Yh(e,t,r){fl(e)&&r.delete(t)}function eC(){for(wc=!1;0<Ut.length;){var e=Ut[0];if(e.blockedOn!==null){e=ba(e.blockedOn),e!==null&&jh(e);break}for(var t=e.targetContainers;0<t.length;){var r=Ac(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&Ut.shift()}Cr!==null&&fl(Cr)&&(Cr=null),Er!==null&&fl(Er)&&(Er=null),kr!==null&&fl(kr)&&(kr=null),ia.forEach(Yh),aa.forEach(Yh)}function sa(e,t){e.blockedOn===t&&(e.blockedOn=null,wc||(wc=!0,$e.unstable_scheduleCallback($e.unstable_NormalPriority,eC)))}function Kh(e){function t(i){return sa(i,e)}if(0<Ut.length){sa(Ut[0],e);for(var r=1;r<Ut.length;r++){var n=Ut[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Cr!==null&&sa(Cr,e),Er!==null&&sa(Er,e),kr!==null&&sa(kr,e),ia.forEach(t),aa.forEach(t),r=0;r<oa.length;r++)n=oa[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<oa.length&&(r=oa[0],r.blockedOn===null);)J2(r),r.blockedOn===null&&oa.shift()}function dl(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Un={animationend:dl("Animation","AnimationEnd"),animationiteration:dl("Animation","AnimationIteration"),animationstart:dl("Animation","AnimationStart"),transitionend:dl("Transition","TransitionEnd")},Ec={},Xh={};nr&&(Xh=document.createElement("div").style,"AnimationEvent"in window||(delete Un.animationend.animation,delete Un.animationiteration.animation,delete Un.animationstart.animation),"TransitionEvent"in window||delete Un.transitionend.transition);function pl(e){if(Ec[e])return Ec[e];if(!Un[e])return e;var t=Un[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Xh)return Ec[e]=t[r];return e}var Zh=pl("animationend"),qh=pl("animationiteration"),Qh=pl("animationstart"),Jh=pl("transitionend"),em=new Map,kc=new Map,tC=["abort","abort",Zh,"animationEnd",qh,"animationIteration",Qh,"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",Jh,"transitionEnd","waiting","waiting"];function Tc(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)),kc.set(n,t),em.set(n,i),tn(i,[n])}}var rC=$e.unstable_now;rC();var ve=8;function Gn(e){if((1&e)!==0)return ve=15,1;if((2&e)!==0)return ve=14,2;if((4&e)!==0)return ve=13,4;var t=24&e;return t!==0?(ve=12,t):(e&32)!==0?(ve=11,32):(t=192&e,t!==0?(ve=10,t):(e&256)!==0?(ve=9,256):(t=3584&e,t!==0?(ve=8,t):(e&4096)!==0?(ve=7,4096):(t=4186112&e,t!==0?(ve=6,t):(t=62914560&e,t!==0?(ve=5,t):e&67108864?(ve=4,67108864):(e&134217728)!==0?(ve=3,134217728):(t=805306368&e,t!==0?(ve=2,t):(1073741824&e)!==0?(ve=1,1073741824):(ve=8,e))))))}function nC(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 iC(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 ua(e,t){var r=e.pendingLanes;if(r===0)return ve=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=ve=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=Gn(s),i=ve):(l&=a,l!==0&&(n=Gn(l),i=ve))}else a=r&~o,a!==0?(n=Gn(a),i=ve):l!==0&&(n=Gn(l),i=ve);if(n===0)return 0;if(n=31-Tr(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(Gn(t),i<=ve)return t;ve=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Tr(t),i=1<<r,n|=e[r],t&=~i;return n}function tm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vl(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Yn(24&~t),e===0?vl(10,t):e;case 10:return e=Yn(192&~t),e===0?vl(8,t):e;case 8:return e=Yn(3584&~t),e===0&&(e=Yn(4186112&~t),e===0&&(e=512)),e;case 2:return t=Yn(805306368&~t),t===0&&(t=268435456),t}throw Error(N(358,e))}function Yn(e){return e&-e}function _c(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function hl(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Tr(t),e[t]=r}var Tr=Math.clz32?Math.clz32:lC,aC=Math.log,oC=Math.LN2;function lC(e){return e===0?32:31-(aC(e)/oC|0)|0}var sC=$e.unstable_UserBlockingPriority,uC=$e.unstable_runWithPriority,ml=!0;function cC(e,t,r,n){an||mc();var i=Pc,a=an;an=!0;try{Bh(i,e,t,r,n)}finally{(an=a)||yc()}}function fC(e,t,r,n){uC(sC,Pc.bind(null,e,t,r,n))}function Pc(e,t,r,n){if(ml){var i;if((i=(t&4)===0)&&0<Ut.length&&-1<Uh.indexOf(e))e=Cc(null,e,t,r,n),Ut.push(e);else{var a=Ac(e,t,r,n);if(a===null)i&&Gh(e,n);else{if(i){if(-1<Uh.indexOf(e)){e=Cc(a,e,t,r,n),Ut.push(e);return}if(Q2(a,e,t,r,n))return;Gh(e,n)}Om(e,t,n,null,r)}}}}function Ac(e,t,r,n){var i=pc(n);if(i=ln(i),i!==null){var a=on(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=Dh(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 Om(e,t,n,i,r),null}var _r=null,Fc=null,gl=null;function rm(){if(gl)return gl;var e,t=Fc,r=t.length,n,i="value"in _r?_r.value:_r.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 gl=i.slice(e,1<n?1-n:void 0)}function yl(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 bl(){return!0}function nm(){return!1}function ht(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)?bl:nm,this.isPropagationStopped=nm,this}return be(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=bl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=bl)},persist:function(){},isPersistent:bl}),t}var Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oc=ht(Kn),ca=be({},Kn,{view:0,detail:0}),dC=ht(ca),Mc,Rc,fa,Sl=be({},ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lc,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!==fa&&(fa&&e.type==="mousemove"?(Mc=e.screenX-fa.screenX,Rc=e.screenY-fa.screenY):Rc=Mc=0,fa=e),Mc)},movementY:function(e){return"movementY"in e?e.movementY:Rc}}),im=ht(Sl),pC=be({},Sl,{dataTransfer:0}),vC=ht(pC),hC=be({},ca,{relatedTarget:0}),Ic=ht(hC),mC=be({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0}),gC=ht(mC),yC=be({},Kn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bC=ht(yC),SC=be({},Kn,{data:0}),am=ht(SC),xC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wC={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"},CC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function EC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=CC[e])?!!t[e]:!1}function Lc(){return EC}var kC=be({},ca,{key:function(e){if(e.key){var t=xC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lc,charCode:function(e){return e.type==="keypress"?yl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),TC=ht(kC),_C=be({},Sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),om=ht(_C),PC=be({},ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lc}),AC=ht(PC),FC=be({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),OC=ht(FC),MC=be({},Sl,{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}),RC=ht(MC),IC=[9,13,27,32],Bc=nr&&"CompositionEvent"in window,da=null;nr&&"documentMode"in document&&(da=document.documentMode);var LC=nr&&"TextEvent"in window&&!da,lm=nr&&(!Bc||da&&8<da&&11>=da),sm=String.fromCharCode(32),um=!1;function cm(e,t){switch(e){case"keyup":return IC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xn=!1;function BC(e,t){switch(e){case"compositionend":return fm(t);case"keypress":return t.which!==32?null:(um=!0,sm);case"textInput":return e=t.data,e===sm&&um?null:e;default:return null}}function zC(e,t){if(Xn)return e==="compositionend"||!Bc&&cm(e,t)?(e=rm(),gl=Fc=_r=null,Xn=!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 lm&&t.locale!=="ko"?null:t.data;default:return null}}var DC={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 dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!DC[e.type]:t==="textarea"}function pm(e,t,r,n){Ih(n),t=wl(t,"onChange"),0<t.length&&(r=new Oc("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var pa=null,va=null;function $C(e){Tm(e,0)}function xl(e){var t=ei(e);if(wh(t))return e}function NC(e,t){if(e==="change")return t}var vm=!1;if(nr){var zc;if(nr){var Dc="oninput"in document;if(!Dc){var hm=document.createElement("div");hm.setAttribute("oninput","return;"),Dc=typeof hm.oninput=="function"}zc=Dc}else zc=!1;vm=zc&&(!document.documentMode||9<document.documentMode)}function mm(){pa&&(pa.detachEvent("onpropertychange",gm),va=pa=null)}function gm(e){if(e.propertyName==="value"&&xl(va)){var t=[];if(pm(t,va,e,pc(e)),e=$C,an)e(t);else{an=!0;try{hc(e,t)}finally{an=!1,yc()}}}}function VC(e,t,r){e==="focusin"?(mm(),pa=t,va=r,pa.attachEvent("onpropertychange",gm)):e==="focusout"&&mm()}function jC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xl(va)}function HC(e,t){if(e==="click")return xl(t)}function WC(e,t){if(e==="input"||e==="change")return xl(t)}function UC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kt=typeof Object.is=="function"?Object.is:UC,GC=Object.prototype.hasOwnProperty;function ha(e,t){if(kt(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(!GC.call(t,r[n])||!kt(e[r[n]],t[r[n]]))return!1;return!0}function ym(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bm(e,t){var r=ym(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=ym(r)}}function Sm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xm(){for(var e=window,t=ll();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ll(e.document)}return t}function $c(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 YC=nr&&"documentMode"in document&&11>=document.documentMode,Zn=null,Nc=null,ma=null,Vc=!1;function wm(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Vc||Zn==null||Zn!==ll(n)||(n=Zn,"selectionStart"in n&&$c(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}),ma&&ha(ma,n)||(ma=n,n=wl(Nc,"onSelect"),0<n.length&&(t=new Oc("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Zn)))}Tc("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),Tc("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),Tc(tC,2);for(var Cm="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),jc=0;jc<Cm.length;jc++)kc.set(Cm[jc],0);Nn("onMouseEnter",["mouseout","mouseover"]),Nn("onMouseLeave",["mouseout","mouseover"]),Nn("onPointerEnter",["pointerout","pointerover"]),Nn("onPointerLeave",["pointerout","pointerover"]),tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tn("onBeforeInput",["compositionend","keypress","textInput","paste"]),tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ga="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Em=new Set("cancel close invalid load scroll toggle".split(" ").concat(ga));function km(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Z2(n,t,void 0,e),e.currentTarget=null}function Tm(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;km(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;km(i,l,u),a=s}}}if(cl)throw e=Sc,cl=!1,Sc=null,e}function me(e,t){var r=zm(t),n=e+"__bubble";r.has(n)||(Fm(t,e,2,!1),r.add(n))}var _m="_reactListening"+Math.random().toString(36).slice(2);function Pm(e){e[_m]||(e[_m]=!0,hh.forEach(function(t){Em.has(t)||Am(t,!1,e,null),Am(t,!0,e,null)}))}function Am(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&&Em.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=zm(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),Fm(a,e,i,t),o.add(l))}function Fm(e,t,r,n){var i=kc.get(t);switch(i===void 0?2:i){case 0:i=cC;break;case 1:i=fC;break;default:i=Pc}r=i.bind(null,t,r,e),i=void 0,!bc||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 Om(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=ln(l),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}l=l.parentNode}}n=n.return}G2(function(){var u=a,c=pc(r),d=[];e:{var f=em.get(e);if(f!==void 0){var p=Oc,m=e;switch(e){case"keypress":if(yl(r)===0)break e;case"keydown":case"keyup":p=TC;break;case"focusin":m="focus",p=Ic;break;case"focusout":m="blur",p=Ic;break;case"beforeblur":case"afterblur":p=Ic;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=im;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=vC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=AC;break;case Zh:case qh:case Qh:p=gC;break;case Jh:p=OC;break;case"scroll":p=dC;break;case"wheel":p=RC;break;case"copy":case"cut":case"paste":p=bC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=om}var y=(t&4)!==0,v=!y&&e==="scroll",h=y?f!==null?f+"Capture":null:f;y=[];for(var g=u,b;g!==null;){b=g;var x=b.stateNode;if(b.tag===5&&x!==null&&(b=x,h!==null&&(x=ta(g,h),x!=null&&y.push(ya(g,x,b)))),v)break;g=g.return}0<y.length&&(f=new p(f,m,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&&(m=r.relatedTarget||r.fromElement)&&(ln(m)||m[Jn]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(m=r.relatedTarget||r.toElement,p=u,m=m?ln(m):null,m!==null&&(v=on(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(p=null,m=u),p!==m)){if(y=im,x="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=om,x="onPointerLeave",h="onPointerEnter",g="pointer"),v=p==null?f:ei(p),b=m==null?f:ei(m),f=new y(x,g+"leave",p,r,c),f.target=v,f.relatedTarget=b,x=null,ln(c)===u&&(y=new y(h,g+"enter",m,r,c),y.target=b,y.relatedTarget=v,x=y),v=x,p&&m)t:{for(y=p,h=m,g=0,b=y;b;b=qn(b))g++;for(b=0,x=h;x;x=qn(x))b++;for(;0<g-b;)y=qn(y),g--;for(;0<b-g;)h=qn(h),b--;for(;g--;){if(y===h||h!==null&&y===h.alternate)break t;y=qn(y),h=qn(h)}y=null}else y=null;p!==null&&Mm(d,f,p,y,!1),m!==null&&v!==null&&Mm(d,v,m,y,!0)}}e:{if(f=u?ei(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var k=NC;else if(dm(f))if(vm)k=WC;else{k=jC;var _=VC}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=HC);if(k&&(k=k(e,u))){pm(d,k,r,c);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&oc(f,"number",f.value)}switch(_=u?ei(u):window,e){case"focusin":(dm(_)||_.contentEditable==="true")&&(Zn=_,Nc=u,ma=null);break;case"focusout":ma=Nc=Zn=null;break;case"mousedown":Vc=!0;break;case"contextmenu":case"mouseup":case"dragend":Vc=!1,wm(d,r,c);break;case"selectionchange":if(YC)break;case"keydown":case"keyup":wm(d,r,c)}var T;if(Bc)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 Xn?cm(e,r)&&(O="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(O="onCompositionStart");O&&(lm&&r.locale!=="ko"&&(Xn||O!=="onCompositionStart"?O==="onCompositionEnd"&&Xn&&(T=rm()):(_r=c,Fc="value"in _r?_r.value:_r.textContent,Xn=!0)),_=wl(u,O),0<_.length&&(O=new am(O,e,null,r,c),d.push({event:O,listeners:_}),T?O.data=T:(T=fm(r),T!==null&&(O.data=T)))),(T=LC?BC(e,r):zC(e,r))&&(u=wl(u,"onBeforeInput"),0<u.length&&(c=new am("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=T))}Tm(d,t)})}function ya(e,t,r){return{instance:e,listener:t,currentTarget:r}}function wl(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=ta(e,r),a!=null&&n.unshift(ya(e,a,i)),a=ta(e,t),a!=null&&n.push(ya(e,a,i))),e=e.return}return n}function qn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Mm(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=ta(r,a),s!=null&&o.unshift(ya(r,s,l))):i||(s=ta(r,a),s!=null&&o.push(ya(r,s,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function Cl(){}var Hc=null,Wc=null;function Rm(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Uc(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 Im=typeof setTimeout=="function"?setTimeout:void 0,KC=typeof clearTimeout=="function"?clearTimeout:void 0;function Gc(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Qn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function Lm(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 XC(e){return{$$typeof:Ju,toString:e,valueOf:e}}var El=Math.random().toString(36).slice(2),Pr="__reactFiber$"+El,kl="__reactProps$"+El,Jn="__reactContainer$"+El,Bm="__reactEvents$"+El;function ln(e){var t=e[Pr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Jn]||r[Pr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Lm(e);e!==null;){if(r=e[Pr])return r;e=Lm(e)}return t}e=r,r=e.parentNode}return null}function ba(e){return e=e[Pr]||e[Jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ei(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function Tl(e){return e[kl]||null}function zm(e){var t=e[Bm];return t===void 0&&(t=e[Bm]=new Set),t}var Kc=[],ti=-1;function Ar(e){return{current:e}}function ge(e){0>ti||(e.current=Kc[ti],Kc[ti]=null,ti--)}function Ce(e,t){ti++,Kc[ti]=e.current,e.current=t}var Fr={},Ye=Ar(Fr),st=Ar(!1),sn=Fr;function ri(e,t){var r=e.type.contextTypes;if(!r)return Fr;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 ut(e){return e=e.childContextTypes,e!=null}function _l(){ge(st),ge(Ye)}function Dm(e,t,r){if(Ye.current!==Fr)throw Error(N(168));Ce(Ye,t),Ce(st,r)}function $m(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,Vn(t)||"Unknown",i));return be({},r,n)}function Pl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fr,sn=Ye.current,Ce(Ye,e),Ce(st,st.current),!0}function Nm(e,t,r){var n=e.stateNode;if(!n)throw Error(N(169));r?(e=$m(e,t,sn),n.__reactInternalMemoizedMergedChildContext=e,ge(st),ge(Ye),Ce(Ye,e)):ge(st),Ce(st,r)}var Xc=null,un=null,ZC=$e.unstable_runWithPriority,Zc=$e.unstable_scheduleCallback,qc=$e.unstable_cancelCallback,qC=$e.unstable_shouldYield,Vm=$e.unstable_requestPaint,Qc=$e.unstable_now,QC=$e.unstable_getCurrentPriorityLevel,Al=$e.unstable_ImmediatePriority,jm=$e.unstable_UserBlockingPriority,Hm=$e.unstable_NormalPriority,Wm=$e.unstable_LowPriority,Um=$e.unstable_IdlePriority,Jc={},JC=Vm!==void 0?Vm:function(){},ir=null,Fl=null,ef=!1,Gm=Qc(),Ke=1e4>Gm?Qc:function(){return Qc()-Gm};function ni(){switch(QC()){case Al:return 99;case jm:return 98;case Hm:return 97;case Wm:return 96;case Um:return 95;default:throw Error(N(332))}}function Ym(e){switch(e){case 99:return Al;case 98:return jm;case 97:return Hm;case 96:return Wm;case 95:return Um;default:throw Error(N(332))}}function cn(e,t){return e=Ym(e),ZC(e,t)}function Sa(e,t,r){return e=Ym(e),Zc(e,t,r)}function Gt(){if(Fl!==null){var e=Fl;Fl=null,qc(e)}Km()}function Km(){if(!ef&&ir!==null){ef=!0;var e=0;try{var t=ir;cn(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)),Zc(Al,Gt),r}finally{ef=!1}}}var eE=rn.ReactCurrentBatchConfig;function It(e,t){if(e&&e.defaultProps){t=be({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ol=Ar(null),Ml=null,ii=null,Rl=null;function tf(){Rl=ii=Ml=null}function rf(e){var t=Ol.current;ge(Ol),e.type._context._currentValue=t}function Xm(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 ai(e,t){Ml=e,Rl=ii=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Lt=!0),e.firstContext=null)}function Tt(e,t){if(Rl!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Rl=e,t=1073741823),t={context:e,observedBits:t,next:null},ii===null){if(Ml===null)throw Error(N(308));ii=t,Ml.dependencies={lanes:0,firstContext:t,responders:null}}else ii=ii.next=t;return e._currentValue}var Or=!1;function nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Zm(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 Mr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rr(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 qm(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 xa(e,t,r,n){var i=e.updateQueue;Or=!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,m=a;switch(l=t,f=r,m.tag){case 1:if(p=m.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=m.payload,l=typeof p=="function"?p.call(f,d,l):p,l==null)break e;d=be({},d,l);break e;case 2:Or=!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,Ra|=o,e.lanes=o,e.memoizedState=d}}function Qm(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 Jm=new tl.Component().refs;function Il(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:be({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ll={isMounted:function(e){return(e=e._reactInternals)?on(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=mt(),i=Br(e),a=Mr(n,i);a.payload=t,r!=null&&(a.callback=r),Rr(e,a),zr(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=mt(),i=Br(e),a=Mr(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Rr(e,a),zr(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=mt(),n=Br(e),i=Mr(r,n);i.tag=2,t!=null&&(i.callback=t),Rr(e,i),zr(e,n,r)}};function e0(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?!ha(r,n)||!ha(i,a):!0}function t0(e,t,r){var n=!1,i=Fr,a=t.contextType;return typeof a=="object"&&a!==null?a=Tt(a):(i=ut(t)?sn:Ye.current,n=t.contextTypes,a=(n=n!=null)?ri(e,i):Fr),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ll,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function r0(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&&Ll.enqueueReplaceState(t,t.state,null)}function af(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Jm,nf(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Tt(a):(a=ut(t)?sn:Ye.current,i.context=ri(e,a)),xa(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Il(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&&Ll.enqueueReplaceState(i,i.state,null),xa(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Bl=Array.isArray;function wa(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===Jm&&(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 zl(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 n0(e){function t(v,h){if(e){var g=v.lastEffect;g!==null?(g.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=Nr(v,h),v.index=0,v.sibling=null,v}function a(v,h,g){return v.index=g,e?(g=v.alternate,g!==null?(g=g.index,g<h?(v.flags=2,h):g):(v.flags=2,h)):h}function o(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,h,g,b){return h===null||h.tag!==6?(h=Vf(g,v.mode,b),h.return=v,h):(h=i(h,g),h.return=v,h)}function s(v,h,g,b){return h!==null&&h.elementType===g.type?(b=i(h,g.props),b.ref=wa(v,h,g),b.return=v,b):(b=ts(g.type,g.key,g.props,null,v.mode,b),b.ref=wa(v,h,g),b.return=v,b)}function u(v,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=jf(g,v.mode,b),h.return=v,h):(h=i(h,g.children||[]),h.return=v,h)}function c(v,h,g,b,x){return h===null||h.tag!==7?(h=pi(g,v.mode,b,x),h.return=v,h):(h=i(h,g),h.return=v,h)}function d(v,h,g){if(typeof h=="string"||typeof h=="number")return h=Vf(""+h,v.mode,g),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ki:return g=ts(h.type,h.key,h.props,null,v.mode,g),g.ref=wa(v,null,h),g.return=v,g;case nn:return h=jf(h,v.mode,g),h.return=v,h}if(Bl(h)||qi(h))return h=pi(h,v.mode,g,null),h.return=v,h;zl(v,h)}return null}function f(v,h,g,b){var x=h!==null?h.key:null;if(typeof g=="string"||typeof g=="number")return x!==null?null:l(v,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ki:return g.key===x?g.type===xr?c(v,h,g.props.children,b,x):s(v,h,g,b):null;case nn:return g.key===x?u(v,h,g,b):null}if(Bl(g)||qi(g))return x!==null?null:c(v,h,g,b,null);zl(v,g)}return null}function p(v,h,g,b,x){if(typeof b=="string"||typeof b=="number")return v=v.get(g)||null,l(h,v,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ki:return v=v.get(b.key===null?g:b.key)||null,b.type===xr?c(h,v,b.props.children,x,b.key):s(h,v,b,x);case nn:return v=v.get(b.key===null?g:b.key)||null,u(h,v,b,x)}if(Bl(b)||qi(b))return v=v.get(g)||null,c(h,v,b,x,null);zl(h,b)}return null}function m(v,h,g,b){for(var x=null,k=null,_=h,T=h=0,O=null;_!==null&&T<g.length;T++){_.index>T?(O=_,_=null):O=_.sibling;var F=f(v,_,g[T],b);if(F===null){_===null&&(_=O);break}e&&_&&F.alternate===null&&t(v,_),h=a(F,h,T),k===null?x=F:k.sibling=F,k=F,_=O}if(T===g.length)return r(v,_),x;if(_===null){for(;T<g.length;T++)_=d(v,g[T],b),_!==null&&(h=a(_,h,T),k===null?x=_:k.sibling=_,k=_);return x}for(_=n(v,_);T<g.length;T++)O=p(_,v,T,g[T],b),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?T:O.key),h=a(O,h,T),k===null?x=O:k.sibling=O,k=O);return e&&_.forEach(function(W){return t(v,W)}),x}function y(v,h,g,b){var x=qi(g);if(typeof x!="function")throw Error(N(150));if(g=x.call(g),g==null)throw Error(N(151));for(var k=x=null,_=h,T=h=0,O=null,F=g.next();_!==null&&!F.done;T++,F=g.next()){_.index>T?(O=_,_=null):O=_.sibling;var W=f(v,_,F.value,b);if(W===null){_===null&&(_=O);break}e&&_&&W.alternate===null&&t(v,_),h=a(W,h,T),k===null?x=W:k.sibling=W,k=W,_=O}if(F.done)return r(v,_),x;if(_===null){for(;!F.done;T++,F=g.next())F=d(v,F.value,b),F!==null&&(h=a(F,h,T),k===null?x=F:k.sibling=F,k=F);return x}for(_=n(v,_);!F.done;T++,F=g.next())F=p(_,v,T,F.value,b),F!==null&&(e&&F.alternate!==null&&_.delete(F.key===null?T:F.key),h=a(F,h,T),k===null?x=F:k.sibling=F,k=F);return e&&_.forEach(function(J){return t(v,J)}),x}return function(v,h,g,b){var x=typeof g=="object"&&g!==null&&g.type===xr&&g.key===null;x&&(g=g.props.children);var k=typeof g=="object"&&g!==null;if(k)switch(g.$$typeof){case Ki:e:{for(k=g.key,x=h;x!==null;){if(x.key===k){switch(x.tag){case 7:if(g.type===xr){r(v,x.sibling),h=i(x,g.props.children),h.return=v,v=h;break e}break;default:if(x.elementType===g.type){r(v,x.sibling),h=i(x,g.props),h.ref=wa(v,x,g),h.return=v,v=h;break e}}r(v,x);break}else t(v,x);x=x.sibling}g.type===xr?(h=pi(g.props.children,v.mode,b,g.key),h.return=v,v=h):(b=ts(g.type,g.key,g.props,null,v.mode,b),b.ref=wa(v,h,g),b.return=v,v=b)}return o(v);case nn:e:{for(x=g.key;h!==null;){if(h.key===x)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){r(v,h.sibling),h=i(h,g.children||[]),h.return=v,v=h;break e}else{r(v,h);break}else t(v,h);h=h.sibling}h=jf(g,v.mode,b),h.return=v,v=h}return o(v)}if(typeof g=="string"||typeof g=="number")return g=""+g,h!==null&&h.tag===6?(r(v,h.sibling),h=i(h,g),h.return=v,v=h):(r(v,h),h=Vf(g,v.mode,b),h.return=v,v=h),o(v);if(Bl(g))return m(v,h,g,b);if(qi(g))return y(v,h,g,b);if(k&&zl(v,g),typeof g=="undefined"&&!x)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(N(152,Vn(v.type)||"Component"))}return r(v,h)}}var Dl=n0(!0),i0=n0(!1),Ca={},Yt=Ar(Ca),Ea=Ar(Ca),ka=Ar(Ca);function fn(e){if(e===Ca)throw Error(N(174));return e}function of(e,t){switch(Ce(ka,t),Ce(Ea,e),Ce(Yt,Ca),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cc(t,e)}ge(Yt),Ce(Yt,t)}function oi(){ge(Yt),ge(Ea),ge(ka)}function a0(e){fn(ka.current);var t=fn(Yt.current),r=cc(t,e.type);t!==r&&(Ce(Ea,e),Ce(Yt,r))}function lf(e){Ea.current===e&&(ge(Yt),ge(Ea))}var Ee=Ar(0);function $l(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 ar=null,Ir=null,Kt=!1;function o0(e,t){var r=At(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 l0(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 sf(e){if(Kt){var t=Ir;if(t){var r=t;if(!l0(e,t)){if(t=Qn(r.nextSibling),!t||!l0(e,t)){e.flags=e.flags&-1025|2,Kt=!1,ar=e;return}o0(ar,r)}ar=e,Ir=Qn(t.firstChild)}else e.flags=e.flags&-1025|2,Kt=!1,ar=e}}function s0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ar=e}function Nl(e){if(e!==ar)return!1;if(!Kt)return s0(e),Kt=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Uc(t,e.memoizedProps))for(t=Ir;t;)o0(e,t),t=Qn(t.nextSibling);if(s0(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){Ir=Qn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ir=null}}else Ir=ar?Qn(e.stateNode.nextSibling):null;return!0}function uf(){Ir=ar=null,Kt=!1}var li=[];function cf(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var Ta=rn.ReactCurrentDispatcher,_t=rn.ReactCurrentBatchConfig,_a=0,_e=null,Xe=null,je=null,Vl=!1,Pa=!1;function ct(){throw Error(N(321))}function ff(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!kt(e[r],t[r]))return!1;return!0}function df(e,t,r,n,i,a){if(_a=a,_e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ta.current=e===null||e.memoizedState===null?rE:nE,e=r(n,i),Pa){a=0;do{if(Pa=!1,!(25>a))throw Error(N(301));a+=1,je=Xe=null,t.updateQueue=null,Ta.current=iE,e=r(n,i)}while(Pa)}if(Ta.current=Ul,t=Xe!==null&&Xe.next!==null,_a=0,je=Xe=_e=null,Vl=!1,t)throw Error(N(300));return e}function dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?_e.memoizedState=je=e:je=je.next=e,je}function pn(){if(Xe===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var t=je===null?_e.memoizedState:je.next;if(t!==null)je=t,Xe=e;else{if(e===null)throw Error(N(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},je===null?_e.memoizedState=je=e:je=je.next=e}return je}function Xt(e,t){return typeof t=="function"?t(e):t}function Aa(e){var t=pn(),r=t.queue;if(r===null)throw Error(N(311));r.lastRenderedReducer=e;var n=Xe,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((_a&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,Ra|=u}s=s.next}while(s!==null&&s!==i);l===null?a=n:l.next=o,kt(n,t.memoizedState)||(Lt=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function Fa(e){var t=pn(),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);kt(a,t.memoizedState)||(Lt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function u0(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=(_a&e)===e)&&(t._workInProgressVersionPrimary=n,li.push(t))),e)return r(t._source);throw li.push(t),Error(N(350))}function c0(e,t,r,n){var i=tt;if(i===null)throw Error(N(349));var a=t._getVersion,o=a(t._source),l=Ta.current,s=l.useState(function(){return u0(i,t,r)}),u=s[1],c=s[0];s=je;var d=e.memoizedState,f=d.refs,p=f.getSnapshot,m=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(!kt(o,v)){v=r(t._source),kt(c,v)||(u(v),v=Br(y),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var h=i.entanglements,g=v;0<g;){var b=31-Tr(g),x=1<<b;h[b]|=v,g&=~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 g=Br(y);i.mutableReadLanes|=g&i.pendingLanes}catch(b){h(function(){throw b})}})},[t,n]),kt(p,r)&&kt(m,t)&&kt(d,n)||(e={pending:null,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:c},e.dispatch=u=mf.bind(null,_e,e),s.queue=e,s.baseQueue=null,c=u0(i,t,r),s.memoizedState=s.baseState=c),c}function f0(e,t,r){var n=pn();return c0(n,e,t,r)}function Oa(e){var t=dn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:e},e=e.dispatch=mf.bind(null,_e,e),[t.memoizedState,e]}function jl(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 d0(e){var t=dn();return e={current:e},t.memoizedState=e}function Hl(){return pn().memoizedState}function pf(e,t,r,n){var i=dn();_e.flags|=e,i.memoizedState=jl(1|t,r,void 0,n===void 0?null:n)}function vf(e,t,r,n){var i=pn();n=n===void 0?null:n;var a=void 0;if(Xe!==null){var o=Xe.memoizedState;if(a=o.destroy,n!==null&&ff(n,o.deps)){jl(t,r,a,n);return}}_e.flags|=e,i.memoizedState=jl(1|t,r,a,n)}function p0(e,t){return pf(516,4,e,t)}function Wl(e,t){return vf(516,4,e,t)}function v0(e,t){return vf(4,2,e,t)}function h0(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 m0(e,t,r){return r=r!=null?r.concat([e]):null,vf(4,2,h0.bind(null,t,e),r)}function hf(){}function g0(e,t){var r=pn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&ff(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function y0(e,t){var r=pn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&ff(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function tE(e,t){var r=ni();cn(98>r?98:r,function(){e(!0)}),cn(97<r?97:r,function(){var n=_t.transition;_t.transition=1;try{e(!1),t()}finally{_t.transition=n}})}function mf(e,t,r){var n=mt(),i=Br(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)Pa=Vl=!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,kt(s,l))return}catch{}finally{}zr(e,i,n)}}var Ul={readContext:Tt,useCallback:ct,useContext:ct,useEffect:ct,useImperativeHandle:ct,useLayoutEffect:ct,useMemo:ct,useReducer:ct,useRef:ct,useState:ct,useDebugValue:ct,useDeferredValue:ct,useTransition:ct,useMutableSource:ct,useOpaqueIdentifier:ct,unstable_isNewReconciler:!1},rE={readContext:Tt,useCallback:function(e,t){return dn().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:p0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,pf(4,2,h0.bind(null,t,e),r)},useLayoutEffect:function(e,t){return pf(4,2,e,t)},useMemo:function(e,t){var r=dn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=dn();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=mf.bind(null,_e,e),[n.memoizedState,e]},useRef:d0,useState:Oa,useDebugValue:hf,useDeferredValue:function(e){var t=Oa(e),r=t[0],n=t[1];return p0(function(){var i=_t.transition;_t.transition=1;try{n(e)}finally{_t.transition=i}},[e]),r},useTransition:function(){var e=Oa(!1),t=e[0];return e=tE.bind(null,e[1]),d0(e),[e,t]},useMutableSource:function(e,t,r){var n=dn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},c0(n,e,t,r)},useOpaqueIdentifier:function(){if(Kt){var e=!1,t=XC(function(){throw e||(e=!0,r("r:"+(Yc++).toString(36))),Error(N(355))}),r=Oa(t)[1];return(_e.mode&2)===0&&(_e.flags|=516,jl(5,function(){r("r:"+(Yc++).toString(36))},void 0,null)),t}return t="r:"+(Yc++).toString(36),Oa(t),t},unstable_isNewReconciler:!1},nE={readContext:Tt,useCallback:g0,useContext:Tt,useEffect:Wl,useImperativeHandle:m0,useLayoutEffect:v0,useMemo:y0,useReducer:Aa,useRef:Hl,useState:function(){return Aa(Xt)},useDebugValue:hf,useDeferredValue:function(e){var t=Aa(Xt),r=t[0],n=t[1];return Wl(function(){var i=_t.transition;_t.transition=1;try{n(e)}finally{_t.transition=i}},[e]),r},useTransition:function(){var e=Aa(Xt)[0];return[Hl().current,e]},useMutableSource:f0,useOpaqueIdentifier:function(){return Aa(Xt)[0]},unstable_isNewReconciler:!1},iE={readContext:Tt,useCallback:g0,useContext:Tt,useEffect:Wl,useImperativeHandle:m0,useLayoutEffect:v0,useMemo:y0,useReducer:Fa,useRef:Hl,useState:function(){return Fa(Xt)},useDebugValue:hf,useDeferredValue:function(e){var t=Fa(Xt),r=t[0],n=t[1];return Wl(function(){var i=_t.transition;_t.transition=1;try{n(e)}finally{_t.transition=i}},[e]),r},useTransition:function(){var e=Fa(Xt)[0];return[Hl().current,e]},useMutableSource:f0,useOpaqueIdentifier:function(){return Fa(Xt)[0]},unstable_isNewReconciler:!1},aE=rn.ReactCurrentOwner,Lt=!1;function ft(e,t,r,n){t.child=e===null?i0(t,null,r,n):Dl(t,e.child,r,n)}function b0(e,t,r,n,i){r=r.render;var a=t.ref;return ai(t,i),n=df(e,t,r,n,a,i),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,or(e,t,i)):(t.flags|=1,ft(e,t,n,i),t.child)}function S0(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!$f(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,x0(e,t,o,n,i,a)):(e=ts(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:ha,r(i,n)&&e.ref===t.ref)?or(e,t,a):(t.flags|=1,e=Nr(o,n),e.ref=t.ref,e.return=t,t.child=e)}function x0(e,t,r,n,i,a){if(e!==null&&ha(e.memoizedProps,n)&&e.ref===t.ref)if(Lt=!1,(a&i)!==0)(e.flags&16384)!==0&&(Lt=!0);else return t.lanes=e.lanes,or(e,t,a);return yf(e,t,r,n,a)}function gf(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},es(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},es(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},es(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,es(t,n);return ft(e,t,i,r),t.child}function w0(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function yf(e,t,r,n,i){var a=ut(r)?sn:Ye.current;return a=ri(t,a),ai(t,i),r=df(e,t,r,n,a,i),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,or(e,t,i)):(t.flags|=1,ft(e,t,r,i),t.child)}function C0(e,t,r,n,i){if(ut(r)){var a=!0;Pl(t)}else a=!1;if(ai(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t0(t,r,n),af(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=Tt(u):(u=ut(r)?sn:Ye.current,u=ri(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)&&r0(t,o,n,u),Or=!1;var f=t.memoizedState;o.state=f,xa(t,n,o,i),s=t.memoizedState,l!==n||f!==s||st.current||Or?(typeof c=="function"&&(Il(t,r,c,n),s=t.memoizedState),(l=Or||e0(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,Zm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:It(t.type,l),o.props=u,d=t.pendingProps,f=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Tt(s):(s=ut(r)?sn:Ye.current,s=ri(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)&&r0(t,o,n,s),Or=!1,f=t.memoizedState,o.state=f,xa(t,n,o,i);var m=t.memoizedState;l!==d||f!==m||st.current||Or?(typeof p=="function"&&(Il(t,r,p,n),m=t.memoizedState),(u=Or||e0(t,r,u,n,f,m,s))?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,m,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,m,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=m),o.props=n,o.state=m,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 bf(e,t,r,n,a,i)}function bf(e,t,r,n,i,a){w0(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&Nm(t,r,!1),or(e,t,a);n=t.stateNode,aE.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=Dl(t,e.child,null,a),t.child=Dl(t,null,l,a)):ft(e,t,l,a),t.memoizedState=n.state,i&&Nm(t,r,!0),t.child}function E0(e){var t=e.stateNode;t.pendingContext?Dm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dm(e,t.context,!1),of(e,t.containerInfo)}var Gl={dehydrated:null,retryLane:0};function k0(e,t,r){var n=t.pendingProps,i=Ee.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),Ce(Ee,i&1),e===null?(n.fallback!==void 0&&sf(t),e=n.children,i=n.fallback,a?(e=T0(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Gl,e):typeof n.unstable_expectedLoadTime=="number"?(e=T0(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Gl,t.lanes=33554432,e):(r=Nf({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=P0(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=Gl,n):(r=_0(e,t,n.children,r),t.memoizedState=null,r):a?(n=P0(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=Gl,n):(r=_0(e,t,n.children,r),t.memoizedState=null,r)}function T0(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=Nf(t,i,0,null),r=pi(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function _0(e,t,r,n){var i=e.child;return e=i.sibling,r=Nr(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 P0(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=Nr(o,l),e!==null?n=Nr(e,n):(n=pi(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function A0(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xm(e.return,t)}function Sf(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 F0(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(ft(e,t,n.children,r),n=Ee.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&&A0(e,r);else if(e.tag===19)A0(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(Ce(Ee,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&&$l(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Sf(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&&$l(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Sf(t,!0,r,null,a,t.lastEffect);break;case"together":Sf(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function or(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ra|=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=Nr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Nr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var O0,xf,M0,R0;O0=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}},xf=function(){},M0=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,fn(Yt.current);var a=null;switch(r){case"input":i=ic(e,i),n=ic(e,n),a=[];break;case"option":i=lc(e,i),n=lc(e,n),a=[];break;case"select":i=be({},i,{value:void 0}),n=be({},n,{value:void 0}),a=[];break;case"textarea":i=sc(e,i),n=sc(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Cl)}fc(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"&&(Yi.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"&&(Yi.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&me("scroll",e),a||l===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===Ju?s.toString():(a=a||[]).push(u,s))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},R0=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ma(e,t){if(!Kt)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 oE(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 ut(t.type)&&_l(),null;case 3:return oi(),ge(st),ge(Ye),cf(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Nl(t)?t.flags|=4:n.hydrate||(t.flags|=256)),xf(t),null;case 5:lf(t);var i=fn(ka.current);if(r=t.type,e!==null&&t.stateNode!=null)M0(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=fn(Yt.current),Nl(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Pr]=t,n[kl]=a,r){case"dialog":me("cancel",n),me("close",n);break;case"iframe":case"object":case"embed":me("load",n);break;case"video":case"audio":for(e=0;e<ga.length;e++)me(ga[e],n);break;case"source":me("error",n);break;case"img":case"image":case"link":me("error",n),me("load",n);break;case"details":me("toggle",n);break;case"input":Ch(n,a),me("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},me("invalid",n);break;case"textarea":Th(n,a),me("invalid",n)}fc(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]):Yi.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&me("scroll",n));switch(r){case"input":ol(n),kh(n,a,!0);break;case"textarea":ol(n),Ph(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Cl)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===uc.html&&(e=Ah(r)),e===uc.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[Pr]=t,e[kl]=n,O0(e,t,!1,!1),t.stateNode=e,o=dc(r,n),r){case"dialog":me("cancel",e),me("close",e),i=n;break;case"iframe":case"object":case"embed":me("load",e),i=n;break;case"video":case"audio":for(i=0;i<ga.length;i++)me(ga[i],e);i=n;break;case"source":me("error",e),i=n;break;case"img":case"image":case"link":me("error",e),me("load",e),i=n;break;case"details":me("toggle",e),i=n;break;case"input":Ch(e,n),i=ic(e,n),me("invalid",e);break;case"option":i=lc(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=be({},n,{value:void 0}),me("invalid",e);break;case"textarea":Th(e,n),i=sc(e,n),me("invalid",e);break;default:i=n}fc(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?Mh(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Fh(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Ji(e,s):typeof s=="number"&&Ji(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Yi.hasOwnProperty(a)?s!=null&&a==="onScroll"&&me("scroll",e):s!=null&&Yu(e,a,s,o))}switch(r){case"input":ol(e),kh(e,n,!1);break;case"textarea":ol(e),Ph(e);break;case"option":n.value!=null&&e.setAttribute("value",""+wr(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?jn(e,!!n.multiple,a,!1):n.defaultValue!=null&&jn(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Cl)}Rm(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)R0(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(N(166));r=fn(ka.current),fn(Yt.current),Nl(t)?(n=t.stateNode,r=t.memoizedProps,n[Pr]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Pr]=t,t.stateNode=n)}return null;case 13:return ge(Ee),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Nl(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Ee.current&1)!==0?He===0&&(He=3):((He===0||He===3)&&(He=4),tt===null||(Ra&134217727)===0&&(ui&134217727)===0||fi(tt,Ze))),(n||r)&&(t.flags|=4),null);case 4:return oi(),xf(t),e===null&&Pm(t.stateNode.containerInfo),null;case 10:return rf(t),null;case 17:return ut(t.type)&&_l(),null;case 19:if(ge(Ee),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)Ma(n,!1);else{if(He!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=$l(e),o!==null){for(t.flags|=64,Ma(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 Ce(Ee,Ee.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ke()>Mf&&(t.flags|=64,a=!0,Ma(n,!1),t.lanes=33554432)}else{if(!a)if(e=$l(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ma(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Kt)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ke()-n.renderingStartTime>Mf&&r!==1073741824&&(t.flags|=64,a=!0,Ma(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=Ke(),r.sibling=null,t=Ee.current,Ce(Ee,a?t&1|2:t&1),r):null;case 23:case 24:return Df(),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 lE(e){switch(e.tag){case 1:ut(e.type)&&_l();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(oi(),ge(st),ge(Ye),cf(),t=e.flags,(t&64)!==0)throw Error(N(285));return e.flags=t&-4097|64,e;case 5:return lf(e),null;case 13:return ge(Ee),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return ge(Ee),null;case 4:return oi(),null;case 10:return rf(e),null;case 23:case 24:return Df(),null;default:return null}}function wf(e,t){try{var r="",n=t;do r+=V2(n),n=n.return;while(n);var i=r}catch(a){i=`
|
|
308
308
|
Error generating stack: `+a.message+`
|
|
309
|
-
`+a.stack}return{value:e,source:t,stack:i}}function Cf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var lE=typeof WeakMap=="function"?WeakMap:Map;function R0(e,t,r){r=Mr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Xl||(Xl=!0,If=n),Cf(e,t)},r}function L0(e,t,r){r=Mr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Cf(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this),Cf(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var sE=typeof WeakSet=="function"?WeakSet:Set;function B0(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){$r(e,r)}else t.current=null}function uE(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:Rt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Gc(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(N(163))}function cE(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&&(q0(r,e),yE(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:Rt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&Qm(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}Qm(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Im(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&&Kh(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(N(163))}function z0(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=Oh("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 D0(e,t){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(Xc,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)q0(t,r);else{n=t;try{i()}catch(a){$r(n,a)}}r=r.next}while(r!==e)}break;case 1:if(B0(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){$r(t,a)}break;case 5:B0(t);break;case 4:j0(e,t)}}function $0(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 N0(e){return e.tag===5||e.tag===3||e.tag===4}function V0(e){e:{for(var t=e.return;t!==null;){if(N0(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&&(Ji(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||N0(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?Ef(e,r,t):kf(e,r,t)}function Ef(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=Cl));else if(n!==4&&(e=e.child,e!==null))for(Ef(e,t,r),e=e.sibling;e!==null;)Ef(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 j0(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(D0(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(D0(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 Tf(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[kl]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Eh(r,n),dc(e,i),t=dc(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?Mh(r,l):o==="dangerouslySetInnerHTML"?Fh(r,l):o==="children"?Ji(r,l):Yu(r,o,l,t)}switch(e){case"input":ac(r,n);break;case"textarea":_h(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?jn(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?jn(r,!!n.multiple,n.defaultValue,!0):jn(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,Kh(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(Of=Ke(),z0(t.child,!0)),H0(t);return;case 19:H0(t);return;case 17:return;case 23:case 24:z0(t,t.memoizedState!==null);return}throw Error(N(163))}function H0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new sE),t.forEach(function(n){var i=xE.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function fE(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var dE=Math.ceil,Yl=rn.ReactCurrentDispatcher,_f=rn.ReactCurrentOwner,Q=0,tt=null,Me=null,Ze=0,vn=0,Pf=Ar(0),He=0,Kl=null,si=0,Ia=0,ui=0,Af=0,Ff=null,Of=0,Mf=1/0;function ci(){Mf=Ke()+500}var G=null,Xl=!1,If=null,Zt=null,Lr=!1,Ra=null,La=90,Rf=[],Lf=[],lr=null,Ba=0,Bf=null,Zl=-1,sr=0,ql=0,za=null,Ql=!1;function mt(){return(Q&48)!==0?Ke():Zl!==-1?Zl:Zl=Ke()}function Br(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return ni()===99?1:2;if(sr===0&&(sr=si),JC.transition!==0){ql!==0&&(ql=Ff!==null?Ff.pendingLanes:0),e=sr;var t=4186112&~ql;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=ni(),(Q&4)!==0&&e===98?e=vl(12,sr):(e=rC(e),e=vl(e,sr)),e}function zr(e,t,r){if(50<Ba)throw Ba=0,Bf=null,Error(N(185));if(e=Jl(e,t),e===null)return null;hl(e,t,r),e===tt&&(ui|=t,He===4&&fi(e,Ze));var n=ni();t===1?(Q&8)!==0&&(Q&48)===0?zf(e):(Pt(e,r),Q===0&&(ci(),Gt())):((Q&4)===0||n!==98&&n!==99||(lr===null?lr=new Set([e]):lr.add(e)),Pt(e,r)),Ff=e}function Jl(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 Pt(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Tr(o),s=1<<l,u=a[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,Gn(s);var c=ve;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);o&=~s}if(n=ua(e,e===tt?Ze:0),t=ve,n===0)r!==null&&(r!==Jc&&qc(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Jc&&qc(r)}t===15?(r=zf.bind(null,e),ir===null?(ir=[r],Fl=Zc(Al,Km)):ir.push(r),r=Jc):t===14?r=Sa(99,zf.bind(null,e)):(r=nC(t),r=Sa(r,W0.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function W0(e){if(Zl=-1,ql=sr=0,(Q&48)!==0)throw Error(N(327));var t=e.callbackNode;if(Dr()&&e.callbackNode!==t)return null;var r=ua(e,e===tt?Ze:0);if(r===0)return null;var n=r,i=Q;Q|=16;var a=K0();(tt!==e||Ze!==n)&&(ci(),di(e,n));do try{hE();break}catch(l){Y0(e,l)}while(1);if(tf(),Yl.current=a,Q=i,Me!==null?n=0:(tt=null,Ze=0,n=He),(si&ui)!==0)di(e,0);else if(n!==0){if(n===2&&(Q|=64,e.hydrate&&(e.hydrate=!1,Gc(e.containerInfo)),r=tm(e),r!==0&&(n=Da(e,r))),n===1)throw t=Kl,di(e,0),fi(e,r),Pt(e,Ke()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(N(345));case 2:hn(e);break;case 3:if(fi(e,r),(r&62914560)===r&&(n=Of+500-Ke(),10<n)){if(ua(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){mt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Rm(hn.bind(null,e),n);break}hn(e);break;case 4:if(fi(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-Tr(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dE(r/1960))-r,10<r){e.timeoutHandle=Rm(hn.bind(null,e),r);break}hn(e);break;case 5:hn(e);break;default:throw Error(N(329))}}return Pt(e,Ke()),e.callbackNode===t?W0.bind(null,e):null}function fi(e,t){for(t&=~Af,t&=~ui,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Tr(t),n=1<<r;e[r]=-1,t&=~n}}function zf(e){if((Q&48)!==0)throw Error(N(327));if(Dr(),e===tt&&(e.expiredLanes&Ze)!==0){var t=Ze,r=Da(e,t);(si&ui)!==0&&(t=ua(e,t),r=Da(e,t))}else t=ua(e,0),r=Da(e,t);if(e.tag!==0&&r===2&&(Q|=64,e.hydrate&&(e.hydrate=!1,Gc(e.containerInfo)),t=tm(e),t!==0&&(r=Da(e,t))),r===1)throw r=Kl,di(e,0),fi(e,t),Pt(e,Ke()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,hn(e),Pt(e,Ke()),null}function pE(){if(lr!==null){var e=lr;lr=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Pt(t,Ke())})}Gt()}function U0(e,t){var r=Q;Q|=1;try{return e(t)}finally{Q=r,Q===0&&(ci(),Gt())}}function G0(e,t){var r=Q;Q&=-2,Q|=8;try{return e(t)}finally{Q=r,Q===0&&(ci(),Gt())}}function es(e,t){Ce(Pf,vn),vn|=t,si|=t}function Df(){vn=Pf.current,ge(Pf)}function di(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,YC(r)),Me!==null)for(r=Me.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&_l();break;case 3:oi(),ge(st),ge(Ye),cf();break;case 5:lf(n);break;case 4:oi();break;case 13:ge(Ee);break;case 19:ge(Ee);break;case 10:rf(n);break;case 23:case 24:Df()}r=r.return}tt=e,Me=Nr(e.current,null),Ze=vn=si=t,He=0,Kl=null,Af=ui=Ia=0}function Y0(e,t){do{var r=Me;try{if(tf(),Ta.current=Ul,Vl){for(var n=_e.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Vl=!1}if(_a=0,je=Xe=_e=null,Pa=!1,_f.current=null,r===null||r.return===null){He=1,Kl=t,Me=null;break}e:{var a=e,o=r.return,l=r,s=t;if(t=Ze,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=(Ee.current&1)!==0,f=o;do{var p;if(p=f.tag===13){var m=f.memoizedState;if(m!==null)p=m.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 g=Mr(-1,1);g.tag=2,Ir(l,g)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(b===null?(b=a.pingCache=new lE,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=SE.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((Vn(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
309
|
+
`+a.stack}return{value:e,source:t,stack:i}}function Cf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var sE=typeof WeakMap=="function"?WeakMap:Map;function I0(e,t,r){r=Mr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Xl||(Xl=!0,Rf=n),Cf(e,t)},r}function L0(e,t,r){r=Mr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Cf(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this),Cf(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var uE=typeof WeakSet=="function"?WeakSet:Set;function B0(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){$r(e,r)}else t.current=null}function cE(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:It(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Gc(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(N(163))}function fE(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&&(q0(r,e),bE(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:It(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&Qm(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}Qm(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Rm(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&&Kh(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(N(163))}function z0(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=Oh("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 D0(e,t){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(Xc,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)q0(t,r);else{n=t;try{i()}catch(a){$r(n,a)}}r=r.next}while(r!==e)}break;case 1:if(B0(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){$r(t,a)}break;case 5:B0(t);break;case 4:j0(e,t)}}function $0(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 N0(e){return e.tag===5||e.tag===3||e.tag===4}function V0(e){e:{for(var t=e.return;t!==null;){if(N0(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&&(Ji(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||N0(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?Ef(e,r,t):kf(e,r,t)}function Ef(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=Cl));else if(n!==4&&(e=e.child,e!==null))for(Ef(e,t,r),e=e.sibling;e!==null;)Ef(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 j0(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(D0(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(D0(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 Tf(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[kl]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Eh(r,n),dc(e,i),t=dc(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?Mh(r,l):o==="dangerouslySetInnerHTML"?Fh(r,l):o==="children"?Ji(r,l):Yu(r,o,l,t)}switch(e){case"input":ac(r,n);break;case"textarea":_h(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?jn(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?jn(r,!!n.multiple,n.defaultValue,!0):jn(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,Kh(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(Of=Ke(),z0(t.child,!0)),H0(t);return;case 19:H0(t);return;case 17:return;case 23:case 24:z0(t,t.memoizedState!==null);return}throw Error(N(163))}function H0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new uE),t.forEach(function(n){var i=wE.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function dE(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var pE=Math.ceil,Yl=rn.ReactCurrentDispatcher,_f=rn.ReactCurrentOwner,Q=0,tt=null,Me=null,Ze=0,vn=0,Pf=Ar(0),He=0,Kl=null,si=0,Ra=0,ui=0,Af=0,Ff=null,Of=0,Mf=1/0;function ci(){Mf=Ke()+500}var G=null,Xl=!1,Rf=null,Zt=null,Lr=!1,Ia=null,La=90,If=[],Lf=[],lr=null,Ba=0,Bf=null,Zl=-1,sr=0,ql=0,za=null,Ql=!1;function mt(){return(Q&48)!==0?Ke():Zl!==-1?Zl:Zl=Ke()}function Br(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return ni()===99?1:2;if(sr===0&&(sr=si),eE.transition!==0){ql!==0&&(ql=Ff!==null?Ff.pendingLanes:0),e=sr;var t=4186112&~ql;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=ni(),(Q&4)!==0&&e===98?e=vl(12,sr):(e=nC(e),e=vl(e,sr)),e}function zr(e,t,r){if(50<Ba)throw Ba=0,Bf=null,Error(N(185));if(e=Jl(e,t),e===null)return null;hl(e,t,r),e===tt&&(ui|=t,He===4&&fi(e,Ze));var n=ni();t===1?(Q&8)!==0&&(Q&48)===0?zf(e):(Pt(e,r),Q===0&&(ci(),Gt())):((Q&4)===0||n!==98&&n!==99||(lr===null?lr=new Set([e]):lr.add(e)),Pt(e,r)),Ff=e}function Jl(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 Pt(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Tr(o),s=1<<l,u=a[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,Gn(s);var c=ve;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);o&=~s}if(n=ua(e,e===tt?Ze:0),t=ve,n===0)r!==null&&(r!==Jc&&qc(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Jc&&qc(r)}t===15?(r=zf.bind(null,e),ir===null?(ir=[r],Fl=Zc(Al,Km)):ir.push(r),r=Jc):t===14?r=Sa(99,zf.bind(null,e)):(r=iC(t),r=Sa(r,W0.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function W0(e){if(Zl=-1,ql=sr=0,(Q&48)!==0)throw Error(N(327));var t=e.callbackNode;if(Dr()&&e.callbackNode!==t)return null;var r=ua(e,e===tt?Ze:0);if(r===0)return null;var n=r,i=Q;Q|=16;var a=K0();(tt!==e||Ze!==n)&&(ci(),di(e,n));do try{mE();break}catch(l){Y0(e,l)}while(1);if(tf(),Yl.current=a,Q=i,Me!==null?n=0:(tt=null,Ze=0,n=He),(si&ui)!==0)di(e,0);else if(n!==0){if(n===2&&(Q|=64,e.hydrate&&(e.hydrate=!1,Gc(e.containerInfo)),r=tm(e),r!==0&&(n=Da(e,r))),n===1)throw t=Kl,di(e,0),fi(e,r),Pt(e,Ke()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(N(345));case 2:hn(e);break;case 3:if(fi(e,r),(r&62914560)===r&&(n=Of+500-Ke(),10<n)){if(ua(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){mt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Im(hn.bind(null,e),n);break}hn(e);break;case 4:if(fi(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-Tr(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*pE(r/1960))-r,10<r){e.timeoutHandle=Im(hn.bind(null,e),r);break}hn(e);break;case 5:hn(e);break;default:throw Error(N(329))}}return Pt(e,Ke()),e.callbackNode===t?W0.bind(null,e):null}function fi(e,t){for(t&=~Af,t&=~ui,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Tr(t),n=1<<r;e[r]=-1,t&=~n}}function zf(e){if((Q&48)!==0)throw Error(N(327));if(Dr(),e===tt&&(e.expiredLanes&Ze)!==0){var t=Ze,r=Da(e,t);(si&ui)!==0&&(t=ua(e,t),r=Da(e,t))}else t=ua(e,0),r=Da(e,t);if(e.tag!==0&&r===2&&(Q|=64,e.hydrate&&(e.hydrate=!1,Gc(e.containerInfo)),t=tm(e),t!==0&&(r=Da(e,t))),r===1)throw r=Kl,di(e,0),fi(e,t),Pt(e,Ke()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,hn(e),Pt(e,Ke()),null}function vE(){if(lr!==null){var e=lr;lr=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Pt(t,Ke())})}Gt()}function U0(e,t){var r=Q;Q|=1;try{return e(t)}finally{Q=r,Q===0&&(ci(),Gt())}}function G0(e,t){var r=Q;Q&=-2,Q|=8;try{return e(t)}finally{Q=r,Q===0&&(ci(),Gt())}}function es(e,t){Ce(Pf,vn),vn|=t,si|=t}function Df(){vn=Pf.current,ge(Pf)}function di(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,KC(r)),Me!==null)for(r=Me.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&_l();break;case 3:oi(),ge(st),ge(Ye),cf();break;case 5:lf(n);break;case 4:oi();break;case 13:ge(Ee);break;case 19:ge(Ee);break;case 10:rf(n);break;case 23:case 24:Df()}r=r.return}tt=e,Me=Nr(e.current,null),Ze=vn=si=t,He=0,Kl=null,Af=ui=Ra=0}function Y0(e,t){do{var r=Me;try{if(tf(),Ta.current=Ul,Vl){for(var n=_e.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Vl=!1}if(_a=0,je=Xe=_e=null,Pa=!1,_f.current=null,r===null||r.return===null){He=1,Kl=t,Me=null;break}e:{var a=e,o=r.return,l=r,s=t;if(t=Ze,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=(Ee.current&1)!==0,f=o;do{var p;if(p=f.tag===13){var m=f.memoizedState;if(m!==null)p=m.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 g=Mr(-1,1);g.tag=2,Rr(l,g)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(b===null?(b=a.pingCache=new sE,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=xE.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((Vn(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
310
310
|
|
|
311
|
-
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}He!==5&&(He=2),s=wf(s,l),f=o;do{switch(f.tag){case 3:a=s,f.flags|=4096,t&=-t,f.lanes|=t;var k=R0(f,a,t);qm(f,k);break e;case 1:a=s;var _=f.type,T=f.stateNode;if((f.flags&64)===0&&(typeof _.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(Zt===null||!Zt.has(T)))){f.flags|=4096,t&=-t,f.lanes|=t;var O=L0(f,a,t);qm(f,O);break e}}f=f.return}while(f!==null)}Z0(r)}catch(F){t=F,Me===r&&r!==null&&(Me=r=r.return);continue}break}while(1)}function K0(){var e=Yl.current;return Yl.current=Ul,e===null?Ul:e}function Da(e,t){var r=Q;Q|=16;var n=K0();tt===e&&Ze===t||di(e,t);do try{vE();break}catch(i){Y0(e,i)}while(1);if(tf(),Q=r,Yl.current=n,Me!==null)throw Error(N(261));return tt=null,Ze=0,He}function vE(){for(;Me!==null;)X0(Me)}function hE(){for(;Me!==null&&!ZC();)X0(Me)}function X0(e){var t=J0(e.alternate,e,vn);e.memoizedProps=e.pendingProps,t===null?Z0(e):Me=t,_f.current=null}function Z0(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=aE(r,t,vn),r!==null){Me=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(vn&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=oE(t),r!==null){r.flags&=2047,Me=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);He===0&&(He=5)}function hn(e){var t=ni();return cn(99,mE.bind(null,e,t)),null}function mE(e,t){do Dr();while(Ra!==null);if((Q&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-Tr(a),u=1<<s;i[s]=0,o[s]=-1,l[s]=-1,a&=~u}if(lr!==null&&(n&24)===0&&lr.has(e)&&lr.delete(e),e===tt&&(Me=tt=null,Ze=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Q,Q|=32,_f.current=null,Hc=ml,o=xm(),$c(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,m=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&&++m===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;Wc={focusedElem:o,selectionRange:l},ml=!1,za=null,Ql=!1,G=n;do try{gE()}catch(F){if(G===null)throw Error(N(330));$r(G,F),G=G.nextEffect}while(G!==null);za=null,G=n;do try{for(o=e;G!==null;){var g=G.flags;if(g&16&&Ji(G.stateNode,""),g&128){var b=G.alternate;if(b!==null){var x=b.ref;x!==null&&(typeof x=="function"?x(null):x.current=null)}}switch(g&1038){case 2:V0(G),G.flags&=-3;break;case 6:V0(G),G.flags&=-3,Tf(G.alternate,G);break;case 1024:G.flags&=-1025;break;case 1028:G.flags&=-1025,Tf(G.alternate,G);break;case 4:Tf(G.alternate,G);break;case 8:l=G,j0(o,l);var k=l.alternate;$0(l),k!==null&&$0(k)}G=G.nextEffect}}catch(F){if(G===null)throw Error(N(330));$r(G,F),G=G.nextEffect}while(G!==null);if(x=Wc,b=xm(),g=x.focusedElem,o=x.selectionRange,b!==g&&g&&g.ownerDocument&&Sm(g.ownerDocument.documentElement,g)){for(o!==null&&$c(g)&&(b=o.start,x=o.end,x===void 0&&(x=b),"selectionStart"in g?(g.selectionStart=b,g.selectionEnd=Math.min(x,g.value.length)):(x=(b=g.ownerDocument||document)&&b.defaultView||window,x.getSelection&&(x=x.getSelection(),l=g.textContent.length,k=Math.min(o.start,l),o=o.end===void 0?k:Math.min(o.end,l),!x.extend&&k>o&&(l=o,o=k,k=l),l=bm(g,k),a=bm(g,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(),k>o?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),x.addRange(b)))))),b=[],x=g;x=x.parentNode;)x.nodeType===1&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<b.length;g++)x=b[g],x.element.scrollLeft=x.left,x.element.scrollTop=x.top}ml=!!Hc,Wc=Hc=null,e.current=r,G=n;do try{for(g=e;G!==null;){var _=G.flags;if(_&36&&cE(g,G.alternate,G),_&128){b=void 0;var T=G.ref;if(T!==null){var O=G.stateNode;switch(G.tag){case 5:b=O;break;default:b=O}typeof T=="function"?T(b):T.current=b}}G=G.nextEffect}}catch(F){if(G===null)throw Error(N(330));$r(G,F),G=G.nextEffect}while(G!==null);G=null,QC(),Q=i}else e.current=r;if(Lr)Lr=!1,Ra=e,La=t;else for(G=n;G!==null;)t=G.nextEffect,G.nextEffect=null,G.flags&8&&(_=G,_.sibling=null,_.stateNode=null),G=t;if(n=e.pendingLanes,n===0&&(Zt=null),n===1?e===Bf?Ba++:(Ba=0,Bf=e):Ba=0,r=r.stateNode,un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(Xc,r,void 0,(r.current.flags&64)===64)}catch{}if(Pt(e,Ke()),Xl)throw Xl=!1,e=If,If=null,e;return(Q&8)!==0||Gt(),null}function gE(){for(;G!==null;){var e=G.alternate;Ql||za===null||((G.flags&8)!==0?Vh(G,za)&&(Ql=!0):G.tag===13&&fE(e,G)&&Vh(G,za)&&(Ql=!0));var t=G.flags;(t&256)!==0&&uE(e,G),(t&512)===0||Lr||(Lr=!0,Sa(97,function(){return Dr(),null})),G=G.nextEffect}}function Dr(){if(La!==90){var e=97<La?97:La;return La=90,cn(e,bE)}return!1}function yE(e,t){Rf.push(t,e),Lr||(Lr=!0,Sa(97,function(){return Dr(),null}))}function q0(e,t){Lf.push(t,e),Lr||(Lr=!0,Sa(97,function(){return Dr(),null}))}function bE(){if(Ra===null)return!1;var e=Ra;if(Ra=null,(Q&48)!==0)throw Error(N(331));var t=Q;Q|=32;var r=Lf;Lf=[];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));$r(a,s)}}for(r=Rf,Rf=[],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));$r(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 Q=t,Gt(),!0}function Q0(e,t,r){t=wf(r,t),t=R0(e,t,1),Ir(e,t),t=mt(),e=Jl(e,1),e!==null&&(hl(e,1,t),Pt(e,t))}function $r(e,t){if(e.tag===3)Q0(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){Q0(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Zt===null||!Zt.has(n))){e=wf(t,e);var i=L0(r,e,1);if(Ir(r,i),i=mt(),r=Jl(r,1),r!==null)hl(r,1,i),Pt(r,i);else if(typeof n.componentDidCatch=="function"&&(Zt===null||!Zt.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function SE(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=mt(),e.pingedLanes|=e.suspendedLanes&r,tt===e&&(Ze&r)===r&&(He===4||He===3&&(Ze&62914560)===Ze&&500>Ke()-Of?di(e,0):Af|=r),Pt(e,t)}function xE(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=ni()===99?1:2:(sr===0&&(sr=si),t=Yn(62914560&~sr),t===0&&(t=4194304))),r=mt(),e=Jl(e,t),e!==null&&(hl(e,t,r),Pt(e,r))}var J0;J0=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||st.current)Lt=!0;else if((r&n)!==0)Lt=(e.flags&16384)!==0;else{switch(Lt=!1,t.tag){case 3:E0(t),uf();break;case 5:a0(t);break;case 1:ut(t.type)&&Pl(t);break;case 4:of(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Ce(Ol,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?k0(e,t,r):(Ce(Ee,Ee.current&1),t=or(e,t,r),t!==null?t.sibling:null);Ce(Ee,Ee.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return F0(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ce(Ee,Ee.current),n)break;return null;case 23:case 24:return t.lanes=0,gf(e,t,r)}return or(e,t,r)}else Lt=!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=ri(t,Ye.current),ai(t,r),i=df(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,ut(n)){var a=!0;Pl(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,nf(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&Rl(t,n,o,e),i.updater=Ll,t.stateNode=i,i._reactInternals=t,af(t,n,e,r),t=bf(null,t,n,!0,a,r)}else t.tag=0,ft(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=CE(i),e=Rt(i,e),a){case 0:t=yf(null,t,i,e,r);break e;case 1:t=C0(null,t,i,e,r);break e;case 11:t=b0(null,t,i,e,r);break e;case 14:t=S0(null,t,i,Rt(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:Rt(n,i),yf(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Rt(n,i),C0(e,t,n,i,r);case 3:if(E0(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,Zm(e,t),xa(t,n,null,r),n=t.memoizedState.element,n===i)uf(),t=or(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(Rr=Qn(t.stateNode.containerInfo.firstChild),ar=t,a=Kt=!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=i0(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else ft(e,t,n,r),uf();t=t.child}return t;case 5:return a0(t),e===null&&sf(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Uc(n,i)?o=null:a!==null&&Uc(n,a)&&(t.flags|=16),w0(e,t),ft(e,t,o,r),t.child;case 6:return e===null&&sf(t),null;case 13:return k0(e,t,r);case 4:return of(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Dl(t,null,n,r):ft(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Rt(n,i),b0(e,t,n,i,r);case 7:return ft(e,t,t.pendingProps,r),t.child;case 8:return ft(e,t,t.pendingProps.children,r),t.child;case 12:return ft(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(Ce(Ol,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=kt(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!st.current){t=or(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=Mr(-1,r&-r),u.tag=2,Ir(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),Xm(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}ft(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,ai(t,r),i=Tt(i,a.unstable_observedBits),n=n(i),t.flags|=1,ft(e,t,n,r),t.child;case 14:return i=t.type,a=Rt(i,t.pendingProps),a=Rt(i.type,a),S0(e,t,i,a,n,r);case 15:return x0(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Rt(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ut(n)?(e=!0,Pl(t)):e=!1,ai(t,r),t0(t,n,i),af(t,n,i,r),bf(null,t,n,!0,e,r);case 19:return F0(e,t,r);case 23:return gf(e,t,r);case 24:return gf(e,t,r)}throw Error(N(156,t.tag))};function wE(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 At(e,t,r,n){return new wE(e,t,r,n)}function $f(e){return e=e.prototype,!(!e||!e.isReactComponent)}function CE(e){if(typeof e=="function")return $f(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rl)return 11;if(e===il)return 14}return 2}function Nr(e,t){var r=e.alternate;return r===null?(r=At(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 ts(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")$f(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case xr:return pi(r.children,i,a,t);case bh:o=8,i|=16;break;case Ku:o=8,i|=1;break;case Xi:return e=At(12,r,t,i|8),e.elementType=Xi,e.type=Xi,e.lanes=a,e;case Zi:return e=At(13,r,t,i),e.type=Zi,e.elementType=Zi,e.lanes=a,e;case nl:return e=At(19,r,t,i),e.elementType=nl,e.lanes=a,e;case ec:return Nf(r,i,a,t);case tc:return e=At(24,r,t,i),e.elementType=tc,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Xu:o=10;break e;case Zu:o=9;break e;case rl:o=11;break e;case il:o=14;break e;case qu:o=16,n=null;break e;case Qu:o=22;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=At(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function pi(e,t,r,n){return e=At(7,e,n,t),e.lanes=r,e}function Nf(e,t,r,n){return e=At(23,e,n,t),e.elementType=ec,e.lanes=r,e}function Vf(e,t,r){return e=At(6,e,null,t),e.lanes=r,e}function jf(e,t,r){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function EE(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=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.mutableSourceEagerHydrationData=null}function kE(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:nn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function rs(e,t,r,n){var i=t.current,a=mt(),o=Br(i);e:if(r){r=r._reactInternals;t:{if(on(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(ut(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(ut(s)){r=$m(r,s,l);break e}}r=l}else r=Fr;return t.context===null?t.context=r:t.pendingContext=r,t=Mr(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Ir(i,t),zr(i,o,a),o}function Hf(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 eg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Wf(e,t){eg(e,t),(e=e.alternate)&&eg(e,t)}function TE(){return null}function Uf(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new EE(e,t,r!=null&&r.hydrate===!0),t=At(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,nf(t),e[Jn]=r.current,Pm(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}Uf.prototype.render=function(e){rs(e,this._internalRoot,null,null)},Uf.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;rs(null,e,null,function(){t[Jn]=null})};function $a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _E(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 Uf(e,0,t?{hydrate:!0}:void 0)}function ns(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=Hf(o);l.call(u)}}rs(t,o,e,i)}else{if(a=r._reactRootContainer=_E(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var u=Hf(o);s.call(u)}}G0(function(){rs(t,o,e,i)})}return Hf(o)}jh=function(e){if(e.tag===13){var t=mt();zr(e,4,t),Wf(e,4)}},xc=function(e){if(e.tag===13){var t=mt();zr(e,67108864,t),Wf(e,67108864)}},Hh=function(e){if(e.tag===13){var t=mt(),r=Br(e);zr(e,r,t),Wf(e,r)}},Wh=function(e,t){return t()},vc=function(e,t,r){switch(t){case"input":if(ac(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=Tl(n);if(!i)throw Error(N(90));wh(n),ac(n,i)}}}break;case"textarea":_h(e,r);break;case"select":t=r.value,t!=null&&jn(e,!!r.multiple,t,!1)}},hc=U0,Bh=function(e,t,r,n,i){var a=Q;Q|=4;try{return cn(98,e.bind(null,t,r,n,i))}finally{Q=a,Q===0&&(ci(),Gt())}},mc=function(){(Q&49)===0&&(pE(),Dr())},zh=function(e,t){var r=Q;Q|=2;try{return e(t)}finally{Q=r,Q===0&&(ci(),Gt())}};function tg(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$a(t))throw Error(N(200));return kE(e,t,null,r)}var PE={Events:[ba,ei,Tl,Rh,Lh,Dr,{current:!1}]},Na={findFiberByHostInstance:ln,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},AE={bundleType:Na.bundleType,version:Na.version,rendererPackageName:Na.rendererPackageName,rendererConfig:Na.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Nh(e),e===null?null:e.stateNode},findFiberByHostInstance:Na.findFiberByHostInstance||TE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!is.isDisabled&&is.supportsFiber)try{Xc=is.inject(AE),un=is}catch{}}Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=PE,Et.createPortal=tg,Et.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=Nh(t),e=e===null?null:e.stateNode,e},Et.flushSync=function(e,t){var r=Q;if((r&48)!==0)return e(t);Q|=1;try{if(e)return cn(99,e.bind(null,t))}finally{Q=r,Gt()}},Et.hydrate=function(e,t,r){if(!$a(t))throw Error(N(200));return ns(null,e,t,!0,r)},Et.render=function(e,t,r){if(!$a(t))throw Error(N(200));return ns(null,e,t,!1,r)},Et.unmountComponentAtNode=function(e){if(!$a(e))throw Error(N(40));return e._reactRootContainer?(G0(function(){ns(null,null,e,!1,function(){e._reactRootContainer=null,e[Jn]=null})}),!0):!1},Et.unstable_batchedUpdates=U0,Et.unstable_createPortal=function(e,t){return tg(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},Et.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!$a(r))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return ns(e,t,r,!1,n)},Et.version="17.0.2";function rg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rg)}catch(e){console.error(e)}}rg(),Wu.exports=Et;var ng=en({strict:!1,name:"PortalManagerContext"}),FE=ng[0],OE=ng[1];function ME(e){var t=e.children,r=e.zIndex;return w.createElement(FE,{value:{zIndex:r}},t)}function Gf(){return Gf=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},Gf.apply(this,arguments)}function IE(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 RE=["containerRef"],ig=en({strict:!1,name:"PortalContext"}),ag=ig[0],LE=ig[1],Yf="chakra-portal",BE=".chakra-portal",zE=function(t){return w.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},DE=function(t){var r=t.appendToParentPortal,n=t.children,i=w.useRef(null),a=w.useRef(null),o=fh(),l=LE(),s=OE();Gi(function(){if(!!i.current){var c=i.current.ownerDocument,d=r&&l!=null?l:c.body;if(!!d){a.current=c.createElement("div"),a.current.className=Yf,d.appendChild(a.current),o();var f=a.current;return function(){d.contains(f)&&d.removeChild(f)}}}},[]);var u=s!=null&&s.zIndex?w.createElement(zE,{zIndex:s==null?void 0:s.zIndex},n):n;return a.current?Wu.exports.createPortal(w.createElement(ag,{value:a.current},u),a.current):w.createElement("span",{ref:i})},$E=function(t){var r=t.children,n=t.containerRef,i=t.appendToParentPortal,a=n.current,o=a!=null?a:Dn?document.body:void 0,l=w.useMemo(function(){var u=a==null?void 0:a.ownerDocument.createElement("div");return u&&(u.className=Yf),u},[a]),s=fh();return Gi(function(){s()},[]),Gi(function(){if(!(!l||!o))return o.appendChild(l),function(){o.removeChild(l)}},[l,o]),o&&l?Wu.exports.createPortal(w.createElement(ag,{value:i?l:null},r),l):null};function as(e){var t=e.containerRef,r=IE(e,RE);return t?w.createElement($E,Gf({containerRef:t},r)):w.createElement(DE,r)}as.defaultProps={appendToParentPortal:!0},as.className=Yf,as.selector=BE;var os={exports:{}},Va={};/** @license React v17.0.2
|
|
311
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}He!==5&&(He=2),s=wf(s,l),f=o;do{switch(f.tag){case 3:a=s,f.flags|=4096,t&=-t,f.lanes|=t;var k=I0(f,a,t);qm(f,k);break e;case 1:a=s;var _=f.type,T=f.stateNode;if((f.flags&64)===0&&(typeof _.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(Zt===null||!Zt.has(T)))){f.flags|=4096,t&=-t,f.lanes|=t;var O=L0(f,a,t);qm(f,O);break e}}f=f.return}while(f!==null)}Z0(r)}catch(F){t=F,Me===r&&r!==null&&(Me=r=r.return);continue}break}while(1)}function K0(){var e=Yl.current;return Yl.current=Ul,e===null?Ul:e}function Da(e,t){var r=Q;Q|=16;var n=K0();tt===e&&Ze===t||di(e,t);do try{hE();break}catch(i){Y0(e,i)}while(1);if(tf(),Q=r,Yl.current=n,Me!==null)throw Error(N(261));return tt=null,Ze=0,He}function hE(){for(;Me!==null;)X0(Me)}function mE(){for(;Me!==null&&!qC();)X0(Me)}function X0(e){var t=J0(e.alternate,e,vn);e.memoizedProps=e.pendingProps,t===null?Z0(e):Me=t,_f.current=null}function Z0(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=oE(r,t,vn),r!==null){Me=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(vn&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=lE(t),r!==null){r.flags&=2047,Me=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);He===0&&(He=5)}function hn(e){var t=ni();return cn(99,gE.bind(null,e,t)),null}function gE(e,t){do Dr();while(Ia!==null);if((Q&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-Tr(a),u=1<<s;i[s]=0,o[s]=-1,l[s]=-1,a&=~u}if(lr!==null&&(n&24)===0&&lr.has(e)&&lr.delete(e),e===tt&&(Me=tt=null,Ze=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Q,Q|=32,_f.current=null,Hc=ml,o=xm(),$c(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,m=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&&++m===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;Wc={focusedElem:o,selectionRange:l},ml=!1,za=null,Ql=!1,G=n;do try{yE()}catch(F){if(G===null)throw Error(N(330));$r(G,F),G=G.nextEffect}while(G!==null);za=null,G=n;do try{for(o=e;G!==null;){var g=G.flags;if(g&16&&Ji(G.stateNode,""),g&128){var b=G.alternate;if(b!==null){var x=b.ref;x!==null&&(typeof x=="function"?x(null):x.current=null)}}switch(g&1038){case 2:V0(G),G.flags&=-3;break;case 6:V0(G),G.flags&=-3,Tf(G.alternate,G);break;case 1024:G.flags&=-1025;break;case 1028:G.flags&=-1025,Tf(G.alternate,G);break;case 4:Tf(G.alternate,G);break;case 8:l=G,j0(o,l);var k=l.alternate;$0(l),k!==null&&$0(k)}G=G.nextEffect}}catch(F){if(G===null)throw Error(N(330));$r(G,F),G=G.nextEffect}while(G!==null);if(x=Wc,b=xm(),g=x.focusedElem,o=x.selectionRange,b!==g&&g&&g.ownerDocument&&Sm(g.ownerDocument.documentElement,g)){for(o!==null&&$c(g)&&(b=o.start,x=o.end,x===void 0&&(x=b),"selectionStart"in g?(g.selectionStart=b,g.selectionEnd=Math.min(x,g.value.length)):(x=(b=g.ownerDocument||document)&&b.defaultView||window,x.getSelection&&(x=x.getSelection(),l=g.textContent.length,k=Math.min(o.start,l),o=o.end===void 0?k:Math.min(o.end,l),!x.extend&&k>o&&(l=o,o=k,k=l),l=bm(g,k),a=bm(g,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(),k>o?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),x.addRange(b)))))),b=[],x=g;x=x.parentNode;)x.nodeType===1&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<b.length;g++)x=b[g],x.element.scrollLeft=x.left,x.element.scrollTop=x.top}ml=!!Hc,Wc=Hc=null,e.current=r,G=n;do try{for(g=e;G!==null;){var _=G.flags;if(_&36&&fE(g,G.alternate,G),_&128){b=void 0;var T=G.ref;if(T!==null){var O=G.stateNode;switch(G.tag){case 5:b=O;break;default:b=O}typeof T=="function"?T(b):T.current=b}}G=G.nextEffect}}catch(F){if(G===null)throw Error(N(330));$r(G,F),G=G.nextEffect}while(G!==null);G=null,JC(),Q=i}else e.current=r;if(Lr)Lr=!1,Ia=e,La=t;else for(G=n;G!==null;)t=G.nextEffect,G.nextEffect=null,G.flags&8&&(_=G,_.sibling=null,_.stateNode=null),G=t;if(n=e.pendingLanes,n===0&&(Zt=null),n===1?e===Bf?Ba++:(Ba=0,Bf=e):Ba=0,r=r.stateNode,un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(Xc,r,void 0,(r.current.flags&64)===64)}catch{}if(Pt(e,Ke()),Xl)throw Xl=!1,e=Rf,Rf=null,e;return(Q&8)!==0||Gt(),null}function yE(){for(;G!==null;){var e=G.alternate;Ql||za===null||((G.flags&8)!==0?Vh(G,za)&&(Ql=!0):G.tag===13&&dE(e,G)&&Vh(G,za)&&(Ql=!0));var t=G.flags;(t&256)!==0&&cE(e,G),(t&512)===0||Lr||(Lr=!0,Sa(97,function(){return Dr(),null})),G=G.nextEffect}}function Dr(){if(La!==90){var e=97<La?97:La;return La=90,cn(e,SE)}return!1}function bE(e,t){If.push(t,e),Lr||(Lr=!0,Sa(97,function(){return Dr(),null}))}function q0(e,t){Lf.push(t,e),Lr||(Lr=!0,Sa(97,function(){return Dr(),null}))}function SE(){if(Ia===null)return!1;var e=Ia;if(Ia=null,(Q&48)!==0)throw Error(N(331));var t=Q;Q|=32;var r=Lf;Lf=[];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));$r(a,s)}}for(r=If,If=[],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));$r(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 Q=t,Gt(),!0}function Q0(e,t,r){t=wf(r,t),t=I0(e,t,1),Rr(e,t),t=mt(),e=Jl(e,1),e!==null&&(hl(e,1,t),Pt(e,t))}function $r(e,t){if(e.tag===3)Q0(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){Q0(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Zt===null||!Zt.has(n))){e=wf(t,e);var i=L0(r,e,1);if(Rr(r,i),i=mt(),r=Jl(r,1),r!==null)hl(r,1,i),Pt(r,i);else if(typeof n.componentDidCatch=="function"&&(Zt===null||!Zt.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function xE(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=mt(),e.pingedLanes|=e.suspendedLanes&r,tt===e&&(Ze&r)===r&&(He===4||He===3&&(Ze&62914560)===Ze&&500>Ke()-Of?di(e,0):Af|=r),Pt(e,t)}function wE(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=ni()===99?1:2:(sr===0&&(sr=si),t=Yn(62914560&~sr),t===0&&(t=4194304))),r=mt(),e=Jl(e,t),e!==null&&(hl(e,t,r),Pt(e,r))}var J0;J0=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||st.current)Lt=!0;else if((r&n)!==0)Lt=(e.flags&16384)!==0;else{switch(Lt=!1,t.tag){case 3:E0(t),uf();break;case 5:a0(t);break;case 1:ut(t.type)&&Pl(t);break;case 4:of(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Ce(Ol,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?k0(e,t,r):(Ce(Ee,Ee.current&1),t=or(e,t,r),t!==null?t.sibling:null);Ce(Ee,Ee.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return F0(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ce(Ee,Ee.current),n)break;return null;case 23:case 24:return t.lanes=0,gf(e,t,r)}return or(e,t,r)}else Lt=!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=ri(t,Ye.current),ai(t,r),i=df(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,ut(n)){var a=!0;Pl(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,nf(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&Il(t,n,o,e),i.updater=Ll,t.stateNode=i,i._reactInternals=t,af(t,n,e,r),t=bf(null,t,n,!0,a,r)}else t.tag=0,ft(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=EE(i),e=It(i,e),a){case 0:t=yf(null,t,i,e,r);break e;case 1:t=C0(null,t,i,e,r);break e;case 11:t=b0(null,t,i,e,r);break e;case 14:t=S0(null,t,i,It(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:It(n,i),yf(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:It(n,i),C0(e,t,n,i,r);case 3:if(E0(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,Zm(e,t),xa(t,n,null,r),n=t.memoizedState.element,n===i)uf(),t=or(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(Ir=Qn(t.stateNode.containerInfo.firstChild),ar=t,a=Kt=!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=i0(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else ft(e,t,n,r),uf();t=t.child}return t;case 5:return a0(t),e===null&&sf(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Uc(n,i)?o=null:a!==null&&Uc(n,a)&&(t.flags|=16),w0(e,t),ft(e,t,o,r),t.child;case 6:return e===null&&sf(t),null;case 13:return k0(e,t,r);case 4:return of(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Dl(t,null,n,r):ft(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:It(n,i),b0(e,t,n,i,r);case 7:return ft(e,t,t.pendingProps,r),t.child;case 8:return ft(e,t,t.pendingProps.children,r),t.child;case 12:return ft(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(Ce(Ol,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=kt(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!st.current){t=or(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=Mr(-1,r&-r),u.tag=2,Rr(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),Xm(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}ft(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,ai(t,r),i=Tt(i,a.unstable_observedBits),n=n(i),t.flags|=1,ft(e,t,n,r),t.child;case 14:return i=t.type,a=It(i,t.pendingProps),a=It(i.type,a),S0(e,t,i,a,n,r);case 15:return x0(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:It(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ut(n)?(e=!0,Pl(t)):e=!1,ai(t,r),t0(t,n,i),af(t,n,i,r),bf(null,t,n,!0,e,r);case 19:return F0(e,t,r);case 23:return gf(e,t,r);case 24:return gf(e,t,r)}throw Error(N(156,t.tag))};function CE(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 At(e,t,r,n){return new CE(e,t,r,n)}function $f(e){return e=e.prototype,!(!e||!e.isReactComponent)}function EE(e){if(typeof e=="function")return $f(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rl)return 11;if(e===il)return 14}return 2}function Nr(e,t){var r=e.alternate;return r===null?(r=At(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 ts(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")$f(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case xr:return pi(r.children,i,a,t);case bh:o=8,i|=16;break;case Ku:o=8,i|=1;break;case Xi:return e=At(12,r,t,i|8),e.elementType=Xi,e.type=Xi,e.lanes=a,e;case Zi:return e=At(13,r,t,i),e.type=Zi,e.elementType=Zi,e.lanes=a,e;case nl:return e=At(19,r,t,i),e.elementType=nl,e.lanes=a,e;case ec:return Nf(r,i,a,t);case tc:return e=At(24,r,t,i),e.elementType=tc,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Xu:o=10;break e;case Zu:o=9;break e;case rl:o=11;break e;case il:o=14;break e;case qu:o=16,n=null;break e;case Qu:o=22;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=At(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function pi(e,t,r,n){return e=At(7,e,n,t),e.lanes=r,e}function Nf(e,t,r,n){return e=At(23,e,n,t),e.elementType=ec,e.lanes=r,e}function Vf(e,t,r){return e=At(6,e,null,t),e.lanes=r,e}function jf(e,t,r){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kE(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=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.mutableSourceEagerHydrationData=null}function TE(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:nn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function rs(e,t,r,n){var i=t.current,a=mt(),o=Br(i);e:if(r){r=r._reactInternals;t:{if(on(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(ut(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(ut(s)){r=$m(r,s,l);break e}}r=l}else r=Fr;return t.context===null?t.context=r:t.pendingContext=r,t=Mr(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Rr(i,t),zr(i,o,a),o}function Hf(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 eg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Wf(e,t){eg(e,t),(e=e.alternate)&&eg(e,t)}function _E(){return null}function Uf(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new kE(e,t,r!=null&&r.hydrate===!0),t=At(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,nf(t),e[Jn]=r.current,Pm(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}Uf.prototype.render=function(e){rs(e,this._internalRoot,null,null)},Uf.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;rs(null,e,null,function(){t[Jn]=null})};function $a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function PE(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 Uf(e,0,t?{hydrate:!0}:void 0)}function ns(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=Hf(o);l.call(u)}}rs(t,o,e,i)}else{if(a=r._reactRootContainer=PE(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var u=Hf(o);s.call(u)}}G0(function(){rs(t,o,e,i)})}return Hf(o)}jh=function(e){if(e.tag===13){var t=mt();zr(e,4,t),Wf(e,4)}},xc=function(e){if(e.tag===13){var t=mt();zr(e,67108864,t),Wf(e,67108864)}},Hh=function(e){if(e.tag===13){var t=mt(),r=Br(e);zr(e,r,t),Wf(e,r)}},Wh=function(e,t){return t()},vc=function(e,t,r){switch(t){case"input":if(ac(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=Tl(n);if(!i)throw Error(N(90));wh(n),ac(n,i)}}}break;case"textarea":_h(e,r);break;case"select":t=r.value,t!=null&&jn(e,!!r.multiple,t,!1)}},hc=U0,Bh=function(e,t,r,n,i){var a=Q;Q|=4;try{return cn(98,e.bind(null,t,r,n,i))}finally{Q=a,Q===0&&(ci(),Gt())}},mc=function(){(Q&49)===0&&(vE(),Dr())},zh=function(e,t){var r=Q;Q|=2;try{return e(t)}finally{Q=r,Q===0&&(ci(),Gt())}};function tg(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$a(t))throw Error(N(200));return TE(e,t,null,r)}var AE={Events:[ba,ei,Tl,Ih,Lh,Dr,{current:!1}]},Na={findFiberByHostInstance:ln,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},FE={bundleType:Na.bundleType,version:Na.version,rendererPackageName:Na.rendererPackageName,rendererConfig:Na.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Nh(e),e===null?null:e.stateNode},findFiberByHostInstance:Na.findFiberByHostInstance||_E,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!is.isDisabled&&is.supportsFiber)try{Xc=is.inject(FE),un=is}catch{}}Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=AE,Et.createPortal=tg,Et.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=Nh(t),e=e===null?null:e.stateNode,e},Et.flushSync=function(e,t){var r=Q;if((r&48)!==0)return e(t);Q|=1;try{if(e)return cn(99,e.bind(null,t))}finally{Q=r,Gt()}},Et.hydrate=function(e,t,r){if(!$a(t))throw Error(N(200));return ns(null,e,t,!0,r)},Et.render=function(e,t,r){if(!$a(t))throw Error(N(200));return ns(null,e,t,!1,r)},Et.unmountComponentAtNode=function(e){if(!$a(e))throw Error(N(40));return e._reactRootContainer?(G0(function(){ns(null,null,e,!1,function(){e._reactRootContainer=null,e[Jn]=null})}),!0):!1},Et.unstable_batchedUpdates=U0,Et.unstable_createPortal=function(e,t){return tg(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},Et.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!$a(r))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return ns(e,t,r,!1,n)},Et.version="17.0.2";function rg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rg)}catch(e){console.error(e)}}rg(),Wu.exports=Et;var ng=en({strict:!1,name:"PortalManagerContext"}),OE=ng[0],ME=ng[1];function RE(e){var t=e.children,r=e.zIndex;return w.createElement(OE,{value:{zIndex:r}},t)}function Gf(){return Gf=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},Gf.apply(this,arguments)}function IE(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 LE=["containerRef"],ig=en({strict:!1,name:"PortalContext"}),ag=ig[0],BE=ig[1],Yf="chakra-portal",zE=".chakra-portal",DE=function(t){return w.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},$E=function(t){var r=t.appendToParentPortal,n=t.children,i=w.useRef(null),a=w.useRef(null),o=fh(),l=BE(),s=ME();Gi(function(){if(!!i.current){var c=i.current.ownerDocument,d=r&&l!=null?l:c.body;if(!!d){a.current=c.createElement("div"),a.current.className=Yf,d.appendChild(a.current),o();var f=a.current;return function(){d.contains(f)&&d.removeChild(f)}}}},[]);var u=s!=null&&s.zIndex?w.createElement(DE,{zIndex:s==null?void 0:s.zIndex},n):n;return a.current?Wu.exports.createPortal(w.createElement(ag,{value:a.current},u),a.current):w.createElement("span",{ref:i})},NE=function(t){var r=t.children,n=t.containerRef,i=t.appendToParentPortal,a=n.current,o=a!=null?a:Dn?document.body:void 0,l=w.useMemo(function(){var u=a==null?void 0:a.ownerDocument.createElement("div");return u&&(u.className=Yf),u},[a]),s=fh();return Gi(function(){s()},[]),Gi(function(){if(!(!l||!o))return o.appendChild(l),function(){o.removeChild(l)}},[l,o]),o&&l?Wu.exports.createPortal(w.createElement(ag,{value:i?l:null},r),l):null};function as(e){var t=e.containerRef,r=IE(e,LE);return t?w.createElement(NE,Gf({containerRef:t},r)):w.createElement($E,r)}as.defaultProps={appendToParentPortal:!0},as.className=Yf,as.selector=zE;var os={exports:{}},Va={};/** @license React v17.0.2
|
|
312
312
|
* react-jsx-runtime.production.min.js
|
|
313
313
|
*
|
|
314
314
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
315
315
|
*
|
|
316
316
|
* This source code is licensed under the MIT license found in the
|
|
317
317
|
* LICENSE file in the root directory of this source tree.
|
|
318
|
-
*/var NE=br.default,og=60103;if(Va.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var lg=Symbol.for;og=lg("react.element"),Va.Fragment=lg("react.fragment")}var VE=NE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jE=Object.prototype.hasOwnProperty,HE={key:!0,ref:!0,__self:!0,__source:!0};function sg(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)jE.call(t,n)&&!HE.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:og,type:e,key:a,ref:o,props:i,_owner:VE.current}}Va.jsx=sg,Va.jsxs=sg,os.exports=Va;const P=os.exports.jsx,re=os.exports.jsxs,Kf=os.exports.Fragment;var WE={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[]}}}},ug=WE,vi=function(){},UE={document:ug,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:vi,removeEventListener:vi,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:vi,removeListener:vi}},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:vi,setInterval:function(){return 0},clearInterval:vi},GE=UE,YE={window:GE,document:ug},cg=Dn?{window,document}:YE,fg=M.createContext(cg);function KE(){return M.useContext(fg)}function XE(e){var t=e.children,r=e.environment,n=M.useState(null),i=n[0],a=n[1],o=M.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:cg;return f},[i,r]),l=!i&&!r;return re(fg.Provider,{value:o,children:[t,l&&P("span",{ref:function(u){u&&a(u)}})]})}var ls={light:"chakra-ui-light",dark:"chakra-ui-dark"},ZE={classList:{add:Ui,remove:Ui}},qE=function(t){return Dn?t.body:ZE};function QE(e,t){var r=qE(t);r.classList.add(e?ls.dark:ls.light),r.classList.remove(e?ls.light:ls.dark)}function JE(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var dg={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function ek(e){var t,r=(t=JE(dg.dark))!=null?t:e==="dark";return r?"dark":"light"}function tk(e){if(!("matchMedia"in window))return Ui;var t=window.matchMedia(dg.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var pg={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){Dn&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},vg=function(){return typeof Storage!="undefined"},hg="chakra-ui-color-mode",rk={get:function(t){if(!vg())return t;try{var r=localStorage.getItem(hg);return r!=null?r:t}catch{return t}},set:function(t){if(!!vg())try{localStorage.setItem(hg,t)}catch{}},type:"localStorage"},mg=w.createContext({}),gg=function(){var t=w.useContext(mg);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function nk(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,a=n.initialColorMode,o=e.colorModeManager,l=o===void 0?rk:o,s=a==="dark"?"dark":"light",u=w.useState(l.type==="cookie"?l.get(s):s),c=u[0],d=u[1],f=KE(),p=f.document;w.useEffect(function(){if(Dn&&l.type==="localStorage"){var h=ek(s);if(i)return d(h);var g=pg.get(),b=l.get();return d(g||b||(a==="system"?h:s))}},[l,i,s,a]),w.useEffect(function(){var h=c==="dark";QE(h,p),pg.set(h?"dark":"light")},[c,p]);var m=w.useCallback(function(h,g){if(g===void 0&&(g=!1),!g)l.set(h);else if(l.get()&&!i)return;d(h)},[l,i]),y=w.useCallback(function(){m(c==="light"?"dark":"light")},[c,m]);w.useEffect(function(){var h=i||a==="system",g;return h&&(g=tk(m)),function(){g&&h&&g()}},[m,i,a]);var v=w.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Ui:y,setColorMode:t?Ui:m}},[c,m,y,t]);return w.createElement(mg.Provider,{value:v},r)}function ja(){return ja=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ja.apply(this,arguments)}var ik=function(t,r){return function(n){var i=String(r),a=t?t+"."+i:i;return lt(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:r}};function Ha(e){var t=e.scale,r=e.transform,n=e.compose,i=function(o,l){var s,u=ik(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 Bt(e,t){return function(r){var n={property:r,scale:e};return n.transform=Ha({scale:e,transform:t}),n}}var ak=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function ok(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:ak(t),transform:r?Ha({scale:r,compose:n}):n}}var Xf,Zf,yg=["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 lk(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(yg).join(" ")}function sk(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(yg).join(" ")}var uk={"--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(" ")},ck={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 fk(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 dk={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},bg="& > :not(style) ~ :not(style)",pk=(Xf={},Xf[bg]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},Xf),vk=(Zf={},Zf[bg]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},Zf);function ss(e,t){return ss=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ss(e,t)}function hk(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&&ss(e,t)}function qf(){qf=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)),ss(l,r.prototype)}hk(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 qf.apply(this,arguments)}var Qf={"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"},mk=new Set(Object.values(Qf)),Sg=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),gk=function(t){return t.trim()};function yk(e,t){var r,n;if(e==null||Sg.has(e))return e;var i=qf(/(^[\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(gk).filter(Boolean),c=u[0],d=u.slice(1);if((d==null?void 0:d.length)===0)return e;var f=c in Qf?Qf[c]:c;d.unshift(f);var p=d.map(function(m){if(mk.has(m))return m;var y=m.indexOf(" "),v=y!==-1?[m.substr(0,y),m.substr(y+1)]:[m],h=v[0],g=v[1],b=xg(g)?g:g&&g.split(" "),x="colors."+h,k=x in t.__cssMap?t.__cssMap[x].varRef:h;return b?[k].concat(Array.isArray(b)?b:[b]).join(" "):k});return s+"("+p.join(", ")+")"}var xg=function(t){return Bu(t)&&t.includes("(")&&t.includes(")")},bk=function(t,r){return yk(t,r!=null?r:{})},Sk=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},qt=function(t){return function(r){return t+"("+r+")"}},fe={filter:function(t){return t!=="auto"?t:uk},backdropFilter:function(t){return t!=="auto"?t:ck},ring:function(t){return fk(fe.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?lk():t==="auto-gpu"?sk():t},px:function(t){if(t==null)return t;var r=Sk(t),n=r.unitless;return n||Jr(t)?t+"px":t},fraction:function(t){return!Jr(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(Xv(t)||t==null)return t;var r=Bu(t)&&!t.endsWith("deg");return Jr(t)||r?t+"deg":t},gradient:bk,blur:qt("blur"),opacity:qt("opacity"),brightness:qt("brightness"),contrast:qt("contrast"),dropShadow:qt("drop-shadow"),grayscale:qt("grayscale"),hueRotate:qt("hue-rotate"),invert:qt("invert"),saturate:qt("saturate"),sepia:qt("sepia"),bgImage:function(t){if(t==null)return t;var r=xg(t)||Sg.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=dk[t])!=null?r:{},i=n.space,a=n.divide,o={flexDirection:t};return i&&(o[i]=1),a&&(o[a]=1),o}},C={borderWidths:Bt("borderWidths"),borderStyles:Bt("borderStyles"),colors:Bt("colors"),borders:Bt("borders"),radii:Bt("radii",fe.px),space:Bt("space",fe.px),spaceT:Bt("space",fe.px),degreeT:function(t){return{property:t,transform:fe.degree}},prop:function(t,r,n){return ja({property:t,scale:r},r&&{transform:Ha({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Bt("sizes",fe.px),sizesT:Bt("sizes",fe.fraction),shadows:Bt("shadows"),logical:ok,blur:Bt("blur",fe.blur)},us={background:C.colors("background"),backgroundColor:C.colors("backgroundColor"),backgroundImage:C.propT("backgroundImage",fe.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:fe.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",fe.gradient),bgClip:{transform:fe.bgClip}};Object.assign(us,{bgImage:us.backgroundImage,bgImg:us.backgroundImage});var le={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(le,{rounded:le.borderRadius,roundedTop:le.borderTopRadius,roundedTopLeft:le.borderTopLeftRadius,roundedTopRight:le.borderTopRightRadius,roundedTopStart:le.borderStartStartRadius,roundedTopEnd:le.borderStartEndRadius,roundedBottom:le.borderBottomRadius,roundedBottomLeft:le.borderBottomLeftRadius,roundedBottomRight:le.borderBottomRightRadius,roundedBottomStart:le.borderEndStartRadius,roundedBottomEnd:le.borderEndEndRadius,roundedLeft:le.borderLeftRadius,roundedRight:le.borderRightRadius,roundedStart:le.borderInlineStartRadius,roundedEnd:le.borderInlineEndRadius,borderStart:le.borderInlineStart,borderEnd:le.borderInlineEnd,borderTopStartRadius:le.borderStartStartRadius,borderTopEndRadius:le.borderStartEndRadius,borderBottomStartRadius:le.borderEndStartRadius,borderBottomEndRadius:le.borderEndEndRadius,borderStartRadius:le.borderInlineStartRadius,borderEndRadius:le.borderInlineEndRadius,borderStartWidth:le.borderInlineStartWidth,borderEndWidth:le.borderInlineEndWidth,borderStartColor:le.borderInlineStartColor,borderEndColor:le.borderInlineEndColor,borderStartStyle:le.borderInlineStartStyle,borderEndStyle:le.borderInlineEndStyle});var xk={color:C.colors("color"),textColor:C.colors("color"),fill:C.colors("fill"),stroke:C.colors("stroke")},Jf={boxShadow:C.shadows("boxShadow"),mixBlendMode:!0,blendMode:C.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:C.prop("backgroundBlendMode"),opacity:!0};Object.assign(Jf,{shadow:Jf.boxShadow});var wk={filter:{transform:fe.filter},blur:C.blur("--chakra-blur"),brightness:C.propT("--chakra-brightness",fe.brightness),contrast:C.propT("--chakra-contrast",fe.contrast),hueRotate:C.degreeT("--chakra-hue-rotate"),invert:C.propT("--chakra-invert",fe.invert),saturate:C.propT("--chakra-saturate",fe.saturate),dropShadow:C.propT("--chakra-drop-shadow",fe.dropShadow),backdropFilter:{transform:fe.backdropFilter},backdropBlur:C.blur("--chakra-backdrop-blur"),backdropBrightness:C.propT("--chakra-backdrop-brightness",fe.brightness),backdropContrast:C.propT("--chakra-backdrop-contrast",fe.contrast),backdropHueRotate:C.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:C.propT("--chakra-backdrop-invert",fe.invert),backdropSaturate:C.propT("--chakra-backdrop-saturate",fe.saturate)},cs={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:fe.flexDirection},experimental_spaceX:{static:pk,transform:Ha({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:vk,transform:Ha({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(cs,{flexDir:cs.flexDirection});var wg={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},Ck={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:fe.outline},outlineOffset:!0,outlineColor:C.colors("outlineColor")},Ft={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",fe.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ft,{w:Ft.width,h:Ft.height,minW:Ft.minWidth,maxW:Ft.maxWidth,minH:Ft.minHeight,maxH:Ft.maxHeight,overscroll:Ft.overscrollBehavior,overscrollX:Ft.overscrollBehaviorX,overscrollY:Ft.overscrollBehaviorY});var Ek={listStyleType:!0,listStylePosition:!0,listStylePos:C.prop("listStylePosition"),listStyleImage:!0,listStyleImg:C.prop("listStyleImage")},kk={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Tk={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},ed=function(t,r,n){var i={},a=Zo(t,r,{});for(var o in a){var l=o in n&&n[o]!=null;l||(i[o]=a[o])}return i},_k={srOnly:{transform:function(t){return t===!0?kk:t==="focusable"?Tk:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return ed(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return ed(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return ed(r,t,n)}}},Wa={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(Wa,{insetStart:Wa.insetInlineStart,insetEnd:Wa.insetInlineEnd});var Pk={ring:{transform:fe.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")},ye={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(ye,{m:ye.margin,mt:ye.marginTop,mr:ye.marginRight,me:ye.marginInlineEnd,marginEnd:ye.marginInlineEnd,mb:ye.marginBottom,ml:ye.marginLeft,ms:ye.marginInlineStart,marginStart:ye.marginInlineStart,mx:ye.marginX,my:ye.marginY,p:ye.padding,pt:ye.paddingTop,py:ye.paddingY,px:ye.paddingX,pb:ye.paddingBottom,pl:ye.paddingLeft,ps:ye.paddingInlineStart,paddingStart:ye.paddingInlineStart,pr:ye.paddingRight,pe:ye.paddingInlineEnd,paddingEnd:ye.paddingInlineEnd});var Ak={textDecorationColor:C.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:C.shadows("textShadow")},Fk={clipPath:!0,transform:C.propT("transform",fe.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")},Ok={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")},Mk={fontFamily:C.prop("fontFamily","fonts"),fontSize:C.prop("fontSize","fontSizes",fe.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"}}}},Ik={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 Cg(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 Rk(e,t){if(!!e){if(typeof e=="string")return Cg(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 Cg(e,t)}}function Lk(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=Rk(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.
|
|
319
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var We={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}},Vr=function(t){return Eg(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},ur=function(t){return Eg(function(r){return t(r,"~ &")},"[data-peer]",".peer")},Eg=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(", ")},Ua={_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:Vr(We.hover),_peerHover:ur(We.hover),_groupFocus:Vr(We.focus),_peerFocus:ur(We.focus),_groupFocusVisible:Vr(We.focusVisible),_peerFocusVisible:ur(We.focusVisible),_groupActive:Vr(We.active),_peerActive:ur(We.active),_groupDisabled:Vr(We.disabled),_peerDisabled:ur(We.disabled),_groupInvalid:Vr(We.invalid),_peerInvalid:ur(We.invalid),_groupChecked:Vr(We.checked),_peerChecked:ur(We.checked),_groupFocusWithin:Vr(We.focusWithin),_peerFocusWithin:ur(We.focusWithin),_peerPlaceholderShown:ur(We.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]"},Bk=$u(Ua),td=Ct({},us,le,xk,cs,Ft,wk,Pk,Ck,wg,_k,Wa,Jf,ye,Ik,Mk,Ak,Fk,Ek,Ok);Object.assign({},ye,Ft,cs,wg,Wa);var zk=[].concat($u(td),Bk),Dk=ja({},td,Ua),$k=function(t){return t in Dk},Nk=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=Wt(t[s],r);if(u!=null){if(u=lt(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}},Vk=function(t,r){return t.startsWith("--")&&Bu(r)&&!Xv(r)},jk=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 Hk(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=Wt(s,a),d=Nk(c)(a),f={};for(var p in d){var m,y,v,h,g,b=d[p],x=Wt(b,a);p in i&&(p=i[p]),Vk(p,x)&&(x=jk(a,x));var k=r[p];if(k===!0&&(k={property:p}),lt(x)){var _;f[p]=(_=f[p])!=null?_:{},f[p]=Ct({},f[p],l(x,!0));continue}var T=(m=(y=k)==null||y.transform==null?void 0:y.transform(x,a,c))!=null?m:x;T=(v=k)!=null&&v.processResult?l(T,!0):T;var O=Wt((h=k)==null?void 0:h.property,a);if(!u&&(g=k)!=null&&g.static){var F=Wt(k.static,a);f=Ct({},f,F)}if(O&&Array.isArray(O)){for(var H=Lk(O),J;!(J=H()).done;){var X=J.value;f[X]=T}continue}if(O){O==="&"&<(T)?f=Ct({},f,T):f[O]=T;continue}if(lt(T)){f=Ct({},f,T);continue}f[p]=T}return f};return o}var kg=function(t){return function(r){var n=Hk({theme:r,pseudos:Ua,configs:td});return n(t)}};function Tg(e){return lt(e)&&e.reference?e.reference:String(e)}var fs=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(Tg).join(" "+t+" ").replace(/calc/g,"")},_g=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["+"].concat(r))+")"},Pg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["-"].concat(r))+")"},rd=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["*"].concat(r))+")"},Ag=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["/"].concat(r))+")"},Fg=function(t){var r=Tg(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:rd(r,-1)},mn=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 mn(_g.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 mn(Pg.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 mn(rd.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 mn(Ag.apply(void 0,[e].concat(n)))},negate:function(){return mn(Fg(e))},toString:function(){return e.toString()}}},{add:_g,subtract:Pg,multiply:rd,divide:Ag,negate:Fg});function Wk(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Og(e){var t=Wk(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function Uk(e,t){return t===void 0&&(t=""),[t,Og(e)].filter(Boolean).join("-")}function Gk(e,t){return"var("+Og(e)+(t?", "+t:"")+")"}function Yk(e,t){return t===void 0&&(t=""),"--"+Uk(e,t)}function Kk(e,t,r){var n=Yk(e,r);return{variable:n,reference:Gk(n,t)}}function Mg(e,t){return Kk(String(e).replace(/\./g,"-"),void 0,t)}function Xk(e,t){for(var r={},n={},i=function(){var u=o[a],c=u[0],d=u[1],f=d.isSemantic,p=d.value,m=Mg(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!f){if(c.startsWith("space")){var h=c.split("."),g=h[0],b=h.slice(1),x=g+".-"+b.join("."),k=mn.negate(p),_=mn.negate(v);n[x]={value:k,var:y,varRef:_}}return r[y]=p,n[c]={value:p,var:y,varRef:v},"continue"}var T=function(H){var J=String(c).split(".")[0],X=[J,H].join("."),Z=e[X];if(!Z)return H;var q=Mg(X,t==null?void 0:t.cssVarPrefix),ne=q.reference;return ne},O=lt(p)?p:{default:p};r=Ct(r,Object.entries(O).reduce(function(F,H){var J,X,Z=H[0],q=H[1],ne=T(q);if(Z==="default")return F[y]=ne,F;var Re=(J=Ua==null?void 0:Ua[Z])!=null?J:Z;return F[Re]=(X={},X[y]=ne,X),F},{})),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 Zk(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 qk=["__cssMap","__cssVars","__breakpoints"],Qk=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Jk(e){var t=Qk;return Xw(e,t)}function e5(e){return e.semanticTokens}function t5(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=Zk(e,qk);return t}function r5(e){var t,r,n=e.tokens,i=e.semanticTokens,a=Object.entries((t=Hu(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=Hu(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return qo([].concat(a,o))}function n5(e){var t,r=t5(e),n=Jk(r),i=e5(r),a=r5({tokens:n,semanticTokens:i}),o=(t=r.config)==null?void 0:t.cssVarPrefix,l=Xk(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:ja({},c,u),__cssMap:s,__breakpoints:t2(r.breakpoints)}),r}var i5=typeof Element!="undefined",a5=typeof Map=="function",o5=typeof Set=="function",l5=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ds(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(!ds(e[n],t[n]))return!1;return!0}var a;if(a5&&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(!ds(n.value[1],t.get(n.value[0])))return!1;return!0}if(o5&&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(l5&&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(i5&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!ds(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var s5=function(t,r){try{return ds(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},u5=/^((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)-.*))$/,c5=Rv(function(e){return u5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),f5=c5,d5=function(t){return t!=="theme"},Ig=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?f5:d5},Rg=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},p5=w["useInsertionEffect"]?w["useInsertionEffect"]:function(t){t()};function v5(e){p5(e)}var h5=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Nv(r,n,i),v5(function(){return Vv(r,n,i)}),null},m5=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=Rg(t,r,n),s=l||Ig(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 m=Yv(function(y,v,h){var g=u&&y.as||i,b="",x=[],k=y;if(y.theme==null){k={};for(var _ in y)k[_]=y[_];k.theme=M.useContext(Wi)}typeof y.className=="string"?b=Iw(v.registered,x,y.className):y.className!=null&&(b=y.className+" ");var T=Mu(d.concat(x),v.registered,k);b+=v.key+"-"+T.name,o!==void 0&&(b+=" "+o);var O=u&&l===void 0?Ig(g):s,F={};for(var H in y)u&&H==="as"||O(H)&&(F[H]=y[H]);return F.className=b,F.ref=h,M.createElement(M.Fragment,null,M.createElement(h5,{cache:v,serialized:T,isStringTag:typeof g=="string"}),M.createElement(g,F))});return m.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(y,v){return e(y,Qr({},r,v,{shouldForwardProp:Rg(m,v,!0)})).apply(void 0,d)},m}},g5=["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"],nd=m5.bind();g5.forEach(function(e){nd[e]=nd(e)});function id(){return id=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},id.apply(this,arguments)}var y5=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,a=w.useMemo(function(){return n5(n)},[n]);return w.createElement(Vw,{theme:a},w.createElement(b5,{root:r}),i)},b5=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return w.createElement(Iu,{styles:function(o){var l;return l={},l[i]=o.__cssVars,l}})};function S5(){var e=w.useContext(Wi);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Lg=en({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),x5=Lg[0],hi=Lg[1],w5=function(){var t=gg(),r=t.colorMode;return w.createElement(Iu,{styles:function(i){var a=Zo(i,"styles.global"),o=Wt(a,{theme:i,colorMode:r});if(!!o){var l=kg(o)(i);return l}}})};function gn(e){return zu(e,["styleConfig","size","variant","colorScheme"])}function C5(){var e=gg(),t=S5();return id({},e,{theme:t})}function ad(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 E5=new Set([].concat(zk,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),k5=new Set(["htmlWidth","htmlHeight","htmlSize"]),T5=function(t){return k5.has(t)||!E5.has(t)},_5=["theme","css","__css","sx"],P5=["baseStyle"],A5=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,a=n.__css,o=n.sx,l=ad(n,_5),s=Zv(l,function(f,p){return $k(p)}),u=Wt(r,n),c=Object.assign({},a,u,Du(s),o),d=kg(c)(n.theme);return i?[d,i]:d}};function od(e,t){var r=t!=null?t:{},n=r.baseStyle,i=ad(r,P5);i.shouldForwardProp||(i.shouldForwardProp=T5);var a=A5({baseStyle:n});return nd(e,i)(a)}function Pe(e){return w.forwardRef(e)}var F5=["styleConfig"];function yn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,a=i.styleConfig,o=ad(i,F5),l=C5(),s=l.theme,u=l.colorMode,c=Zo(s,"components."+e),d=a||c,f=Ct({theme:s,colorMode:u},(n=d==null?void 0:d.defaultProps)!=null?n:{},Du(zu(o,["children"]))),p=M.useRef({});if(d){var m,y,v,h,g,b,x=Wt((m=d.baseStyle)!=null?m:{},f),k=Wt((y=(v=d.variants)==null?void 0:v[f.variant])!=null?y:{},f),_=Wt((h=(g=d.sizes)==null?void 0:g[f.size])!=null?h:{},f),T=Ct({},x,_,k);(b=r)!=null&&b.isMultiPart&&d.parts&&d.parts.forEach(function(F){var H;T[F]=(H=T[F])!=null?H:{}});var O=s5(p.current,T);O||(p.current=T)}return p.current}function Bg(e,t){return yn(e,t,{isMultiPart:!0})}function O5(){var e=new Map;return new Proxy(od,{apply:function(r,n,i){return od.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,od(n)),e.get(n)}})}var ee=O5(),M5=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.createElement(XE,{environment:u},r);return w.createElement(E2,null,w.createElement(y5,{theme:s,cssVarsRoot:c},w.createElement(nk,{colorModeManager:n,options:s.config},o&&w.createElement(Ww,null),w.createElement(w5,null),i?w.createElement(ME,{zIndex:i},d):d)))},zg={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 Ae(){return Ae=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},Ae.apply(this,arguments)}var I5={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"},R5={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Dg=Ae({},zg,I5,{container:R5});function Ue(e,t){L5(e)&&(e="100%");var r=B5(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 ps(e){return Math.min(1,Math.max(0,e))}function L5(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function B5(e){return typeof e=="string"&&e.indexOf("%")!==-1}function $g(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function vs(e){return e<=1?Number(e)*100+"%":e}function bn(e){return e.length===1?"0"+e:String(e)}function z5(e,t,r){return{r:Ue(e,255)*255,g:Ue(t,255)*255,b:Ue(r,255)*255}}function Ng(e,t,r){e=Ue(e,255),t=Ue(t,255),r=Ue(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 ld(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 D5(e,t,r){var n,i,a;if(e=Ue(e,360),t=Ue(t,100),r=Ue(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=ld(l,o,e+1/3),i=ld(l,o,e),a=ld(l,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function Vg(e,t,r){e=Ue(e,255),t=Ue(t,255),r=Ue(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 $5(e,t,r){e=Ue(e,360)*6,t=Ue(t,100),r=Ue(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 jg(e,t,r,n){var i=[bn(Math.round(e).toString(16)),bn(Math.round(t).toString(16)),bn(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 N5(e,t,r,n,i){var a=[bn(Math.round(e).toString(16)),bn(Math.round(t).toString(16)),bn(Math.round(r).toString(16)),bn(V5(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 V5(e){return Math.round(parseFloat(e)*255).toString(16)}function Hg(e){return gt(e)/255}function gt(e){return parseInt(e,16)}function j5(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var sd={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 H5(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=G5(e)),typeof e=="object"&&(cr(e.r)&&cr(e.g)&&cr(e.b)?(t=z5(e.r,e.g,e.b),o=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):cr(e.h)&&cr(e.s)&&cr(e.v)?(n=vs(e.s),i=vs(e.v),t=$5(e.h,n,i),o=!0,l="hsv"):cr(e.h)&&cr(e.s)&&cr(e.l)&&(n=vs(e.s),a=vs(e.l),t=D5(e.h,n,a),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=$g(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 W5="[-\\+]?\\d+%?",U5="[-\\+]?\\d*\\.\\d+%?",jr="(?:"+U5+")|(?:"+W5+")",ud="[\\s|\\(]+("+jr+")[,|\\s]+("+jr+")[,|\\s]+("+jr+")\\s*\\)?",cd="[\\s|\\(]+("+jr+")[,|\\s]+("+jr+")[,|\\s]+("+jr+")[,|\\s]+("+jr+")\\s*\\)?",zt={CSS_UNIT:new RegExp(jr),rgb:new RegExp("rgb"+ud),rgba:new RegExp("rgba"+cd),hsl:new RegExp("hsl"+ud),hsla:new RegExp("hsla"+cd),hsv:new RegExp("hsv"+ud),hsva:new RegExp("hsva"+cd),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 G5(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(sd[e])e=sd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=zt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=zt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=zt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=zt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=zt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=zt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=zt.hex8.exec(e),r?{r:gt(r[1]),g:gt(r[2]),b:gt(r[3]),a:Hg(r[4]),format:t?"name":"hex8"}:(r=zt.hex6.exec(e),r?{r:gt(r[1]),g:gt(r[2]),b:gt(r[3]),format:t?"name":"hex"}:(r=zt.hex4.exec(e),r?{r:gt(r[1]+r[1]),g:gt(r[2]+r[2]),b:gt(r[3]+r[3]),a:Hg(r[4]+r[4]),format:t?"name":"hex8"}:(r=zt.hex3.exec(e),r?{r:gt(r[1]+r[1]),g:gt(r[2]+r[2]),b:gt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function cr(e){return Boolean(zt.CSS_UNIT.exec(String(e)))}var Ga=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=j5(t)),this.originalInput=t;var i=H5(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=$g(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=Vg(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=Vg(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=Ng(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=Ng(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),jg(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),N5(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(Ue(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(Ue(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="#"+jg(this.r,this.g,this.b,!1),r=0,n=Object.entries(sd);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=ps(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=ps(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=ps(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=ps(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 Wg(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(Wg(e));return e.count=t,r}var n=Y5(e.hue,e.seed),i=K5(n,e),a=X5(n,i,e),o={h:n,s:i,v:a};return e.alpha!==void 0&&(o.a=e.alpha),new Ga(o)}function Y5(e,t){var r=q5(e),n=hs(r,t);return n<0&&(n=360+n),n}function K5(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return hs([0,100],t.seed);var r=Ug(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 hs([n,i],t.seed)}function X5(e,t,r){var n=Z5(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 hs([n,i],r.seed)}function Z5(e,t){for(var r=Ug(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 q5(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Yg.find(function(o){return o.name===e});if(r){var n=Gg(r);if(n.hueRange)return n.hueRange}var i=new Ga(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}function Ug(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Yg;t<r.length;t++){var n=r[t],i=Gg(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function hs(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 Gg(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 Yg=[{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]]}],Ie=function(t,r,n){var i=Zo(t,"colors."+r,r),a=new Ga(i),o=a.isValid;return o?i:n},Q5=function(t){return function(r){var n=Ie(r,t),i=new Ga(n).isDark();return i?"dark":"light"}},J5=function(t){return function(r){return Q5(t)(r)==="dark"}},mi=function(t,r){return function(n){var i=Ie(n,t);return new Ga(i).setAlpha(r).toRgbString()}};function Kg(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
|
|
318
|
+
*/var VE=br.default,og=60103;if(Va.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var lg=Symbol.for;og=lg("react.element"),Va.Fragment=lg("react.fragment")}var jE=VE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,HE=Object.prototype.hasOwnProperty,WE={key:!0,ref:!0,__self:!0,__source:!0};function sg(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)HE.call(t,n)&&!WE.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:og,type:e,key:a,ref:o,props:i,_owner:jE.current}}Va.jsx=sg,Va.jsxs=sg,os.exports=Va;const P=os.exports.jsx,te=os.exports.jsxs,Kf=os.exports.Fragment;var UE={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[]}}}},ug=UE,vi=function(){},GE={document:ug,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:vi,removeEventListener:vi,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:vi,removeListener:vi}},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:vi,setInterval:function(){return 0},clearInterval:vi},YE=GE,KE={window:YE,document:ug},cg=Dn?{window,document}:KE,fg=M.createContext(cg);function XE(){return M.useContext(fg)}function ZE(e){var t=e.children,r=e.environment,n=M.useState(null),i=n[0],a=n[1],o=M.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:cg;return f},[i,r]),l=!i&&!r;return te(fg.Provider,{value:o,children:[t,l&&P("span",{ref:function(u){u&&a(u)}})]})}var ls={light:"chakra-ui-light",dark:"chakra-ui-dark"},qE={classList:{add:Ui,remove:Ui}},QE=function(t){return Dn?t.body:qE};function JE(e,t){var r=QE(t);r.classList.add(e?ls.dark:ls.light),r.classList.remove(e?ls.light:ls.dark)}function ek(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var dg={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function tk(e){var t,r=(t=ek(dg.dark))!=null?t:e==="dark";return r?"dark":"light"}function rk(e){if(!("matchMedia"in window))return Ui;var t=window.matchMedia(dg.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var pg={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){Dn&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},vg=function(){return typeof Storage!="undefined"},hg="chakra-ui-color-mode",nk={get:function(t){if(!vg())return t;try{var r=localStorage.getItem(hg);return r!=null?r:t}catch{return t}},set:function(t){if(!!vg())try{localStorage.setItem(hg,t)}catch{}},type:"localStorage"},mg=w.createContext({}),gg=function(){var t=w.useContext(mg);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function ik(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,a=n.initialColorMode,o=e.colorModeManager,l=o===void 0?nk:o,s=a==="dark"?"dark":"light",u=w.useState(l.type==="cookie"?l.get(s):s),c=u[0],d=u[1],f=XE(),p=f.document;w.useEffect(function(){if(Dn&&l.type==="localStorage"){var h=tk(s);if(i)return d(h);var g=pg.get(),b=l.get();return d(g||b||(a==="system"?h:s))}},[l,i,s,a]),w.useEffect(function(){var h=c==="dark";JE(h,p),pg.set(h?"dark":"light")},[c,p]);var m=w.useCallback(function(h,g){if(g===void 0&&(g=!1),!g)l.set(h);else if(l.get()&&!i)return;d(h)},[l,i]),y=w.useCallback(function(){m(c==="light"?"dark":"light")},[c,m]);w.useEffect(function(){var h=i||a==="system",g;return h&&(g=rk(m)),function(){g&&h&&g()}},[m,i,a]);var v=w.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Ui:y,setColorMode:t?Ui:m}},[c,m,y,t]);return w.createElement(mg.Provider,{value:v},r)}function ja(){return ja=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ja.apply(this,arguments)}var ak=function(t,r){return function(n){var i=String(r),a=t?t+"."+i:i;return lt(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:r}};function Ha(e){var t=e.scale,r=e.transform,n=e.compose,i=function(o,l){var s,u=ak(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 Bt(e,t){return function(r){var n={property:r,scale:e};return n.transform=Ha({scale:e,transform:t}),n}}var ok=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function lk(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:ok(t),transform:r?Ha({scale:r,compose:n}):n}}var Xf,Zf,yg=["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 sk(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(yg).join(" ")}function uk(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(yg).join(" ")}var ck={"--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(" ")},fk={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 dk(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 pk={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},bg="& > :not(style) ~ :not(style)",vk=(Xf={},Xf[bg]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},Xf),hk=(Zf={},Zf[bg]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},Zf);function ss(e,t){return ss=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ss(e,t)}function mk(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&&ss(e,t)}function qf(){qf=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)),ss(l,r.prototype)}mk(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 qf.apply(this,arguments)}var Qf={"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"},gk=new Set(Object.values(Qf)),Sg=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),yk=function(t){return t.trim()};function bk(e,t){var r,n;if(e==null||Sg.has(e))return e;var i=qf(/(^[\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(yk).filter(Boolean),c=u[0],d=u.slice(1);if((d==null?void 0:d.length)===0)return e;var f=c in Qf?Qf[c]:c;d.unshift(f);var p=d.map(function(m){if(gk.has(m))return m;var y=m.indexOf(" "),v=y!==-1?[m.substr(0,y),m.substr(y+1)]:[m],h=v[0],g=v[1],b=xg(g)?g:g&&g.split(" "),x="colors."+h,k=x in t.__cssMap?t.__cssMap[x].varRef:h;return b?[k].concat(Array.isArray(b)?b:[b]).join(" "):k});return s+"("+p.join(", ")+")"}var xg=function(t){return Bu(t)&&t.includes("(")&&t.includes(")")},Sk=function(t,r){return bk(t,r!=null?r:{})},xk=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},qt=function(t){return function(r){return t+"("+r+")"}},fe={filter:function(t){return t!=="auto"?t:ck},backdropFilter:function(t){return t!=="auto"?t:fk},ring:function(t){return dk(fe.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?sk():t==="auto-gpu"?uk():t},px:function(t){if(t==null)return t;var r=xk(t),n=r.unitless;return n||Jr(t)?t+"px":t},fraction:function(t){return!Jr(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(Xv(t)||t==null)return t;var r=Bu(t)&&!t.endsWith("deg");return Jr(t)||r?t+"deg":t},gradient:Sk,blur:qt("blur"),opacity:qt("opacity"),brightness:qt("brightness"),contrast:qt("contrast"),dropShadow:qt("drop-shadow"),grayscale:qt("grayscale"),hueRotate:qt("hue-rotate"),invert:qt("invert"),saturate:qt("saturate"),sepia:qt("sepia"),bgImage:function(t){if(t==null)return t;var r=xg(t)||Sg.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=pk[t])!=null?r:{},i=n.space,a=n.divide,o={flexDirection:t};return i&&(o[i]=1),a&&(o[a]=1),o}},C={borderWidths:Bt("borderWidths"),borderStyles:Bt("borderStyles"),colors:Bt("colors"),borders:Bt("borders"),radii:Bt("radii",fe.px),space:Bt("space",fe.px),spaceT:Bt("space",fe.px),degreeT:function(t){return{property:t,transform:fe.degree}},prop:function(t,r,n){return ja({property:t,scale:r},r&&{transform:Ha({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Bt("sizes",fe.px),sizesT:Bt("sizes",fe.fraction),shadows:Bt("shadows"),logical:lk,blur:Bt("blur",fe.blur)},us={background:C.colors("background"),backgroundColor:C.colors("backgroundColor"),backgroundImage:C.propT("backgroundImage",fe.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:fe.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",fe.gradient),bgClip:{transform:fe.bgClip}};Object.assign(us,{bgImage:us.backgroundImage,bgImg:us.backgroundImage});var le={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(le,{rounded:le.borderRadius,roundedTop:le.borderTopRadius,roundedTopLeft:le.borderTopLeftRadius,roundedTopRight:le.borderTopRightRadius,roundedTopStart:le.borderStartStartRadius,roundedTopEnd:le.borderStartEndRadius,roundedBottom:le.borderBottomRadius,roundedBottomLeft:le.borderBottomLeftRadius,roundedBottomRight:le.borderBottomRightRadius,roundedBottomStart:le.borderEndStartRadius,roundedBottomEnd:le.borderEndEndRadius,roundedLeft:le.borderLeftRadius,roundedRight:le.borderRightRadius,roundedStart:le.borderInlineStartRadius,roundedEnd:le.borderInlineEndRadius,borderStart:le.borderInlineStart,borderEnd:le.borderInlineEnd,borderTopStartRadius:le.borderStartStartRadius,borderTopEndRadius:le.borderStartEndRadius,borderBottomStartRadius:le.borderEndStartRadius,borderBottomEndRadius:le.borderEndEndRadius,borderStartRadius:le.borderInlineStartRadius,borderEndRadius:le.borderInlineEndRadius,borderStartWidth:le.borderInlineStartWidth,borderEndWidth:le.borderInlineEndWidth,borderStartColor:le.borderInlineStartColor,borderEndColor:le.borderInlineEndColor,borderStartStyle:le.borderInlineStartStyle,borderEndStyle:le.borderInlineEndStyle});var wk={color:C.colors("color"),textColor:C.colors("color"),fill:C.colors("fill"),stroke:C.colors("stroke")},Jf={boxShadow:C.shadows("boxShadow"),mixBlendMode:!0,blendMode:C.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:C.prop("backgroundBlendMode"),opacity:!0};Object.assign(Jf,{shadow:Jf.boxShadow});var Ck={filter:{transform:fe.filter},blur:C.blur("--chakra-blur"),brightness:C.propT("--chakra-brightness",fe.brightness),contrast:C.propT("--chakra-contrast",fe.contrast),hueRotate:C.degreeT("--chakra-hue-rotate"),invert:C.propT("--chakra-invert",fe.invert),saturate:C.propT("--chakra-saturate",fe.saturate),dropShadow:C.propT("--chakra-drop-shadow",fe.dropShadow),backdropFilter:{transform:fe.backdropFilter},backdropBlur:C.blur("--chakra-backdrop-blur"),backdropBrightness:C.propT("--chakra-backdrop-brightness",fe.brightness),backdropContrast:C.propT("--chakra-backdrop-contrast",fe.contrast),backdropHueRotate:C.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:C.propT("--chakra-backdrop-invert",fe.invert),backdropSaturate:C.propT("--chakra-backdrop-saturate",fe.saturate)},cs={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:fe.flexDirection},experimental_spaceX:{static:vk,transform:Ha({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:hk,transform:Ha({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(cs,{flexDir:cs.flexDirection});var wg={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},Ek={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:fe.outline},outlineOffset:!0,outlineColor:C.colors("outlineColor")},Ft={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",fe.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ft,{w:Ft.width,h:Ft.height,minW:Ft.minWidth,maxW:Ft.maxWidth,minH:Ft.minHeight,maxH:Ft.maxHeight,overscroll:Ft.overscrollBehavior,overscrollX:Ft.overscrollBehaviorX,overscrollY:Ft.overscrollBehaviorY});var kk={listStyleType:!0,listStylePosition:!0,listStylePos:C.prop("listStylePosition"),listStyleImage:!0,listStyleImg:C.prop("listStyleImage")},Tk={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},_k={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},ed=function(t,r,n){var i={},a=Zo(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?Tk:t==="focusable"?_k:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return ed(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return ed(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return ed(r,t,n)}}},Wa={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(Wa,{insetStart:Wa.insetInlineStart,insetEnd:Wa.insetInlineEnd});var Ak={ring:{transform:fe.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")},ye={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(ye,{m:ye.margin,mt:ye.marginTop,mr:ye.marginRight,me:ye.marginInlineEnd,marginEnd:ye.marginInlineEnd,mb:ye.marginBottom,ml:ye.marginLeft,ms:ye.marginInlineStart,marginStart:ye.marginInlineStart,mx:ye.marginX,my:ye.marginY,p:ye.padding,pt:ye.paddingTop,py:ye.paddingY,px:ye.paddingX,pb:ye.paddingBottom,pl:ye.paddingLeft,ps:ye.paddingInlineStart,paddingStart:ye.paddingInlineStart,pr:ye.paddingRight,pe:ye.paddingInlineEnd,paddingEnd:ye.paddingInlineEnd});var Fk={textDecorationColor:C.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:C.shadows("textShadow")},Ok={clipPath:!0,transform:C.propT("transform",fe.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")},Mk={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")},Rk={fontFamily:C.prop("fontFamily","fonts"),fontSize:C.prop("fontSize","fontSizes",fe.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"}}}},Ik={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 Cg(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 Lk(e,t){if(!!e){if(typeof e=="string")return Cg(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 Cg(e,t)}}function Bk(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=Lk(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.
|
|
319
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var We={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}},Vr=function(t){return Eg(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},ur=function(t){return Eg(function(r){return t(r,"~ &")},"[data-peer]",".peer")},Eg=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(", ")},Ua={_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:Vr(We.hover),_peerHover:ur(We.hover),_groupFocus:Vr(We.focus),_peerFocus:ur(We.focus),_groupFocusVisible:Vr(We.focusVisible),_peerFocusVisible:ur(We.focusVisible),_groupActive:Vr(We.active),_peerActive:ur(We.active),_groupDisabled:Vr(We.disabled),_peerDisabled:ur(We.disabled),_groupInvalid:Vr(We.invalid),_peerInvalid:ur(We.invalid),_groupChecked:Vr(We.checked),_peerChecked:ur(We.checked),_groupFocusWithin:Vr(We.focusWithin),_peerFocusWithin:ur(We.focusWithin),_peerPlaceholderShown:ur(We.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]"},zk=$u(Ua),td=Ct({},us,le,wk,cs,Ft,Ck,Ak,Ek,wg,Pk,Wa,Jf,ye,Ik,Rk,Fk,Ok,kk,Mk);Object.assign({},ye,Ft,cs,wg,Wa);var Dk=[].concat($u(td),zk),$k=ja({},td,Ua),Nk=function(t){return t in $k},Vk=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=Wt(t[s],r);if(u!=null){if(u=lt(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}},jk=function(t,r){return t.startsWith("--")&&Bu(r)&&!Xv(r)},Hk=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 Wk(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=Wt(s,a),d=Vk(c)(a),f={};for(var p in d){var m,y,v,h,g,b=d[p],x=Wt(b,a);p in i&&(p=i[p]),jk(p,x)&&(x=Hk(a,x));var k=r[p];if(k===!0&&(k={property:p}),lt(x)){var _;f[p]=(_=f[p])!=null?_:{},f[p]=Ct({},f[p],l(x,!0));continue}var T=(m=(y=k)==null||y.transform==null?void 0:y.transform(x,a,c))!=null?m:x;T=(v=k)!=null&&v.processResult?l(T,!0):T;var O=Wt((h=k)==null?void 0:h.property,a);if(!u&&(g=k)!=null&&g.static){var F=Wt(k.static,a);f=Ct({},f,F)}if(O&&Array.isArray(O)){for(var W=Bk(O),J;!(J=W()).done;){var X=J.value;f[X]=T}continue}if(O){O==="&"&<(T)?f=Ct({},f,T):f[O]=T;continue}if(lt(T)){f=Ct({},f,T);continue}f[p]=T}return f};return o}var kg=function(t){return function(r){var n=Wk({theme:r,pseudos:Ua,configs:td});return n(t)}};function Tg(e){return lt(e)&&e.reference?e.reference:String(e)}var fs=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(Tg).join(" "+t+" ").replace(/calc/g,"")},_g=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["+"].concat(r))+")"},Pg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["-"].concat(r))+")"},rd=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["*"].concat(r))+")"},Ag=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fs.apply(void 0,["/"].concat(r))+")"},Fg=function(t){var r=Tg(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:rd(r,-1)},mn=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 mn(_g.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 mn(Pg.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 mn(rd.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 mn(Ag.apply(void 0,[e].concat(n)))},negate:function(){return mn(Fg(e))},toString:function(){return e.toString()}}},{add:_g,subtract:Pg,multiply:rd,divide:Ag,negate:Fg});function Uk(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Og(e){var t=Uk(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function Gk(e,t){return t===void 0&&(t=""),[t,Og(e)].filter(Boolean).join("-")}function Yk(e,t){return"var("+Og(e)+(t?", "+t:"")+")"}function Kk(e,t){return t===void 0&&(t=""),"--"+Gk(e,t)}function Xk(e,t,r){var n=Kk(e,r);return{variable:n,reference:Yk(n,t)}}function Mg(e,t){return Xk(String(e).replace(/\./g,"-"),void 0,t)}function Zk(e,t){for(var r={},n={},i=function(){var u=o[a],c=u[0],d=u[1],f=d.isSemantic,p=d.value,m=Mg(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!f){if(c.startsWith("space")){var h=c.split("."),g=h[0],b=h.slice(1),x=g+".-"+b.join("."),k=mn.negate(p),_=mn.negate(v);n[x]={value:k,var:y,varRef:_}}return r[y]=p,n[c]={value:p,var:y,varRef:v},"continue"}var T=function(W){var J=String(c).split(".")[0],X=[J,W].join("."),Z=e[X];if(!Z)return W;var q=Mg(X,t==null?void 0:t.cssVarPrefix),ne=q.reference;return ne},O=lt(p)?p:{default:p};r=Ct(r,Object.entries(O).reduce(function(F,W){var J,X,Z=W[0],q=W[1],ne=T(q);if(Z==="default")return F[y]=ne,F;var Le=(J=Ua==null?void 0:Ua[Z])!=null?J:Z;return F[Le]=(X={},X[y]=ne,X),F},{})),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 qk(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 Qk=["__cssMap","__cssVars","__breakpoints"],Jk=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function e5(e){var t=Jk;return Zw(e,t)}function t5(e){return e.semanticTokens}function r5(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=qk(e,Qk);return t}function n5(e){var t,r,n=e.tokens,i=e.semanticTokens,a=Object.entries((t=Hu(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=Hu(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return qo([].concat(a,o))}function i5(e){var t,r=r5(e),n=e5(r),i=t5(r),a=n5({tokens:n,semanticTokens:i}),o=(t=r.config)==null?void 0:t.cssVarPrefix,l=Zk(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:ja({},c,u),__cssMap:s,__breakpoints:r2(r.breakpoints)}),r}var a5=typeof Element!="undefined",o5=typeof Map=="function",l5=typeof Set=="function",s5=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ds(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(!ds(e[n],t[n]))return!1;return!0}var a;if(o5&&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(!ds(n.value[1],t.get(n.value[0])))return!1;return!0}if(l5&&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(s5&&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(a5&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!ds(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var u5=function(t,r){try{return ds(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},c5=/^((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)-.*))$/,f5=Iv(function(e){return c5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),d5=f5,p5=function(t){return t!=="theme"},Rg=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?d5:p5},Ig=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},v5=w["useInsertionEffect"]?w["useInsertionEffect"]:function(t){t()};function h5(e){v5(e)}var m5=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Nv(r,n,i),h5(function(){return Vv(r,n,i)}),null},g5=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=Ig(t,r,n),s=l||Rg(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 m=Yv(function(y,v,h){var g=u&&y.as||i,b="",x=[],k=y;if(y.theme==null){k={};for(var _ in y)k[_]=y[_];k.theme=M.useContext(Wi)}typeof y.className=="string"?b=Iw(v.registered,x,y.className):y.className!=null&&(b=y.className+" ");var T=Mu(d.concat(x),v.registered,k);b+=v.key+"-"+T.name,o!==void 0&&(b+=" "+o);var O=u&&l===void 0?Rg(g):s,F={};for(var W in y)u&&W==="as"||O(W)&&(F[W]=y[W]);return F.className=b,F.ref=h,M.createElement(M.Fragment,null,M.createElement(m5,{cache:v,serialized:T,isStringTag:typeof g=="string"}),M.createElement(g,F))});return m.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(y,v){return e(y,Qr({},r,v,{shouldForwardProp:Ig(m,v,!0)})).apply(void 0,d)},m}},y5=["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"],nd=g5.bind();y5.forEach(function(e){nd[e]=nd(e)});function id(){return id=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},id.apply(this,arguments)}var b5=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,a=w.useMemo(function(){return i5(n)},[n]);return w.createElement(jw,{theme:a},w.createElement(S5,{root:r}),i)},S5=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return w.createElement(Ru,{styles:function(o){var l;return l={},l[i]=o.__cssVars,l}})};function x5(){var e=w.useContext(Wi);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Lg=en({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),w5=Lg[0],hi=Lg[1],C5=function(){var t=gg(),r=t.colorMode;return w.createElement(Ru,{styles:function(i){var a=Zo(i,"styles.global"),o=Wt(a,{theme:i,colorMode:r});if(!!o){var l=kg(o)(i);return l}}})};function gn(e){return zu(e,["styleConfig","size","variant","colorScheme"])}function E5(){var e=gg(),t=x5();return id({},e,{theme:t})}function ad(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 k5=new Set([].concat(Dk,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),T5=new Set(["htmlWidth","htmlHeight","htmlSize"]),_5=function(t){return T5.has(t)||!k5.has(t)},P5=["theme","css","__css","sx"],A5=["baseStyle"],F5=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,a=n.__css,o=n.sx,l=ad(n,P5),s=Zv(l,function(f,p){return Nk(p)}),u=Wt(r,n),c=Object.assign({},a,u,Du(s),o),d=kg(c)(n.theme);return i?[d,i]:d}};function od(e,t){var r=t!=null?t:{},n=r.baseStyle,i=ad(r,A5);i.shouldForwardProp||(i.shouldForwardProp=_5);var a=F5({baseStyle:n});return nd(e,i)(a)}function Pe(e){return w.forwardRef(e)}var O5=["styleConfig"];function yn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,a=i.styleConfig,o=ad(i,O5),l=E5(),s=l.theme,u=l.colorMode,c=Zo(s,"components."+e),d=a||c,f=Ct({theme:s,colorMode:u},(n=d==null?void 0:d.defaultProps)!=null?n:{},Du(zu(o,["children"]))),p=M.useRef({});if(d){var m,y,v,h,g,b,x=Wt((m=d.baseStyle)!=null?m:{},f),k=Wt((y=(v=d.variants)==null?void 0:v[f.variant])!=null?y:{},f),_=Wt((h=(g=d.sizes)==null?void 0:g[f.size])!=null?h:{},f),T=Ct({},x,_,k);(b=r)!=null&&b.isMultiPart&&d.parts&&d.parts.forEach(function(F){var W;T[F]=(W=T[F])!=null?W:{}});var O=u5(p.current,T);O||(p.current=T)}return p.current}function Bg(e,t){return yn(e,t,{isMultiPart:!0})}function M5(){var e=new Map;return new Proxy(od,{apply:function(r,n,i){return od.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,od(n)),e.get(n)}})}var ee=M5(),R5=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.createElement(ZE,{environment:u},r);return w.createElement(k2,null,w.createElement(b5,{theme:s,cssVarsRoot:c},w.createElement(ik,{colorModeManager:n,options:s.config},o&&w.createElement(Uw,null),w.createElement(C5,null),i?w.createElement(RE,{zIndex:i},d):d)))},zg={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 Ae(){return Ae=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},Ae.apply(this,arguments)}var I5={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"},L5={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Dg=Ae({},zg,I5,{container:L5});function Ue(e,t){B5(e)&&(e="100%");var r=z5(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 ps(e){return Math.min(1,Math.max(0,e))}function B5(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function z5(e){return typeof e=="string"&&e.indexOf("%")!==-1}function $g(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function vs(e){return e<=1?Number(e)*100+"%":e}function bn(e){return e.length===1?"0"+e:String(e)}function D5(e,t,r){return{r:Ue(e,255)*255,g:Ue(t,255)*255,b:Ue(r,255)*255}}function Ng(e,t,r){e=Ue(e,255),t=Ue(t,255),r=Ue(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 ld(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 $5(e,t,r){var n,i,a;if(e=Ue(e,360),t=Ue(t,100),r=Ue(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=ld(l,o,e+1/3),i=ld(l,o,e),a=ld(l,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function Vg(e,t,r){e=Ue(e,255),t=Ue(t,255),r=Ue(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 N5(e,t,r){e=Ue(e,360)*6,t=Ue(t,100),r=Ue(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 jg(e,t,r,n){var i=[bn(Math.round(e).toString(16)),bn(Math.round(t).toString(16)),bn(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 V5(e,t,r,n,i){var a=[bn(Math.round(e).toString(16)),bn(Math.round(t).toString(16)),bn(Math.round(r).toString(16)),bn(j5(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 j5(e){return Math.round(parseFloat(e)*255).toString(16)}function Hg(e){return gt(e)/255}function gt(e){return parseInt(e,16)}function H5(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var sd={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 W5(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=Y5(e)),typeof e=="object"&&(cr(e.r)&&cr(e.g)&&cr(e.b)?(t=D5(e.r,e.g,e.b),o=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):cr(e.h)&&cr(e.s)&&cr(e.v)?(n=vs(e.s),i=vs(e.v),t=N5(e.h,n,i),o=!0,l="hsv"):cr(e.h)&&cr(e.s)&&cr(e.l)&&(n=vs(e.s),a=vs(e.l),t=$5(e.h,n,a),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=$g(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 U5="[-\\+]?\\d+%?",G5="[-\\+]?\\d*\\.\\d+%?",jr="(?:"+G5+")|(?:"+U5+")",ud="[\\s|\\(]+("+jr+")[,|\\s]+("+jr+")[,|\\s]+("+jr+")\\s*\\)?",cd="[\\s|\\(]+("+jr+")[,|\\s]+("+jr+")[,|\\s]+("+jr+")[,|\\s]+("+jr+")\\s*\\)?",zt={CSS_UNIT:new RegExp(jr),rgb:new RegExp("rgb"+ud),rgba:new RegExp("rgba"+cd),hsl:new RegExp("hsl"+ud),hsla:new RegExp("hsla"+cd),hsv:new RegExp("hsv"+ud),hsva:new RegExp("hsva"+cd),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 Y5(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(sd[e])e=sd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=zt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=zt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=zt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=zt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=zt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=zt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=zt.hex8.exec(e),r?{r:gt(r[1]),g:gt(r[2]),b:gt(r[3]),a:Hg(r[4]),format:t?"name":"hex8"}:(r=zt.hex6.exec(e),r?{r:gt(r[1]),g:gt(r[2]),b:gt(r[3]),format:t?"name":"hex"}:(r=zt.hex4.exec(e),r?{r:gt(r[1]+r[1]),g:gt(r[2]+r[2]),b:gt(r[3]+r[3]),a:Hg(r[4]+r[4]),format:t?"name":"hex8"}:(r=zt.hex3.exec(e),r?{r:gt(r[1]+r[1]),g:gt(r[2]+r[2]),b:gt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function cr(e){return Boolean(zt.CSS_UNIT.exec(String(e)))}var Ga=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=H5(t)),this.originalInput=t;var i=W5(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=$g(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=Vg(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=Vg(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=Ng(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=Ng(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),jg(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),V5(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(Ue(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(Ue(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="#"+jg(this.r,this.g,this.b,!1),r=0,n=Object.entries(sd);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=ps(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=ps(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=ps(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=ps(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 Wg(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(Wg(e));return e.count=t,r}var n=K5(e.hue,e.seed),i=X5(n,e),a=Z5(n,i,e),o={h:n,s:i,v:a};return e.alpha!==void 0&&(o.a=e.alpha),new Ga(o)}function K5(e,t){var r=Q5(e),n=hs(r,t);return n<0&&(n=360+n),n}function X5(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return hs([0,100],t.seed);var r=Ug(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 hs([n,i],t.seed)}function Z5(e,t,r){var n=q5(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 hs([n,i],r.seed)}function q5(e,t){for(var r=Ug(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 Q5(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Yg.find(function(o){return o.name===e});if(r){var n=Gg(r);if(n.hueRange)return n.hueRange}var i=new Ga(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}function Ug(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Yg;t<r.length;t++){var n=r[t],i=Gg(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function hs(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 Gg(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 Yg=[{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]]}],Re=function(t,r,n){var i=Zo(t,"colors."+r,r),a=new Ga(i),o=a.isValid;return o?i:n},J5=function(t){return function(r){var n=Re(r,t),i=new Ga(n).isDark();return i?"dark":"light"}},eT=function(t){return function(r){return J5(t)(r)==="dark"}},mi=function(t,r){return function(n){var i=Re(n,t);return new Ga(i).setAlpha(r).toRgbString()}};function Kg(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
|
|
320
320
|
45deg,
|
|
321
321
|
`+t+` 25%,
|
|
322
322
|
transparent 25%,
|
|
@@ -325,12 +325,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
325
325
|
`+t+` 75%,
|
|
326
326
|
transparent 75%,
|
|
327
327
|
transparent
|
|
328
|
-
)`,backgroundSize:e+" "+e}}function eT(e){var t=Wg().toHexString();return!e||Yw(e)?t:e.string&&e.colors?rT(e.string,e.colors):e.string&&!e.colors?tT(e.string):e.colors&&!e.string?nT(e.colors):t}function tT(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 rT(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 nT(e){return e[Math.floor(Math.random()*e.length)]}function I(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Ya(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 iT=function(t){return ih({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 Xg(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 aT(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}var oT=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 aT(e,[{key:"selectors",get:function(){var r=qo(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=qo(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 de(e){return new oT(e)}function Zg(e){return lt(e)&&e.reference?e.reference:String(e)}var ms=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(Zg).join(" "+t+" ").replace(/calc/g,"")},qg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ms.apply(void 0,["+"].concat(r))+")"},Qg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ms.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("+ms.apply(void 0,["*"].concat(r))+")"},Jg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ms.apply(void 0,["/"].concat(r))+")"},ey=function(t){var r=Zg(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:dd(r,-1)},fr=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 fr(qg.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 fr(Qg.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 fr(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 fr(Jg.apply(void 0,[e].concat(n)))},negate:function(){return fr(ey(e))},toString:function(){return e.toString()}}},{add:qg,subtract:Qg,multiply:dd,divide:Jg,negate:ey});function lT(e){return!Number.isInteger(parseFloat(e.toString()))}function sT(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function ty(e){var t=sT(e.toString());return t.includes("\\.")?e:lT(e)?t.replace(".","\\."):e}function uT(e,t){return t===void 0&&(t=""),[t,ty(e)].filter(Boolean).join("-")}function cT(e,t){return"var("+ty(e)+(t?", "+t:"")+")"}function fT(e,t){return t===void 0&&(t=""),"--"+uT(e,t)}function yt(e,t){var r=fT(e,t==null?void 0:t.prefix);return{variable:r,reference:cT(r,dT(t==null?void 0:t.fallback))}}function dT(e){return typeof e=="string"?e:e==null?void 0:e.reference}var pT=de("accordion").parts("root","container","button","panel").extend("icon"),vT=de("alert").parts("title","description","container").extend("icon"),hT=de("avatar").parts("label","badge","container").extend("excessLabel","group"),mT=de("breadcrumb").parts("link","item","container").extend("separator");de("button").parts();var gT=de("checkbox").parts("control","icon","container").extend("label");de("progress").parts("track","filledTrack").extend("label");var yT=de("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),bT=de("editable").parts("preview","input","textarea"),ST=de("form").parts("container","requiredIndicator","helperText"),xT=de("formError").parts("text","icon"),wT=de("input").parts("addon","field","element"),CT=de("list").parts("container","item","icon"),ET=de("menu").parts("button","list","item").extend("groupTitle","command","divider"),kT=de("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),TT=de("numberinput").parts("root","field","stepperGroup","stepper");de("pininput").parts("field");var _T=de("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),PT=de("progress").parts("label","filledTrack","track"),AT=de("radio").parts("container","control","label"),FT=de("select").parts("field","icon"),OT=de("slider").parts("container","track","thumb","filledTrack"),MT=de("stat").parts("container","label","helpText","number","icon"),IT=de("switch").parts("container","track","thumb"),RT=de("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),LT=de("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),BT=de("tag").parts("container","label","closeButton"),ry={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"}},zT={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},DT={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},$T={pt:2,px:4,pb:5},NT={fontSize:"1.25em"},VT={root:{},container:zT,button:DT,panel:$T,icon:NT},jT={parts:pT.keys,baseStyle:VT},HT={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 pd(e){var t=e.theme,r=e.colorScheme,n=Ie(t,r+".100",r),i=mi(r+".200",.16)(t);return I(n,i)(e)}var WT=function(t){var r=t.colorScheme;return{container:{bg:pd(t)},icon:{color:I(r+".500",r+".200")(t)}}},UT=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:I(r+".500",r+".200")(t),bg:pd(t)},icon:{color:I(r+".500",r+".200")(t)}}},GT=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:I(r+".500",r+".200")(t),bg:pd(t)},icon:{color:I(r+".500",r+".200")(t)}}},YT=function(t){var r=t.colorScheme;return{container:{bg:I(r+".500",r+".200")(t),color:I("white","gray.900")(t)}}},KT={subtle:WT,"left-accent":UT,"top-accent":GT,solid:YT},XT={variant:"subtle",colorScheme:"blue"},ZT={parts:vT.keys,baseStyle:HT,variants:KT,defaultProps:XT},qT=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:I("white","gray.800")(t)}},QT=function(t){return{bg:I("gray.200","whiteAlpha.400")(t)}},JT=function(t){var r=t.name,n=t.theme,i=r?eT({string:r}):"gray.400",a=J5(i)(n),o="white";a||(o="gray.800");var l=I("white","gray.800")(t);return{bg:i,color:o,borderColor:l,verticalAlign:"top"}},e_=function(t){return{badge:qT(t),excessLabel:QT(t),container:JT(t)}};function Hr(e){var t=Dg[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 t_={"2xs":Hr("4"),xs:Hr("6"),sm:Hr("8"),md:Hr("12"),lg:Hr("16"),xl:Hr("24"),"2xl":Hr("32"),full:Hr("100%")},r_={size:"md"},n_={parts:hT.keys,baseStyle:e_,sizes:t_,defaultProps:r_},i_={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},a_=function(t){var r=t.colorScheme,n=t.theme,i=mi(r+".500",.6)(n);return{bg:I(r+".500",i)(t),color:I("white","whiteAlpha.800")(t)}},o_=function(t){var r=t.colorScheme,n=t.theme,i=mi(r+".200",.16)(n);return{bg:I(r+".100",i)(t),color:I(r+".800",r+".200")(t)}},l_=function(t){var r=t.colorScheme,n=t.theme,i=mi(r+".200",.8)(n),a=Ie(n,r+".500"),o=I(a,i)(t);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}},s_={solid:a_,subtle:o_,outline:l_},u_={variant:"subtle",colorScheme:"gray"},gi={baseStyle:i_,variants:s_,defaultProps:u_},c_={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},f_={link:c_},d_={parts:mT.keys,baseStyle:f_},p_={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"}}},ny=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:I("inherit","whiteAlpha.900")(t),_hover:{bg:I("gray.100","whiteAlpha.200")(t)},_active:{bg:I("gray.200","whiteAlpha.300")(t)}};var i=mi(r+".200",.12)(n),a=mi(r+".200",.24)(n);return{color:I(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:I(r+".50",i)(t)},_active:{bg:I(r+".100",a)(t)}}},v_=function(t){var r=t.colorScheme,n=I("gray.200","whiteAlpha.300")(t);return Ae({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},ny(t))},h_={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},m_=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=I("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:I("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:I("gray.300","whiteAlpha.400")(t)}}}var a=(r=h_[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,m=I(l,n+".200")(t);return{bg:m,color:I(u,"gray.800")(t),_hover:{bg:I(d,n+".300")(t),_disabled:{bg:m}},_active:{bg:I(p,n+".400")(t)}}},g_=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:I(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:I(r+".700",r+".500")(t)}}},y_={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},b_={ghost:ny,outline:v_,solid:m_,link:g_,unstyled:y_},S_={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}},x_={variant:"solid",size:"md",colorScheme:"gray"},w_={baseStyle:p_,variants:b_,sizes:S_,defaultProps:x_},C_=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:I(r+".500",r+".200")(t),borderColor:I(r+".500",r+".200")(t),color:I("white","gray.900")(t),_hover:{bg:I(r+".600",r+".300")(t),borderColor:I(r+".600",r+".300")(t)},_disabled:{borderColor:I("gray.200","transparent")(t),bg:I("gray.200","whiteAlpha.300")(t),color:I("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:I(r+".500",r+".200")(t),borderColor:I(r+".500",r+".200")(t),color:I("white","gray.900")(t)},_disabled:{bg:I("gray.100","whiteAlpha.100")(t),borderColor:I("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:I("red.500","red.300")(t)}}},E_={userSelect:"none",_disabled:{opacity:.4}},k_={transitionProperty:"transform",transitionDuration:"normal"},T_=function(t){return{icon:k_,control:C_(t),label:E_}},__={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"}}},P_={size:"md",colorScheme:"blue"},vd={parts:gT.keys,baseStyle:T_,sizes:__,defaultProps:P_},gs,ys,bs,Ka=yt("close-button-size"),A_=function(t){var r=I("blackAlpha.100","whiteAlpha.100")(t),n=I("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"}}},F_={lg:(gs={},gs[Ka.variable]="40px",gs.fontSize="16px",gs),md:(ys={},ys[Ka.variable]="32px",ys.fontSize="12px",ys),sm:(bs={},bs[Ka.variable]="24px",bs.fontSize="10px",bs)},O_={size:"md"},M_={baseStyle:A_,sizes:F_,defaultProps:O_},I_=gi.variants,R_=gi.defaultProps,L_={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},B_={baseStyle:L_,variants:I_,defaultProps:R_},z_={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},D_={baseStyle:z_},$_={opacity:.6,borderColor:"inherit"},N_={borderStyle:"solid"},V_={borderStyle:"dashed"},j_={solid:N_,dashed:V_},H_={variant:"solid"},W_={baseStyle:$_,variants:j_,defaultProps:H_};function yi(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var U_={bg:"blackAlpha.600",zIndex:"overlay"},G_={display:"flex",zIndex:"modal",justifyContent:"center"},Y_=function(t){var r=t.isFullHeight;return Ae({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:I("white","gray.700")(t),color:"inherit",boxShadow:I("lg","dark-lg")(t)})},K_={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},X_={position:"absolute",top:2,insetEnd:3},Z_={px:6,py:2,flex:1,overflow:"auto"},q_={px:6,py:4},Q_=function(t){return{overlay:U_,dialogContainer:G_,dialog:Y_(t),header:K_,closeButton:X_,body:Z_,footer:q_}},J_={xs:yi("xs"),sm:yi("md"),md:yi("lg"),lg:yi("2xl"),xl:yi("4xl"),full:yi("full")},eP={size:"xs"},tP={parts:yT.keys,baseStyle:Q_,sizes:J_,defaultProps:eP},rP={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},nP={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},iP={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},aP={preview:rP,input:nP,textarea:iP},oP={parts:bT.keys,baseStyle:aP},lP=function(t){return{marginStart:1,color:I("red.500","red.300")(t)}},sP=function(t){return{mt:2,color:I("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},uP=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:lP(t),helperText:sP(t)}},cP={parts:ST.keys,baseStyle:uP},fP=function(t){return{color:I("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},dP=function(t){return{marginEnd:"0.5em",color:I("red.500","red.300")(t)}},pP=function(t){return{text:fP(t),icon:dP(t)}},vP={parts:xT.keys,baseStyle:pP},hP={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},mP={baseStyle:hP},gP={fontFamily:"heading",fontWeight:"bold"},yP={"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}},bP={size:"xl"},SP={baseStyle:gP,sizes:yP,defaultProps:bP},xP={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},Wr={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"}},wP={lg:{field:Wr.lg,addon:Wr.lg},md:{field:Wr.md,addon:Wr.md},sm:{field:Wr.sm,addon:Wr.sm},xs:{field:Wr.xs,addon:Wr.xs}};function hd(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||I("blue.500","blue.300")(e),errorBorderColor:r||I("red.500","red.300")(e)}}var CP=function(t){var r=t.theme,n=hd(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:I("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ie(r,a),boxShadow:"0 0 0 1px "+Ie(r,a)},_focus:{zIndex:1,borderColor:Ie(r,i),boxShadow:"0 0 0 1px "+Ie(r,i)}},addon:{border:"1px solid",borderColor:I("inherit","whiteAlpha.50")(t),bg:I("gray.100","whiteAlpha.300")(t)}}},EP=function(t){var r=t.theme,n=hd(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:I("gray.100","whiteAlpha.50")(t),_hover:{bg:I("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ie(r,a)},_focus:{bg:"transparent",borderColor:Ie(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:I("gray.100","whiteAlpha.50")(t)}}},kP=function(t){var r=t.theme,n=hd(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:Ie(r,a),boxShadow:"0px 1px 0px 0px "+Ie(r,a)},_focus:{borderColor:Ie(r,i),boxShadow:"0px 1px 0px 0px "+Ie(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},TP={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},_P={outline:CP,filled:EP,flushed:kP,unstyled:TP},PP={size:"md",variant:"outline"},Se={parts:wT.keys,baseStyle:xP,sizes:wP,variants:_P,defaultProps:PP},AP=function(t){return{bg:I("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},FP={baseStyle:AP},OP={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},MP={baseStyle:OP},IP={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},RP={container:{},item:{},icon:IP},LP={parts:CT.keys,baseStyle:RP},BP=function(t){return{bg:I("#fff","gray.700")(t),boxShadow:I("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},zP=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:I("gray.100","whiteAlpha.100")(t)},_active:{bg:I("gray.200","whiteAlpha.200")(t)},_expanded:{bg:I("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},DP={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},$P={opacity:.6},NP={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},VP={transitionProperty:"common",transitionDuration:"normal"},jP=function(t){return{button:VP,list:BP(t),item:zP(t),groupTitle:DP,command:$P,divider:NP}},HP={parts:ET.keys,baseStyle:jP},WP={bg:"blackAlpha.600",zIndex:"modal"},UP=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"}},GP=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:I("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:I("lg","dark-lg")(t)}},YP={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},KP={position:"absolute",top:2,insetEnd:3},XP=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},ZP={px:6,py:4},qP=function(t){return{overlay:WP,dialogContainer:UP(t),dialog:GP(t),header:YP,closeButton:KP,body:XP(t),footer:ZP}};function Dt(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 QP={xs:Dt("xs"),sm:Dt("sm"),md:Dt("md"),lg:Dt("lg"),xl:Dt("xl"),"2xl":Dt("2xl"),"3xl":Dt("3xl"),"4xl":Dt("4xl"),"5xl":Dt("5xl"),"6xl":Dt("6xl"),full:Dt("full")},JP={size:"md"},e3={parts:kT.keys,baseStyle:qP,sizes:QP,defaultProps:JP},Ss,iy,ay,t3=Se.variants,r3=Se.defaultProps,md=yt("number-input-stepper-width"),oy=yt("number-input-input-padding"),n3=fr(md).add("0.5rem").toString(),i3=(Ss={},Ss[md.variable]="24px",Ss[oy.variable]=n3,Ss),a3=(iy=(ay=Se.baseStyle)==null?void 0:ay.field)!=null?iy:{},o3={width:[md.reference]},l3=function(t){return{borderStart:"1px solid",borderStartColor:I("inherit","whiteAlpha.300")(t),color:I("inherit","whiteAlpha.800")(t),_active:{bg:I("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},s3=function(t){return{root:i3,field:a3,stepperGroup:o3,stepper:l3(t)}};function xs(e){var t,r,n=Se.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=ry.fontSizes[a.toString()];return{field:Ae({},n.field,{paddingInlineEnd:oy.reference,verticalAlign:"top"}),stepper:{fontSize:fr(o).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var u3={xs:xs("xs"),sm:xs("sm"),md:xs("md"),lg:xs("lg")},c3={parts:TT.keys,baseStyle:s3,sizes:u3,variants:t3,defaultProps:r3},ly,f3=Ae({},Se.baseStyle.field,{textAlign:"center"}),d3={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"}},p3={outline:function(t){var r;return(r=Se.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Se.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Se.variants.filled(t).field)!=null?r:{}},unstyled:(ly=Se.variants.unstyled.field)!=null?ly:{}},v3=Se.defaultProps,h3={baseStyle:f3,sizes:d3,variants:p3,defaultProps:v3},gd=yt("popper-bg"),m3=yt("popper-arrow-bg"),g3=yt("popper-arrow-shadow-color"),y3={zIndex:10},b3=function(t){var r,n=I("white","gray.700")(t),i=I("gray.200","whiteAlpha.300")(t);return r={},r[gd.variable]="colors."+n,r.bg=gd.reference,r[m3.variable]=gd.reference,r[g3.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},S3={px:3,py:2,borderBottomWidth:"1px"},x3={px:3,py:2},w3={px:3,py:2,borderTopWidth:"1px"},C3={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},E3=function(t){return{popper:y3,content:b3(t),header:S3,body:x3,footer:w3,arrow:{},closeButton:C3}},k3={parts:_T.keys,baseStyle:E3};function T3(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,a=I(Kg(),Kg("1rem","rgba(0,0,0,0.1)"))(e),o=I(t+".500",t+".200")(e),l=`linear-gradient(
|
|
328
|
+
)`,backgroundSize:e+" "+e}}function tT(e){var t=Wg().toHexString();return!e||Kw(e)?t:e.string&&e.colors?nT(e.string,e.colors):e.string&&!e.colors?rT(e.string):e.colors&&!e.string?iT(e.colors):t}function rT(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 nT(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 iT(e){return e[Math.floor(Math.random()*e.length)]}function I(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Ya(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 aT=function(t){return ih({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 Xg(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 oT(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}var lT=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 oT(e,[{key:"selectors",get:function(){var r=qo(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=qo(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 de(e){return new lT(e)}function Zg(e){return lt(e)&&e.reference?e.reference:String(e)}var ms=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(Zg).join(" "+t+" ").replace(/calc/g,"")},qg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ms.apply(void 0,["+"].concat(r))+")"},Qg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ms.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("+ms.apply(void 0,["*"].concat(r))+")"},Jg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ms.apply(void 0,["/"].concat(r))+")"},ey=function(t){var r=Zg(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:dd(r,-1)},fr=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 fr(qg.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 fr(Qg.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 fr(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 fr(Jg.apply(void 0,[e].concat(n)))},negate:function(){return fr(ey(e))},toString:function(){return e.toString()}}},{add:qg,subtract:Qg,multiply:dd,divide:Jg,negate:ey});function sT(e){return!Number.isInteger(parseFloat(e.toString()))}function uT(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function ty(e){var t=uT(e.toString());return t.includes("\\.")?e:sT(e)?t.replace(".","\\."):e}function cT(e,t){return t===void 0&&(t=""),[t,ty(e)].filter(Boolean).join("-")}function fT(e,t){return"var("+ty(e)+(t?", "+t:"")+")"}function dT(e,t){return t===void 0&&(t=""),"--"+cT(e,t)}function yt(e,t){var r=dT(e,t==null?void 0:t.prefix);return{variable:r,reference:fT(r,pT(t==null?void 0:t.fallback))}}function pT(e){return typeof e=="string"?e:e==null?void 0:e.reference}var vT=de("accordion").parts("root","container","button","panel").extend("icon"),hT=de("alert").parts("title","description","container").extend("icon"),mT=de("avatar").parts("label","badge","container").extend("excessLabel","group"),gT=de("breadcrumb").parts("link","item","container").extend("separator");de("button").parts();var yT=de("checkbox").parts("control","icon","container").extend("label");de("progress").parts("track","filledTrack").extend("label");var bT=de("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ST=de("editable").parts("preview","input","textarea"),xT=de("form").parts("container","requiredIndicator","helperText"),wT=de("formError").parts("text","icon"),CT=de("input").parts("addon","field","element"),ET=de("list").parts("container","item","icon"),kT=de("menu").parts("button","list","item").extend("groupTitle","command","divider"),TT=de("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),_T=de("numberinput").parts("root","field","stepperGroup","stepper");de("pininput").parts("field");var PT=de("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),AT=de("progress").parts("label","filledTrack","track"),FT=de("radio").parts("container","control","label"),OT=de("select").parts("field","icon"),MT=de("slider").parts("container","track","thumb","filledTrack"),RT=de("stat").parts("container","label","helpText","number","icon"),IT=de("switch").parts("container","track","thumb"),LT=de("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),BT=de("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),zT=de("tag").parts("container","label","closeButton"),ry={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"}},DT={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},$T={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},NT={pt:2,px:4,pb:5},VT={fontSize:"1.25em"},jT={root:{},container:DT,button:$T,panel:NT,icon:VT},HT={parts:vT.keys,baseStyle:jT},WT={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 pd(e){var t=e.theme,r=e.colorScheme,n=Re(t,r+".100",r),i=mi(r+".200",.16)(t);return I(n,i)(e)}var UT=function(t){var r=t.colorScheme;return{container:{bg:pd(t)},icon:{color:I(r+".500",r+".200")(t)}}},GT=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:I(r+".500",r+".200")(t),bg:pd(t)},icon:{color:I(r+".500",r+".200")(t)}}},YT=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:I(r+".500",r+".200")(t),bg:pd(t)},icon:{color:I(r+".500",r+".200")(t)}}},KT=function(t){var r=t.colorScheme;return{container:{bg:I(r+".500",r+".200")(t),color:I("white","gray.900")(t)}}},XT={subtle:UT,"left-accent":GT,"top-accent":YT,solid:KT},ZT={variant:"subtle",colorScheme:"blue"},qT={parts:hT.keys,baseStyle:WT,variants:XT,defaultProps:ZT},QT=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:I("white","gray.800")(t)}},JT=function(t){return{bg:I("gray.200","whiteAlpha.400")(t)}},e_=function(t){var r=t.name,n=t.theme,i=r?tT({string:r}):"gray.400",a=eT(i)(n),o="white";a||(o="gray.800");var l=I("white","gray.800")(t);return{bg:i,color:o,borderColor:l,verticalAlign:"top"}},t_=function(t){return{badge:QT(t),excessLabel:JT(t),container:e_(t)}};function Hr(e){var t=Dg[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 r_={"2xs":Hr("4"),xs:Hr("6"),sm:Hr("8"),md:Hr("12"),lg:Hr("16"),xl:Hr("24"),"2xl":Hr("32"),full:Hr("100%")},n_={size:"md"},i_={parts:mT.keys,baseStyle:t_,sizes:r_,defaultProps:n_},a_={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},o_=function(t){var r=t.colorScheme,n=t.theme,i=mi(r+".500",.6)(n);return{bg:I(r+".500",i)(t),color:I("white","whiteAlpha.800")(t)}},l_=function(t){var r=t.colorScheme,n=t.theme,i=mi(r+".200",.16)(n);return{bg:I(r+".100",i)(t),color:I(r+".800",r+".200")(t)}},s_=function(t){var r=t.colorScheme,n=t.theme,i=mi(r+".200",.8)(n),a=Re(n,r+".500"),o=I(a,i)(t);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}},u_={solid:o_,subtle:l_,outline:s_},c_={variant:"subtle",colorScheme:"gray"},gi={baseStyle:a_,variants:u_,defaultProps:c_},f_={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},d_={link:f_},p_={parts:gT.keys,baseStyle:d_},v_={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"}}},ny=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:I("inherit","whiteAlpha.900")(t),_hover:{bg:I("gray.100","whiteAlpha.200")(t)},_active:{bg:I("gray.200","whiteAlpha.300")(t)}};var i=mi(r+".200",.12)(n),a=mi(r+".200",.24)(n);return{color:I(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:I(r+".50",i)(t)},_active:{bg:I(r+".100",a)(t)}}},h_=function(t){var r=t.colorScheme,n=I("gray.200","whiteAlpha.300")(t);return Ae({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},ny(t))},m_={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},g_=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=I("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:I("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:I("gray.300","whiteAlpha.400")(t)}}}var a=(r=m_[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,m=I(l,n+".200")(t);return{bg:m,color:I(u,"gray.800")(t),_hover:{bg:I(d,n+".300")(t),_disabled:{bg:m}},_active:{bg:I(p,n+".400")(t)}}},y_=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:I(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:I(r+".700",r+".500")(t)}}},b_={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},S_={ghost:ny,outline:h_,solid:g_,link:y_,unstyled:b_},x_={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}},w_={variant:"solid",size:"md",colorScheme:"gray"},C_={baseStyle:v_,variants:S_,sizes:x_,defaultProps:w_},E_=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:I(r+".500",r+".200")(t),borderColor:I(r+".500",r+".200")(t),color:I("white","gray.900")(t),_hover:{bg:I(r+".600",r+".300")(t),borderColor:I(r+".600",r+".300")(t)},_disabled:{borderColor:I("gray.200","transparent")(t),bg:I("gray.200","whiteAlpha.300")(t),color:I("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:I(r+".500",r+".200")(t),borderColor:I(r+".500",r+".200")(t),color:I("white","gray.900")(t)},_disabled:{bg:I("gray.100","whiteAlpha.100")(t),borderColor:I("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:I("red.500","red.300")(t)}}},k_={userSelect:"none",_disabled:{opacity:.4}},T_={transitionProperty:"transform",transitionDuration:"normal"},__=function(t){return{icon:T_,control:E_(t),label:k_}},P_={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"}}},A_={size:"md",colorScheme:"blue"},vd={parts:yT.keys,baseStyle:__,sizes:P_,defaultProps:A_},gs,ys,bs,Ka=yt("close-button-size"),F_=function(t){var r=I("blackAlpha.100","whiteAlpha.100")(t),n=I("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"}}},O_={lg:(gs={},gs[Ka.variable]="40px",gs.fontSize="16px",gs),md:(ys={},ys[Ka.variable]="32px",ys.fontSize="12px",ys),sm:(bs={},bs[Ka.variable]="24px",bs.fontSize="10px",bs)},M_={size:"md"},R_={baseStyle:F_,sizes:O_,defaultProps:M_},I_=gi.variants,L_=gi.defaultProps,B_={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},z_={baseStyle:B_,variants:I_,defaultProps:L_},D_={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},$_={baseStyle:D_},N_={opacity:.6,borderColor:"inherit"},V_={borderStyle:"solid"},j_={borderStyle:"dashed"},H_={solid:V_,dashed:j_},W_={variant:"solid"},U_={baseStyle:N_,variants:H_,defaultProps:W_};function yi(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var G_={bg:"blackAlpha.600",zIndex:"overlay"},Y_={display:"flex",zIndex:"modal",justifyContent:"center"},K_=function(t){var r=t.isFullHeight;return Ae({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:I("white","gray.700")(t),color:"inherit",boxShadow:I("lg","dark-lg")(t)})},X_={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Z_={position:"absolute",top:2,insetEnd:3},q_={px:6,py:2,flex:1,overflow:"auto"},Q_={px:6,py:4},J_=function(t){return{overlay:G_,dialogContainer:Y_,dialog:K_(t),header:X_,closeButton:Z_,body:q_,footer:Q_}},e3={xs:yi("xs"),sm:yi("md"),md:yi("lg"),lg:yi("2xl"),xl:yi("4xl"),full:yi("full")},t3={size:"xs"},r3={parts:bT.keys,baseStyle:J_,sizes:e3,defaultProps:t3},n3={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},i3={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},a3={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},o3={preview:n3,input:i3,textarea:a3},l3={parts:ST.keys,baseStyle:o3},s3=function(t){return{marginStart:1,color:I("red.500","red.300")(t)}},u3=function(t){return{mt:2,color:I("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},c3=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:s3(t),helperText:u3(t)}},f3={parts:xT.keys,baseStyle:c3},d3=function(t){return{color:I("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},p3=function(t){return{marginEnd:"0.5em",color:I("red.500","red.300")(t)}},v3=function(t){return{text:d3(t),icon:p3(t)}},h3={parts:wT.keys,baseStyle:v3},m3={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},g3={baseStyle:m3},y3={fontFamily:"heading",fontWeight:"bold"},b3={"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}},S3={size:"xl"},x3={baseStyle:y3,sizes:b3,defaultProps:S3},w3={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},Wr={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"}},C3={lg:{field:Wr.lg,addon:Wr.lg},md:{field:Wr.md,addon:Wr.md},sm:{field:Wr.sm,addon:Wr.sm},xs:{field:Wr.xs,addon:Wr.xs}};function hd(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||I("blue.500","blue.300")(e),errorBorderColor:r||I("red.500","red.300")(e)}}var E3=function(t){var r=t.theme,n=hd(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:I("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Re(r,a),boxShadow:"0 0 0 1px "+Re(r,a)},_focus:{zIndex:1,borderColor:Re(r,i),boxShadow:"0 0 0 1px "+Re(r,i)}},addon:{border:"1px solid",borderColor:I("inherit","whiteAlpha.50")(t),bg:I("gray.100","whiteAlpha.300")(t)}}},k3=function(t){var r=t.theme,n=hd(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:I("gray.100","whiteAlpha.50")(t),_hover:{bg:I("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Re(r,a)},_focus:{bg:"transparent",borderColor:Re(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:I("gray.100","whiteAlpha.50")(t)}}},T3=function(t){var r=t.theme,n=hd(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:Re(r,a),boxShadow:"0px 1px 0px 0px "+Re(r,a)},_focus:{borderColor:Re(r,i),boxShadow:"0px 1px 0px 0px "+Re(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},_3={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},P3={outline:E3,filled:k3,flushed:T3,unstyled:_3},A3={size:"md",variant:"outline"},Se={parts:CT.keys,baseStyle:w3,sizes:C3,variants:P3,defaultProps:A3},F3=function(t){return{bg:I("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},O3={baseStyle:F3},M3={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},R3={baseStyle:M3},I3={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},L3={container:{},item:{},icon:I3},B3={parts:ET.keys,baseStyle:L3},z3=function(t){return{bg:I("#fff","gray.700")(t),boxShadow:I("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},D3=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:I("gray.100","whiteAlpha.100")(t)},_active:{bg:I("gray.200","whiteAlpha.200")(t)},_expanded:{bg:I("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},$3={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},N3={opacity:.6},V3={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},j3={transitionProperty:"common",transitionDuration:"normal"},H3=function(t){return{button:j3,list:z3(t),item:D3(t),groupTitle:$3,command:N3,divider:V3}},W3={parts:kT.keys,baseStyle:H3},U3={bg:"blackAlpha.600",zIndex:"modal"},G3=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"}},Y3=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:I("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:I("lg","dark-lg")(t)}},K3={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},X3={position:"absolute",top:2,insetEnd:3},Z3=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},q3={px:6,py:4},Q3=function(t){return{overlay:U3,dialogContainer:G3(t),dialog:Y3(t),header:K3,closeButton:X3,body:Z3(t),footer:q3}};function Dt(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 J3={xs:Dt("xs"),sm:Dt("sm"),md:Dt("md"),lg:Dt("lg"),xl:Dt("xl"),"2xl":Dt("2xl"),"3xl":Dt("3xl"),"4xl":Dt("4xl"),"5xl":Dt("5xl"),"6xl":Dt("6xl"),full:Dt("full")},eP={size:"md"},tP={parts:TT.keys,baseStyle:Q3,sizes:J3,defaultProps:eP},Ss,iy,ay,rP=Se.variants,nP=Se.defaultProps,md=yt("number-input-stepper-width"),oy=yt("number-input-input-padding"),iP=fr(md).add("0.5rem").toString(),aP=(Ss={},Ss[md.variable]="24px",Ss[oy.variable]=iP,Ss),oP=(iy=(ay=Se.baseStyle)==null?void 0:ay.field)!=null?iy:{},lP={width:[md.reference]},sP=function(t){return{borderStart:"1px solid",borderStartColor:I("inherit","whiteAlpha.300")(t),color:I("inherit","whiteAlpha.800")(t),_active:{bg:I("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},uP=function(t){return{root:aP,field:oP,stepperGroup:lP,stepper:sP(t)}};function xs(e){var t,r,n=Se.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=ry.fontSizes[a.toString()];return{field:Ae({},n.field,{paddingInlineEnd:oy.reference,verticalAlign:"top"}),stepper:{fontSize:fr(o).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var cP={xs:xs("xs"),sm:xs("sm"),md:xs("md"),lg:xs("lg")},fP={parts:_T.keys,baseStyle:uP,sizes:cP,variants:rP,defaultProps:nP},ly,dP=Ae({},Se.baseStyle.field,{textAlign:"center"}),pP={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"}},vP={outline:function(t){var r;return(r=Se.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Se.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Se.variants.filled(t).field)!=null?r:{}},unstyled:(ly=Se.variants.unstyled.field)!=null?ly:{}},hP=Se.defaultProps,mP={baseStyle:dP,sizes:pP,variants:vP,defaultProps:hP},gd=yt("popper-bg"),gP=yt("popper-arrow-bg"),yP=yt("popper-arrow-shadow-color"),bP={zIndex:10},SP=function(t){var r,n=I("white","gray.700")(t),i=I("gray.200","whiteAlpha.300")(t);return r={},r[gd.variable]="colors."+n,r.bg=gd.reference,r[gP.variable]=gd.reference,r[yP.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},xP={px:3,py:2,borderBottomWidth:"1px"},wP={px:3,py:2},CP={px:3,py:2,borderTopWidth:"1px"},EP={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},kP=function(t){return{popper:bP,content:SP(t),header:xP,body:wP,footer:CP,arrow:{},closeButton:EP}},TP={parts:PT.keys,baseStyle:kP};function _P(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,a=I(Kg(),Kg("1rem","rgba(0,0,0,0.1)"))(e),o=I(t+".500",t+".200")(e),l=`linear-gradient(
|
|
329
329
|
to right,
|
|
330
330
|
transparent 0%,
|
|
331
|
-
`+
|
|
331
|
+
`+Re(r,o)+` 50%,
|
|
332
332
|
transparent 100%
|
|
333
|
-
)`,s=!n&&i;return Ae({},s&&a,n?{bgImage:l}:{bgColor:o})}var _3={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},P3=function(t){return{bg:I("gray.100","whiteAlpha.300")(t)}},A3=function(t){return Ae({transitionProperty:"common",transitionDuration:"slow"},T3(t))},F3=function(t){return{label:_3,filledTrack:A3(t),track:P3(t)}},O3={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},M3={size:"md",colorScheme:"blue"},I3={parts:PT.keys,sizes:O3,baseStyle:F3,defaultProps:M3},R3=function(t){var r=vd.baseStyle(t),n=r.control,i=n===void 0?{}:n;return Ae({},i,{borderRadius:"full",_checked:Ae({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},L3=function(t){return{label:vd.baseStyle(t).label,control:R3(t)}},B3={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"}}},z3={size:"md",colorScheme:"blue"},D3={parts:AT.keys,baseStyle:L3,sizes:B3,defaultProps:z3},$3=function(t){return Ae({},Se.baseStyle.field,{bg:I("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:I("white","gray.700")(t)}})},N3={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},V3=function(t){return{field:$3(t),icon:N3}},ws={paddingInlineEnd:"2rem"},j3=Ct({},Se.sizes,{lg:{field:ws},md:{field:ws},sm:{field:ws},xs:{field:ws,icon:{insetEnd:"0.25rem"}}}),H3={parts:FT.keys,baseStyle:V3,sizes:j3,variants:Se.variants,defaultProps:Se.defaultProps},W3=function(t,r){return zn({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},U3=function(t){var r=I("gray.100","gray.800")(t),n=I("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=Ie(u,a),d=Ie(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:d,animation:s+"s linear infinite alternate "+W3(c,d)}},G3={baseStyle:U3},Y3=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:I("white","gray.700")(t)}}},K3={baseStyle:Y3};function X3(e){return Ya({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 Z3=function(t){var r=t.orientation;return Ae({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Ya({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},q3=function(t){return{overflow:"hidden",borderRadius:"sm",bg:I("gray.200","whiteAlpha.200")(t),_disabled:{bg:I("gray.300","whiteAlpha.300")(t)}}},Q3=function(t){return Ae({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"}},X3(t))},J3=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:I(r+".500",r+".200")(t)}},e4=function(t){return{container:Z3(t),track:q3(t),thumb:Q3(t),filledTrack:J3(t)}},t4=function(t){return{thumb:{w:"16px",h:"16px"},track:Ya({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},r4=function(t){return{thumb:{w:"14px",h:"14px"},track:Ya({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},n4=function(t){return{thumb:{w:"10px",h:"10px"},track:Ya({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},i4={lg:t4,md:r4,sm:n4},a4={size:"md",colorScheme:"blue"},o4={parts:OT.keys,sizes:i4,baseStyle:e4,defaultProps:a4},yd,bd,Sd,xd,wd,Sn=yt("spinner-size"),l4={width:[Sn.reference],height:[Sn.reference]},s4={xs:(yd={},yd[Sn.variable]="0.75rem",yd),sm:(bd={},bd[Sn.variable]="1rem",bd),md:(Sd={},Sd[Sn.variable]="1.5rem",Sd),lg:(xd={},xd[Sn.variable]="2rem",xd),xl:(wd={},wd[Sn.variable]="3rem",wd)},u4={size:"md"},c4={baseStyle:l4,sizes:s4,defaultProps:u4},f4={fontWeight:"medium"},d4={opacity:.8,marginBottom:2},p4={verticalAlign:"baseline",fontWeight:"semibold"},v4={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},h4={container:{},label:f4,helpText:d4,number:p4,icon:v4},m4={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},g4={size:"md"},y4={parts:MT.keys,baseStyle:h4,sizes:m4,defaultProps:g4},Cs,Es,ks,Xa=yt("switch-track-width"),xn=yt("switch-track-height"),Cd=yt("switch-track-diff"),b4=fr.subtract(Xa,xn),Ed=yt("switch-thumb-x"),S4=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Xa.reference],height:[xn.reference],transitionProperty:"common",transitionDuration:"fast",bg:I("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:I(r+".500",r+".200")(t)}}},x4={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[xn.reference],height:[xn.reference],_checked:{transform:"translateX("+Ed.reference+")"}},w4=function(t){var r,n;return{container:(n={},n[Cd.variable]=b4,n[Ed.variable]=Cd.reference,n._rtl=(r={},r[Ed.variable]=fr(Cd).negate().toString(),r),n),track:S4(t),thumb:x4}},C4={sm:{container:(Cs={},Cs[Xa.variable]="1.375rem",Cs[xn.variable]="0.75rem",Cs)},md:{container:(Es={},Es[Xa.variable]="1.875rem",Es[xn.variable]="1rem",Es)},lg:{container:(ks={},ks[Xa.variable]="2.875rem",ks[xn.variable]="1.5rem",ks)}},E4={size:"md",colorScheme:"blue"},k4={parts:IT.keys,baseStyle:w4,sizes:C4,defaultProps:E4},T4={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"}},Ts={"&[data-is-numeric=true]":{textAlign:"end"}},_4=function(t){var r=t.colorScheme;return{th:Ae({color:I("gray.600","gray.400")(t),borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),td:Ae({borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),caption:{color:I("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},P4=function(t){var r=t.colorScheme;return{th:Ae({color:I("gray.600","gray.400")(t),borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),td:Ae({borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),caption:{color:I("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:I(r+".100",r+".700")(t)},td:{background:I(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},A4={simple:_4,striped:P4,unstyled:{}},F4={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"}}},O4={variant:"simple",size:"md",colorScheme:"gray"},M4={parts:RT.keys,baseStyle:T4,variants:A4,sizes:F4,defaultProps:O4},I4=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},R4=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},L4=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"}},B4={p:4},z4=function(t){return{root:I4(t),tab:R4(t),tablist:L4(t),tabpanel:B4}},D4={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},$4=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:I(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:I("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},N4=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:I(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:I("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},V4=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:I("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:I("#fff","gray.800")(t),color:I(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},j4=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ie(n,r+".700"),bg:Ie(n,r+".100")}}}},H4=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:I("gray.600","inherit")(t),_selected:{color:I("#fff","gray.800")(t),bg:I(r+".600",r+".300")(t)}}}},W4={},U4={line:$4,enclosed:N4,"enclosed-colored":V4,"soft-rounded":j4,"solid-rounded":H4,unstyled:W4},G4={size:"md",variant:"line",colorScheme:"blue"},Y4={parts:LT.keys,baseStyle:z4,sizes:D4,variants:U4,defaultProps:G4},K4={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},X4={lineHeight:1.2,overflow:"visible"},Z4={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}},q4={container:K4,label:X4,closeButton:Z4},Q4={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}}},J4={subtle:function(t){return{container:gi.variants.subtle(t)}},solid:function(t){return{container:gi.variants.solid(t)}},outline:function(t){return{container:gi.variants.outline(t)}}},e6={size:"md",variant:"subtle",colorScheme:"gray"},t6={parts:BT.keys,variants:J4,baseStyle:q4,sizes:Q4,defaultProps:e6},sy,uy,cy,fy,dy,r6=Ae({},Se.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),n6={outline:function(t){var r;return(r=Se.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Se.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Se.variants.filled(t).field)!=null?r:{}},unstyled:(sy=Se.variants.unstyled.field)!=null?sy:{}},i6={xs:(uy=Se.sizes.xs.field)!=null?uy:{},sm:(cy=Se.sizes.sm.field)!=null?cy:{},md:(fy=Se.sizes.md.field)!=null?fy:{},lg:(dy=Se.sizes.lg.field)!=null?dy:{}},a6={size:"md",variant:"outline"},o6={baseStyle:r6,sizes:i6,variants:n6,defaultProps:a6},kd=yt("tooltip-bg"),l6=yt("popper-arrow-bg"),s6=function(t){var r,n=I("gray.700","gray.300")(t);return r={},r[kd.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[kd.reference],r[l6.variable]=[kd.reference],r.color=I("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},u6={baseStyle:s6},c6=Object.freeze({__proto__:null,Accordion:jT,Alert:ZT,Avatar:n_,Badge:gi,Breadcrumb:d_,Button:w_,Checkbox:vd,CloseButton:M_,Code:B_,Container:D_,Divider:W_,Drawer:tP,Editable:oP,Form:cP,FormError:vP,FormLabel:mP,Heading:SP,Input:Se,Kbd:FP,Link:MP,List:LP,Menu:HP,Modal:e3,NumberInput:c3,PinInput:h3,Popover:k3,Progress:I3,Radio:D3,Select:H3,Skeleton:G3,SkipLink:K3,Slider:o4,Spinner:c4,Stat:y4,Switch:k4,Table:M4,Tabs:Y4,Tag:t6,Textarea:o6,Tooltip:u6}),f6={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},d6=iT({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),p6={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"}},v6={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},h6={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"},m6={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"},g6={"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)"},y6={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},b6={property:m6,easing:g6,duration:y6},S6={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},x6={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},w6=Ae({breakpoints:d6,zIndices:S6,radii:v6,blur:x6,colors:p6},ry,{sizes:Dg,shadows:h6,space:zg,borders:f6,transition:b6}),C6={global:function(t){return{body:{fontFamily:"body",color:I("gray.800","whiteAlpha.900")(t),bg:I("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:I("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:I("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},E6=C6,k6=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function T6(e){return lt(e)?k6.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var _6="ltr",P6={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},py=Ae({direction:_6},w6,{components:c6,styles:E6,config:P6});function Za(){return Za=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},Za.apply(this,arguments)}function A6(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 F6=["as","viewBox","color","focusable","children","className","__css"],vy={path:w.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},w.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),w.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),w.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},hy=Pe(function(e,t){var r=e.as,n=e.viewBox,i=e.color,a=i===void 0?"currentColor":i,o=e.focusable,l=o===void 0?!1:o,s=e.children,u=e.className,c=e.__css,d=A6(e,F6),f=ze("chakra-icon",u),p=Za({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a},c),m={ref:t,focusable:l,className:f,__css:p},y=n!=null?n:vy.viewBox;if(r&&typeof r!="string")return w.createElement(ee.svg,Za({as:r},m,d));var v=s!=null?s:vy.path;return w.createElement(ee.svg,Za({verticalAlign:"middle",viewBox:y},m,d),v)});/*! *****************************************************************************
|
|
333
|
+
)`,s=!n&&i;return Ae({},s&&a,n?{bgImage:l}:{bgColor:o})}var PP={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},AP=function(t){return{bg:I("gray.100","whiteAlpha.300")(t)}},FP=function(t){return Ae({transitionProperty:"common",transitionDuration:"slow"},_P(t))},OP=function(t){return{label:PP,filledTrack:FP(t),track:AP(t)}},MP={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},RP={size:"md",colorScheme:"blue"},IP={parts:AT.keys,sizes:MP,baseStyle:OP,defaultProps:RP},LP=function(t){var r=vd.baseStyle(t),n=r.control,i=n===void 0?{}:n;return Ae({},i,{borderRadius:"full",_checked:Ae({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},BP=function(t){return{label:vd.baseStyle(t).label,control:LP(t)}},zP={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"}}},DP={size:"md",colorScheme:"blue"},$P={parts:FT.keys,baseStyle:BP,sizes:zP,defaultProps:DP},NP=function(t){return Ae({},Se.baseStyle.field,{bg:I("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:I("white","gray.700")(t)}})},VP={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},jP=function(t){return{field:NP(t),icon:VP}},ws={paddingInlineEnd:"2rem"},HP=Ct({},Se.sizes,{lg:{field:ws},md:{field:ws},sm:{field:ws},xs:{field:ws,icon:{insetEnd:"0.25rem"}}}),WP={parts:OT.keys,baseStyle:jP,sizes:HP,variants:Se.variants,defaultProps:Se.defaultProps},UP=function(t,r){return zn({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},GP=function(t){var r=I("gray.100","gray.800")(t),n=I("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=Re(u,a),d=Re(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:d,animation:s+"s linear infinite alternate "+UP(c,d)}},YP={baseStyle:GP},KP=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:I("white","gray.700")(t)}}},XP={baseStyle:KP};function ZP(e){return Ya({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 qP=function(t){var r=t.orientation;return Ae({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Ya({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},QP=function(t){return{overflow:"hidden",borderRadius:"sm",bg:I("gray.200","whiteAlpha.200")(t),_disabled:{bg:I("gray.300","whiteAlpha.300")(t)}}},JP=function(t){return Ae({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"}},ZP(t))},e4=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:I(r+".500",r+".200")(t)}},t4=function(t){return{container:qP(t),track:QP(t),thumb:JP(t),filledTrack:e4(t)}},r4=function(t){return{thumb:{w:"16px",h:"16px"},track:Ya({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},n4=function(t){return{thumb:{w:"14px",h:"14px"},track:Ya({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},i4=function(t){return{thumb:{w:"10px",h:"10px"},track:Ya({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},a4={lg:r4,md:n4,sm:i4},o4={size:"md",colorScheme:"blue"},l4={parts:MT.keys,sizes:a4,baseStyle:t4,defaultProps:o4},yd,bd,Sd,xd,wd,Sn=yt("spinner-size"),s4={width:[Sn.reference],height:[Sn.reference]},u4={xs:(yd={},yd[Sn.variable]="0.75rem",yd),sm:(bd={},bd[Sn.variable]="1rem",bd),md:(Sd={},Sd[Sn.variable]="1.5rem",Sd),lg:(xd={},xd[Sn.variable]="2rem",xd),xl:(wd={},wd[Sn.variable]="3rem",wd)},c4={size:"md"},f4={baseStyle:s4,sizes:u4,defaultProps:c4},d4={fontWeight:"medium"},p4={opacity:.8,marginBottom:2},v4={verticalAlign:"baseline",fontWeight:"semibold"},h4={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},m4={container:{},label:d4,helpText:p4,number:v4,icon:h4},g4={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},y4={size:"md"},b4={parts:RT.keys,baseStyle:m4,sizes:g4,defaultProps:y4},Cs,Es,ks,Xa=yt("switch-track-width"),xn=yt("switch-track-height"),Cd=yt("switch-track-diff"),S4=fr.subtract(Xa,xn),Ed=yt("switch-thumb-x"),x4=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Xa.reference],height:[xn.reference],transitionProperty:"common",transitionDuration:"fast",bg:I("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:I(r+".500",r+".200")(t)}}},w4={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[xn.reference],height:[xn.reference],_checked:{transform:"translateX("+Ed.reference+")"}},C4=function(t){var r,n;return{container:(n={},n[Cd.variable]=S4,n[Ed.variable]=Cd.reference,n._rtl=(r={},r[Ed.variable]=fr(Cd).negate().toString(),r),n),track:x4(t),thumb:w4}},E4={sm:{container:(Cs={},Cs[Xa.variable]="1.375rem",Cs[xn.variable]="0.75rem",Cs)},md:{container:(Es={},Es[Xa.variable]="1.875rem",Es[xn.variable]="1rem",Es)},lg:{container:(ks={},ks[Xa.variable]="2.875rem",ks[xn.variable]="1.5rem",ks)}},k4={size:"md",colorScheme:"blue"},T4={parts:IT.keys,baseStyle:C4,sizes:E4,defaultProps:k4},_4={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"}},Ts={"&[data-is-numeric=true]":{textAlign:"end"}},P4=function(t){var r=t.colorScheme;return{th:Ae({color:I("gray.600","gray.400")(t),borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),td:Ae({borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),caption:{color:I("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},A4=function(t){var r=t.colorScheme;return{th:Ae({color:I("gray.600","gray.400")(t),borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),td:Ae({borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},Ts),caption:{color:I("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:I(r+".100",r+".700")(t)},td:{background:I(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},F4={simple:P4,striped:A4,unstyled:{}},O4={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"}}},M4={variant:"simple",size:"md",colorScheme:"gray"},R4={parts:LT.keys,baseStyle:_4,variants:F4,sizes:O4,defaultProps:M4},I4=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},L4=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},B4=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"}},z4={p:4},D4=function(t){return{root:I4(t),tab:L4(t),tablist:B4(t),tabpanel:z4}},$4={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},N4=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:I(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:I("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},V4=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:I(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:I("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},j4=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:I("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:I("#fff","gray.800")(t),color:I(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},H4=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Re(n,r+".700"),bg:Re(n,r+".100")}}}},W4=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:I("gray.600","inherit")(t),_selected:{color:I("#fff","gray.800")(t),bg:I(r+".600",r+".300")(t)}}}},U4={},G4={line:N4,enclosed:V4,"enclosed-colored":j4,"soft-rounded":H4,"solid-rounded":W4,unstyled:U4},Y4={size:"md",variant:"line",colorScheme:"blue"},K4={parts:BT.keys,baseStyle:D4,sizes:$4,variants:G4,defaultProps:Y4},X4={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},Z4={lineHeight:1.2,overflow:"visible"},q4={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}},Q4={container:X4,label:Z4,closeButton:q4},J4={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}}},e6={subtle:function(t){return{container:gi.variants.subtle(t)}},solid:function(t){return{container:gi.variants.solid(t)}},outline:function(t){return{container:gi.variants.outline(t)}}},t6={size:"md",variant:"subtle",colorScheme:"gray"},r6={parts:zT.keys,variants:e6,baseStyle:Q4,sizes:J4,defaultProps:t6},sy,uy,cy,fy,dy,n6=Ae({},Se.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),i6={outline:function(t){var r;return(r=Se.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Se.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Se.variants.filled(t).field)!=null?r:{}},unstyled:(sy=Se.variants.unstyled.field)!=null?sy:{}},a6={xs:(uy=Se.sizes.xs.field)!=null?uy:{},sm:(cy=Se.sizes.sm.field)!=null?cy:{},md:(fy=Se.sizes.md.field)!=null?fy:{},lg:(dy=Se.sizes.lg.field)!=null?dy:{}},o6={size:"md",variant:"outline"},l6={baseStyle:n6,sizes:a6,variants:i6,defaultProps:o6},kd=yt("tooltip-bg"),s6=yt("popper-arrow-bg"),u6=function(t){var r,n=I("gray.700","gray.300")(t);return r={},r[kd.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[kd.reference],r[s6.variable]=[kd.reference],r.color=I("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},c6={baseStyle:u6},f6=Object.freeze({__proto__:null,Accordion:HT,Alert:qT,Avatar:i_,Badge:gi,Breadcrumb:p_,Button:C_,Checkbox:vd,CloseButton:R_,Code:z_,Container:$_,Divider:U_,Drawer:r3,Editable:l3,Form:f3,FormError:h3,FormLabel:g3,Heading:x3,Input:Se,Kbd:O3,Link:R3,List:B3,Menu:W3,Modal:tP,NumberInput:fP,PinInput:mP,Popover:TP,Progress:IP,Radio:$P,Select:WP,Skeleton:YP,SkipLink:XP,Slider:l4,Spinner:f4,Stat:b4,Switch:T4,Table:R4,Tabs:K4,Tag:r6,Textarea:l6,Tooltip:c6}),d6={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},p6=aT({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),v6={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"}},h6={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},m6={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"},g6={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"},y6={"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)"},b6={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},S6={property:g6,easing:y6,duration:b6},x6={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},w6={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},C6=Ae({breakpoints:p6,zIndices:x6,radii:h6,blur:w6,colors:v6},ry,{sizes:Dg,shadows:m6,space:zg,borders:d6,transition:S6}),E6={global:function(t){return{body:{fontFamily:"body",color:I("gray.800","whiteAlpha.900")(t),bg:I("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:I("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:I("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},k6=E6,T6=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function _6(e){return lt(e)?T6.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var P6="ltr",A6={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},py=Ae({direction:P6},C6,{components:f6,styles:k6,config:A6});function Za(){return Za=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},Za.apply(this,arguments)}function F6(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 O6=["as","viewBox","color","focusable","children","className","__css"],vy={path:w.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},w.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),w.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),w.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},hy=Pe(function(e,t){var r=e.as,n=e.viewBox,i=e.color,a=i===void 0?"currentColor":i,o=e.focusable,l=o===void 0?!1:o,s=e.children,u=e.className,c=e.__css,d=F6(e,O6),f=De("chakra-icon",u),p=Za({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a},c),m={ref:t,focusable:l,className:f,__css:p},y=n!=null?n:vy.viewBox;if(r&&typeof r!="string")return w.createElement(ee.svg,Za({as:r},m,d));var v=s!=null?s:vy.path;return w.createElement(ee.svg,Za({verticalAlign:"middle",viewBox:y},m,d),v)});/*! *****************************************************************************
|
|
334
334
|
Copyright (c) Microsoft Corporation.
|
|
335
335
|
|
|
336
336
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -343,7 +343,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
343
343
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
344
344
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
345
345
|
PERFORMANCE OF THIS SOFTWARE.
|
|
346
|
-
***************************************************************************** */var Td=function(e,t){return Td=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])},Td(e,t)};function my(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Td(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var $=function(){return $=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},$.apply(this,arguments)};function Ot(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 O6(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(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 $t(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||Array.prototype.slice.call(t))}var dr=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},qa={measureLayout:dr(["layout","layoutId","drag"]),animation:dr(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:dr(["exit"]),drag:dr(["drag","dragControls"]),focus:dr(["whileFocus"]),hover:dr(["whileHover","onHoverStart","onHoverEnd"]),tap:dr(["whileTap","onTap","onTapStart","onTapCancel"]),pan:dr(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:dr(["whileInView","onViewportEnter","onViewportLeave"])};function M6(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?qa.projectionNodeConstructor=e[t]:qa[t].Component=e[t])}var I6=function(){},_s=function(){},gy=M.createContext({strict:!1}),yy=Object.keys(qa),R6=yy.length;function L6(e,t,r){var n=[];if(M.useContext(gy),!t)return null;for(var i=0;i<R6;i++){var a=yy[i],o=qa[a],l=o.isEnabled,s=o.Component;l(e)&&s&&n.push(w.createElement(s,$({key:a},e,{visualElement:t})))}return n}var _d=M.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Ps=M.createContext({});function B6(){return M.useContext(Ps).visualElement}var Qa=M.createContext(null),Ja=typeof window!="undefined",As=Ja?M.useLayoutEffect:M.useEffect,Pd={current:null},by=!1;function z6(){if(by=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Pd.current=e.matches};e.addListener(t),t()}else Pd.current=!1}function D6(){!by&&z6();var e=ke(M.useState(Pd.current),1),t=e[0];return t}function $6(){var e=D6(),t=M.useContext(_d).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function N6(e,t,r,n){var i=M.useContext(gy),a=B6(),o=M.useContext(Qa),l=$6(),s=M.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 As(function(){u==null||u.syncRender()}),M.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),As(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function bi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function V6(e,t,r){return M.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):bi(r)&&(r.current=n))},[t])}function Sy(e){return Array.isArray(e)}function Nt(e){return typeof e=="string"||Sy(e)}function j6(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function H6(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function xy(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 Fs(e,t,r){var n=e.getProps();return xy(n,t,r!=null?r:n.custom,j6(e),H6(e))}function Os(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||Nt(e.initial)||Nt(e.animate)||Nt(e.whileHover)||Nt(e.whileDrag)||Nt(e.whileTap)||Nt(e.whileFocus)||Nt(e.exit)}function wy(e){return Boolean(Os(e)||e.variants)}function W6(e,t){if(Os(e)){var r=e.initial,n=e.animate;return{initial:r===!1||Nt(r)?r:void 0,animate:Nt(n)?n:void 0}}return e.inherit!==!1?t:{}}function U6(e){var t=W6(e,M.useContext(Ps)),r=t.initial,n=t.animate;return M.useMemo(function(){return{initial:r,animate:n}},[Cy(r),Cy(n)])}function Cy(e){return Array.isArray(e)?e.join(" "):e}function eo(e){var t=M.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ey=1/60*1e3,G6=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),ky=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(G6()),Ey);function Y6(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 K6=40;let Ad=!0,to=!1,Fd=!1;const Si={delta:0,timestamp:0},ro=["read","update","preRender","render","postRender"],Ms=ro.reduce((e,t)=>(e[t]=Y6(()=>to=!0),e),{}),Qt=ro.reduce((e,t)=>{const r=Ms[t];return e[t]=(n,i=!1,a=!1)=>(to||Z6(),r.schedule(n,i,a)),e},{}),no=ro.reduce((e,t)=>(e[t]=Ms[t].cancel,e),{}),Od=ro.reduce((e,t)=>(e[t]=()=>Ms[t].process(Si),e),{}),X6=e=>Ms[e].process(Si),Ty=e=>{to=!1,Si.delta=Ad?Ey:Math.max(Math.min(e-Si.timestamp,K6),1),Si.timestamp=e,Fd=!0,ro.forEach(X6),Fd=!1,to&&(Ad=!1,ky(Ty))},Z6=()=>{to=!0,Ad=!0,Fd||ky(Ty)},Md=()=>Si,Is=(e,t,r)=>Math.min(Math.max(r,e),t),Id=.001,q6=.01,_y=10,Q6=.05,J6=1;function eA({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,a;I6(e<=_y*1e3);let o=1-t;o=Is(Q6,J6,o),e=Is(q6,_y,e/1e3),o<1?(i=u=>{const c=u*o,d=c*e,f=c-r,p=Rd(u,o),m=Math.exp(-d);return Id-f/p*m},a=u=>{const d=u*o*e,f=d*r+r,p=Math.pow(o,2)*Math.pow(u,2)*e,m=Math.exp(-d),y=Rd(Math.pow(u,2),o);return(-i(u)+Id>0?-1:1)*((f-p)*m)/y}):(i=u=>{const c=Math.exp(-u*e),d=(u-r)*e+1;return-Id+c*d},a=u=>{const c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});const l=5/e,s=rA(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 tA=12;function rA(e,t,r){let n=r;for(let i=1;i<tA;i++)n=n-e(n)/t(n);return n}function Rd(e,t){return e*Math.sqrt(1-t*t)}const nA=["duration","bounce"],iA=["stiffness","damping","mass"];function Py(e,t){return t.some(r=>e[r]!==void 0)}function aA(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Py(e,iA)&&Py(e,nA)){const r=eA(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ld(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,a=Ot(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=aA(a),p=Ay,m=Ay;function y(){const v=c?-(c/1e3):0,h=r-t,g=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)),g<1){const x=Rd(b,g);p=k=>{const _=Math.exp(-g*b*k);return r-_*((v+g*b*h)/x*Math.sin(x*k)+h*Math.cos(x*k))},m=k=>{const _=Math.exp(-g*b*k);return g*b*_*(Math.sin(x*k)*(v+g*b*h)/x+h*Math.cos(x*k))-_*(Math.cos(x*k)*(v+g*b*h)-x*h*Math.sin(x*k))}}else if(g===1)p=x=>r-Math.exp(-b*x)*(h+(v+b*h)*x);else{const x=b*Math.sqrt(g*g-1);p=k=>{const _=Math.exp(-g*b*k),T=Math.min(x*k,300);return r-_*((v+g*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 g=m(v)*1e3,b=Math.abs(g)<=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()}}}Ld.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Ay=e=>0,io=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Te=(e,t,r)=>-r*e+r*t+e,Fy=(e,t)=>r=>Math.max(Math.min(r,t),e),ao=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,oA=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function lo(e){return typeof e=="string"}const wn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},so=Object.assign(Object.assign({},wn),{transform:Fy(0,1)}),Rs=Object.assign(Object.assign({},wn),{default:1}),uo=e=>({test:t=>lo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ur=uo("deg"),Jt=uo("%"),K=uo("px"),lA=uo("vh"),sA=uo("vw"),Oy=Object.assign(Object.assign({},Jt),{parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)}),zd=(e,t)=>r=>Boolean(lo(r)&&oA.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),My=(e,t,r)=>n=>{if(!lo(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}},Cn={test:zd("hsl","hue"),parse:My("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Jt.transform(ao(t))+", "+Jt.transform(ao(r))+", "+ao(so.transform(n))+")"},uA=Fy(0,255),Dd=Object.assign(Object.assign({},wn),{transform:e=>Math.round(uA(e))}),Gr={test:zd("rgb","red"),parse:My("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Dd.transform(e)+", "+Dd.transform(t)+", "+Dd.transform(r)+", "+ao(so.transform(n))+")"};function cA(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 $d={test:zd("#"),parse:cA,transform:Gr.transform},rt={test:e=>Gr.test(e)||$d.test(e)||Cn.test(e),parse:e=>Gr.test(e)?Gr.parse(e):Cn.test(e)?Cn.parse(e):$d.parse(e),transform:e=>lo(e)?e:e.hasOwnProperty("red")?Gr.transform(e):Cn.transform(e)},Iy="${c}",Ry="${n}";function fA(e){var t,r,n,i;return isNaN(e)&&lo(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 Ly(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(Bd);n&&(r=n.length,e=e.replace(Bd,Iy),t.push(...n.map(rt.parse)));const i=e.match(oo);return i&&(e=e.replace(oo,Ry),t.push(...i.map(wn.parse))),{values:t,numColors:r,tokenised:e}}function By(e){return Ly(e).values}function zy(e){const{values:t,numColors:r,tokenised:n}=Ly(e),i=t.length;return a=>{let o=n;for(let l=0;l<i;l++)o=o.replace(l<r?Iy:Ry,l<r?rt.transform(a[l]):ao(a[l]));return o}}const dA=e=>typeof e=="number"?0:e;function pA(e){const t=By(e);return zy(e)(t.map(dA))}const pr={test:fA,parse:By,createTransformer:zy,getAnimatableNone:pA},vA=new Set(["brightness","contrast","saturate","opacity"]);function hA(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=vA.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}const mA=/([a-z-]*)\(.*?\)/g,Nd=Object.assign(Object.assign({},pr),{getAnimatableNone:e=>{const t=e.match(mA);return t?t.map(hA).join(" "):e}});function Vd(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 Dy({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=Vd(s,l,e+1/3),a=Vd(s,l,e),o=Vd(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:n}}const gA=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},yA=[$d,Gr,Cn],$y=e=>yA.find(t=>t.test(e)),Ny=(e,t)=>{let r=$y(e),n=$y(t),i=r.parse(e),a=n.parse(t);r===Cn&&(i=Dy(i),r=Gr),n===Cn&&(a=Dy(a),n=Gr);const o=Object.assign({},i);return l=>{for(const s in o)s!=="alpha"&&(o[s]=gA(i[s],a[s],l));return o.alpha=Te(i.alpha,a.alpha,l),r.transform(o)}},jd=e=>typeof e=="number",bA=(e,t)=>r=>t(e(r)),Ls=(...e)=>e.reduce(bA);function Vy(e,t){return jd(e)?r=>Te(e,t,r):rt.test(e)?Ny(e,t):Wy(e,t)}const jy=(e,t)=>{const r=[...e],n=r.length,i=e.map((a,o)=>Vy(a,t[o]));return a=>{for(let o=0;o<n;o++)r[o]=i[o](a);return r}},SA=(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]=Vy(e[i],t[i]));return i=>{for(const a in n)r[a]=n[a](i);return r}};function Hy(e){const t=pr.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 Wy=(e,t)=>{const r=pr.createTransformer(t),n=Hy(e),i=Hy(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Ls(jy(n.parsed,i.parsed),r):o=>`${o>0?t:e}`},xA=(e,t)=>r=>Te(e,t,r);function wA(e){if(typeof e=="number")return xA;if(typeof e=="string")return rt.test(e)?Ny:Wy;if(Array.isArray(e))return jy;if(typeof e=="object")return SA}function CA(e,t,r){const n=[],i=r||wA(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=Ls(s,l)}n.push(l)}return n}function EA([e,t],[r]){return n=>r(io(e,t,n))}function kA(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=io(e[a],e[a+1],i);return t[a](l)}}function Uy(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const a=e.length;_s(a===t.length),_s(!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=CA(t,n,i),l=a===2?EA(e,o):kA(e,o);return r?s=>l(Is(e[0],e[a-1],s)):l}const Bs=e=>t=>1-e(1-t),Hd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,TA=e=>t=>Math.pow(t,e),Gy=e=>t=>t*t*((e+1)*t-e),_A=e=>{const t=Gy(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},Yy=1.525,PA=4/11,AA=8/11,FA=9/10,Wd=e=>e,Ud=TA(2),OA=Bs(Ud),Ky=Hd(Ud),Xy=e=>1-Math.sin(Math.acos(e)),Gd=Bs(Xy),MA=Hd(Gd),Yd=Gy(Yy),IA=Bs(Yd),RA=Hd(Yd),LA=_A(Yy),BA=4356/361,zA=35442/1805,DA=16061/1805,zs=e=>{if(e===1||e===0)return e;const t=e*e;return e<PA?7.5625*t:e<AA?9.075*t-9.9*e+3.4:e<FA?BA*t-zA*e+DA:10.8*e*e-20.52*e+10.72},$A=Bs(zs),NA=e=>e<.5?.5*(1-zs(1-e*2)):.5*zs(e*2-1)+.5;function VA(e,t){return e.map(()=>t||Ky).splice(0,e.length-1)}function jA(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function HA(e,t){return e.map(r=>r*t)}function Ds({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=HA(n&&n.length===o.length?n:jA(o),i);function s(){return Uy(l,o,{ease:Array.isArray(r)?r:VA(o,r)})}let u=s();return{next:c=>(a.value=u(c),a.done=c>=i,a),flipTarget:()=>{o.reverse(),u=s()}}}function WA({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 Zy={keyframes:Ds,spring:Ld,decay:WA};function UA(e){if(Array.isArray(e.to))return Ds;if(Zy[e.type])return Zy[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Ds:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ld:Ds}const qy=1/60*1e3,GA=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Qy=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(GA()),qy);function YA(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 KA=40;let Kd=!0,co=!1,Xd=!1;const xi={delta:0,timestamp:0},fo=["read","update","preRender","render","postRender"],$s=fo.reduce((e,t)=>(e[t]=YA(()=>co=!0),e),{}),XA=fo.reduce((e,t)=>{const r=$s[t];return e[t]=(n,i=!1,a=!1)=>(co||QA(),r.schedule(n,i,a)),e},{}),ZA=fo.reduce((e,t)=>(e[t]=$s[t].cancel,e),{});fo.reduce((e,t)=>(e[t]=()=>$s[t].process(xi),e),{});const qA=e=>$s[e].process(xi),Jy=e=>{co=!1,xi.delta=Kd?qy:Math.max(Math.min(e-xi.timestamp,KA),1),xi.timestamp=e,Xd=!0,fo.forEach(qA),Xd=!1,co&&(Kd=!1,Qy(Jy))},QA=()=>{co=!0,Kd=!0,Xd||Qy(Jy)},JA=()=>xi;function e1(e,t,r=0){return e-t-r}function eF(e,t,r=0,n=!0){return n?e1(t+-e,t,r):t-(e-t)+r}function tF(e,t,r,n){return n?e>=t+r:e<=-r}const rF=e=>{const t=({delta:r})=>e(r);return{start:()=>XA.update(t,!0),stop:()=>ZA.update(t)}};function t1(e){var t,r,{from:n,autoplay:i=!0,driver:a=rF,elapsed:o=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:m}=e,y=Ot(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,h,g=0,b=y.duration,x,k=!1,_=!0,T;const O=UA(y);!((r=(t=O).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(T=Uy([0,100],[n,v],{clamp:!1}),n=0,v=100);const F=O(Object.assign(Object.assign({},y),{from:n,to:v}));function H(){g++,s==="reverse"?(_=g%2===0,o=eF(o,b,u,_)):(o=e1(o,b,u),s==="mirror"&&F.flipTarget()),k=!1,p&&p()}function J(){h.stop(),f&&f()}function X(q){if(_||(q=-q),o+=q,!k){const ne=F.next(Math.max(0,o));x=ne.value,T&&(x=T(x)),k=_?ne.done:o<=0}m==null||m(x),k&&(g===0&&(b!=null||(b=o)),g<l?tF(o,b,u,_)&&H():J())}function Z(){c==null||c(),h=a(X),h.start()}return i&&Z(),{stop:()=>{d==null||d(),h.stop()}}}function r1(e,t){return t?e*(1e3/t):0}function nF({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 m;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){m==null||m.stop(),m=t1(Object.assign(Object.assign({},b),{driver:c,onUpdate:x=>{var k;d==null||d(x),(k=b.onUpdate)===null||k===void 0||k.call(b,x)},onComplete:f,onStop:p}))}function g(b){h(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:s},b))}if(y(e))g({from:e,velocity:t,to:v(e)});else{let b=i*t+e;typeof u!="undefined"&&(b=u(b));const x=v(b),k=x===r?-1:1;let _,T;const O=F=>{_=T,T=F,t=r1(F-_,JA().delta),(k===1&&F>x||k===-1&&F<x)&&g({from:F,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:()=>m==null?void 0:m.stop()}}const Zd=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),n1=e=>Zd(e)&&e.hasOwnProperty("z"),Ns=(e,t)=>Math.abs(e-t);function i1(e,t){if(jd(e)&&jd(t))return Ns(e,t);if(Zd(e)&&Zd(t)){const r=Ns(e.x,t.x),n=Ns(e.y,t.y),i=n1(e)&&n1(t)?Ns(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const a1=(e,t)=>1-3*t+3*e,o1=(e,t)=>3*t-6*e,l1=e=>3*e,Vs=(e,t,r)=>((a1(t,r)*e+o1(t,r))*e+l1(t))*e,s1=(e,t,r)=>3*a1(t,r)*e*e+2*o1(t,r)*e+l1(t),iF=1e-7,aF=10;function oF(e,t,r,n,i){let a,o,l=0;do o=t+(r-t)/2,a=Vs(o,n,i)-e,a>0?r=o:t=o;while(Math.abs(a)>iF&&++l<aF);return o}const lF=8,sF=.001;function uF(e,t,r,n){for(let i=0;i<lF;++i){const a=s1(t,r,n);if(a===0)return t;t-=(Vs(t,r,n)-e)/a}return t}const js=11,Hs=1/(js-1);function cF(e,t,r,n){if(e===t&&r===n)return Wd;const i=new Float32Array(js);for(let o=0;o<js;++o)i[o]=Vs(o*Hs,e,r);function a(o){let l=0,s=1;const u=js-1;for(;s!==u&&i[s]<=o;++s)l+=Hs;--s;const c=(o-i[s])/(i[s+1]-i[s]),d=l+c*Hs,f=s1(d,e,r);return f>=sF?uF(o,d,e,r):f===0?d:oF(o,l,l+Hs,e,r)}return o=>o===0||o===1?o:Vs(a(o),t,n)}function qd(e,t){e.indexOf(t)===-1&&e.push(t)}function Qd(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var po=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return qd(this.subscriptions,t),function(){return Qd(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}(),fF=function(e){return!isNaN(parseFloat(e))},dF=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new po,this.velocityUpdateSubscribers=new po,this.renderSubscribers=new po,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var a=Md(),o=a.delta,l=a.timestamp;r.lastUpdated!==l&&(r.timeDelta=o,r.lastUpdated=l,Qt.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 Qt.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=fF(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?r1(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 wi(e){return new dF(e)}var vr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Ws=function(e){return e*1e3},pF={linear:Wd,easeIn:Ud,easeInOut:Ky,easeOut:OA,circIn:Xy,circInOut:MA,circOut:Gd,backIn:Yd,backInOut:RA,backOut:IA,anticipate:LA,bounceIn:$A,bounceInOut:NA,bounceOut:zs},u1=function(e){if(Array.isArray(e)){_s(e.length===4);var t=ke(e,4),r=t[0],n=t[1],i=t[2],a=t[3];return cF(r,n,i,a)}else if(typeof e=="string")return pF[e];return e},vF=function(e){return Array.isArray(e)&&typeof e[0]!="number"},c1=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&pr.test(t)&&!t.startsWith("url("))},vo=function(e){return Array.isArray(e)},En=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Us=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Jd=function(){return{type:"keyframes",ease:"linear",duration:.3}},hF=function(e){return{type:"keyframes",duration:.8,values:e}},f1={x:En,y:En,z:En,rotate:En,rotateX:En,rotateY:En,rotateZ:En,scaleX:Us,scaleY:Us,scale:Us,opacity:Jd,backgroundColor:Jd,color:Jd,default:Us},mF=function(e,t){var r;return vo(t)?r=hF:r=f1[e]||f1.default,$({to:t},r(t))},d1=$($({},wn),{transform:Math.round}),p1={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,size:K,top:K,right:K,bottom:K,left:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,rotate:Ur,rotateX:Ur,rotateY:Ur,rotateZ:Ur,scale:Rs,scaleX:Rs,scaleY:Rs,scaleZ:Rs,skew:Ur,skewX:Ur,skewY:Ur,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:so,originX:Oy,originY:Oy,originZ:K,zIndex:d1,fillOpacity:so,strokeOpacity:so,numOctaves:d1},gF=$($({},p1),{color:rt,backgroundColor:rt,outlineColor:rt,fill:rt,stroke:rt,borderColor:rt,borderTopColor:rt,borderRightColor:rt,borderBottomColor:rt,borderLeftColor:rt,filter:Nd,WebkitFilter:Nd}),ep=function(e){return gF[e]};function tp(e,t){var r,n=ep(e);return n!==Nd&&(n=pr),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var yF={current:!1},bF=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},v1=function(e){return vo(e)?e[e.length-1]||0:e};function SF(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Ot(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function xF(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,a=e.loop,o=Ot(e,["ease","times","yoyo","flip","loop"]),l=$({},o);return r&&(l.offset=r),o.duration&&(l.duration=Ws(o.duration)),o.repeatDelay&&(l.repeatDelay=Ws(o.repeatDelay)),t&&(l.ease=vF(t)?t.map(u1):u1(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 wF(e,t){var r,n,i=rp(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function CF(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=$t([],ke(e.to),!1),e.to[0]=e.from),e}function EF(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),CF(t),SF(e)||(e=$($({},e),mF(r,t.to))),$($({},t),xF(e))}function kF(e,t,r,n,i){var a,o=rp(n,e),l=(a=o.from)!==null&&a!==void 0?a:t.get(),s=c1(e,r);l==="none"&&s&&typeof r=="string"?l=tp(e,r):h1(l)&&typeof r=="string"?l=m1(r):!Array.isArray(r)&&h1(r)&&typeof l=="string"&&(r=m1(l));var u=c1(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"?nF($($({},f),o)):t1($($({},EF(o,f,e)),{onUpdate:function(p){var m;f.onUpdate(p),(m=o.onUpdate)===null||m===void 0||m.call(o,p)},onComplete:function(){var p;f.onComplete(),(p=o.onComplete)===null||p===void 0||p.call(o)}}))}function d(){var f,p,m=v1(r);return t.set(m),i(),(f=o==null?void 0:o.onUpdate)===null||f===void 0||f.call(o,m),(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 h1(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function m1(e){return typeof e=="number"?0:tp("",e)}function rp(e,t){return e[t]||e.default||e}function np(e,t,r,n){return n===void 0&&(n={}),yF.current&&(n={type:!1}),t.start(function(i){var a,o,l=kF(e,t,r,n,i),s=wF(n,e),u=function(){return o=l()};return s?a=window.setTimeout(u,Ws(s)):u(),function(){clearTimeout(a),o==null||o.stop()}})}function TF(e,t,r){r===void 0&&(r={});var n=vr(e)?e:wi(e);return np("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var g1=["TopLeft","TopRight","BottomLeft","BottomRight"],_F=g1.length,y1=function(e){return typeof e=="string"?parseFloat(e):e},b1=function(e){return typeof e=="number"||K.test(e)};function PF(e,t,r,n,i,a){var o,l,s,u;i?(e.opacity=Te(0,(o=r.opacity)!==null&&o!==void 0?o:1,AF(n)),e.opacityExit=Te((l=t.opacity)!==null&&l!==void 0?l:1,0,FF(n))):a&&(e.opacity=Te((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<_F;c++){var d="border".concat(g1[c],"Radius"),f=S1(t,d),p=S1(r,d);if(!(f===void 0&&p===void 0)){f||(f=0),p||(p=0);var m=f===0||p===0||b1(f)===b1(p);m?(e[d]=Math.max(Te(y1(f),y1(p),n),0),(Jt.test(p)||Jt.test(f))&&(e[d]+="%")):e[d]=p}}(t.rotate||r.rotate)&&(e.rotate=Te(t.rotate||0,r.rotate||0,n))}function S1(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var AF=x1(0,.5,Gd),FF=x1(.5,.95,Wd);function x1(e,t,r){return function(n){return n<e?0:n>t?1:r(io(e,t,n))}}function w1(e,t){e.min=t.min,e.max=t.max}function er(e,t){w1(e.x,t.x),w1(e.y,t.y)}function ip(e){return e===void 0||e===1}function C1(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!ip(t)||!ip(r)||!ip(n)}function Yr(e){return C1(e)||E1(e.x)||E1(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function E1(e){return e&&e!=="0%"}function Gs(e,t,r){var n=e-r,i=t*n;return r+i}function k1(e,t,r,n,i){return i!==void 0&&(e=Gs(e,i,n)),Gs(e,r,n)+t}function ap(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=k1(e.min,t,r,n,i),e.max=k1(e.max,t,r,n,i)}function T1(e,t){var r=t.x,n=t.y;ap(e.x,r.translate,r.scale,r.originPoint),ap(e.y,n.translate,n.scale,n.originPoint)}function OF(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&&Ei(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,T1(e,s)),n&&Yr(l.latestValues)&&Ei(e,l.latestValues))}}function Ci(e,t){e.min=e.min+t,e.max=e.max+t}function _1(e,t,r){var n=ke(r,3),i=n[0],a=n[1],o=n[2],l=t[o]!==void 0?t[o]:.5,s=Te(e.min,e.max,l);ap(e,t[i],t[a],s,t.scale)}var MF=["x","scaleX","originX"],IF=["y","scaleY","originY"];function Ei(e,t){_1(e.x,t,MF),_1(e.y,t,IF)}function hr(e){return e.max-e.min}function P1(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),i1(e,t)<r}function A1(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Te(t.min,t.max,e.origin),e.scale=hr(r)/hr(t),(P1(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Te(r.min,r.max,e.origin)-e.originPoint,(P1(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ho(e,t,r,n){A1(e.x,t.x,r.x,n==null?void 0:n.originX),A1(e.y,t.y,r.y,n==null?void 0:n.originY)}function F1(e,t,r){e.min=r.min+t.min,e.max=e.min+hr(t)}function RF(e,t,r){F1(e.x,t.x,r.x),F1(e.y,t.y,r.y)}function O1(e,t,r){e.min=t.min-r.min,e.max=e.min+hr(t)}function mo(e,t,r){O1(e.x,t.x,r.x),O1(e.y,t.y,r.y)}function M1(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 LF(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),Jt.test(t)){t=parseFloat(t);var l=Te(o.min,o.max,t/100);t=l-o.min}if(typeof t=="number"){var s=Te(a.min,a.max,n);e===a&&(s-=t),e.min=M1(e.min,t,r,s,i),e.max=M1(e.max,t,r,s,i)}}function I1(e,t,r,n,i){var a=ke(r,3),o=a[0],l=a[1],s=a[2];LF(e,t[o],t[l],t[s],t.scale,n,i)}var BF=["x","scaleX","originX"],zF=["y","scaleY","originY"];function R1(e,t,r,n){I1(e.x,t,BF,r==null?void 0:r.x,n==null?void 0:n.x),I1(e.y,t,zF,r==null?void 0:r.y,n==null?void 0:n.y)}var L1=function(){return{translate:0,scale:1,origin:0,originPoint:0}},go=function(){return{x:L1(),y:L1()}},B1=function(){return{min:0,max:0}},qe=function(){return{x:B1(),y:B1()}};function z1(e){return e.translate===0&&e.scale===1}function D1(e){return z1(e.x)&&z1(e.y)}function $1(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 DF=function(){function e(){this.members=[]}return e.prototype.add=function(t){qd(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(Qd(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 $F(e){Object.assign(Ys,e)}var NF="translate3d(0px, 0px, 0) scale(1, 1)";function N1(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===NF?"none":a}function tr(e){return[e("x"),e("y")]}var op=["","X","Y","Z"],VF=["translate","scale","rotate","skew"],yo=["transformPerspective","x","y","z"];VF.forEach(function(e){return op.forEach(function(t){return yo.push(e+t)})});function jF(e,t){return yo.indexOf(e)-yo.indexOf(t)}var HF=new Set(yo);function bo(e){return HF.has(e)}var WF=new Set(["originX","originY","originZ"]);function V1(e){return WF.has(e)}var UF=function(e,t){return e.depth-t.depth},GF=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){qd(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){Qd(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(UF),this.isDirty=!1,this.children.forEach(t)},e}();function Ks(e){var t=vr(e)?e.get():e;return bF(t)?t.toValue():t}var j1=1e3,So={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function H1(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(QF),u.nodes.forEach(JF)},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?$t($t([],ke(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 GF)}return a.prototype.addEventListener=function(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new po),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,$t([],ke(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 m,y=function(){return s.root.updateBlockedByResize=!1};t(o,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),So.hasAnimatedSinceResize&&(So.hasAnimatedSinceResize=!1,s.nodes.forEach(qF))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||f)&&this.addEventListener("didUpdate",function(v){var h,g,b,x,k,_=v.delta,T=v.hasLayoutChanged,O=v.hasRelativeTargetChanged,F=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var H=(g=(h=s.options.transition)!==null&&h!==void 0?h:p.getDefaultTransition())!==null&&g!==void 0?g:iO,J=p.getProps().onLayoutAnimationComplete,X=!s.targetLayout||!$1(s.targetLayout,F)||O,Z=!T&&O;if(((b=s.resumeFrom)===null||b===void 0?void 0:b.instance)||Z||T&&(X||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(_,Z);var q=$($({},rp(H,"layout")),{onComplete:J});p.shouldReduceMotion&&(q.delay=0,q.type=!1),s.startAnimation(q)}else!T&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(x=s.options).onExitComplete)===null||k===void 0||k.call(x));s.targetLayout=F})}},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,no.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(eO))},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,m=f.layout;if(!(p===void 0&&!m)){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(W1);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(aO),this.potentialNodes.clear()),this.nodes.forEach(ZF),this.nodes.forEach(YF),this.nodes.forEach(KF),this.clearAllSnapshots(),Od.update(),Od.preRender(),Od.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(XF),this.sharedNodes.forEach(tO)},a.prototype.scheduleUpdateProjection=function(){Qt.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var o=this;Qt.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));K1(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();K1(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=qe(),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&&!D1(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||Yr(this.latestValues)||d)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var o=this.options.visualElement;if(!o)return qe();var l=o.measureViewportBox(),s=this.root.scroll;return s&&(Ci(l.x,s.x),Ci(l.y,s.y)),l},a.prototype.removeElementScroll=function(o){var l=qe();er(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&&(Ci(l.x,c.x),Ci(l.y,c.y))}return l},a.prototype.applyTransform=function(o,l){l===void 0&&(l=!1);var s=qe();er(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&&Ei(s,{x:-c.scroll.x,y:-c.scroll.y}),Yr(c.latestValues)&&Ei(s,c.latestValues)}return Yr(this.latestValues)&&Ei(s,this.latestValues),s},a.prototype.removeTransform=function(o){var l,s=qe();er(s,o);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!Yr(c.latestValues)){C1(c.latestValues)&&c.updateSnapshot();var d=qe(),f=c.measure();er(d,f),R1(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,d)}}return Yr(this.latestValues)&&R1(s,this.latestValues),s},a.prototype.setTargetDelta=function(o){this.targetDelta=o,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(o){var l;this.options=$($($({},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=qe(),this.relativeTargetOrigin=qe(),mo(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),er(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=qe(),this.targetWithTransforms=qe()),this.relativeTarget&&this.relativeTargetOrigin&&((o=this.relativeParent)===null||o===void 0?void 0:o.target)?RF(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):er(this.target,this.layout.actual),T1(this.target,this.targetDelta)):er(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=qe(),this.relativeTargetOrigin=qe(),mo(this.relativeTargetOrigin,this.target,this.relativeParent.target),er(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Yr(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();er(this.layoutCorrected,this.layout.actual),OF(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var d=c.target;if(!!d){this.projectionDelta||(this.projectionDelta=go(),this.projectionDeltaWithTransform=go());var f=this.treeScale.x,p=this.treeScale.y,m=this.projectionTransform;ho(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=N1(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||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=$({},this.latestValues),p=go();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=qe(),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(nO));this.animationProgress=0,this.mixTargetDelta=function(g){var b,x=g/1e3;U1(p.x,o.x,x),U1(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)&&(mo(m,s.layout.actual,s.relativeParent.layout.actual),rO(s.relativeTarget,s.relativeTargetOrigin,m,x)),y&&(s.animationValues=f,PF(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;(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(no.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Qt.update(function(){So.hasAnimatedSinceResize=!0,l.currentAnimation=TF(0,j1,$($({},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,j1),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||(er(l,s),Ei(l,c),ho(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 DF);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<op.length;u++){var c=op[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 m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=Ks(o.pointerEvents)||"",p.transform=m?m(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=Ks(o.pointerEvents)||""),this.hasProjected&&!Yr(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var h=y.animationValues||y.latestValues;this.applyTransformsToTarget(),p.transform=N1(this.projectionDeltaWithTransform,this.treeScale,h),m&&(p.transform=m(h,p.transform));var g=this.projectionDelta,b=g.x,x=g.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 k in Ys)if(h[k]!==void 0){var _=Ys[k],T=_.correct,O=_.applyTo,F=T(h[k],y);if(O)for(var H=O.length,J=0;J<H;J++)p[O[J]]=F;else p[k]=F}return this.options.layoutId&&(p.pointerEvents=y===this?Ks(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(W1),this.root.sharedNodes.clear()},a}()}function YF(e){e.updateLayout()}function KF(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"?tr(function(g){var b=a.isShared?a.measured[g]:a.layout[g],x=hr(b);b.min=l[g].min,b.max=b.min+x}):e.options.animationType==="position"&&tr(function(g){var b=a.isShared?a.measured[g]:a.layout[g],x=hr(l[g]);b.max=b.min+x});var u=go();ho(u,l,a.layout);var c=go();a.isShared?ho(c,e.applyTransform(s,!0),a.measured):ho(c,l,a.layout);var d=!D1(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,m=p.snapshot,y=p.layout;if(m&&y){var v=qe();mo(v,a.layout,m.layout);var h=qe();mo(h,l,y.actual),$1(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 XF(e){e.clearSnapshot()}function W1(e){e.clearMeasurements()}function ZF(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function qF(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function QF(e){e.resolveTargetDelta()}function JF(e){e.calcProjection()}function eO(e){e.resetRotation()}function tO(e){e.removeLeadSnapshot()}function U1(e,t,r){e.translate=Te(t.translate,0,r),e.scale=Te(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function G1(e,t,r,n){e.min=Te(t.min,r.min,n),e.max=Te(t.max,r.max,n)}function rO(e,t,r,n){G1(e.x,t.x,r.x,n),G1(e.y,t.y,r.y,n)}function nO(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var iO={duration:.45,ease:[.4,0,.1,1]};function aO(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 Y1(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function K1(e){Y1(e.x),Y1(e.y)}var oO=1;function lO(){return eo(function(){if(So.hasEverUpdated)return oO++})}var lp=M.createContext({}),X1=M.createContext({});function sO(e,t,r,n){var i,a=t.layoutId,o=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=M.useContext(X1);!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&&bi(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof o=="string"?o:"both",initialPromotionConfig:c,layoutScroll:u}))}var uO=function(e){my(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}(br.default.Component);function cO(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,a=e.useVisualState,o=e.Component;t&&M6(t);function l(s,u){var c=fO(s);s=$($({},s),{layoutId:c});var d=M.useContext(_d),f=null,p=U6(s),m=d.isStatic?void 0:lO(),y=a(s,d.isStatic);return!d.isStatic&&Ja&&(p.visualElement=N6(o,y,$($({},d),s),r),sO(m,s,p.visualElement,n||qa.projectionNodeConstructor),f=L6(s,p.visualElement)),w.createElement(uO,{visualElement:p.visualElement,props:$($({},d),s)},f,w.createElement(Ps.Provider,{value:p},i(o,s,m,V6(y,p.visualElement,u),y,d.isStatic,p.visualElement)))}return M.forwardRef(l)}function fO(e){var t,r=e.layoutId,n=(t=M.useContext(lp))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function dO(e){function t(n,i){return i===void 0&&(i={}),cO(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 pO=["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 sp(e){return typeof e!="string"||e.includes("-")?!1:!!(pO.indexOf(e)>-1||/[A-Z]/.test(e))}function Z1(e,t){var r=t.layout,n=t.layoutId;return bo(e)||V1(e)||(r||n!==void 0)&&(!!Ys[e]||e==="opacity")}var vO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function hO(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(jF);for(var d=!1,f=a.length,p=0;p<f;p++){var m=a[p];c+="".concat(vO[m]||m,"(").concat(i[m],") "),m==="z"&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function mO(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 q1(e){return e.startsWith("--")}var gO=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function up(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 m=t[p];if(q1(p)){o[p]=m;continue}var y=p1[p],v=gO(m,y);if(bo(p)){if(c=!0,l[p]=v,s.push(p),!f)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(f=!1)}else V1(p)?(u[p]=v,d=!0):a[p]=v}c?a.transform=hO(e,r,f,n):n?a.transform=n({},""):!t.transform&&a.transform&&(a.transform="none"),d&&(a.transformOrigin=mO(u))}var cp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Q1(e,t,r){for(var n in t)!vr(t[n])&&!Z1(n,r)&&(e[n]=t[n])}function yO(e,t,r){var n=e.transformTemplate;return M.useMemo(function(){var i=cp();up(i,t,{enableHardwareAcceleration:!r},n);var a=i.vars,o=i.style;return $($({},a),o)},[t])}function bO(e,t,r){var n=e.style||{},i={};return Q1(i,n,e),Object.assign(i,yO(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function SO(e,t,r){var n={},i=bO(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 xO=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","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 Xs(e){return xO.has(e)}var J1=function(e){return!Xs(e)};function wO(e){!e||(J1=function(t){return t.startsWith("on")?!Xs(t):e(t)})}try{wO(require("@emotion/is-prop-valid").default)}catch{}function CO(e,t,r){var n={};for(var i in e)(J1(i)||r===!0&&Xs(i)||!t&&!Xs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function eb(e,t,r){return typeof e=="string"?e:K.transform(t+r*e)}function EO(e,t,r){var n=eb(t,e.x,e.width),i=eb(r,e.y,e.height);return"".concat(n," ").concat(i)}var kO={offset:"stroke-dashoffset",array:"stroke-dasharray"},TO={offset:"strokeDashoffset",array:"strokeDasharray"};function _O(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?kO:TO;e[a.offset]=K.transform(-n);var o=K.transform(t),l=K.transform(r);e[a.array]="".concat(o," ").concat(l)}function fp(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=Ot(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);up(e,p,r,n),e.attrs=e.style,e.style={};var m=e.attrs,y=e.style,v=e.dimensions;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(o!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=EO(v,o!==void 0?o:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),a!==void 0&&(m.y=a),s!==void 0&&_O(m,s,c,f,!1)}var tb=function(){return $($({},cp()),{attrs:{}})};function PO(e,t){var r=M.useMemo(function(){var i=tb();return fp(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),$($({},i.attrs),{style:$({},i.style)})},[t]);if(e.style){var n={};Q1(n,e.style,e),r.style=$($({},n),r.style)}return r}function AO(e){e===void 0&&(e=!1);var t=function(r,n,i,a,o,l){var s=o.latestValues,u=sp(r)?PO:SO,c=u(n,s,l),d=CO(n,typeof r=="string",e),f=$($($({},d),c),{ref:a});return i&&(f["data-projection-id"]=i),M.createElement(r,f)};return t}var FO=/([a-z])([A-Z])/g,OO="$1-$2",rb=function(e){return e.replace(FO,OO).toLowerCase()};function nb(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 ib=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function ab(e,t){nb(e,t);for(var r in t.attrs)e.setAttribute(ib.has(r)?r:rb(r),t.attrs[r])}function dp(e){var t=e.style,r={};for(var n in t)(vr(t[n])||Z1(n,e))&&(r[n]=t[n]);return r}function ob(e){var t=dp(e);for(var r in e)if(vr(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function pp(e){return typeof e=="object"&&typeof e.start=="function"}function lb(e,t,r,n){var i=e.scrapeMotionValuesFromProps,a=e.createRenderState,o=e.onMount,l={latestValues:MO(t,r,n,i),renderState:a()};return o&&(l.mount=function(s){return o(t,s,l)}),l}var sb=function(e){return function(t,r){var n=M.useContext(Ps),i=M.useContext(Qa);return r?lb(e,t,n,i):eo(function(){return lb(e,t,n,i)})}};function MO(e,t,r,n){var i={},a=(r==null?void 0:r.initial)===!1,o=n(e);for(var l in o)i[l]=Ks(o[l]);var s=e.initial,u=e.animate,c=Os(e),d=wy(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"&&!pp(p)){var m=Array.isArray(p)?p:[p];m.forEach(function(y){var v=xy(e,y);if(!!v){var h=v.transitionEnd;v.transition;var g=Ot(v,["transitionEnd","transition"]);for(var b in g){var x=g[b];if(Array.isArray(x)){var k=f?x.length-1:0;x=x[k]}x!==null&&(i[b]=x)}for(var b in h)i[b]=h[b]}})}return i}var IO={useVisualState:sb({scrapeMotionValuesFromProps:ob,createRenderState:tb,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}}fp(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),ab(t,n)}})},RO={useVisualState:sb({scrapeMotionValuesFromProps:dp,createRenderState:cp})};function LO(e,t,r,n,i){var a=t.forwardMotionProps,o=a===void 0?!1:a,l=sp(e)?IO:RO;return $($({},l),{preloadedFeatures:r,useRender:AO(o),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var he;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(he||(he={}));function vp(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function hp(e,t,r,n){M.useEffect(function(){var i=e.current;if(r&&i)return vp(i,t,r,n)},[e,t,r,n])}function BO(e){var t=e.whileFocus,r=e.visualElement,n=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(he.Focus,!0)},i=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(he.Focus,!1)};hp(r,"focus",t?n:void 0),hp(r,"blur",t?i:void 0)}function ub(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function cb(e){var t=!!e.touches;return t}function zO(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var DO={pageX:0,pageY:0};function $O(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||DO;return{x:n[t+"X"],y:n[t+"Y"]}}function NO(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function mp(e,t){return t===void 0&&(t="page"),{point:cb(e)?$O(e,t):NO(e,t)}}var fb=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,mp(n))};return t?zO(r):r},VO=function(){return Ja&&window.onpointerdown===null},jO=function(){return Ja&&window.ontouchstart===null},HO=function(){return Ja&&window.onmousedown===null},WO={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},UO={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function db(e){return VO()?e:jO()?UO[e]:HO()?WO[e]:e}function ki(e,t,r,n){return vp(e,db(t),fb(r,t==="pointerdown"),n)}function Zs(e,t,r,n){return hp(e,db(t),r&&fb(r,t==="pointerdown"),n)}function pb(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var vb=pb("dragHorizontal"),hb=pb("dragVertical");function mb(e){var t=!1;if(e==="y")t=hb();else if(e==="x")t=vb();else{var r=vb(),n=hb();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function gb(){var e=mb(!0);return e?(e(),!1):!0}function yb(e,t,r){return function(n,i){var a;!ub(n)||gb()||((a=e.animationState)===null||a===void 0||a.setActive(he.Hover,t),r==null||r(n,i))}}function GO(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Zs(i,"pointerenter",t||n?yb(i,!0,t):void 0),Zs(i,"pointerleave",r||n?yb(i,!1,r):void 0)}var bb=function(e,t){return t?e===t?!0:bb(e,t.parentElement):!1};function gp(e){return M.useEffect(function(){return function(){return e()}},[])}function YO(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,a=e.visualElement,o=t||r||n||i,l=M.useRef(!1),s=M.useRef(null);function u(){var m;(m=s.current)===null||m===void 0||m.call(s),s.current=null}function c(){var m;return u(),l.current=!1,(m=a.animationState)===null||m===void 0||m.setActive(he.Tap,!1),!gb()}function d(m,y){!c()||(bb(a.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function f(m,y){!c()||n==null||n(m,y)}function p(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Ls(ki(window,"pointerup",d),ki(window,"pointercancel",f)),(v=a.animationState)===null||v===void 0||v.setActive(he.Tap,!0),r==null||r(m,y))}Zs(a,"pointerdown",o?p:void 0),gp(u)}var yp=new WeakMap,bp=new WeakMap,KO=function(e){var t;(t=yp.get(e.target))===null||t===void 0||t(e)},XO=function(e){e.forEach(KO)};function ZO(e){var t=e.root,r=Ot(e,["root"]),n=t||document;bp.has(n)||bp.set(n,{});var i=bp.get(n),a=JSON.stringify(r);return i[a]||(i[a]=new IntersectionObserver(XO,$({root:t},r))),i[a]}function qO(e,t,r){var n=ZO(t);return yp.set(e,r),n.observe(e),function(){yp.delete(e),n.unobserve(e)}}function QO(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,a=e.viewport,o=a===void 0?{}:a,l=M.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);o.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?tM:eM;u(s,l.current,t,o)}var JO={some:0,all:1};function eM(e,t,r,n){var i=n.root,a=n.margin,o=n.amount,l=o===void 0?"some":o,s=n.once;M.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:a,threshold:typeof l=="number"?l:JO[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(he.InView,p);var m=r.getProps(),y=p?m.onViewportEnter:m.onViewportLeave;y==null||y(d)}};return qO(r.getInstance(),u,c)}},[e,i,a,l])}function tM(e,t,r,n){var i=n.fallback,a=i===void 0?!0:i;M.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(he.InView,!0)})},[e])}var Kr=function(e){return function(t){return e(t),null}},rM={inView:Kr(QO),tap:Kr(YO),focus:Kr(BO),hover:Kr(GO)},nM=0,iM=function(){return nM++},Sb=function(){return eo(iM)};function Sp(){var e=M.useContext(Qa);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=Sb();M.useEffect(function(){return n(i)},[]);var a=function(){return r==null?void 0:r(i)};return!t&&r?[!1,a]:[!0]}function xb(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 aM=function(e){return/^\-?\d*\.?\d+$/.test(e)},oM=function(e){return/^0[^.\s]+$/.test(e)},wb=function(e){return function(t){return t.test(e)}},lM={test:function(e){return e==="auto"},parse:function(e){return e}},Cb=[wn,K,Jt,Ur,sA,lA,lM],xo=function(e){return Cb.find(wb(e))},sM=$t($t([],ke(Cb),!1),[rt,pr],!1),uM=function(e){return sM.find(wb(e))};function cM(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,wi(r))}function fM(e,t){var r=Fs(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,a=i===void 0?{}:i;n.transition;var o=Ot(n,["transitionEnd","transition"]);o=$($({},o),a);for(var l in o){var s=v1(o[l]);cM(e,l,s)}}function dM(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"&&(aM(f)||oM(f))?f=parseFloat(f):!uM(f)&&pr.test(d)&&(f=tp(c,d)),e.addValue(c,wi(f)),(a=(o=r)[c])!==null&&a!==void 0||(o[c]=f),e.setBaseTarget(c,f))}}function pM(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function vM(e,t,r){var n,i,a={};for(var o in e)a[o]=(n=pM(o,t))!==null&&n!==void 0?n:(i=r.getValue(o))===null||i===void 0?void 0:i.get();return a}function hM(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(o){return xp(e,o,r)});n=Promise.all(i)}else if(typeof t=="string")n=xp(e,t,r);else{var a=typeof t=="function"?Fs(e,t,r.custom):t;n=Eb(e,a,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function xp(e,t,r){var n;r===void 0&&(r={});var i=Fs(e,t,r.custom),a=(i||{}).transition,o=a===void 0?e.getDefaultTransition()||{}:a;r.transitionOverride&&(o=r.transitionOverride);var l=i?function(){return Eb(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 m=o.delayChildren,y=m===void 0?0:m,v=o.staggerChildren,h=o.staggerDirection;return mM(e,t,y+p,v,h,r)}:function(){return Promise.resolve()},u=o.when;if(u){var c=ke(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 Eb(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=Ot(u,["transition","transitionEnd"]);l&&(d=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in p){var h=e.getValue(v),g=p[v];if(!(!h||g===void 0||y&&yM(y,v))){var b=$({delay:o},d);e.shouldReduceMotion&&bo(v)&&(b=$($({},b),{type:!1,delay:0}));var x=np(v,h,g,b);m.push(x)}}return Promise.all(m).then(function(){f&&fM(e,f)})}function mM(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(gM).forEach(function(u,c){o.push(xp(u,t,$($({},a),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(o)}function gM(e,t){return e.sortNodePosition(t)}function yM(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var wp=[he.Animate,he.InView,he.Focus,he.Hover,he.Tap,he.Drag,he.Exit],bM=$t([],ke(wp),!1).reverse(),SM=wp.length;function xM(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return hM(e,n,i)}))}}function wM(e){var t=xM(e),r=EM(),n={},i=!0,a=function(c,d){var f=Fs(e,d);if(f){f.transition;var p=f.transitionEnd,m=Ot(f,["transition","transitionEnd"]);c=$($($({},c),m),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(),m=e.getVariantContext(!0)||{},y=[],v=new Set,h={},g=1/0,b=function(T){var O=bM[T],F=r[O],H=(f=p[O])!==null&&f!==void 0?f:m[O],J=Nt(H),X=O===d?F.isActive:null;X===!1&&(g=T);var Z=H===m[O]&&H!==p[O]&&J;if(Z&&i&&e.manuallyAnimateOnMount&&(Z=!1),F.protectedKeys=$({},h),!F.isActive&&X===null||!H&&!F.prevProp||pp(H)||typeof H=="boolean")return"continue";var q=CM(F.prevProp,H),ne=q||O===d&&F.isActive&&!Z&&J||T>g&&J,Re=Array.isArray(H)?H:[H],Qe=Re.reduce(a,{});X===!1&&(Qe={});var bt=F.prevResolvedValues,dt=bt===void 0?{}:bt,rr=$($({},dt),Qe),V=function(j){ne=!0,v.delete(j),F.needsAnimating[j]=!0};for(var Y in rr){var B=Qe[Y],z=dt[Y];h.hasOwnProperty(Y)||(B!==z?vo(B)&&vo(z)?!xb(B,z)||q?V(Y):F.protectedKeys[Y]=!0:B!==void 0?V(Y):v.add(Y):B!==void 0&&v.has(Y)?V(Y):F.protectedKeys[Y]=!0)}F.prevProp=H,F.prevResolvedValues=Qe,F.isActive&&(h=$($({},h),Qe)),i&&e.blockInitialAnimation&&(ne=!1),ne&&!Z&&y.push.apply(y,$t([],ke(Re.map(function(j){return{animation:j,options:$({type:O},c)}})),!1))},x=0;x<SM;x++)b(x);if(n=$({},h),v.size){var k={};v.forEach(function(T){var O=e.getBaseTarget(T);O!==void 0&&(k[T]=O)}),y.push({animation:k})}var _=Boolean(y.length);return i&&p.initial===!1&&!e.manuallyAnimateOnMount&&(_=!1),i=!1,_?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 m=s(f,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:o,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function CM(e,t){return typeof t=="string"?t!==e:Sy(t)?!xb(t,e):!1}function kn(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function EM(){var e;return e={},e[he.Animate]=kn(!0),e[he.InView]=kn(),e[he.Hover]=kn(),e[he.Tap]=kn(),e[he.Drag]=kn(),e[he.Focus]=kn(),e[he.Exit]=kn(),e}var kM={animation:Kr(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=wM(t)),pp(r)&&M.useEffect(function(){return r.subscribe(t)},[r])}),exit:Kr(function(e){var t=e.custom,r=e.visualElement,n=ke(Sp(),2),i=n[0],a=n[1],o=M.useContext(Qa);M.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(he.Exit,!i,{custom:(s=o==null?void 0:o.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(a))},[i])})},kb=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=Ep(i.lastMoveEventInfo,i.history),p=i.startEvent!==null,m=i1(f.offset,{x:0,y:0})>=3;if(!(!p&&!m)){var y=f.point,v=Md().timestamp;i.history.push($($({},y),{timestamp:v}));var h=i.handlers,g=h.onStart,b=h.onMove;p||(g&&g(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),b&&b(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,p){if(i.lastMoveEvent=f,i.lastMoveEventInfo=Cp(p,i.transformPagePoint),ub(f)&&f.buttons===0){i.handlePointerUp(f,p);return}Qt.update(i.updatePoint,!0)},this.handlePointerUp=function(f,p){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,h=Ep(Cp(p,i.transformPagePoint),i.history);i.startEvent&&y&&y(f,h),v&&v(f,h)},!(cb(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=o;var l=mp(t),s=Cp(l,this.transformPagePoint),u=s.point,c=Md().timestamp;this.history=[$($({},u),{timestamp:c})];var d=r.onSessionStart;d&&d(t,Ep(s,this.history)),this.removeListeners=Ls(ki(window,"pointermove",this.handlePointerMove),ki(window,"pointerup",this.handlePointerUp),ki(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),no.update(this.updatePoint)},e}();function Cp(e,t){return t?{point:t(e.point)}:e}function Tb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ep(e,t){var r=e.point;return{point:r,delta:Tb(r,_b(t)),offset:Tb(r,TM(t)),velocity:_M(t,.1)}}function TM(e){return e[0]}function _b(e){return e[e.length-1]}function _M(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=_b(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Ws(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 PM(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Te(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Te(i,e,r.max):Math.min(e,i)),e}function Pb(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 AM(e,t){var r=t.top,n=t.left,i=t.bottom,a=t.right;return{x:Pb(e.x,n,a),y:Pb(e.y,r,i)}}function Ab(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=ke([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function FM(e,t){return{x:Ab(e.x,t.x),y:Ab(e.y,t.y)}}function OM(e,t){var r=.5,n=hr(e),i=hr(t);return i>n?r=io(t.min,t.max-n,e.min):n>i&&(r=io(e.min,e.max-i,t.min)),Is(0,1,r)}function MM(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 kp=.35;function IM(e){return e===void 0&&(e=kp),e===!1?e=0:e===!0&&(e=kp),{x:Fb(e,"left","right"),y:Fb(e,"top","bottom")}}function Fb(e,t,r){return{min:Ob(e,t),max:Ob(e,r)}}function Ob(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function Mb(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 RM(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function LM(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 Ib(e,t){return Mb(LM(e.getBoundingClientRect(),t))}function BM(e,t,r){var n=Ib(e,r),i=t.scroll;return i&&(Ci(n.x,i.x),Ci(n.y,i.y)),n}var zM=new WeakMap,DM=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=qe(),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(mp(d,"page").point)},s=function(d,f){var p,m=n.getProps(),y=m.drag,v=m.dragPropagation,h=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=mb(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),tr(function(g){var b,x,k=n.getAxisMotionValue(g).get()||0;if(Jt.test(k)){var _=(x=(b=n.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||x===void 0?void 0:x.actual[g];if(_){var T=hr(_);k=T*(parseFloat(k)/100)}}n.originPoint[g]=k}),h==null||h(d,f),(p=n.visualElement.animationState)===null||p===void 0||p.setActive(he.Drag,!0))},u=function(d,f){var p=n.getProps(),m=p.dragPropagation,y=p.dragDirectionLock,v=p.onDirectionLock,h=p.onDrag;if(!(!m&&!n.openGlobalLock)){var g=f.offset;if(y&&n.currentDirection===null){n.currentDirection=$M(g),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,g),n.updateAxis("y",f.point,g),n.visualElement.syncRender(),h==null||h(d,f)}},c=function(d,f){return n.stop(d,f)};this.panSession=new kb(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(he.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!qs(t,i,this.currentDirection))){var a=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=PM(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&&bi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=AM(a.actual,n):this.constraints=!1,this.elastic=IM(i),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&tr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=MM(a.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!bi(r))return!1;var i=r.current,a=this.visualElement.projection;if(!a||!a.layout)return!1;var o=BM(i,a.root,this.visualElement.getTransformPagePoint()),l=FM(a.layout.actual,o);if(n){var s=n(RM(l));this.hasMutatedConstraints=!!s,s&&(l=Mb(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=tr(function(f){var p;if(!!qs(f,i,r.currentDirection)){var m=(p=c==null?void 0:c[f])!==null&&p!==void 0?p:{};s&&(m={min:0,max:0});var y=o?200:1e6,v=o?40:1e7,h=$($({type:"inertia",velocity:a?t[f]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(f,h)}});return Promise.all(d).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return np(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;tr(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;tr(function(n){var i=r.getProps().drag;if(!!qs(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]-Te(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(!(!bi(a)||!o||!this.constraints)){this.stopAnimation();var l={x:0,y:0};tr(function(u){var c=t.getAxisMotionValue(u);if(c){var d=c.get();l[u]=OM({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(),tr(function(u){if(!!qs(u,i,null)){var c=t.getAxisMotionValue(u),d=t.constraints[u],f=d.min,p=d.max;c.set(Te(f,p,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;zM.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=ki(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;bi(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=vp(window,"resize",function(){t.scalePositionWithinConstraints()});return o.addEventListener("didUpdate",function(u){var c=u.delta,d=u.hasLayoutChanged;t.isDragging&&d&&(tr(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?kp:c,f=t.dragMomentum,p=f===void 0?!0:f;return $($({},t),{drag:n,dragDirectionLock:a,dragPropagation:l,dragConstraints:u,dragElastic:d,dragMomentum:p})},e}();function qs(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function $M(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 NM(e){var t=e.dragControls,r=e.visualElement,n=eo(function(){return new DM(r)});M.useEffect(function(){return t&&t.subscribe(n)},[n,t]),M.useEffect(function(){return n.addListeners()},[n])}function VM(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,o=t||r||n||i,l=M.useRef(null),s=M.useContext(_d).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(d,f){l.current=null,n&&n(d,f)}};M.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(d){l.current=new kb(d,u,{transformPagePoint:s})}Zs(a,"pointerdown",o&&c),gp(function(){return l.current&&l.current.end()})}var jM={pan:Kr(VM),drag:Kr(NM)},Qs=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function HM(){var e=Qs.map(function(){return new po}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Qs.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"+Qs[i]]=function(a){return n.add(a)},r["notify"+Qs[i]]=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return n.notify.apply(n,$t([],ke(a),!1))}}),r}function WM(e,t,r){var n;for(var i in t){var a=t[i],o=r[i];if(vr(a))e.addValue(i,a);else if(vr(o))e.addValue(i,wi(a));else if(o!==a)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(a)}else e.addValue(i,wi((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 Rb=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 m=f.parent,y=f.props,v=f.presenceId,h=f.blockInitialAnimation,g=f.visualState,b=f.shouldReduceMotion;p===void 0&&(p={});var x=!1,k=g.latestValues,_=g.renderState,T,O=HM(),F=new Map,H=new Map,J={},X=$({},k),Z;function q(){!T||!x||(ne(),l(T,_,y.style,B.projection))}function ne(){n(B,_,k,p,y)}function Re(){O.notifyUpdate(k)}function Qe(z,j){var ie=j.onChange(function(Je){k[z]=Je,y.onUpdate&&Qt.update(Re,!1,!0)}),Le=j.onRenderRequest(B.scheduleRender);H.set(z,function(){ie(),Le()})}var bt=d(y);for(var dt in bt){var rr=bt[dt];k[dt]!==void 0&&vr(rr)&&rr.set(k[dt],!1)}var V=Os(y),Y=wy(y),B=$($({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:b,variantChildren:Y?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(T)},mount:function(z){x=!0,T=B.current=z,B.projection&&B.projection.mount(z),Y&&m&&!V&&(Z=m==null?void 0:m.addVariantChild(B)),F.forEach(function(j,ie){return Qe(ie,j)}),m==null||m.children.add(B),B.setProps(y)},unmount:function(){var z;(z=B.projection)===null||z===void 0||z.unmount(),no.update(Re),no.render(q),H.forEach(function(j){return j()}),Z==null||Z(),m==null||m.children.delete(B),O.clearAllListeners(),T=void 0,x=!1},addVariantChild:function(z){var j,ie=B.getClosestVariantNode();if(ie)return(j=ie.variantChildren)===null||j===void 0||j.add(z),function(){return ie.variantChildren.delete(z)}},sortNodePosition:function(z){return!c||r!==z.treeType?0:c(B.getInstance(),z.getInstance())},getClosestVariantNode:function(){return Y?B:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return T},getStaticValue:function(z){return k[z]},setStaticValue:function(z,j){return k[z]=j},getLatestValues:function(){return k},setVisibility:function(z){B.isVisible!==z&&(B.isVisible=z,B.scheduleRender())},makeTargetAnimatable:function(z,j){return j===void 0&&(j=!0),a(B,z,y,j)},measureViewportBox:function(){return o(T,y)},addValue:function(z,j){B.hasValue(z)&&B.removeValue(z),F.set(z,j),k[z]=j.get(),Qe(z,j)},removeValue:function(z){var j;F.delete(z),(j=H.get(z))===null||j===void 0||j(),H.delete(z),delete k[z],u(z,_)},hasValue:function(z){return F.has(z)},getValue:function(z,j){var ie=F.get(z);return ie===void 0&&j!==void 0&&(ie=wi(j),B.addValue(z,ie)),ie},forEachValue:function(z){return F.forEach(z)},readValue:function(z){var j;return(j=k[z])!==null&&j!==void 0?j:s(T,z,p)},setBaseTarget:function(z,j){X[z]=j},getBaseTarget:function(z){if(i){var j=i(y,z);if(j!==void 0&&!vr(j))return j}return X[z]}},O),{build:function(){return ne(),_},scheduleRender:function(){Qt.render(q,!1,!0)},syncRender:q,setProps:function(z){(z.transformTemplate||y.transformTemplate)&&B.scheduleRender(),y=z,O.updatePropListeners(z),J=WM(B,d(y),J)},getProps:function(){return y},getVariant:function(z){var j;return(j=y.variants)===null||j===void 0?void 0:j[z]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function(z){if(z===void 0&&(z=!1),z)return m==null?void 0:m.getVariantContext();if(!V){var j=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(j.initial=y.initial),j}for(var ie={},Le=0;Le<UM;Le++){var Je=Lb[Le],St=y[Je];(Nt(St)||St===!1)&&(ie[Je]=St)}return ie}});return B}},Lb=$t(["initial"],ke(wp),!1),UM=Lb.length;function Tp(e){return typeof e=="string"&&e.startsWith("var(--")}var Bb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function GM(e){var t=Bb.exec(e);if(!t)return[,];var r=ke(t,3),n=r[1],i=r[2];return[n,i]}function _p(e,t,r){var n=ke(GM(e),2),i=n[0],a=n[1];if(!!i){var o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():Tp(a)?_p(a,t):a}}function YM(e,t,r){var n,i=Ot(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:r};r&&(r=$({},r)),e.forEachValue(function(u){var c=u.get();if(!!Tp(c)){var d=_p(c,a);d&&u.set(d)}});for(var o in i){var l=i[o];if(!!Tp(l)){var s=_p(l,a);!s||(i[o]=s,r&&((n=r[o])!==null&&n!==void 0||(r[o]=l)))}}return{target:i,transitionEnd:r}}var KM=new Set(["width","height","top","left","right","bottom","x","y"]),zb=function(e){return KM.has(e)},XM=function(e){return Object.keys(e).some(zb)},Db=function(e,t){e.set(t,!1),e.set(t)},$b=function(e){return e===wn||e===K},Nb;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Nb||(Nb={}));var Vb=function(e,t){return parseFloat(e.split(", ")[t])},jb=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 Vb(a[1],t);var o=i.match(/^matrix\((.+)\)$/);return o?Vb(o[1],e):0}},ZM=new Set(["x","y","z"]),qM=yo.filter(function(e){return!ZM.has(e)});function QM(e){var t=[];return qM.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 Hb={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:jb(4,13),y:jb(5,14)},JM=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]=Hb[u](n,a)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);Db(c,l[u]),e[u]=Hb[u](s,a)}),e},eI=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=$({},t),n=$({},n);var i=Object.keys(t).filter(zb),a=[],o=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var d=r[u],f=xo(d),p=t[u],m;if(vo(p)){var y=p.length,v=p[0]===null?1:0;d=p[v],f=xo(d);for(var h=v;h<y;h++)m?_s(xo(p[h])===m):m=xo(p[h])}else m=xo(p);if(f!==m)if($b(f)&&$b(m)){var g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof p=="string"?t[u]=parseFloat(p):Array.isArray(p)&&m===K&&(t[u]=p.map(parseFloat))}else(f==null?void 0:f.transform)&&(m==null?void 0:m.transform)&&(d===0||p===0)?d===0?c.set(m.transform(d)):t[u]=f.transform(p):(o||(a=QM(e),o=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],Db(c,p))}}),l.length){var s=JM(t,e,l);return a.length&&a.forEach(function(u){var c=ke(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 tI(e,t,r,n){return XM(t)?eI(e,t,r,n):{target:t,transitionEnd:n}}var rI=function(e,t,r,n){var i=YM(e,t,n);return t=i.target,n=i.transitionEnd,tI(e,t,r,n)};function nI(e){return window.getComputedStyle(e)}var Wb={treeType:"dom",readValueFromInstance:function(e,t){if(bo(t)){var r=ep(t);return r&&r.default||0}else{var n=nI(e);return(q1(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 Ib(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=Ot(t,["transition","transitionEnd"]),s=vM(l,a||{},e);if(i&&(o&&(o=i(o)),l&&(l=i(l)),s&&(s=i(s))),n){dM(e,l,s);var u=rI(e,l,s,o);o=u.transitionEnd,l=u.target}return $({transition:a,transitionEnd:o},l)},scrapeMotionValuesFromProps:dp,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),up(t,r,n,i.transformTemplate)},render:nb},iI=Rb(Wb),aI=Rb($($({},Wb),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return bo(t)?((r=ep(t))===null||r===void 0?void 0:r.default)||0:(t=ib.has(t)?t:rb(t),e.getAttribute(t))},scrapeMotionValuesFromProps:ob,build:function(e,t,r,n,i){fp(t,r,n,i.transformTemplate)},render:ab})),oI=function(e,t){return sp(e)?aI(t,{enableHardwareAcceleration:!1}):iI(t,{enableHardwareAcceleration:!0})};function Ub(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var wo={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(K.test(e))e=parseFloat(e);else return e;var r=Ub(e,t.target.x),n=Ub(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Gb="_$css",lI={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,a=e.includes("var("),o=[];a&&(e=e.replace(Bb,function(y){return o.push(y),Gb}));var l=pr.parse(e);if(l.length>5)return i;var s=pr.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=Te(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 m=0;p=p.replace(Gb,function(){var y=o[m];return m++,y})}return p}},sI=function(e){my(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;$F(cI),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($($({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),So.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()||Qt.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}(br.default.Component);function uI(e){var t=ke(Sp(),2),r=t[0],n=t[1],i=M.useContext(lp);return P(sI,R({},$({},e,{layoutGroup:i,switchLayoutGroup:M.useContext(X1),isPresent:r,safeToRemove:n})))}var cI={borderRadius:$($({},wo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:wo,borderTopRightRadius:wo,borderBottomLeftRadius:wo,borderBottomRightRadius:wo,boxShadow:lI},fI={measureLayout:uI},dI=H1({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}}}),Pp={current:void 0},pI=H1({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Pp.current){var e=new dI(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Pp.current=e}return Pp.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),vI=$($($($({},kM),rM),jM),fI),Ap=dO(function(e,t){return LO(e,t,vI,oI,pI)});function Yb(){var e=M.useRef(!1);return As(function(){return e.current=!0,function(){e.current=!1}},[]),e}function hI(){var e=Yb(),t=ke(M.useState(0),2),r=t[0],n=t[1],i=M.useCallback(function(){e.current&&n(r+1)},[r]),a=M.useCallback(function(){return Qt.postRender(i)},[i]);return[a,r]}var Fp=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,a=e.custom,o=e.presenceAffectsLayout,l=eo(mI),s=Sb(),u=M.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:a,onExitComplete:function(c){var d,f;l.set(c,!0);try{for(var p=O6(l.values()),m=p.next();!m.done;m=p.next()){var y=m.value;if(!y)return}}catch(v){d={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(d)throw d.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},o?void 0:[n]);return M.useMemo(function(){l.forEach(function(c,d){return l.set(d,!1)})},[n]),w.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),w.createElement(Qa.Provider,{value:u},t)};function mI(){return new Map}var Ti=function(e){return e.key||""};function gI(e,t){e.forEach(function(r){var n=Ti(r);t.set(n,r)})}function yI(e){var t=[];return M.Children.forEach(e,function(r){M.isValidElement(r)&&t.push(r)}),t}var Kb=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,a=e.onExitComplete,o=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=ke(hI(),1),c=u[0],d=M.useContext(lp).forceRender;d&&(c=d);var f=Yb(),p=yI(t),m=p,y=new Set,v=M.useRef(m),h=M.useRef(new Map).current,g=M.useRef(!0);if(As(function(){g.current=!1,gI(p,h),v.current=m}),gp(function(){g.current=!0,h.clear(),y.clear()}),g.current)return w.createElement(w.Fragment,null,m.map(function(O){return w.createElement(Fp,{key:Ti(O),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},O)}));m=$t([],ke(m),!1);for(var b=v.current.map(Ti),x=p.map(Ti),k=b.length,_=0;_<k;_++){var T=b[_];x.indexOf(T)===-1&&y.add(T)}return o&&y.size&&(m=[]),y.forEach(function(O){if(x.indexOf(O)===-1){var F=h.get(O);if(!!F){var H=b.indexOf(O),J=function(){h.delete(O),y.delete(O);var X=v.current.findIndex(function(Z){return Z.key===O});if(v.current.splice(X,1),!y.size){if(v.current=p,f.current===!1)return;c(),a&&a()}};m.splice(H,0,w.createElement(Fp,{key:Ti(F),isPresent:!1,onExitComplete:J,custom:r,presenceAffectsLayout:s},F))}}}),m=m.map(function(O){var F=O.key;return y.has(F)?O:w.createElement(Fp,{key:Ti(O),isPresent:!0,presenceAffectsLayout:s},O)}),w.createElement(w.Fragment,null,y.size?m:m.map(function(O){return M.cloneElement(O)}))};function bI(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 Mt(){return Mt=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},Mt.apply(this,arguments)}var Op={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},Co={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function Mp(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return Co.slideRight;case"left":return Co.slideLeft;case"bottom":return Co.slideDown;case"top":return Co.slideUp;default:return Co.slideRight}}var Tn={enter:{duration:.2,ease:Op.easeOut},exit:{duration:.1,ease:Op.easeIn}},mr={enter:function(t,r){return Mt({},t,{delay:Jr(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Mt({},t,{delay:Jr(r)?r:r==null?void 0:r.exit})}},SI={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,a=n.transitionEnd,o=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:mr.enter(Tn.enter,o),transitionEnd:a==null?void 0:a.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,a=n.transitionEnd,o=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:mr.exit(Tn.exit,o),transitionEnd:a==null?void 0:a.exit}}},xI={initial:"exit",animate:"enter",exit:"exit",variants:SI},wI={exit:function(t){var r,n=t.reverse,i=t.initialScale,a=t.transition,o=t.transitionEnd,l=t.delay;return Mt({opacity:0},n?{scale:i,transitionEnd:o==null?void 0:o.exit}:{transitionEnd:Mt({scale:i},o==null?void 0:o.exit)},{transition:(r=a==null?void 0:a.exit)!=null?r:mr.exit(Tn.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,a=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:mr.enter(Tn.enter,a),transitionEnd:n==null?void 0:n.enter}}},CI={initial:"exit",animate:"enter",exit:"exit",variants:wI},EI=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],Xb={exit:{duration:.15,ease:Op.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},kI={exit:function(t){var r,n=t.direction,i=t.transition,a=t.transitionEnd,o=t.delay,l=Mp({direction:n}),s=l.exit;return Mt({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:mr.exit(Xb.exit,o),transitionEnd:a==null?void 0:a.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,a=t.transition,o=t.delay,l=Mp({direction:n}),s=l.enter;return Mt({},s,{transition:(r=a==null?void 0:a.enter)!=null?r:mr.enter(Xb.enter,o),transitionEnd:i==null?void 0:i.enter})}},TI=w.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,a=e.unmountOnExit,o=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,d=bI(e,EI),f=Mp({direction:n}),p=Object.assign({position:"fixed"},f.position,i),m=a?o&&a:!0,y=o||a?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return w.createElement(Kb,{custom:v},m&&w.createElement(Ap.div,Mt({},d,{ref:t,initial:"exit",className:ze("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:kI,style:p})))}),_I={initial:function(t){var r,n=t.offsetX,i=t.offsetY,a=t.transition,o=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=a==null?void 0:a.exit)!=null?r:mr.exit(Tn.exit,l),transitionEnd:o==null?void 0:o.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,a=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:mr.enter(Tn.enter,a),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,a=t.transition,o=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Mt({opacity:0,transition:(r=a==null?void 0:a.exit)!=null?r:mr.exit(Tn.exit,s)},l?Mt({},u,{transitionEnd:o==null?void 0:o.exit}):{transitionEnd:Mt({},u,o==null?void 0:o.exit)})}},Zb={initial:"initial",animate:"enter",exit:"exit",variants:_I};function _n(){return _n=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},_n.apply(this,arguments)}function qb(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 PI(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=M.useState("pending"),c=u[0],d=u[1];M.useEffect(function(){d(r?"loading":"pending")},[r]);var f=M.useRef(),p=M.useCallback(function(){if(!!r){m();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){m(),d("loaded"),i==null||i(v)},y.onerror=function(v){m(),d("failed"),a==null||a(v)},f.current=y}},[r,o,n,l,i,a,t]),m=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Gi(function(){if(!s)return c==="loading"&&p(),function(){m()}},[c,p,s]),s?"loaded":c}var AI=["htmlWidth","htmlHeight","alt"],FI=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],Qb=w.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,a=qb(e,AI);return w.createElement("img",_n({width:r,height:n,ref:t,alt:i},a))}),OI=Pe(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=qb(e,FI),f=s!=null||u||r===void 0&&n===void 0,p=PI(_n({},e,{ignoreFallback:f})),m=_n({ref:t,objectFit:l,objectPosition:o},f?d:zu(d,["onError","onLoad"]));return p!=="loaded"?n||w.createElement(ee.img,_n({as:Qb,className:"chakra-image__placeholder",src:r},m)):w.createElement(ee.img,_n({as:Qb,src:i,srcSet:a,crossOrigin:c,loading:s,className:"chakra-image"},m))}),Jb={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},MI=ee("span",{baseStyle:Jb});ee("input",{baseStyle:Jb});function Js(){return Js=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},Js.apply(this,arguments)}function II(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 RI=["label","thickness","speed","emptyColor","className"],LI=zn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),BI=Pe(function(e,t){var r=yn("Spinner",e),n=gn(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=II(n,RI),m=ze("chakra-spinner",f),y=Js({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:d,borderLeftColor:d,animation:LI+" "+u+" linear infinite"},r);return w.createElement(ee.div,Js({ref:t,__css:y,className:m},p),a&&w.createElement(MI,null,a))});function Ip(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 Xr(){return Xr=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},Xr.apply(this,arguments)}var zI=en({strict:!1,name:"ButtonGroupContext"}),DI=zI[1],$I=["label","placement","spacing","children","className","__css"],eS=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.createElement(BI,{color:"currentColor",width:"1em",height:"1em"}):o,s=t.className,u=t.__css,c=Ip(t,$I),d=ze("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",p=w.useMemo(function(){var m;return Xr((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[f]=r?a:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,f,a]);return w.createElement(ee.div,Xr({className:d},c,{__css:p}),l)},NI=["children","className"],tS=function(t){var r=t.children,n=t.className,i=Ip(t,NI),a=w.isValidElement(r)?w.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,o=ze("chakra-button__icon",n);return w.createElement(ee.span,Xr({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:o}),a)};function VI(e){var t=w.useState(!e),r=t[0],n=t[1],i=w.useCallback(function(o){!o||n(o.tagName==="BUTTON")},[]),a=r?"button":void 0;return{ref:i,type:a}}var jI=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Rp=Pe(function(e,t){var r=DI(),n=yn("Button",Xr({},r,e)),i=gn(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,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,h=i.spinner,g=i.spinnerPlacement,b=g===void 0?"start":g,x=i.className,k=i.as,_=Ip(i,jI),T=w.useMemo(function(){var X,Z=Ct({},(X=n==null?void 0:n._focus)!=null?X:{},{zIndex:1});return Xr({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:Z})},[n,r,u]),O=VI(k),F=O.ref,H=O.type,J={rightIcon:f,leftIcon:d,iconSpacing:y,children:c};return w.createElement(ee.button,Xr({disabled:o||l,ref:F2(t,F),as:k,type:v!=null?v:H,"data-active":th(s),"data-loading":th(l),__css:T,className:ze("chakra-button",x)},_),l&&b==="start"&&w.createElement(eS,{className:"chakra-button__spinner--start",label:p,placement:"start",spacing:y},h),l?p||w.createElement(ee.span,{opacity:0},w.createElement(rS,J)):w.createElement(rS,J),l&&b==="end"&&w.createElement(eS,{className:"chakra-button__spinner--end",label:p,placement:"end",spacing:y},h))});function rS(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return w.createElement(w.Fragment,null,t&&w.createElement(tS,{marginEnd:i},t),n,r&&w.createElement(tS,{marginStart:i},r))}function HI(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 Eo(){return Eo=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},Eo.apply(this,arguments)}var WI=["children","isDisabled","__css"],UI=function(t){return w.createElement(hy,Eo({focusable:"false","aria-hidden":!0},t),w.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))},GI=Pe(function(e,t){var r=yn("CloseButton",e),n=gn(e),i=n.children,a=n.isDisabled,o=n.__css,l=HI(n,WI),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return w.createElement(ee.button,Eo({type:"button","aria-label":"Close",ref:t,disabled:a,__css:Eo({},s,r,o)},l),i||w.createElement(UI,{width:"1em",height:"1em"}))});function nt(){return nt=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},nt.apply(this,arguments)}function Zr(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 it=ee("div"),nS=ee("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),YI=["direction","align","justify","wrap","basis","grow","shrink"],eu=Pe(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=Zr(e,YI),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:a,flexBasis:o,flexGrow:l,flexShrink:s};return w.createElement(ee.div,nt({ref:t,__css:c},u))}),KI=["className"],XI=Pe(function(e,t){var r=yn("Heading",e),n=gn(e);n.className;var i=Zr(n,KI);return w.createElement(ee.h2,nt({ref:t,className:ze("chakra-heading",e.className)},i,{__css:r}))}),ZI=["className","isExternal"],qI=Pe(function(e,t){var r=yn("Link",e),n=gn(e),i=n.className,a=n.isExternal,o=Zr(n,ZI);return w.createElement(ee.a,nt({target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:t,className:ze("chakra-link",i)},o,{__css:r}))}),QI=["children","styleType","stylePosition","spacing"],iS=en({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),JI=iS[0],eR=iS[1],tR=Pe(function(e,t){var r,n=Bg("List",e),i=gn(e),a=i.children,o=i.styleType,l=o===void 0?"none":o,s=i.stylePosition,u=i.spacing,c=Zr(i,QI),d=lh(a),f="& > *:not(style) ~ *:not(style)",p=u?(r={},r[f]={mt:u},r):{};return w.createElement(JI,{value:n},w.createElement(ee.ul,nt({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:nt({},n.container,p)},c),d))}),rR=Pe(function(e,t){var r=eR();return w.createElement(ee.li,nt({ref:t},e,{__css:r.item}))});ee("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var Lp="& > *:not(style) ~ *:not(style)";function nR(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[Lp]=ah(n,function(a){return i[a]}),t}function iR(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{"&":ah(r,function(i){return n[i]})}}var aR=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],oR=function(t){return w.createElement(ee.div,nt({className:"chakra-stack__item"},t,{__css:nt({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},aS=Pe(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,m=Zr(e,aR),y=n?"row":i!=null?i:"column",v=w.useMemo(function(){return nR({direction:y,spacing:s})},[y,s]),h=w.useMemo(function(){return iR({spacing:s,direction:y})},[s,y]),g=!!d,b=!p&&!g,x=lh(c),k=b?x:x.map(function(T,O){var F=typeof T.key!="undefined"?T.key:O,H=O+1===x.length,J=w.createElement(oR,{key:F},T),X=p?J:T;if(!g)return X;var Z=w.cloneElement(d,{__css:h}),q=H?null:Z;return w.createElement(w.Fragment,{key:F},X,q)}),_=ze("chakra-stack",f);return w.createElement(ee.div,nt({ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:v.flexDirection,flexWrap:u,className:_,__css:g?{}:(r={},r[Lp]=v[Lp],r)},m),k)}),lR=Pe(function(e,t){return w.createElement(aS,nt({align:"center"},e,{direction:"row",ref:t}))}),sR=["className","align","decoration","casing"],_i=Pe(function(e,t){var r=yn("Text",e),n=gn(e);n.className,n.align,n.decoration,n.casing;var i=Zr(n,sR),a=Du({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return w.createElement(ee.p,nt({ref:t,className:ze("chakra-text",e.className)},a,i,{__css:r}))}),uR=["isExternal","target","rel","className"],cR=["className"],fR=Pe(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,a=e.className,o=Zr(e,uR);return w.createElement(ee.a,nt({},o,{ref:t,className:ze("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":i,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%"}}}))}),dR=Pe(function(e,t){var r=e.className,n=Zr(e,cR);return w.createElement(ee.div,nt({ref:t,position:"relative"},n,{className:ze("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))});function pR(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 oS={exports:{}},vR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",hR=vR,mR=hR;function lS(){}function sS(){}sS.resetWarningCache=lS;var gR=function(){function e(n,i,a,o,l,s){if(s!==mR){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:sS,resetWarningCache:lS};return r.PropTypes=r,r};oS.exports=gR();var tu=oS.exports,Bp="data-focus-lock",uS="data-focus-lock-disabled",yR="data-no-focus-lock",bR="data-autofocus-inside";function SR(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function xR(e,t){var r=M.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}function cS(e,t){return xR(t,function(r){return e.forEach(function(n){return SR(n,r)})})}var zp={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};/*! *****************************************************************************
|
|
346
|
+
***************************************************************************** */var Td=function(e,t){return Td=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])},Td(e,t)};function my(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Td(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var $=function(){return $=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},$.apply(this,arguments)};function Ot(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 M6(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(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 $t(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||Array.prototype.slice.call(t))}var dr=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},qa={measureLayout:dr(["layout","layoutId","drag"]),animation:dr(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:dr(["exit"]),drag:dr(["drag","dragControls"]),focus:dr(["whileFocus"]),hover:dr(["whileHover","onHoverStart","onHoverEnd"]),tap:dr(["whileTap","onTap","onTapStart","onTapCancel"]),pan:dr(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:dr(["whileInView","onViewportEnter","onViewportLeave"])};function R6(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?qa.projectionNodeConstructor=e[t]:qa[t].Component=e[t])}var I6=function(){},_s=function(){},gy=M.createContext({strict:!1}),yy=Object.keys(qa),L6=yy.length;function B6(e,t,r){var n=[];if(M.useContext(gy),!t)return null;for(var i=0;i<L6;i++){var a=yy[i],o=qa[a],l=o.isEnabled,s=o.Component;l(e)&&s&&n.push(w.createElement(s,$({key:a},e,{visualElement:t})))}return n}var _d=M.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Ps=M.createContext({});function z6(){return M.useContext(Ps).visualElement}var Qa=M.createContext(null),Ja=typeof window!="undefined",As=Ja?M.useLayoutEffect:M.useEffect,Pd={current:null},by=!1;function D6(){if(by=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Pd.current=e.matches};e.addListener(t),t()}else Pd.current=!1}function $6(){!by&&D6();var e=ke(M.useState(Pd.current),1),t=e[0];return t}function N6(){var e=$6(),t=M.useContext(_d).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function V6(e,t,r,n){var i=M.useContext(gy),a=z6(),o=M.useContext(Qa),l=N6(),s=M.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 As(function(){u==null||u.syncRender()}),M.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),As(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function bi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function j6(e,t,r){return M.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):bi(r)&&(r.current=n))},[t])}function Sy(e){return Array.isArray(e)}function Nt(e){return typeof e=="string"||Sy(e)}function H6(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function W6(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function xy(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 Fs(e,t,r){var n=e.getProps();return xy(n,t,r!=null?r:n.custom,H6(e),W6(e))}function Os(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||Nt(e.initial)||Nt(e.animate)||Nt(e.whileHover)||Nt(e.whileDrag)||Nt(e.whileTap)||Nt(e.whileFocus)||Nt(e.exit)}function wy(e){return Boolean(Os(e)||e.variants)}function U6(e,t){if(Os(e)){var r=e.initial,n=e.animate;return{initial:r===!1||Nt(r)?r:void 0,animate:Nt(n)?n:void 0}}return e.inherit!==!1?t:{}}function G6(e){var t=U6(e,M.useContext(Ps)),r=t.initial,n=t.animate;return M.useMemo(function(){return{initial:r,animate:n}},[Cy(r),Cy(n)])}function Cy(e){return Array.isArray(e)?e.join(" "):e}function eo(e){var t=M.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ey=1/60*1e3,Y6=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),ky=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Y6()),Ey);function K6(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 X6=40;let Ad=!0,to=!1,Fd=!1;const Si={delta:0,timestamp:0},ro=["read","update","preRender","render","postRender"],Ms=ro.reduce((e,t)=>(e[t]=K6(()=>to=!0),e),{}),Qt=ro.reduce((e,t)=>{const r=Ms[t];return e[t]=(n,i=!1,a=!1)=>(to||q6(),r.schedule(n,i,a)),e},{}),no=ro.reduce((e,t)=>(e[t]=Ms[t].cancel,e),{}),Od=ro.reduce((e,t)=>(e[t]=()=>Ms[t].process(Si),e),{}),Z6=e=>Ms[e].process(Si),Ty=e=>{to=!1,Si.delta=Ad?Ey:Math.max(Math.min(e-Si.timestamp,X6),1),Si.timestamp=e,Fd=!0,ro.forEach(Z6),Fd=!1,to&&(Ad=!1,ky(Ty))},q6=()=>{to=!0,Ad=!0,Fd||ky(Ty)},Md=()=>Si,Rs=(e,t,r)=>Math.min(Math.max(r,e),t),Rd=.001,Q6=.01,_y=10,J6=.05,eA=1;function tA({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,a;I6(e<=_y*1e3);let o=1-t;o=Rs(J6,eA,o),e=Rs(Q6,_y,e/1e3),o<1?(i=u=>{const c=u*o,d=c*e,f=c-r,p=Id(u,o),m=Math.exp(-d);return Rd-f/p*m},a=u=>{const d=u*o*e,f=d*r+r,p=Math.pow(o,2)*Math.pow(u,2)*e,m=Math.exp(-d),y=Id(Math.pow(u,2),o);return(-i(u)+Rd>0?-1:1)*((f-p)*m)/y}):(i=u=>{const c=Math.exp(-u*e),d=(u-r)*e+1;return-Rd+c*d},a=u=>{const c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});const l=5/e,s=nA(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 rA=12;function nA(e,t,r){let n=r;for(let i=1;i<rA;i++)n=n-e(n)/t(n);return n}function Id(e,t){return e*Math.sqrt(1-t*t)}const iA=["duration","bounce"],aA=["stiffness","damping","mass"];function Py(e,t){return t.some(r=>e[r]!==void 0)}function oA(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Py(e,aA)&&Py(e,iA)){const r=tA(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ld(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,a=Ot(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=oA(a),p=Ay,m=Ay;function y(){const v=c?-(c/1e3):0,h=r-t,g=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)),g<1){const x=Id(b,g);p=k=>{const _=Math.exp(-g*b*k);return r-_*((v+g*b*h)/x*Math.sin(x*k)+h*Math.cos(x*k))},m=k=>{const _=Math.exp(-g*b*k);return g*b*_*(Math.sin(x*k)*(v+g*b*h)/x+h*Math.cos(x*k))-_*(Math.cos(x*k)*(v+g*b*h)-x*h*Math.sin(x*k))}}else if(g===1)p=x=>r-Math.exp(-b*x)*(h+(v+b*h)*x);else{const x=b*Math.sqrt(g*g-1);p=k=>{const _=Math.exp(-g*b*k),T=Math.min(x*k,300);return r-_*((v+g*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 g=m(v)*1e3,b=Math.abs(g)<=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()}}}Ld.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Ay=e=>0,io=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Te=(e,t,r)=>-r*e+r*t+e,Fy=(e,t)=>r=>Math.max(Math.min(r,t),e),ao=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,lA=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function lo(e){return typeof e=="string"}const wn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},so=Object.assign(Object.assign({},wn),{transform:Fy(0,1)}),Is=Object.assign(Object.assign({},wn),{default:1}),uo=e=>({test:t=>lo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ur=uo("deg"),Jt=uo("%"),K=uo("px"),sA=uo("vh"),uA=uo("vw"),Oy=Object.assign(Object.assign({},Jt),{parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)}),zd=(e,t)=>r=>Boolean(lo(r)&&lA.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),My=(e,t,r)=>n=>{if(!lo(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}},Cn={test:zd("hsl","hue"),parse:My("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Jt.transform(ao(t))+", "+Jt.transform(ao(r))+", "+ao(so.transform(n))+")"},cA=Fy(0,255),Dd=Object.assign(Object.assign({},wn),{transform:e=>Math.round(cA(e))}),Gr={test:zd("rgb","red"),parse:My("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Dd.transform(e)+", "+Dd.transform(t)+", "+Dd.transform(r)+", "+ao(so.transform(n))+")"};function fA(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 $d={test:zd("#"),parse:fA,transform:Gr.transform},rt={test:e=>Gr.test(e)||$d.test(e)||Cn.test(e),parse:e=>Gr.test(e)?Gr.parse(e):Cn.test(e)?Cn.parse(e):$d.parse(e),transform:e=>lo(e)?e:e.hasOwnProperty("red")?Gr.transform(e):Cn.transform(e)},Ry="${c}",Iy="${n}";function dA(e){var t,r,n,i;return isNaN(e)&&lo(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 Ly(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(Bd);n&&(r=n.length,e=e.replace(Bd,Ry),t.push(...n.map(rt.parse)));const i=e.match(oo);return i&&(e=e.replace(oo,Iy),t.push(...i.map(wn.parse))),{values:t,numColors:r,tokenised:e}}function By(e){return Ly(e).values}function zy(e){const{values:t,numColors:r,tokenised:n}=Ly(e),i=t.length;return a=>{let o=n;for(let l=0;l<i;l++)o=o.replace(l<r?Ry:Iy,l<r?rt.transform(a[l]):ao(a[l]));return o}}const pA=e=>typeof e=="number"?0:e;function vA(e){const t=By(e);return zy(e)(t.map(pA))}const pr={test:dA,parse:By,createTransformer:zy,getAnimatableNone:vA},hA=new Set(["brightness","contrast","saturate","opacity"]);function mA(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=hA.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}const gA=/([a-z-]*)\(.*?\)/g,Nd=Object.assign(Object.assign({},pr),{getAnimatableNone:e=>{const t=e.match(gA);return t?t.map(mA).join(" "):e}});function Vd(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 Dy({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=Vd(s,l,e+1/3),a=Vd(s,l,e),o=Vd(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:n}}const yA=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},bA=[$d,Gr,Cn],$y=e=>bA.find(t=>t.test(e)),Ny=(e,t)=>{let r=$y(e),n=$y(t),i=r.parse(e),a=n.parse(t);r===Cn&&(i=Dy(i),r=Gr),n===Cn&&(a=Dy(a),n=Gr);const o=Object.assign({},i);return l=>{for(const s in o)s!=="alpha"&&(o[s]=yA(i[s],a[s],l));return o.alpha=Te(i.alpha,a.alpha,l),r.transform(o)}},jd=e=>typeof e=="number",SA=(e,t)=>r=>t(e(r)),Ls=(...e)=>e.reduce(SA);function Vy(e,t){return jd(e)?r=>Te(e,t,r):rt.test(e)?Ny(e,t):Wy(e,t)}const jy=(e,t)=>{const r=[...e],n=r.length,i=e.map((a,o)=>Vy(a,t[o]));return a=>{for(let o=0;o<n;o++)r[o]=i[o](a);return r}},xA=(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]=Vy(e[i],t[i]));return i=>{for(const a in n)r[a]=n[a](i);return r}};function Hy(e){const t=pr.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 Wy=(e,t)=>{const r=pr.createTransformer(t),n=Hy(e),i=Hy(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Ls(jy(n.parsed,i.parsed),r):o=>`${o>0?t:e}`},wA=(e,t)=>r=>Te(e,t,r);function CA(e){if(typeof e=="number")return wA;if(typeof e=="string")return rt.test(e)?Ny:Wy;if(Array.isArray(e))return jy;if(typeof e=="object")return xA}function EA(e,t,r){const n=[],i=r||CA(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=Ls(s,l)}n.push(l)}return n}function kA([e,t],[r]){return n=>r(io(e,t,n))}function TA(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=io(e[a],e[a+1],i);return t[a](l)}}function Uy(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const a=e.length;_s(a===t.length),_s(!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=EA(t,n,i),l=a===2?kA(e,o):TA(e,o);return r?s=>l(Rs(e[0],e[a-1],s)):l}const Bs=e=>t=>1-e(1-t),Hd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_A=e=>t=>Math.pow(t,e),Gy=e=>t=>t*t*((e+1)*t-e),PA=e=>{const t=Gy(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},Yy=1.525,AA=4/11,FA=8/11,OA=9/10,Wd=e=>e,Ud=_A(2),MA=Bs(Ud),Ky=Hd(Ud),Xy=e=>1-Math.sin(Math.acos(e)),Gd=Bs(Xy),RA=Hd(Gd),Yd=Gy(Yy),IA=Bs(Yd),LA=Hd(Yd),BA=PA(Yy),zA=4356/361,DA=35442/1805,$A=16061/1805,zs=e=>{if(e===1||e===0)return e;const t=e*e;return e<AA?7.5625*t:e<FA?9.075*t-9.9*e+3.4:e<OA?zA*t-DA*e+$A:10.8*e*e-20.52*e+10.72},NA=Bs(zs),VA=e=>e<.5?.5*(1-zs(1-e*2)):.5*zs(e*2-1)+.5;function jA(e,t){return e.map(()=>t||Ky).splice(0,e.length-1)}function HA(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function WA(e,t){return e.map(r=>r*t)}function Ds({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=WA(n&&n.length===o.length?n:HA(o),i);function s(){return Uy(l,o,{ease:Array.isArray(r)?r:jA(o,r)})}let u=s();return{next:c=>(a.value=u(c),a.done=c>=i,a),flipTarget:()=>{o.reverse(),u=s()}}}function UA({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 Zy={keyframes:Ds,spring:Ld,decay:UA};function GA(e){if(Array.isArray(e.to))return Ds;if(Zy[e.type])return Zy[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Ds:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ld:Ds}const qy=1/60*1e3,YA=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Qy=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(YA()),qy);function KA(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 XA=40;let Kd=!0,co=!1,Xd=!1;const xi={delta:0,timestamp:0},fo=["read","update","preRender","render","postRender"],$s=fo.reduce((e,t)=>(e[t]=KA(()=>co=!0),e),{}),ZA=fo.reduce((e,t)=>{const r=$s[t];return e[t]=(n,i=!1,a=!1)=>(co||JA(),r.schedule(n,i,a)),e},{}),qA=fo.reduce((e,t)=>(e[t]=$s[t].cancel,e),{});fo.reduce((e,t)=>(e[t]=()=>$s[t].process(xi),e),{});const QA=e=>$s[e].process(xi),Jy=e=>{co=!1,xi.delta=Kd?qy:Math.max(Math.min(e-xi.timestamp,XA),1),xi.timestamp=e,Xd=!0,fo.forEach(QA),Xd=!1,co&&(Kd=!1,Qy(Jy))},JA=()=>{co=!0,Kd=!0,Xd||Qy(Jy)},eF=()=>xi;function e1(e,t,r=0){return e-t-r}function tF(e,t,r=0,n=!0){return n?e1(t+-e,t,r):t-(e-t)+r}function rF(e,t,r,n){return n?e>=t+r:e<=-r}const nF=e=>{const t=({delta:r})=>e(r);return{start:()=>ZA.update(t,!0),stop:()=>qA.update(t)}};function t1(e){var t,r,{from:n,autoplay:i=!0,driver:a=nF,elapsed:o=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:m}=e,y=Ot(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,h,g=0,b=y.duration,x,k=!1,_=!0,T;const O=GA(y);!((r=(t=O).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(T=Uy([0,100],[n,v],{clamp:!1}),n=0,v=100);const F=O(Object.assign(Object.assign({},y),{from:n,to:v}));function W(){g++,s==="reverse"?(_=g%2===0,o=tF(o,b,u,_)):(o=e1(o,b,u),s==="mirror"&&F.flipTarget()),k=!1,p&&p()}function J(){h.stop(),f&&f()}function X(q){if(_||(q=-q),o+=q,!k){const ne=F.next(Math.max(0,o));x=ne.value,T&&(x=T(x)),k=_?ne.done:o<=0}m==null||m(x),k&&(g===0&&(b!=null||(b=o)),g<l?rF(o,b,u,_)&&W():J())}function Z(){c==null||c(),h=a(X),h.start()}return i&&Z(),{stop:()=>{d==null||d(),h.stop()}}}function r1(e,t){return t?e*(1e3/t):0}function iF({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 m;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){m==null||m.stop(),m=t1(Object.assign(Object.assign({},b),{driver:c,onUpdate:x=>{var k;d==null||d(x),(k=b.onUpdate)===null||k===void 0||k.call(b,x)},onComplete:f,onStop:p}))}function g(b){h(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:s},b))}if(y(e))g({from:e,velocity:t,to:v(e)});else{let b=i*t+e;typeof u!="undefined"&&(b=u(b));const x=v(b),k=x===r?-1:1;let _,T;const O=F=>{_=T,T=F,t=r1(F-_,eF().delta),(k===1&&F>x||k===-1&&F<x)&&g({from:F,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:()=>m==null?void 0:m.stop()}}const Zd=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),n1=e=>Zd(e)&&e.hasOwnProperty("z"),Ns=(e,t)=>Math.abs(e-t);function i1(e,t){if(jd(e)&&jd(t))return Ns(e,t);if(Zd(e)&&Zd(t)){const r=Ns(e.x,t.x),n=Ns(e.y,t.y),i=n1(e)&&n1(t)?Ns(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const a1=(e,t)=>1-3*t+3*e,o1=(e,t)=>3*t-6*e,l1=e=>3*e,Vs=(e,t,r)=>((a1(t,r)*e+o1(t,r))*e+l1(t))*e,s1=(e,t,r)=>3*a1(t,r)*e*e+2*o1(t,r)*e+l1(t),aF=1e-7,oF=10;function lF(e,t,r,n,i){let a,o,l=0;do o=t+(r-t)/2,a=Vs(o,n,i)-e,a>0?r=o:t=o;while(Math.abs(a)>aF&&++l<oF);return o}const sF=8,uF=.001;function cF(e,t,r,n){for(let i=0;i<sF;++i){const a=s1(t,r,n);if(a===0)return t;t-=(Vs(t,r,n)-e)/a}return t}const js=11,Hs=1/(js-1);function fF(e,t,r,n){if(e===t&&r===n)return Wd;const i=new Float32Array(js);for(let o=0;o<js;++o)i[o]=Vs(o*Hs,e,r);function a(o){let l=0,s=1;const u=js-1;for(;s!==u&&i[s]<=o;++s)l+=Hs;--s;const c=(o-i[s])/(i[s+1]-i[s]),d=l+c*Hs,f=s1(d,e,r);return f>=uF?cF(o,d,e,r):f===0?d:lF(o,l,l+Hs,e,r)}return o=>o===0||o===1?o:Vs(a(o),t,n)}function qd(e,t){e.indexOf(t)===-1&&e.push(t)}function Qd(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var po=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return qd(this.subscriptions,t),function(){return Qd(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}(),dF=function(e){return!isNaN(parseFloat(e))},pF=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new po,this.velocityUpdateSubscribers=new po,this.renderSubscribers=new po,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var a=Md(),o=a.delta,l=a.timestamp;r.lastUpdated!==l&&(r.timeDelta=o,r.lastUpdated=l,Qt.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 Qt.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=dF(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?r1(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 wi(e){return new pF(e)}var vr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Ws=function(e){return e*1e3},vF={linear:Wd,easeIn:Ud,easeInOut:Ky,easeOut:MA,circIn:Xy,circInOut:RA,circOut:Gd,backIn:Yd,backInOut:LA,backOut:IA,anticipate:BA,bounceIn:NA,bounceInOut:VA,bounceOut:zs},u1=function(e){if(Array.isArray(e)){_s(e.length===4);var t=ke(e,4),r=t[0],n=t[1],i=t[2],a=t[3];return fF(r,n,i,a)}else if(typeof e=="string")return vF[e];return e},hF=function(e){return Array.isArray(e)&&typeof e[0]!="number"},c1=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&pr.test(t)&&!t.startsWith("url("))},vo=function(e){return Array.isArray(e)},En=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Us=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Jd=function(){return{type:"keyframes",ease:"linear",duration:.3}},mF=function(e){return{type:"keyframes",duration:.8,values:e}},f1={x:En,y:En,z:En,rotate:En,rotateX:En,rotateY:En,rotateZ:En,scaleX:Us,scaleY:Us,scale:Us,opacity:Jd,backgroundColor:Jd,color:Jd,default:Us},gF=function(e,t){var r;return vo(t)?r=mF:r=f1[e]||f1.default,$({to:t},r(t))},d1=$($({},wn),{transform:Math.round}),p1={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,size:K,top:K,right:K,bottom:K,left:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,rotate:Ur,rotateX:Ur,rotateY:Ur,rotateZ:Ur,scale:Is,scaleX:Is,scaleY:Is,scaleZ:Is,skew:Ur,skewX:Ur,skewY:Ur,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:so,originX:Oy,originY:Oy,originZ:K,zIndex:d1,fillOpacity:so,strokeOpacity:so,numOctaves:d1},yF=$($({},p1),{color:rt,backgroundColor:rt,outlineColor:rt,fill:rt,stroke:rt,borderColor:rt,borderTopColor:rt,borderRightColor:rt,borderBottomColor:rt,borderLeftColor:rt,filter:Nd,WebkitFilter:Nd}),ep=function(e){return yF[e]};function tp(e,t){var r,n=ep(e);return n!==Nd&&(n=pr),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var bF={current:!1},SF=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},v1=function(e){return vo(e)?e[e.length-1]||0:e};function xF(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Ot(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function wF(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,a=e.loop,o=Ot(e,["ease","times","yoyo","flip","loop"]),l=$({},o);return r&&(l.offset=r),o.duration&&(l.duration=Ws(o.duration)),o.repeatDelay&&(l.repeatDelay=Ws(o.repeatDelay)),t&&(l.ease=hF(t)?t.map(u1):u1(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 CF(e,t){var r,n,i=rp(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function EF(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=$t([],ke(e.to),!1),e.to[0]=e.from),e}function kF(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),EF(t),xF(e)||(e=$($({},e),gF(r,t.to))),$($({},t),wF(e))}function TF(e,t,r,n,i){var a,o=rp(n,e),l=(a=o.from)!==null&&a!==void 0?a:t.get(),s=c1(e,r);l==="none"&&s&&typeof r=="string"?l=tp(e,r):h1(l)&&typeof r=="string"?l=m1(r):!Array.isArray(r)&&h1(r)&&typeof l=="string"&&(r=m1(l));var u=c1(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"?iF($($({},f),o)):t1($($({},kF(o,f,e)),{onUpdate:function(p){var m;f.onUpdate(p),(m=o.onUpdate)===null||m===void 0||m.call(o,p)},onComplete:function(){var p;f.onComplete(),(p=o.onComplete)===null||p===void 0||p.call(o)}}))}function d(){var f,p,m=v1(r);return t.set(m),i(),(f=o==null?void 0:o.onUpdate)===null||f===void 0||f.call(o,m),(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 h1(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function m1(e){return typeof e=="number"?0:tp("",e)}function rp(e,t){return e[t]||e.default||e}function np(e,t,r,n){return n===void 0&&(n={}),bF.current&&(n={type:!1}),t.start(function(i){var a,o,l=TF(e,t,r,n,i),s=CF(n,e),u=function(){return o=l()};return s?a=window.setTimeout(u,Ws(s)):u(),function(){clearTimeout(a),o==null||o.stop()}})}function _F(e,t,r){r===void 0&&(r={});var n=vr(e)?e:wi(e);return np("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var g1=["TopLeft","TopRight","BottomLeft","BottomRight"],PF=g1.length,y1=function(e){return typeof e=="string"?parseFloat(e):e},b1=function(e){return typeof e=="number"||K.test(e)};function AF(e,t,r,n,i,a){var o,l,s,u;i?(e.opacity=Te(0,(o=r.opacity)!==null&&o!==void 0?o:1,FF(n)),e.opacityExit=Te((l=t.opacity)!==null&&l!==void 0?l:1,0,OF(n))):a&&(e.opacity=Te((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<PF;c++){var d="border".concat(g1[c],"Radius"),f=S1(t,d),p=S1(r,d);if(!(f===void 0&&p===void 0)){f||(f=0),p||(p=0);var m=f===0||p===0||b1(f)===b1(p);m?(e[d]=Math.max(Te(y1(f),y1(p),n),0),(Jt.test(p)||Jt.test(f))&&(e[d]+="%")):e[d]=p}}(t.rotate||r.rotate)&&(e.rotate=Te(t.rotate||0,r.rotate||0,n))}function S1(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var FF=x1(0,.5,Gd),OF=x1(.5,.95,Wd);function x1(e,t,r){return function(n){return n<e?0:n>t?1:r(io(e,t,n))}}function w1(e,t){e.min=t.min,e.max=t.max}function er(e,t){w1(e.x,t.x),w1(e.y,t.y)}function ip(e){return e===void 0||e===1}function C1(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!ip(t)||!ip(r)||!ip(n)}function Yr(e){return C1(e)||E1(e.x)||E1(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function E1(e){return e&&e!=="0%"}function Gs(e,t,r){var n=e-r,i=t*n;return r+i}function k1(e,t,r,n,i){return i!==void 0&&(e=Gs(e,i,n)),Gs(e,r,n)+t}function ap(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=k1(e.min,t,r,n,i),e.max=k1(e.max,t,r,n,i)}function T1(e,t){var r=t.x,n=t.y;ap(e.x,r.translate,r.scale,r.originPoint),ap(e.y,n.translate,n.scale,n.originPoint)}function MF(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&&Ei(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,T1(e,s)),n&&Yr(l.latestValues)&&Ei(e,l.latestValues))}}function Ci(e,t){e.min=e.min+t,e.max=e.max+t}function _1(e,t,r){var n=ke(r,3),i=n[0],a=n[1],o=n[2],l=t[o]!==void 0?t[o]:.5,s=Te(e.min,e.max,l);ap(e,t[i],t[a],s,t.scale)}var RF=["x","scaleX","originX"],IF=["y","scaleY","originY"];function Ei(e,t){_1(e.x,t,RF),_1(e.y,t,IF)}function hr(e){return e.max-e.min}function P1(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),i1(e,t)<r}function A1(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Te(t.min,t.max,e.origin),e.scale=hr(r)/hr(t),(P1(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Te(r.min,r.max,e.origin)-e.originPoint,(P1(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ho(e,t,r,n){A1(e.x,t.x,r.x,n==null?void 0:n.originX),A1(e.y,t.y,r.y,n==null?void 0:n.originY)}function F1(e,t,r){e.min=r.min+t.min,e.max=e.min+hr(t)}function LF(e,t,r){F1(e.x,t.x,r.x),F1(e.y,t.y,r.y)}function O1(e,t,r){e.min=t.min-r.min,e.max=e.min+hr(t)}function mo(e,t,r){O1(e.x,t.x,r.x),O1(e.y,t.y,r.y)}function M1(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 BF(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),Jt.test(t)){t=parseFloat(t);var l=Te(o.min,o.max,t/100);t=l-o.min}if(typeof t=="number"){var s=Te(a.min,a.max,n);e===a&&(s-=t),e.min=M1(e.min,t,r,s,i),e.max=M1(e.max,t,r,s,i)}}function R1(e,t,r,n,i){var a=ke(r,3),o=a[0],l=a[1],s=a[2];BF(e,t[o],t[l],t[s],t.scale,n,i)}var zF=["x","scaleX","originX"],DF=["y","scaleY","originY"];function I1(e,t,r,n){R1(e.x,t,zF,r==null?void 0:r.x,n==null?void 0:n.x),R1(e.y,t,DF,r==null?void 0:r.y,n==null?void 0:n.y)}var L1=function(){return{translate:0,scale:1,origin:0,originPoint:0}},go=function(){return{x:L1(),y:L1()}},B1=function(){return{min:0,max:0}},qe=function(){return{x:B1(),y:B1()}};function z1(e){return e.translate===0&&e.scale===1}function D1(e){return z1(e.x)&&z1(e.y)}function $1(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 $F=function(){function e(){this.members=[]}return e.prototype.add=function(t){qd(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(Qd(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 NF(e){Object.assign(Ys,e)}var VF="translate3d(0px, 0px, 0) scale(1, 1)";function N1(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===VF?"none":a}function tr(e){return[e("x"),e("y")]}var op=["","X","Y","Z"],jF=["translate","scale","rotate","skew"],yo=["transformPerspective","x","y","z"];jF.forEach(function(e){return op.forEach(function(t){return yo.push(e+t)})});function HF(e,t){return yo.indexOf(e)-yo.indexOf(t)}var WF=new Set(yo);function bo(e){return WF.has(e)}var UF=new Set(["originX","originY","originZ"]);function V1(e){return UF.has(e)}var GF=function(e,t){return e.depth-t.depth},YF=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){qd(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){Qd(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(GF),this.isDirty=!1,this.children.forEach(t)},e}();function Ks(e){var t=vr(e)?e.get():e;return SF(t)?t.toValue():t}var j1=1e3,So={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function H1(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(JF),u.nodes.forEach(eO)},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?$t($t([],ke(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 YF)}return a.prototype.addEventListener=function(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new po),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,$t([],ke(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 m,y=function(){return s.root.updateBlockedByResize=!1};t(o,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),So.hasAnimatedSinceResize&&(So.hasAnimatedSinceResize=!1,s.nodes.forEach(QF))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||f)&&this.addEventListener("didUpdate",function(v){var h,g,b,x,k,_=v.delta,T=v.hasLayoutChanged,O=v.hasRelativeTargetChanged,F=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var W=(g=(h=s.options.transition)!==null&&h!==void 0?h:p.getDefaultTransition())!==null&&g!==void 0?g:aO,J=p.getProps().onLayoutAnimationComplete,X=!s.targetLayout||!$1(s.targetLayout,F)||O,Z=!T&&O;if(((b=s.resumeFrom)===null||b===void 0?void 0:b.instance)||Z||T&&(X||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(_,Z);var q=$($({},rp(W,"layout")),{onComplete:J});p.shouldReduceMotion&&(q.delay=0,q.type=!1),s.startAnimation(q)}else!T&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(x=s.options).onExitComplete)===null||k===void 0||k.call(x));s.targetLayout=F})}},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,no.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(tO))},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,m=f.layout;if(!(p===void 0&&!m)){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(W1);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(oO),this.potentialNodes.clear()),this.nodes.forEach(qF),this.nodes.forEach(KF),this.nodes.forEach(XF),this.clearAllSnapshots(),Od.update(),Od.preRender(),Od.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(ZF),this.sharedNodes.forEach(rO)},a.prototype.scheduleUpdateProjection=function(){Qt.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var o=this;Qt.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));K1(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();K1(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=qe(),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&&!D1(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||Yr(this.latestValues)||d)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var o=this.options.visualElement;if(!o)return qe();var l=o.measureViewportBox(),s=this.root.scroll;return s&&(Ci(l.x,s.x),Ci(l.y,s.y)),l},a.prototype.removeElementScroll=function(o){var l=qe();er(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&&(Ci(l.x,c.x),Ci(l.y,c.y))}return l},a.prototype.applyTransform=function(o,l){l===void 0&&(l=!1);var s=qe();er(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&&Ei(s,{x:-c.scroll.x,y:-c.scroll.y}),Yr(c.latestValues)&&Ei(s,c.latestValues)}return Yr(this.latestValues)&&Ei(s,this.latestValues),s},a.prototype.removeTransform=function(o){var l,s=qe();er(s,o);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!Yr(c.latestValues)){C1(c.latestValues)&&c.updateSnapshot();var d=qe(),f=c.measure();er(d,f),I1(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,d)}}return Yr(this.latestValues)&&I1(s,this.latestValues),s},a.prototype.setTargetDelta=function(o){this.targetDelta=o,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(o){var l;this.options=$($($({},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=qe(),this.relativeTargetOrigin=qe(),mo(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),er(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=qe(),this.targetWithTransforms=qe()),this.relativeTarget&&this.relativeTargetOrigin&&((o=this.relativeParent)===null||o===void 0?void 0:o.target)?LF(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):er(this.target,this.layout.actual),T1(this.target,this.targetDelta)):er(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=qe(),this.relativeTargetOrigin=qe(),mo(this.relativeTargetOrigin,this.target,this.relativeParent.target),er(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Yr(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();er(this.layoutCorrected,this.layout.actual),MF(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var d=c.target;if(!!d){this.projectionDelta||(this.projectionDelta=go(),this.projectionDeltaWithTransform=go());var f=this.treeScale.x,p=this.treeScale.y,m=this.projectionTransform;ho(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=N1(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||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=$({},this.latestValues),p=go();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=qe(),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(iO));this.animationProgress=0,this.mixTargetDelta=function(g){var b,x=g/1e3;U1(p.x,o.x,x),U1(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)&&(mo(m,s.layout.actual,s.relativeParent.layout.actual),nO(s.relativeTarget,s.relativeTargetOrigin,m,x)),y&&(s.animationValues=f,AF(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;(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(no.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Qt.update(function(){So.hasAnimatedSinceResize=!0,l.currentAnimation=_F(0,j1,$($({},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,j1),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||(er(l,s),Ei(l,c),ho(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 $F);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<op.length;u++){var c=op[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 m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=Ks(o.pointerEvents)||"",p.transform=m?m(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=Ks(o.pointerEvents)||""),this.hasProjected&&!Yr(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var h=y.animationValues||y.latestValues;this.applyTransformsToTarget(),p.transform=N1(this.projectionDeltaWithTransform,this.treeScale,h),m&&(p.transform=m(h,p.transform));var g=this.projectionDelta,b=g.x,x=g.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 k in Ys)if(h[k]!==void 0){var _=Ys[k],T=_.correct,O=_.applyTo,F=T(h[k],y);if(O)for(var W=O.length,J=0;J<W;J++)p[O[J]]=F;else p[k]=F}return this.options.layoutId&&(p.pointerEvents=y===this?Ks(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(W1),this.root.sharedNodes.clear()},a}()}function KF(e){e.updateLayout()}function XF(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"?tr(function(g){var b=a.isShared?a.measured[g]:a.layout[g],x=hr(b);b.min=l[g].min,b.max=b.min+x}):e.options.animationType==="position"&&tr(function(g){var b=a.isShared?a.measured[g]:a.layout[g],x=hr(l[g]);b.max=b.min+x});var u=go();ho(u,l,a.layout);var c=go();a.isShared?ho(c,e.applyTransform(s,!0),a.measured):ho(c,l,a.layout);var d=!D1(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,m=p.snapshot,y=p.layout;if(m&&y){var v=qe();mo(v,a.layout,m.layout);var h=qe();mo(h,l,y.actual),$1(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 ZF(e){e.clearSnapshot()}function W1(e){e.clearMeasurements()}function qF(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function QF(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function JF(e){e.resolveTargetDelta()}function eO(e){e.calcProjection()}function tO(e){e.resetRotation()}function rO(e){e.removeLeadSnapshot()}function U1(e,t,r){e.translate=Te(t.translate,0,r),e.scale=Te(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function G1(e,t,r,n){e.min=Te(t.min,r.min,n),e.max=Te(t.max,r.max,n)}function nO(e,t,r,n){G1(e.x,t.x,r.x,n),G1(e.y,t.y,r.y,n)}function iO(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var aO={duration:.45,ease:[.4,0,.1,1]};function oO(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 Y1(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function K1(e){Y1(e.x),Y1(e.y)}var lO=1;function sO(){return eo(function(){if(So.hasEverUpdated)return lO++})}var lp=M.createContext({}),X1=M.createContext({});function uO(e,t,r,n){var i,a=t.layoutId,o=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=M.useContext(X1);!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&&bi(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof o=="string"?o:"both",initialPromotionConfig:c,layoutScroll:u}))}var cO=function(e){my(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}(br.default.Component);function fO(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,a=e.useVisualState,o=e.Component;t&&R6(t);function l(s,u){var c=dO(s);s=$($({},s),{layoutId:c});var d=M.useContext(_d),f=null,p=G6(s),m=d.isStatic?void 0:sO(),y=a(s,d.isStatic);return!d.isStatic&&Ja&&(p.visualElement=V6(o,y,$($({},d),s),r),uO(m,s,p.visualElement,n||qa.projectionNodeConstructor),f=B6(s,p.visualElement)),w.createElement(cO,{visualElement:p.visualElement,props:$($({},d),s)},f,w.createElement(Ps.Provider,{value:p},i(o,s,m,j6(y,p.visualElement,u),y,d.isStatic,p.visualElement)))}return M.forwardRef(l)}function dO(e){var t,r=e.layoutId,n=(t=M.useContext(lp))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function pO(e){function t(n,i){return i===void 0&&(i={}),fO(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 vO=["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 sp(e){return typeof e!="string"||e.includes("-")?!1:!!(vO.indexOf(e)>-1||/[A-Z]/.test(e))}function Z1(e,t){var r=t.layout,n=t.layoutId;return bo(e)||V1(e)||(r||n!==void 0)&&(!!Ys[e]||e==="opacity")}var hO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function mO(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(HF);for(var d=!1,f=a.length,p=0;p<f;p++){var m=a[p];c+="".concat(hO[m]||m,"(").concat(i[m],") "),m==="z"&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function gO(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 q1(e){return e.startsWith("--")}var yO=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function up(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 m=t[p];if(q1(p)){o[p]=m;continue}var y=p1[p],v=yO(m,y);if(bo(p)){if(c=!0,l[p]=v,s.push(p),!f)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(f=!1)}else V1(p)?(u[p]=v,d=!0):a[p]=v}c?a.transform=mO(e,r,f,n):n?a.transform=n({},""):!t.transform&&a.transform&&(a.transform="none"),d&&(a.transformOrigin=gO(u))}var cp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Q1(e,t,r){for(var n in t)!vr(t[n])&&!Z1(n,r)&&(e[n]=t[n])}function bO(e,t,r){var n=e.transformTemplate;return M.useMemo(function(){var i=cp();up(i,t,{enableHardwareAcceleration:!r},n);var a=i.vars,o=i.style;return $($({},a),o)},[t])}function SO(e,t,r){var n=e.style||{},i={};return Q1(i,n,e),Object.assign(i,bO(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function xO(e,t,r){var n={},i=SO(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 wO=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","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 Xs(e){return wO.has(e)}var J1=function(e){return!Xs(e)};function CO(e){!e||(J1=function(t){return t.startsWith("on")?!Xs(t):e(t)})}try{CO(require("@emotion/is-prop-valid").default)}catch{}function EO(e,t,r){var n={};for(var i in e)(J1(i)||r===!0&&Xs(i)||!t&&!Xs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function eb(e,t,r){return typeof e=="string"?e:K.transform(t+r*e)}function kO(e,t,r){var n=eb(t,e.x,e.width),i=eb(r,e.y,e.height);return"".concat(n," ").concat(i)}var TO={offset:"stroke-dashoffset",array:"stroke-dasharray"},_O={offset:"strokeDashoffset",array:"strokeDasharray"};function PO(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?TO:_O;e[a.offset]=K.transform(-n);var o=K.transform(t),l=K.transform(r);e[a.array]="".concat(o," ").concat(l)}function fp(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=Ot(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);up(e,p,r,n),e.attrs=e.style,e.style={};var m=e.attrs,y=e.style,v=e.dimensions;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(o!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=kO(v,o!==void 0?o:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),a!==void 0&&(m.y=a),s!==void 0&&PO(m,s,c,f,!1)}var tb=function(){return $($({},cp()),{attrs:{}})};function AO(e,t){var r=M.useMemo(function(){var i=tb();return fp(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),$($({},i.attrs),{style:$({},i.style)})},[t]);if(e.style){var n={};Q1(n,e.style,e),r.style=$($({},n),r.style)}return r}function FO(e){e===void 0&&(e=!1);var t=function(r,n,i,a,o,l){var s=o.latestValues,u=sp(r)?AO:xO,c=u(n,s,l),d=EO(n,typeof r=="string",e),f=$($($({},d),c),{ref:a});return i&&(f["data-projection-id"]=i),M.createElement(r,f)};return t}var OO=/([a-z])([A-Z])/g,MO="$1-$2",rb=function(e){return e.replace(OO,MO).toLowerCase()};function nb(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 ib=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function ab(e,t){nb(e,t);for(var r in t.attrs)e.setAttribute(ib.has(r)?r:rb(r),t.attrs[r])}function dp(e){var t=e.style,r={};for(var n in t)(vr(t[n])||Z1(n,e))&&(r[n]=t[n]);return r}function ob(e){var t=dp(e);for(var r in e)if(vr(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function pp(e){return typeof e=="object"&&typeof e.start=="function"}function lb(e,t,r,n){var i=e.scrapeMotionValuesFromProps,a=e.createRenderState,o=e.onMount,l={latestValues:RO(t,r,n,i),renderState:a()};return o&&(l.mount=function(s){return o(t,s,l)}),l}var sb=function(e){return function(t,r){var n=M.useContext(Ps),i=M.useContext(Qa);return r?lb(e,t,n,i):eo(function(){return lb(e,t,n,i)})}};function RO(e,t,r,n){var i={},a=(r==null?void 0:r.initial)===!1,o=n(e);for(var l in o)i[l]=Ks(o[l]);var s=e.initial,u=e.animate,c=Os(e),d=wy(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"&&!pp(p)){var m=Array.isArray(p)?p:[p];m.forEach(function(y){var v=xy(e,y);if(!!v){var h=v.transitionEnd;v.transition;var g=Ot(v,["transitionEnd","transition"]);for(var b in g){var x=g[b];if(Array.isArray(x)){var k=f?x.length-1:0;x=x[k]}x!==null&&(i[b]=x)}for(var b in h)i[b]=h[b]}})}return i}var IO={useVisualState:sb({scrapeMotionValuesFromProps:ob,createRenderState:tb,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}}fp(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),ab(t,n)}})},LO={useVisualState:sb({scrapeMotionValuesFromProps:dp,createRenderState:cp})};function BO(e,t,r,n,i){var a=t.forwardMotionProps,o=a===void 0?!1:a,l=sp(e)?IO:LO;return $($({},l),{preloadedFeatures:r,useRender:FO(o),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var he;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(he||(he={}));function vp(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function hp(e,t,r,n){M.useEffect(function(){var i=e.current;if(r&&i)return vp(i,t,r,n)},[e,t,r,n])}function zO(e){var t=e.whileFocus,r=e.visualElement,n=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(he.Focus,!0)},i=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(he.Focus,!1)};hp(r,"focus",t?n:void 0),hp(r,"blur",t?i:void 0)}function ub(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function cb(e){var t=!!e.touches;return t}function DO(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var $O={pageX:0,pageY:0};function NO(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||$O;return{x:n[t+"X"],y:n[t+"Y"]}}function VO(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function mp(e,t){return t===void 0&&(t="page"),{point:cb(e)?NO(e,t):VO(e,t)}}var fb=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,mp(n))};return t?DO(r):r},jO=function(){return Ja&&window.onpointerdown===null},HO=function(){return Ja&&window.ontouchstart===null},WO=function(){return Ja&&window.onmousedown===null},UO={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},GO={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function db(e){return jO()?e:HO()?GO[e]:WO()?UO[e]:e}function ki(e,t,r,n){return vp(e,db(t),fb(r,t==="pointerdown"),n)}function Zs(e,t,r,n){return hp(e,db(t),r&&fb(r,t==="pointerdown"),n)}function pb(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var vb=pb("dragHorizontal"),hb=pb("dragVertical");function mb(e){var t=!1;if(e==="y")t=hb();else if(e==="x")t=vb();else{var r=vb(),n=hb();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function gb(){var e=mb(!0);return e?(e(),!1):!0}function yb(e,t,r){return function(n,i){var a;!ub(n)||gb()||((a=e.animationState)===null||a===void 0||a.setActive(he.Hover,t),r==null||r(n,i))}}function YO(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Zs(i,"pointerenter",t||n?yb(i,!0,t):void 0),Zs(i,"pointerleave",r||n?yb(i,!1,r):void 0)}var bb=function(e,t){return t?e===t?!0:bb(e,t.parentElement):!1};function gp(e){return M.useEffect(function(){return function(){return e()}},[])}function KO(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,a=e.visualElement,o=t||r||n||i,l=M.useRef(!1),s=M.useRef(null);function u(){var m;(m=s.current)===null||m===void 0||m.call(s),s.current=null}function c(){var m;return u(),l.current=!1,(m=a.animationState)===null||m===void 0||m.setActive(he.Tap,!1),!gb()}function d(m,y){!c()||(bb(a.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function f(m,y){!c()||n==null||n(m,y)}function p(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Ls(ki(window,"pointerup",d),ki(window,"pointercancel",f)),(v=a.animationState)===null||v===void 0||v.setActive(he.Tap,!0),r==null||r(m,y))}Zs(a,"pointerdown",o?p:void 0),gp(u)}var yp=new WeakMap,bp=new WeakMap,XO=function(e){var t;(t=yp.get(e.target))===null||t===void 0||t(e)},ZO=function(e){e.forEach(XO)};function qO(e){var t=e.root,r=Ot(e,["root"]),n=t||document;bp.has(n)||bp.set(n,{});var i=bp.get(n),a=JSON.stringify(r);return i[a]||(i[a]=new IntersectionObserver(ZO,$({root:t},r))),i[a]}function QO(e,t,r){var n=qO(t);return yp.set(e,r),n.observe(e),function(){yp.delete(e),n.unobserve(e)}}function JO(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,a=e.viewport,o=a===void 0?{}:a,l=M.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);o.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?rM:tM;u(s,l.current,t,o)}var eM={some:0,all:1};function tM(e,t,r,n){var i=n.root,a=n.margin,o=n.amount,l=o===void 0?"some":o,s=n.once;M.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:a,threshold:typeof l=="number"?l:eM[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(he.InView,p);var m=r.getProps(),y=p?m.onViewportEnter:m.onViewportLeave;y==null||y(d)}};return QO(r.getInstance(),u,c)}},[e,i,a,l])}function rM(e,t,r,n){var i=n.fallback,a=i===void 0?!0:i;M.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(he.InView,!0)})},[e])}var Kr=function(e){return function(t){return e(t),null}},nM={inView:Kr(JO),tap:Kr(KO),focus:Kr(zO),hover:Kr(YO)},iM=0,aM=function(){return iM++},Sb=function(){return eo(aM)};function Sp(){var e=M.useContext(Qa);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=Sb();M.useEffect(function(){return n(i)},[]);var a=function(){return r==null?void 0:r(i)};return!t&&r?[!1,a]:[!0]}function xb(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 oM=function(e){return/^\-?\d*\.?\d+$/.test(e)},lM=function(e){return/^0[^.\s]+$/.test(e)},wb=function(e){return function(t){return t.test(e)}},sM={test:function(e){return e==="auto"},parse:function(e){return e}},Cb=[wn,K,Jt,Ur,uA,sA,sM],xo=function(e){return Cb.find(wb(e))},uM=$t($t([],ke(Cb),!1),[rt,pr],!1),cM=function(e){return uM.find(wb(e))};function fM(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,wi(r))}function dM(e,t){var r=Fs(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,a=i===void 0?{}:i;n.transition;var o=Ot(n,["transitionEnd","transition"]);o=$($({},o),a);for(var l in o){var s=v1(o[l]);fM(e,l,s)}}function pM(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"&&(oM(f)||lM(f))?f=parseFloat(f):!cM(f)&&pr.test(d)&&(f=tp(c,d)),e.addValue(c,wi(f)),(a=(o=r)[c])!==null&&a!==void 0||(o[c]=f),e.setBaseTarget(c,f))}}function vM(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function hM(e,t,r){var n,i,a={};for(var o in e)a[o]=(n=vM(o,t))!==null&&n!==void 0?n:(i=r.getValue(o))===null||i===void 0?void 0:i.get();return a}function mM(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(o){return xp(e,o,r)});n=Promise.all(i)}else if(typeof t=="string")n=xp(e,t,r);else{var a=typeof t=="function"?Fs(e,t,r.custom):t;n=Eb(e,a,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function xp(e,t,r){var n;r===void 0&&(r={});var i=Fs(e,t,r.custom),a=(i||{}).transition,o=a===void 0?e.getDefaultTransition()||{}:a;r.transitionOverride&&(o=r.transitionOverride);var l=i?function(){return Eb(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 m=o.delayChildren,y=m===void 0?0:m,v=o.staggerChildren,h=o.staggerDirection;return gM(e,t,y+p,v,h,r)}:function(){return Promise.resolve()},u=o.when;if(u){var c=ke(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 Eb(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=Ot(u,["transition","transitionEnd"]);l&&(d=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in p){var h=e.getValue(v),g=p[v];if(!(!h||g===void 0||y&&bM(y,v))){var b=$({delay:o},d);e.shouldReduceMotion&&bo(v)&&(b=$($({},b),{type:!1,delay:0}));var x=np(v,h,g,b);m.push(x)}}return Promise.all(m).then(function(){f&&dM(e,f)})}function gM(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(yM).forEach(function(u,c){o.push(xp(u,t,$($({},a),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(o)}function yM(e,t){return e.sortNodePosition(t)}function bM(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var wp=[he.Animate,he.InView,he.Focus,he.Hover,he.Tap,he.Drag,he.Exit],SM=$t([],ke(wp),!1).reverse(),xM=wp.length;function wM(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return mM(e,n,i)}))}}function CM(e){var t=wM(e),r=kM(),n={},i=!0,a=function(c,d){var f=Fs(e,d);if(f){f.transition;var p=f.transitionEnd,m=Ot(f,["transition","transitionEnd"]);c=$($($({},c),m),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(),m=e.getVariantContext(!0)||{},y=[],v=new Set,h={},g=1/0,b=function(T){var O=SM[T],F=r[O],W=(f=p[O])!==null&&f!==void 0?f:m[O],J=Nt(W),X=O===d?F.isActive:null;X===!1&&(g=T);var Z=W===m[O]&&W!==p[O]&&J;if(Z&&i&&e.manuallyAnimateOnMount&&(Z=!1),F.protectedKeys=$({},h),!F.isActive&&X===null||!W&&!F.prevProp||pp(W)||typeof W=="boolean")return"continue";var q=EM(F.prevProp,W),ne=q||O===d&&F.isActive&&!Z&&J||T>g&&J,Le=Array.isArray(W)?W:[W],Qe=Le.reduce(a,{});X===!1&&(Qe={});var bt=F.prevResolvedValues,dt=bt===void 0?{}:bt,rr=$($({},dt),Qe),V=function(H){ne=!0,v.delete(H),F.needsAnimating[H]=!0};for(var Y in rr){var B=Qe[Y],z=dt[Y];h.hasOwnProperty(Y)||(B!==z?vo(B)&&vo(z)?!xb(B,z)||q?V(Y):F.protectedKeys[Y]=!0:B!==void 0?V(Y):v.add(Y):B!==void 0&&v.has(Y)?V(Y):F.protectedKeys[Y]=!0)}F.prevProp=W,F.prevResolvedValues=Qe,F.isActive&&(h=$($({},h),Qe)),i&&e.blockInitialAnimation&&(ne=!1),ne&&!Z&&y.push.apply(y,$t([],ke(Le.map(function(H){return{animation:H,options:$({type:O},c)}})),!1))},x=0;x<xM;x++)b(x);if(n=$({},h),v.size){var k={};v.forEach(function(T){var O=e.getBaseTarget(T);O!==void 0&&(k[T]=O)}),y.push({animation:k})}var _=Boolean(y.length);return i&&p.initial===!1&&!e.manuallyAnimateOnMount&&(_=!1),i=!1,_?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 m=s(f,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:o,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function EM(e,t){return typeof t=="string"?t!==e:Sy(t)?!xb(t,e):!1}function kn(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kM(){var e;return e={},e[he.Animate]=kn(!0),e[he.InView]=kn(),e[he.Hover]=kn(),e[he.Tap]=kn(),e[he.Drag]=kn(),e[he.Focus]=kn(),e[he.Exit]=kn(),e}var TM={animation:Kr(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=CM(t)),pp(r)&&M.useEffect(function(){return r.subscribe(t)},[r])}),exit:Kr(function(e){var t=e.custom,r=e.visualElement,n=ke(Sp(),2),i=n[0],a=n[1],o=M.useContext(Qa);M.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(he.Exit,!i,{custom:(s=o==null?void 0:o.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(a))},[i])})},kb=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=Ep(i.lastMoveEventInfo,i.history),p=i.startEvent!==null,m=i1(f.offset,{x:0,y:0})>=3;if(!(!p&&!m)){var y=f.point,v=Md().timestamp;i.history.push($($({},y),{timestamp:v}));var h=i.handlers,g=h.onStart,b=h.onMove;p||(g&&g(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),b&&b(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,p){if(i.lastMoveEvent=f,i.lastMoveEventInfo=Cp(p,i.transformPagePoint),ub(f)&&f.buttons===0){i.handlePointerUp(f,p);return}Qt.update(i.updatePoint,!0)},this.handlePointerUp=function(f,p){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,h=Ep(Cp(p,i.transformPagePoint),i.history);i.startEvent&&y&&y(f,h),v&&v(f,h)},!(cb(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=o;var l=mp(t),s=Cp(l,this.transformPagePoint),u=s.point,c=Md().timestamp;this.history=[$($({},u),{timestamp:c})];var d=r.onSessionStart;d&&d(t,Ep(s,this.history)),this.removeListeners=Ls(ki(window,"pointermove",this.handlePointerMove),ki(window,"pointerup",this.handlePointerUp),ki(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),no.update(this.updatePoint)},e}();function Cp(e,t){return t?{point:t(e.point)}:e}function Tb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ep(e,t){var r=e.point;return{point:r,delta:Tb(r,_b(t)),offset:Tb(r,_M(t)),velocity:PM(t,.1)}}function _M(e){return e[0]}function _b(e){return e[e.length-1]}function PM(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=_b(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Ws(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 AM(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Te(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Te(i,e,r.max):Math.min(e,i)),e}function Pb(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 FM(e,t){var r=t.top,n=t.left,i=t.bottom,a=t.right;return{x:Pb(e.x,n,a),y:Pb(e.y,r,i)}}function Ab(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=ke([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function OM(e,t){return{x:Ab(e.x,t.x),y:Ab(e.y,t.y)}}function MM(e,t){var r=.5,n=hr(e),i=hr(t);return i>n?r=io(t.min,t.max-n,e.min):n>i&&(r=io(e.min,e.max-i,t.min)),Rs(0,1,r)}function RM(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 kp=.35;function IM(e){return e===void 0&&(e=kp),e===!1?e=0:e===!0&&(e=kp),{x:Fb(e,"left","right"),y:Fb(e,"top","bottom")}}function Fb(e,t,r){return{min:Ob(e,t),max:Ob(e,r)}}function Ob(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function Mb(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 LM(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function BM(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 Rb(e,t){return Mb(BM(e.getBoundingClientRect(),t))}function zM(e,t,r){var n=Rb(e,r),i=t.scroll;return i&&(Ci(n.x,i.x),Ci(n.y,i.y)),n}var DM=new WeakMap,$M=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=qe(),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(mp(d,"page").point)},s=function(d,f){var p,m=n.getProps(),y=m.drag,v=m.dragPropagation,h=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=mb(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),tr(function(g){var b,x,k=n.getAxisMotionValue(g).get()||0;if(Jt.test(k)){var _=(x=(b=n.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||x===void 0?void 0:x.actual[g];if(_){var T=hr(_);k=T*(parseFloat(k)/100)}}n.originPoint[g]=k}),h==null||h(d,f),(p=n.visualElement.animationState)===null||p===void 0||p.setActive(he.Drag,!0))},u=function(d,f){var p=n.getProps(),m=p.dragPropagation,y=p.dragDirectionLock,v=p.onDirectionLock,h=p.onDrag;if(!(!m&&!n.openGlobalLock)){var g=f.offset;if(y&&n.currentDirection===null){n.currentDirection=NM(g),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,g),n.updateAxis("y",f.point,g),n.visualElement.syncRender(),h==null||h(d,f)}},c=function(d,f){return n.stop(d,f)};this.panSession=new kb(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(he.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!qs(t,i,this.currentDirection))){var a=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=AM(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&&bi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=FM(a.actual,n):this.constraints=!1,this.elastic=IM(i),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&tr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=RM(a.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!bi(r))return!1;var i=r.current,a=this.visualElement.projection;if(!a||!a.layout)return!1;var o=zM(i,a.root,this.visualElement.getTransformPagePoint()),l=OM(a.layout.actual,o);if(n){var s=n(LM(l));this.hasMutatedConstraints=!!s,s&&(l=Mb(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=tr(function(f){var p;if(!!qs(f,i,r.currentDirection)){var m=(p=c==null?void 0:c[f])!==null&&p!==void 0?p:{};s&&(m={min:0,max:0});var y=o?200:1e6,v=o?40:1e7,h=$($({type:"inertia",velocity:a?t[f]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(f,h)}});return Promise.all(d).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return np(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;tr(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;tr(function(n){var i=r.getProps().drag;if(!!qs(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]-Te(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(!(!bi(a)||!o||!this.constraints)){this.stopAnimation();var l={x:0,y:0};tr(function(u){var c=t.getAxisMotionValue(u);if(c){var d=c.get();l[u]=MM({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(),tr(function(u){if(!!qs(u,i,null)){var c=t.getAxisMotionValue(u),d=t.constraints[u],f=d.min,p=d.max;c.set(Te(f,p,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;DM.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=ki(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;bi(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=vp(window,"resize",function(){t.scalePositionWithinConstraints()});return o.addEventListener("didUpdate",function(u){var c=u.delta,d=u.hasLayoutChanged;t.isDragging&&d&&(tr(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?kp:c,f=t.dragMomentum,p=f===void 0?!0:f;return $($({},t),{drag:n,dragDirectionLock:a,dragPropagation:l,dragConstraints:u,dragElastic:d,dragMomentum:p})},e}();function qs(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function NM(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 VM(e){var t=e.dragControls,r=e.visualElement,n=eo(function(){return new $M(r)});M.useEffect(function(){return t&&t.subscribe(n)},[n,t]),M.useEffect(function(){return n.addListeners()},[n])}function jM(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,o=t||r||n||i,l=M.useRef(null),s=M.useContext(_d).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(d,f){l.current=null,n&&n(d,f)}};M.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(d){l.current=new kb(d,u,{transformPagePoint:s})}Zs(a,"pointerdown",o&&c),gp(function(){return l.current&&l.current.end()})}var HM={pan:Kr(jM),drag:Kr(VM)},Qs=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function WM(){var e=Qs.map(function(){return new po}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Qs.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"+Qs[i]]=function(a){return n.add(a)},r["notify"+Qs[i]]=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return n.notify.apply(n,$t([],ke(a),!1))}}),r}function UM(e,t,r){var n;for(var i in t){var a=t[i],o=r[i];if(vr(a))e.addValue(i,a);else if(vr(o))e.addValue(i,wi(a));else if(o!==a)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(a)}else e.addValue(i,wi((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 Ib=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 m=f.parent,y=f.props,v=f.presenceId,h=f.blockInitialAnimation,g=f.visualState,b=f.shouldReduceMotion;p===void 0&&(p={});var x=!1,k=g.latestValues,_=g.renderState,T,O=WM(),F=new Map,W=new Map,J={},X=$({},k),Z;function q(){!T||!x||(ne(),l(T,_,y.style,B.projection))}function ne(){n(B,_,k,p,y)}function Le(){O.notifyUpdate(k)}function Qe(z,H){var ie=H.onChange(function(Je){k[z]=Je,y.onUpdate&&Qt.update(Le,!1,!0)}),Be=H.onRenderRequest(B.scheduleRender);W.set(z,function(){ie(),Be()})}var bt=d(y);for(var dt in bt){var rr=bt[dt];k[dt]!==void 0&&vr(rr)&&rr.set(k[dt],!1)}var V=Os(y),Y=wy(y),B=$($({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:b,variantChildren:Y?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(T)},mount:function(z){x=!0,T=B.current=z,B.projection&&B.projection.mount(z),Y&&m&&!V&&(Z=m==null?void 0:m.addVariantChild(B)),F.forEach(function(H,ie){return Qe(ie,H)}),m==null||m.children.add(B),B.setProps(y)},unmount:function(){var z;(z=B.projection)===null||z===void 0||z.unmount(),no.update(Le),no.render(q),W.forEach(function(H){return H()}),Z==null||Z(),m==null||m.children.delete(B),O.clearAllListeners(),T=void 0,x=!1},addVariantChild:function(z){var H,ie=B.getClosestVariantNode();if(ie)return(H=ie.variantChildren)===null||H===void 0||H.add(z),function(){return ie.variantChildren.delete(z)}},sortNodePosition:function(z){return!c||r!==z.treeType?0:c(B.getInstance(),z.getInstance())},getClosestVariantNode:function(){return Y?B:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return T},getStaticValue:function(z){return k[z]},setStaticValue:function(z,H){return k[z]=H},getLatestValues:function(){return k},setVisibility:function(z){B.isVisible!==z&&(B.isVisible=z,B.scheduleRender())},makeTargetAnimatable:function(z,H){return H===void 0&&(H=!0),a(B,z,y,H)},measureViewportBox:function(){return o(T,y)},addValue:function(z,H){B.hasValue(z)&&B.removeValue(z),F.set(z,H),k[z]=H.get(),Qe(z,H)},removeValue:function(z){var H;F.delete(z),(H=W.get(z))===null||H===void 0||H(),W.delete(z),delete k[z],u(z,_)},hasValue:function(z){return F.has(z)},getValue:function(z,H){var ie=F.get(z);return ie===void 0&&H!==void 0&&(ie=wi(H),B.addValue(z,ie)),ie},forEachValue:function(z){return F.forEach(z)},readValue:function(z){var H;return(H=k[z])!==null&&H!==void 0?H:s(T,z,p)},setBaseTarget:function(z,H){X[z]=H},getBaseTarget:function(z){if(i){var H=i(y,z);if(H!==void 0&&!vr(H))return H}return X[z]}},O),{build:function(){return ne(),_},scheduleRender:function(){Qt.render(q,!1,!0)},syncRender:q,setProps:function(z){(z.transformTemplate||y.transformTemplate)&&B.scheduleRender(),y=z,O.updatePropListeners(z),J=UM(B,d(y),J)},getProps:function(){return y},getVariant:function(z){var H;return(H=y.variants)===null||H===void 0?void 0:H[z]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function(z){if(z===void 0&&(z=!1),z)return m==null?void 0:m.getVariantContext();if(!V){var H=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(H.initial=y.initial),H}for(var ie={},Be=0;Be<GM;Be++){var Je=Lb[Be],St=y[Je];(Nt(St)||St===!1)&&(ie[Je]=St)}return ie}});return B}},Lb=$t(["initial"],ke(wp),!1),GM=Lb.length;function Tp(e){return typeof e=="string"&&e.startsWith("var(--")}var Bb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function YM(e){var t=Bb.exec(e);if(!t)return[,];var r=ke(t,3),n=r[1],i=r[2];return[n,i]}function _p(e,t,r){var n=ke(YM(e),2),i=n[0],a=n[1];if(!!i){var o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():Tp(a)?_p(a,t):a}}function KM(e,t,r){var n,i=Ot(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:r};r&&(r=$({},r)),e.forEachValue(function(u){var c=u.get();if(!!Tp(c)){var d=_p(c,a);d&&u.set(d)}});for(var o in i){var l=i[o];if(!!Tp(l)){var s=_p(l,a);!s||(i[o]=s,r&&((n=r[o])!==null&&n!==void 0||(r[o]=l)))}}return{target:i,transitionEnd:r}}var XM=new Set(["width","height","top","left","right","bottom","x","y"]),zb=function(e){return XM.has(e)},ZM=function(e){return Object.keys(e).some(zb)},Db=function(e,t){e.set(t,!1),e.set(t)},$b=function(e){return e===wn||e===K},Nb;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Nb||(Nb={}));var Vb=function(e,t){return parseFloat(e.split(", ")[t])},jb=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 Vb(a[1],t);var o=i.match(/^matrix\((.+)\)$/);return o?Vb(o[1],e):0}},qM=new Set(["x","y","z"]),QM=yo.filter(function(e){return!qM.has(e)});function JM(e){var t=[];return QM.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 Hb={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:jb(4,13),y:jb(5,14)},eR=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]=Hb[u](n,a)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);Db(c,l[u]),e[u]=Hb[u](s,a)}),e},tR=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=$({},t),n=$({},n);var i=Object.keys(t).filter(zb),a=[],o=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var d=r[u],f=xo(d),p=t[u],m;if(vo(p)){var y=p.length,v=p[0]===null?1:0;d=p[v],f=xo(d);for(var h=v;h<y;h++)m?_s(xo(p[h])===m):m=xo(p[h])}else m=xo(p);if(f!==m)if($b(f)&&$b(m)){var g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof p=="string"?t[u]=parseFloat(p):Array.isArray(p)&&m===K&&(t[u]=p.map(parseFloat))}else(f==null?void 0:f.transform)&&(m==null?void 0:m.transform)&&(d===0||p===0)?d===0?c.set(m.transform(d)):t[u]=f.transform(p):(o||(a=JM(e),o=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],Db(c,p))}}),l.length){var s=eR(t,e,l);return a.length&&a.forEach(function(u){var c=ke(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 rR(e,t,r,n){return ZM(t)?tR(e,t,r,n):{target:t,transitionEnd:n}}var nR=function(e,t,r,n){var i=KM(e,t,n);return t=i.target,n=i.transitionEnd,rR(e,t,r,n)};function iR(e){return window.getComputedStyle(e)}var Wb={treeType:"dom",readValueFromInstance:function(e,t){if(bo(t)){var r=ep(t);return r&&r.default||0}else{var n=iR(e);return(q1(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 Rb(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=Ot(t,["transition","transitionEnd"]),s=hM(l,a||{},e);if(i&&(o&&(o=i(o)),l&&(l=i(l)),s&&(s=i(s))),n){pM(e,l,s);var u=nR(e,l,s,o);o=u.transitionEnd,l=u.target}return $({transition:a,transitionEnd:o},l)},scrapeMotionValuesFromProps:dp,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),up(t,r,n,i.transformTemplate)},render:nb},aR=Ib(Wb),oR=Ib($($({},Wb),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return bo(t)?((r=ep(t))===null||r===void 0?void 0:r.default)||0:(t=ib.has(t)?t:rb(t),e.getAttribute(t))},scrapeMotionValuesFromProps:ob,build:function(e,t,r,n,i){fp(t,r,n,i.transformTemplate)},render:ab})),lR=function(e,t){return sp(e)?oR(t,{enableHardwareAcceleration:!1}):aR(t,{enableHardwareAcceleration:!0})};function Ub(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var wo={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(K.test(e))e=parseFloat(e);else return e;var r=Ub(e,t.target.x),n=Ub(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Gb="_$css",sR={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,a=e.includes("var("),o=[];a&&(e=e.replace(Bb,function(y){return o.push(y),Gb}));var l=pr.parse(e);if(l.length>5)return i;var s=pr.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=Te(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 m=0;p=p.replace(Gb,function(){var y=o[m];return m++,y})}return p}},uR=function(e){my(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;NF(fR),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($($({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),So.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()||Qt.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}(br.default.Component);function cR(e){var t=ke(Sp(),2),r=t[0],n=t[1],i=M.useContext(lp);return P(uR,R({},$({},e,{layoutGroup:i,switchLayoutGroup:M.useContext(X1),isPresent:r,safeToRemove:n})))}var fR={borderRadius:$($({},wo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:wo,borderTopRightRadius:wo,borderBottomLeftRadius:wo,borderBottomRightRadius:wo,boxShadow:sR},dR={measureLayout:cR},pR=H1({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}}}),Pp={current:void 0},vR=H1({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Pp.current){var e=new pR(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Pp.current=e}return Pp.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),hR=$($($($({},TM),nM),HM),dR),Ap=pO(function(e,t){return BO(e,t,hR,lR,vR)});function Yb(){var e=M.useRef(!1);return As(function(){return e.current=!0,function(){e.current=!1}},[]),e}function mR(){var e=Yb(),t=ke(M.useState(0),2),r=t[0],n=t[1],i=M.useCallback(function(){e.current&&n(r+1)},[r]),a=M.useCallback(function(){return Qt.postRender(i)},[i]);return[a,r]}var Fp=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,a=e.custom,o=e.presenceAffectsLayout,l=eo(gR),s=Sb(),u=M.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:a,onExitComplete:function(c){var d,f;l.set(c,!0);try{for(var p=M6(l.values()),m=p.next();!m.done;m=p.next()){var y=m.value;if(!y)return}}catch(v){d={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(d)throw d.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},o?void 0:[n]);return M.useMemo(function(){l.forEach(function(c,d){return l.set(d,!1)})},[n]),w.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),w.createElement(Qa.Provider,{value:u},t)};function gR(){return new Map}var Ti=function(e){return e.key||""};function yR(e,t){e.forEach(function(r){var n=Ti(r);t.set(n,r)})}function bR(e){var t=[];return M.Children.forEach(e,function(r){M.isValidElement(r)&&t.push(r)}),t}var Kb=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,a=e.onExitComplete,o=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=ke(mR(),1),c=u[0],d=M.useContext(lp).forceRender;d&&(c=d);var f=Yb(),p=bR(t),m=p,y=new Set,v=M.useRef(m),h=M.useRef(new Map).current,g=M.useRef(!0);if(As(function(){g.current=!1,yR(p,h),v.current=m}),gp(function(){g.current=!0,h.clear(),y.clear()}),g.current)return w.createElement(w.Fragment,null,m.map(function(O){return w.createElement(Fp,{key:Ti(O),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},O)}));m=$t([],ke(m),!1);for(var b=v.current.map(Ti),x=p.map(Ti),k=b.length,_=0;_<k;_++){var T=b[_];x.indexOf(T)===-1&&y.add(T)}return o&&y.size&&(m=[]),y.forEach(function(O){if(x.indexOf(O)===-1){var F=h.get(O);if(!!F){var W=b.indexOf(O),J=function(){h.delete(O),y.delete(O);var X=v.current.findIndex(function(Z){return Z.key===O});if(v.current.splice(X,1),!y.size){if(v.current=p,f.current===!1)return;c(),a&&a()}};m.splice(W,0,w.createElement(Fp,{key:Ti(F),isPresent:!1,onExitComplete:J,custom:r,presenceAffectsLayout:s},F))}}}),m=m.map(function(O){var F=O.key;return y.has(F)?O:w.createElement(Fp,{key:Ti(O),isPresent:!0,presenceAffectsLayout:s},O)}),w.createElement(w.Fragment,null,y.size?m:m.map(function(O){return M.cloneElement(O)}))};function SR(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 Mt(){return Mt=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},Mt.apply(this,arguments)}var Op={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},Co={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function Mp(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return Co.slideRight;case"left":return Co.slideLeft;case"bottom":return Co.slideDown;case"top":return Co.slideUp;default:return Co.slideRight}}var Tn={enter:{duration:.2,ease:Op.easeOut},exit:{duration:.1,ease:Op.easeIn}},mr={enter:function(t,r){return Mt({},t,{delay:Jr(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Mt({},t,{delay:Jr(r)?r:r==null?void 0:r.exit})}},xR={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,a=n.transitionEnd,o=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:mr.enter(Tn.enter,o),transitionEnd:a==null?void 0:a.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,a=n.transitionEnd,o=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:mr.exit(Tn.exit,o),transitionEnd:a==null?void 0:a.exit}}},wR={initial:"exit",animate:"enter",exit:"exit",variants:xR},CR={exit:function(t){var r,n=t.reverse,i=t.initialScale,a=t.transition,o=t.transitionEnd,l=t.delay;return Mt({opacity:0},n?{scale:i,transitionEnd:o==null?void 0:o.exit}:{transitionEnd:Mt({scale:i},o==null?void 0:o.exit)},{transition:(r=a==null?void 0:a.exit)!=null?r:mr.exit(Tn.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,a=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:mr.enter(Tn.enter,a),transitionEnd:n==null?void 0:n.enter}}},ER={initial:"exit",animate:"enter",exit:"exit",variants:CR},kR=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],Xb={exit:{duration:.15,ease:Op.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},TR={exit:function(t){var r,n=t.direction,i=t.transition,a=t.transitionEnd,o=t.delay,l=Mp({direction:n}),s=l.exit;return Mt({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:mr.exit(Xb.exit,o),transitionEnd:a==null?void 0:a.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,a=t.transition,o=t.delay,l=Mp({direction:n}),s=l.enter;return Mt({},s,{transition:(r=a==null?void 0:a.enter)!=null?r:mr.enter(Xb.enter,o),transitionEnd:i==null?void 0:i.enter})}},_R=w.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,a=e.unmountOnExit,o=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,d=SR(e,kR),f=Mp({direction:n}),p=Object.assign({position:"fixed"},f.position,i),m=a?o&&a:!0,y=o||a?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return w.createElement(Kb,{custom:v},m&&w.createElement(Ap.div,Mt({},d,{ref:t,initial:"exit",className:De("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:TR,style:p})))}),PR={initial:function(t){var r,n=t.offsetX,i=t.offsetY,a=t.transition,o=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=a==null?void 0:a.exit)!=null?r:mr.exit(Tn.exit,l),transitionEnd:o==null?void 0:o.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,a=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:mr.enter(Tn.enter,a),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,a=t.transition,o=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Mt({opacity:0,transition:(r=a==null?void 0:a.exit)!=null?r:mr.exit(Tn.exit,s)},l?Mt({},u,{transitionEnd:o==null?void 0:o.exit}):{transitionEnd:Mt({},u,o==null?void 0:o.exit)})}},Zb={initial:"initial",animate:"enter",exit:"exit",variants:PR};function _n(){return _n=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},_n.apply(this,arguments)}function qb(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 AR(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=M.useState("pending"),c=u[0],d=u[1];M.useEffect(function(){d(r?"loading":"pending")},[r]);var f=M.useRef(),p=M.useCallback(function(){if(!!r){m();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){m(),d("loaded"),i==null||i(v)},y.onerror=function(v){m(),d("failed"),a==null||a(v)},f.current=y}},[r,o,n,l,i,a,t]),m=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Gi(function(){if(!s)return c==="loading"&&p(),function(){m()}},[c,p,s]),s?"loaded":c}var FR=["htmlWidth","htmlHeight","alt"],OR=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],Qb=w.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,a=qb(e,FR);return w.createElement("img",_n({width:r,height:n,ref:t,alt:i},a))}),MR=Pe(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=qb(e,OR),f=s!=null||u||r===void 0&&n===void 0,p=AR(_n({},e,{ignoreFallback:f})),m=_n({ref:t,objectFit:l,objectPosition:o},f?d:zu(d,["onError","onLoad"]));return p!=="loaded"?n||w.createElement(ee.img,_n({as:Qb,className:"chakra-image__placeholder",src:r},m)):w.createElement(ee.img,_n({as:Qb,src:i,srcSet:a,crossOrigin:c,loading:s,className:"chakra-image"},m))}),Jb={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},RR=ee("span",{baseStyle:Jb});ee("input",{baseStyle:Jb});function Js(){return Js=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},Js.apply(this,arguments)}function IR(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 LR=["label","thickness","speed","emptyColor","className"],BR=zn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),zR=Pe(function(e,t){var r=yn("Spinner",e),n=gn(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=IR(n,LR),m=De("chakra-spinner",f),y=Js({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:d,borderLeftColor:d,animation:BR+" "+u+" linear infinite"},r);return w.createElement(ee.div,Js({ref:t,__css:y,className:m},p),a&&w.createElement(RR,null,a))});function Rp(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 Xr(){return Xr=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},Xr.apply(this,arguments)}var DR=en({strict:!1,name:"ButtonGroupContext"}),$R=DR[1],NR=["label","placement","spacing","children","className","__css"],eS=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.createElement(zR,{color:"currentColor",width:"1em",height:"1em"}):o,s=t.className,u=t.__css,c=Rp(t,NR),d=De("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",p=w.useMemo(function(){var m;return Xr((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[f]=r?a:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,f,a]);return w.createElement(ee.div,Xr({className:d},c,{__css:p}),l)},VR=["children","className"],tS=function(t){var r=t.children,n=t.className,i=Rp(t,VR),a=w.isValidElement(r)?w.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,o=De("chakra-button__icon",n);return w.createElement(ee.span,Xr({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:o}),a)};function jR(e){var t=w.useState(!e),r=t[0],n=t[1],i=w.useCallback(function(o){!o||n(o.tagName==="BUTTON")},[]),a=r?"button":void 0;return{ref:i,type:a}}var HR=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Ip=Pe(function(e,t){var r=$R(),n=yn("Button",Xr({},r,e)),i=gn(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,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,h=i.spinner,g=i.spinnerPlacement,b=g===void 0?"start":g,x=i.className,k=i.as,_=Rp(i,HR),T=w.useMemo(function(){var X,Z=Ct({},(X=n==null?void 0:n._focus)!=null?X:{},{zIndex:1});return Xr({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:Z})},[n,r,u]),O=jR(k),F=O.ref,W=O.type,J={rightIcon:f,leftIcon:d,iconSpacing:y,children:c};return w.createElement(ee.button,Xr({disabled:o||l,ref:O2(t,F),as:k,type:v!=null?v:W,"data-active":th(s),"data-loading":th(l),__css:T,className:De("chakra-button",x)},_),l&&b==="start"&&w.createElement(eS,{className:"chakra-button__spinner--start",label:p,placement:"start",spacing:y},h),l?p||w.createElement(ee.span,{opacity:0},w.createElement(rS,J)):w.createElement(rS,J),l&&b==="end"&&w.createElement(eS,{className:"chakra-button__spinner--end",label:p,placement:"end",spacing:y},h))});function rS(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return w.createElement(w.Fragment,null,t&&w.createElement(tS,{marginEnd:i},t),n,r&&w.createElement(tS,{marginStart:i},r))}function WR(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 Eo(){return Eo=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},Eo.apply(this,arguments)}var UR=["children","isDisabled","__css"],GR=function(t){return w.createElement(hy,Eo({focusable:"false","aria-hidden":!0},t),w.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))},YR=Pe(function(e,t){var r=yn("CloseButton",e),n=gn(e),i=n.children,a=n.isDisabled,o=n.__css,l=WR(n,UR),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return w.createElement(ee.button,Eo({type:"button","aria-label":"Close",ref:t,disabled:a,__css:Eo({},s,r,o)},l),i||w.createElement(GR,{width:"1em",height:"1em"}))});function nt(){return nt=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},nt.apply(this,arguments)}function Zr(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 it=ee("div"),nS=ee("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),KR=["direction","align","justify","wrap","basis","grow","shrink"],eu=Pe(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=Zr(e,KR),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:a,flexBasis:o,flexGrow:l,flexShrink:s};return w.createElement(ee.div,nt({ref:t,__css:c},u))}),XR=["className"],ZR=Pe(function(e,t){var r=yn("Heading",e),n=gn(e);n.className;var i=Zr(n,XR);return w.createElement(ee.h2,nt({ref:t,className:De("chakra-heading",e.className)},i,{__css:r}))}),qR=["className","isExternal"],QR=Pe(function(e,t){var r=yn("Link",e),n=gn(e),i=n.className,a=n.isExternal,o=Zr(n,qR);return w.createElement(ee.a,nt({target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:t,className:De("chakra-link",i)},o,{__css:r}))}),JR=["children","styleType","stylePosition","spacing"],iS=en({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),eI=iS[0],tI=iS[1],rI=Pe(function(e,t){var r,n=Bg("List",e),i=gn(e),a=i.children,o=i.styleType,l=o===void 0?"none":o,s=i.stylePosition,u=i.spacing,c=Zr(i,JR),d=lh(a),f="& > *:not(style) ~ *:not(style)",p=u?(r={},r[f]={mt:u},r):{};return w.createElement(eI,{value:n},w.createElement(ee.ul,nt({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:nt({},n.container,p)},c),d))}),nI=Pe(function(e,t){var r=tI();return w.createElement(ee.li,nt({ref:t},e,{__css:r.item}))});ee("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var Lp="& > *:not(style) ~ *:not(style)";function iI(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[Lp]=ah(n,function(a){return i[a]}),t}function aI(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{"&":ah(r,function(i){return n[i]})}}var oI=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],lI=function(t){return w.createElement(ee.div,nt({className:"chakra-stack__item"},t,{__css:nt({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},aS=Pe(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,m=Zr(e,oI),y=n?"row":i!=null?i:"column",v=w.useMemo(function(){return iI({direction:y,spacing:s})},[y,s]),h=w.useMemo(function(){return aI({spacing:s,direction:y})},[s,y]),g=!!d,b=!p&&!g,x=lh(c),k=b?x:x.map(function(T,O){var F=typeof T.key!="undefined"?T.key:O,W=O+1===x.length,J=w.createElement(lI,{key:F},T),X=p?J:T;if(!g)return X;var Z=w.cloneElement(d,{__css:h}),q=W?null:Z;return w.createElement(w.Fragment,{key:F},X,q)}),_=De("chakra-stack",f);return w.createElement(ee.div,nt({ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:v.flexDirection,flexWrap:u,className:_,__css:g?{}:(r={},r[Lp]=v[Lp],r)},m),k)}),sI=Pe(function(e,t){return w.createElement(aS,nt({align:"center"},e,{direction:"row",ref:t}))}),uI=["className","align","decoration","casing"],_i=Pe(function(e,t){var r=yn("Text",e),n=gn(e);n.className,n.align,n.decoration,n.casing;var i=Zr(n,uI),a=Du({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return w.createElement(ee.p,nt({ref:t,className:De("chakra-text",e.className)},a,i,{__css:r}))}),cI=["isExternal","target","rel","className"],fI=["className"],dI=Pe(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,a=e.className,o=Zr(e,cI);return w.createElement(ee.a,nt({},o,{ref:t,className:De("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":i,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%"}}}))}),pI=Pe(function(e,t){var r=e.className,n=Zr(e,fI);return w.createElement(ee.div,nt({ref:t,position:"relative"},n,{className:De("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))});function vI(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 oS={exports:{}},hI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",mI=hI,gI=mI;function lS(){}function sS(){}sS.resetWarningCache=lS;var yI=function(){function e(n,i,a,o,l,s){if(s!==gI){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:sS,resetWarningCache:lS};return r.PropTypes=r,r};oS.exports=yI();var tu=oS.exports,Bp="data-focus-lock",uS="data-focus-lock-disabled",bI="data-no-focus-lock",SI="data-autofocus-inside";function xI(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function wI(e,t){var r=M.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}function cS(e,t){return wI(t,function(r){return e.forEach(function(n){return xI(n,r)})})}var zp={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};/*! *****************************************************************************
|
|
347
347
|
Copyright (c) Microsoft Corporation.
|
|
348
348
|
|
|
349
349
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -356,7 +356,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
356
356
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
357
357
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
358
358
|
PERFORMANCE OF THIS SOFTWARE.
|
|
359
|
-
***************************************************************************** */var ru=function(){return ru=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},ru.apply(this,arguments)};function wR(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 fS(e){return e}function dS(e,t){t===void 0&&(t=fS);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var o=t(a,n);return r.push(o),function(){r=r.filter(function(l){return l!==o})}},assignSyncMedium:function(a){for(n=!0;r.length;){var o=r;r=[],o.forEach(a)}r={push:function(l){return a(l)},filter:function(){return r}}},assignMedium:function(a){n=!0;var o=[];if(r.length){var l=r;r=[],l.forEach(a),o=r}var s=function(){var c=o;o=[],c.forEach(a)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){o.push(c),u()},filter:function(c){return o=o.filter(c),r}}}};return i}function Dp(e,t){return t===void 0&&(t=fS),dS(e,t)}function pS(e){e===void 0&&(e={});var t=dS(null);return t.options=ru({async:!0,ssr:!1},e),t}var vS=function(e){var t=e.sideCar,r=wR(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return w.createElement(n,ru({},r))};vS.isSideCarExport=!0;function CR(e,t){return e.useMedium(t),vS}var hS=Dp({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),mS=Dp(),ER=Dp(),kR=pS({async:!0}),TR=[],$p=w.forwardRef(function(t,r){var n,i=w.useState(),a=i[0],o=i[1],l=w.useRef(),s=w.useRef(!1),u=w.useRef(null),c=t.children,d=t.disabled,f=t.noFocusGuards,p=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,h=t.className,g=t.whiteList,b=t.shards,x=b===void 0?TR:b,k=t.as,_=k===void 0?"div":k,T=t.lockProps,O=T===void 0?{}:T,F=t.sideCar,H=t.returnFocus,J=t.onActivation,X=t.onDeactivation,Z=w.useState({}),q=Z[0],ne=w.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&J&&J(l.current),s.current=!0},[J]),Re=w.useCallback(function(){s.current=!1,X&&X(l.current)},[X]),Qe=w.useCallback(function(j){var ie=u.current;if(Boolean(H)&&ie&&ie.focus){var Le=typeof H=="object"?H:void 0;u.current=null,j?Promise.resolve().then(function(){return ie.focus(Le)}):ie.focus(Le)}},[H]),bt=w.useCallback(function(j){s.current&&hS.useMedium(j)},[]),dt=mS.useMedium,rr=w.useCallback(function(j){l.current!==j&&(l.current=j,o(j))},[]),V=Qr((n={},n[uS]=d&&"disabled",n[Bp]=v,n),O),Y=f!==!0,B=Y&&f!=="tail",z=cS([r,rr]);return w.createElement(w.Fragment,null,Y&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:zp}),w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:zp})],!d&&w.createElement(F,{id:q,sideCar:kR,observed:a,disabled:d,persistentFocus:p,crossFrame:m,autoFocus:y,whiteList:g,shards:x,onActivation:ne,onDeactivation:Re,returnFocus:Qe}),w.createElement(_,Qr({ref:z},V,{className:h,onBlur:dt,onFocus:bt}),c),B&&w.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:zp}))});$p.propTypes={},$p.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var gS=$p;function Np(e,t){return Np=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Np(e,t)}function _R(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Np(e,t)}function PR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AR(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var a=[],o;function l(){o=e(a.map(function(u){return u.props})),t(o)}var s=function(u){_R(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return o};var d=c.prototype;return d.componentDidMount=function(){a.push(this),l()},d.componentDidUpdate=function(){l()},d.componentWillUnmount=function(){var p=a.indexOf(this);a.splice(p,1),l()},d.render=function(){return P(i,R({},this.props))},c}(M.PureComponent);return PR(s,"displayName","SideEffect("+r(i)+")"),s}}var qr=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},Vp=function(e){return Array.isArray(e)?e:[e]},FR=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var a=e[n].compareDocumentPosition(e[i]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(o,l){return!t.has(l)})},yS=function(e){return e.parentNode?yS(e.parentNode):e},jp=function(e){var t=Vp(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(Bp);return r.push.apply(r,i?FR(qr(yS(n).querySelectorAll("["+Bp+'="'+i+'"]:not(['+uS+'="disabled"])'))):[n]),r},[])},OR=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},MR=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!OR(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},bS=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=MR(t,bS.bind(void 0,e));return e.set(t,n),n},IR=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},Hp=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},nu=function(e){return!Hp(e)},RR=function(e){return Boolean(e)},LR=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},SS=function(e,t,r){return qr(e).map(function(n,i){return{node:n,index:i,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(LR)},BR=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Wp=BR.join(","),zR=Wp+", [data-focus-guard]",Up=function(e,t){return e.reduce(function(r,n){return r.concat(qr(n.querySelectorAll(t?zR:Wp)),n.parentNode?qr(n.parentNode.querySelectorAll(Wp)).filter(function(i){return i===n}):[])},[])},DR=function(e){var t=e.querySelectorAll("["+bR+"]");return qr(t).map(function(r){return Up([r])}).reduce(function(r,n){return r.concat(n)},[])},Gp=function(e,t){return qr(e).filter(function(r){return bS(t,r)}).filter(function(r){return IR(r)})},Yp=function(e,t,r){return SS(Gp(Up(e,r),t),!0,r)},xS=function(e,t){return SS(Gp(Up(e),t),!1)},$R=function(e,t){return Gp(DR(e),t)},Kp=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Kp(e.parentNode,t),t},Xp=function(e,t){for(var r=Kp(e),n=Kp(t),i=0;i<r.length;i+=1){var a=r[i];if(n.indexOf(a)>=0)return a}return!1},wS=function(e,t,r){var n=Vp(e),i=Vp(t),a=n[0],o=!1;return i.filter(Boolean).forEach(function(l){o=Xp(o||l,l)||o,r.filter(Boolean).forEach(function(s){var u=Xp(a,s);u&&(!o||u.contains(o)?o=u:o=Xp(u,o))})}),o},NR=function(e,t){return e.reduce(function(r,n){return r.concat($R(n,t))},[])},VR=function(e){var t=jp(e).filter(nu),r=wS(e,e,t),n=new Map,i=Yp([r],n,!0),a=Yp(t,n).filter(function(o){var l=o.node;return nu(l)}).map(function(o){var l=o.node;return l});return i.map(function(o){var l=o.node,s=o.index;return{node:l,index:s,lockItem:a.indexOf(l)>=0,guard:Hp(l)}})},jR=function(e){return e===document.activeElement},HR=function(e){return Boolean(qr(e.querySelectorAll("iframe")).some(function(t){return jR(t)}))},CS=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:jp(e).reduce(function(r,n){return r||n.contains(t)||HR(n)},!1)},WR=function(){return document&&qr(document.querySelectorAll("["+yR+"]")).some(function(e){return e.contains(document.activeElement)})},ES=function(e){return e.tagName==="INPUT"&&e.type==="radio"},UR=function(e,t){return t.filter(ES).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},Zp=function(e,t){return ES(e)&&e.name?UR(e,t):e},GR=function(e){var t=new Set;return e.forEach(function(r){return t.add(Zp(r,e))}),e.filter(function(r){return t.has(r)})},kS=function(e){return e[0]&&e.length>1?Zp(e[0],e):e[0]},TS=function(e,t){return e.length>1?e.indexOf(Zp(e[t],e)):t},_S="NEW_FOCUS",YR=function(e,t,r,n){var i=e.length,a=e[0],o=e[i-1],l=Hp(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,d=s-u,f=t.indexOf(a),p=t.indexOf(o),m=GR(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=TS(e,0),h=TS(e,i-1);if(s===-1||c===-1)return _S;if(!d&&c>=0)return c;if(s<=f&&l&&Math.abs(d)>1)return h;if(s>=p&&l&&Math.abs(d)>1)return v;if(d&&Math.abs(y)>1)return c;if(s<=f)return h;if(s>p)return v;if(d)return Math.abs(d)>1?c:(i+c+d)%i}},KR=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},XR=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(RR)},ZR=function(e,t){var r=document&&document.activeElement,n=jp(e).filter(nu),i=wS(r||e,e,n),a=new Map,o=xS(n,a),l=Yp(n,a).filter(function(p){var m=p.node;return nu(m)});if(!(!l[0]&&(l=o,!l[0]))){var s=xS([i],a).map(function(p){var m=p.node;return m}),u=XR(s,l),c=u.map(function(p){var m=p.node;return m}),d=YR(c,s,r,t);if(d===_S){var f=o.map(function(p){var m=p.node;return m}).filter(KR(NR(n,a)));return{node:f&&f.length?kS(f):kS(c)}}return d===void 0?d:u[d]}},qR=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},qp=0,Qp=!1,QR=function(e,t){var r=ZR(e,t);if(!Qp&&r){if(qp>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Qp=!0,setTimeout(function(){Qp=!1},1);return}qp++,qR(r.node),qp--}},PS=QR;function AS(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var JR=function(){return document&&document.activeElement===document.body},e8=function(){return JR()||WR()},Pi=null,Ai=null,Fi=null,ko=!1,t8=function(){return!0},r8=function(t){return(Pi.whiteList||t8)(t)},n8=function(t,r){Fi={observerNode:t,portaledElement:r}},i8=function(t){return Fi&&Fi.portaledElement===t};function FS(e,t,r,n){var i=null,a=e;do{var o=n[a];if(o.guard)o.node.dataset.focusAutoGuard&&(i=o);else if(o.lockItem){if(a!==e)return;i=null}else break}while((a+=r)!==t);i&&(i.node.tabIndex=0)}var a8=function(t){return t&&"current"in t?t.current:t},o8=function(t){return t?Boolean(ko):ko==="meanwhile"},iu=function(){var t=!1;if(Pi){var r=Pi,n=r.observed,i=r.persistentFocus,a=r.autoFocus,o=r.shards,l=r.crossFrame,s=n||Fi&&Fi.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(o.map(a8).filter(Boolean));if((!u||r8(u))&&(i||o8(l)||!e8()||!Ai&&a)&&(s&&!(CS(c)||i8(u))&&(document&&!Ai&&u&&!a?(u.blur&&u.blur(),document.body.focus()):(t=PS(c,Ai),Fi={})),ko=!1,Ai=document&&document.activeElement),document){var d=document&&document.activeElement,f=VR(c),p=f.map(function(m){var y=m.node;return y}).indexOf(d);p>-1&&(f.filter(function(m){var y=m.guard,v=m.node;return y&&v.dataset.focusAutoGuard}).forEach(function(m){var y=m.node;return y.removeAttribute("tabIndex")}),FS(p,f.length,1,f),FS(p,-1,-1,f))}}}return t},OS=function(t){iu()&&t&&(t.stopPropagation(),t.preventDefault())},Jp=function(){return AS(iu)},l8=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||n8(n,r)},s8=function(){return null},MS=function(){ko="just",setTimeout(function(){ko="meanwhile"},0)},u8=function(){document.addEventListener("focusin",OS,!0),document.addEventListener("focusout",Jp),window.addEventListener("blur",MS)},c8=function(){document.removeEventListener("focusin",OS,!0),document.removeEventListener("focusout",Jp),window.removeEventListener("blur",MS)};function f8(e){return e.filter(function(t){var r=t.disabled;return!r})}function d8(e){var t=e.slice(-1)[0];t&&!Pi&&u8();var r=Pi,n=r&&t&&t.id===r.id;Pi=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var a=i.id;return a===r.id}).length||r.returnFocus(!t)),t?(Ai=null,(!n||r.observed!==t.observed)&&t.onActivation(),iu(),AS(iu)):(c8(),Ai=null)}hS.assignSyncMedium(l8),mS.assignMedium(Jp),ER.assignMedium(function(e){return e({moveFocusInside:PS,focusInside:CS})});var p8=AR(f8,d8)(s8),IS=w.forwardRef(function(t,r){return w.createElement(gS,Qr({sideCar:p8,ref:r},t))}),RS=gS.propTypes||{};RS.sideCar,pR(RS,["sideCar"]),IS.propTypes={};var v8=IS,h8=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,a=t.restoreFocus,o=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,d=w.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=f2(i.current);m.length===0&&m2(i.current,{nextTick:!0})}},[r,i]),f=w.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),p=a&&!n;return w.createElement(v8,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:d,onDeactivation:f,returnFocus:p},o)};/*! *****************************************************************************
|
|
359
|
+
***************************************************************************** */var ru=function(){return ru=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},ru.apply(this,arguments)};function CI(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 fS(e){return e}function dS(e,t){t===void 0&&(t=fS);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var o=t(a,n);return r.push(o),function(){r=r.filter(function(l){return l!==o})}},assignSyncMedium:function(a){for(n=!0;r.length;){var o=r;r=[],o.forEach(a)}r={push:function(l){return a(l)},filter:function(){return r}}},assignMedium:function(a){n=!0;var o=[];if(r.length){var l=r;r=[],l.forEach(a),o=r}var s=function(){var c=o;o=[],c.forEach(a)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){o.push(c),u()},filter:function(c){return o=o.filter(c),r}}}};return i}function Dp(e,t){return t===void 0&&(t=fS),dS(e,t)}function pS(e){e===void 0&&(e={});var t=dS(null);return t.options=ru({async:!0,ssr:!1},e),t}var vS=function(e){var t=e.sideCar,r=CI(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return w.createElement(n,ru({},r))};vS.isSideCarExport=!0;function EI(e,t){return e.useMedium(t),vS}var hS=Dp({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),mS=Dp(),kI=Dp(),TI=pS({async:!0}),_I=[],$p=w.forwardRef(function(t,r){var n,i=w.useState(),a=i[0],o=i[1],l=w.useRef(),s=w.useRef(!1),u=w.useRef(null),c=t.children,d=t.disabled,f=t.noFocusGuards,p=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,h=t.className,g=t.whiteList,b=t.shards,x=b===void 0?_I:b,k=t.as,_=k===void 0?"div":k,T=t.lockProps,O=T===void 0?{}:T,F=t.sideCar,W=t.returnFocus,J=t.onActivation,X=t.onDeactivation,Z=w.useState({}),q=Z[0],ne=w.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&J&&J(l.current),s.current=!0},[J]),Le=w.useCallback(function(){s.current=!1,X&&X(l.current)},[X]),Qe=w.useCallback(function(H){var ie=u.current;if(Boolean(W)&&ie&&ie.focus){var Be=typeof W=="object"?W:void 0;u.current=null,H?Promise.resolve().then(function(){return ie.focus(Be)}):ie.focus(Be)}},[W]),bt=w.useCallback(function(H){s.current&&hS.useMedium(H)},[]),dt=mS.useMedium,rr=w.useCallback(function(H){l.current!==H&&(l.current=H,o(H))},[]),V=Qr((n={},n[uS]=d&&"disabled",n[Bp]=v,n),O),Y=f!==!0,B=Y&&f!=="tail",z=cS([r,rr]);return w.createElement(w.Fragment,null,Y&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:zp}),w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:zp})],!d&&w.createElement(F,{id:q,sideCar:TI,observed:a,disabled:d,persistentFocus:p,crossFrame:m,autoFocus:y,whiteList:g,shards:x,onActivation:ne,onDeactivation:Le,returnFocus:Qe}),w.createElement(_,Qr({ref:z},V,{className:h,onBlur:dt,onFocus:bt}),c),B&&w.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:zp}))});$p.propTypes={},$p.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var gS=$p;function Np(e,t){return Np=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Np(e,t)}function PI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Np(e,t)}function AI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FI(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var a=[],o;function l(){o=e(a.map(function(u){return u.props})),t(o)}var s=function(u){PI(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return o};var d=c.prototype;return d.componentDidMount=function(){a.push(this),l()},d.componentDidUpdate=function(){l()},d.componentWillUnmount=function(){var p=a.indexOf(this);a.splice(p,1),l()},d.render=function(){return P(i,R({},this.props))},c}(M.PureComponent);return AI(s,"displayName","SideEffect("+r(i)+")"),s}}var qr=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},Vp=function(e){return Array.isArray(e)?e:[e]},OI=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var a=e[n].compareDocumentPosition(e[i]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(o,l){return!t.has(l)})},yS=function(e){return e.parentNode?yS(e.parentNode):e},jp=function(e){var t=Vp(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(Bp);return r.push.apply(r,i?OI(qr(yS(n).querySelectorAll("["+Bp+'="'+i+'"]:not(['+uS+'="disabled"])'))):[n]),r},[])},MI=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},RI=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!MI(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},bS=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=RI(t,bS.bind(void 0,e));return e.set(t,n),n},II=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},Hp=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},nu=function(e){return!Hp(e)},LI=function(e){return Boolean(e)},BI=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},SS=function(e,t,r){return qr(e).map(function(n,i){return{node:n,index:i,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(BI)},zI=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Wp=zI.join(","),DI=Wp+", [data-focus-guard]",Up=function(e,t){return e.reduce(function(r,n){return r.concat(qr(n.querySelectorAll(t?DI:Wp)),n.parentNode?qr(n.parentNode.querySelectorAll(Wp)).filter(function(i){return i===n}):[])},[])},$I=function(e){var t=e.querySelectorAll("["+SI+"]");return qr(t).map(function(r){return Up([r])}).reduce(function(r,n){return r.concat(n)},[])},Gp=function(e,t){return qr(e).filter(function(r){return bS(t,r)}).filter(function(r){return II(r)})},Yp=function(e,t,r){return SS(Gp(Up(e,r),t),!0,r)},xS=function(e,t){return SS(Gp(Up(e),t),!1)},NI=function(e,t){return Gp($I(e),t)},Kp=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Kp(e.parentNode,t),t},Xp=function(e,t){for(var r=Kp(e),n=Kp(t),i=0;i<r.length;i+=1){var a=r[i];if(n.indexOf(a)>=0)return a}return!1},wS=function(e,t,r){var n=Vp(e),i=Vp(t),a=n[0],o=!1;return i.filter(Boolean).forEach(function(l){o=Xp(o||l,l)||o,r.filter(Boolean).forEach(function(s){var u=Xp(a,s);u&&(!o||u.contains(o)?o=u:o=Xp(u,o))})}),o},VI=function(e,t){return e.reduce(function(r,n){return r.concat(NI(n,t))},[])},jI=function(e){var t=jp(e).filter(nu),r=wS(e,e,t),n=new Map,i=Yp([r],n,!0),a=Yp(t,n).filter(function(o){var l=o.node;return nu(l)}).map(function(o){var l=o.node;return l});return i.map(function(o){var l=o.node,s=o.index;return{node:l,index:s,lockItem:a.indexOf(l)>=0,guard:Hp(l)}})},HI=function(e){return e===document.activeElement},WI=function(e){return Boolean(qr(e.querySelectorAll("iframe")).some(function(t){return HI(t)}))},CS=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:jp(e).reduce(function(r,n){return r||n.contains(t)||WI(n)},!1)},UI=function(){return document&&qr(document.querySelectorAll("["+bI+"]")).some(function(e){return e.contains(document.activeElement)})},ES=function(e){return e.tagName==="INPUT"&&e.type==="radio"},GI=function(e,t){return t.filter(ES).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},Zp=function(e,t){return ES(e)&&e.name?GI(e,t):e},YI=function(e){var t=new Set;return e.forEach(function(r){return t.add(Zp(r,e))}),e.filter(function(r){return t.has(r)})},kS=function(e){return e[0]&&e.length>1?Zp(e[0],e):e[0]},TS=function(e,t){return e.length>1?e.indexOf(Zp(e[t],e)):t},_S="NEW_FOCUS",KI=function(e,t,r,n){var i=e.length,a=e[0],o=e[i-1],l=Hp(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,d=s-u,f=t.indexOf(a),p=t.indexOf(o),m=YI(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=TS(e,0),h=TS(e,i-1);if(s===-1||c===-1)return _S;if(!d&&c>=0)return c;if(s<=f&&l&&Math.abs(d)>1)return h;if(s>=p&&l&&Math.abs(d)>1)return v;if(d&&Math.abs(y)>1)return c;if(s<=f)return h;if(s>p)return v;if(d)return Math.abs(d)>1?c:(i+c+d)%i}},XI=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},ZI=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(LI)},qI=function(e,t){var r=document&&document.activeElement,n=jp(e).filter(nu),i=wS(r||e,e,n),a=new Map,o=xS(n,a),l=Yp(n,a).filter(function(p){var m=p.node;return nu(m)});if(!(!l[0]&&(l=o,!l[0]))){var s=xS([i],a).map(function(p){var m=p.node;return m}),u=ZI(s,l),c=u.map(function(p){var m=p.node;return m}),d=KI(c,s,r,t);if(d===_S){var f=o.map(function(p){var m=p.node;return m}).filter(XI(VI(n,a)));return{node:f&&f.length?kS(f):kS(c)}}return d===void 0?d:u[d]}},QI=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},qp=0,Qp=!1,JI=function(e,t){var r=qI(e,t);if(!Qp&&r){if(qp>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Qp=!0,setTimeout(function(){Qp=!1},1);return}qp++,QI(r.node),qp--}},PS=JI;function AS(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var e8=function(){return document&&document.activeElement===document.body},t8=function(){return e8()||UI()},Pi=null,Ai=null,Fi=null,ko=!1,r8=function(){return!0},n8=function(t){return(Pi.whiteList||r8)(t)},i8=function(t,r){Fi={observerNode:t,portaledElement:r}},a8=function(t){return Fi&&Fi.portaledElement===t};function FS(e,t,r,n){var i=null,a=e;do{var o=n[a];if(o.guard)o.node.dataset.focusAutoGuard&&(i=o);else if(o.lockItem){if(a!==e)return;i=null}else break}while((a+=r)!==t);i&&(i.node.tabIndex=0)}var o8=function(t){return t&&"current"in t?t.current:t},l8=function(t){return t?Boolean(ko):ko==="meanwhile"},iu=function(){var t=!1;if(Pi){var r=Pi,n=r.observed,i=r.persistentFocus,a=r.autoFocus,o=r.shards,l=r.crossFrame,s=n||Fi&&Fi.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(o.map(o8).filter(Boolean));if((!u||n8(u))&&(i||l8(l)||!t8()||!Ai&&a)&&(s&&!(CS(c)||a8(u))&&(document&&!Ai&&u&&!a?(u.blur&&u.blur(),document.body.focus()):(t=PS(c,Ai),Fi={})),ko=!1,Ai=document&&document.activeElement),document){var d=document&&document.activeElement,f=jI(c),p=f.map(function(m){var y=m.node;return y}).indexOf(d);p>-1&&(f.filter(function(m){var y=m.guard,v=m.node;return y&&v.dataset.focusAutoGuard}).forEach(function(m){var y=m.node;return y.removeAttribute("tabIndex")}),FS(p,f.length,1,f),FS(p,-1,-1,f))}}}return t},OS=function(t){iu()&&t&&(t.stopPropagation(),t.preventDefault())},Jp=function(){return AS(iu)},s8=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||i8(n,r)},u8=function(){return null},MS=function(){ko="just",setTimeout(function(){ko="meanwhile"},0)},c8=function(){document.addEventListener("focusin",OS,!0),document.addEventListener("focusout",Jp),window.addEventListener("blur",MS)},f8=function(){document.removeEventListener("focusin",OS,!0),document.removeEventListener("focusout",Jp),window.removeEventListener("blur",MS)};function d8(e){return e.filter(function(t){var r=t.disabled;return!r})}function p8(e){var t=e.slice(-1)[0];t&&!Pi&&c8();var r=Pi,n=r&&t&&t.id===r.id;Pi=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var a=i.id;return a===r.id}).length||r.returnFocus(!t)),t?(Ai=null,(!n||r.observed!==t.observed)&&t.onActivation(),iu(),AS(iu)):(f8(),Ai=null)}hS.assignSyncMedium(s8),mS.assignMedium(Jp),kI.assignMedium(function(e){return e({moveFocusInside:PS,focusInside:CS})});var v8=FI(d8,p8)(u8),RS=w.forwardRef(function(t,r){return w.createElement(gS,Qr({sideCar:v8,ref:r},t))}),IS=gS.propTypes||{};IS.sideCar,vI(IS,["sideCar"]),RS.propTypes={};var h8=RS,m8=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,a=t.restoreFocus,o=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,d=w.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=d2(i.current);m.length===0&&g2(i.current,{nextTick:!0})}},[r,i]),f=w.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),p=a&&!n;return w.createElement(h8,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:d,onDeactivation:f,returnFocus:p},o)};/*! *****************************************************************************
|
|
360
360
|
Copyright (c) Microsoft Corporation.
|
|
361
361
|
|
|
362
362
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -369,8 +369,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
369
369
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
370
370
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
371
371
|
PERFORMANCE OF THIS SOFTWARE.
|
|
372
|
-
***************************************************************************** */var Oi=function(){return Oi=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},Oi.apply(this,arguments)};function
|
|
373
|
-
.`+
|
|
372
|
+
***************************************************************************** */var Oi=function(){return Oi=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},Oi.apply(this,arguments)};function g8(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}var au="right-scroll-bar-position",ou="width-before-scroll-bar",y8="with-scroll-bars-hidden",b8="--removed-body-scroll-bar-size",LS=pS(),ev=function(){},lu=w.forwardRef(function(e,t){var r=w.useRef(null),n=w.useState({onScrollCapture:ev,onWheelCapture:ev,onTouchMoveCapture:ev}),i=n[0],a=n[1],o=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,y=e.allowPinchZoom,v=e.as,h=v===void 0?"div":v,g=g8(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=f,x=cS([r,t]),k=Oi({},g,i);return w.createElement(w.Fragment,null,c&&w.createElement(b,{sideCar:LS,removeScrollBar:u,shards:d,noIsolation:p,inert:m,setCallbacks:a,allowPinchZoom:!!y,lockRef:r}),o?w.cloneElement(w.Children.only(l),Oi({},k,{ref:x})):w.createElement(h,Oi({},k,{className:s,ref:x}),l))});lu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},lu.classNames={fullWidth:ou,zeroRight:au};var S8=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function x8(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=S8();return t&&e.setAttribute("nonce",t),e}function w8(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function C8(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var E8=function(){var e=0,t=null;return{add:function(r){e==0&&(t=x8())&&(w8(t,r),C8(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},k8=function(){var e=E8();return function(t){w.useEffect(function(){return e.add(t),function(){e.remove()}},[])}},BS=function(){var e=k8(),t=function(r){var n=r.styles;return e(n),null};return t},T8={left:0,top:0,right:0,gap:0},tv=function(e){return parseInt(e||"",10)||0},_8=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[tv(r),tv(n),tv(i)]},zS=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return T8;var t=_8(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},P8=BS(),A8=function(e,t,r,n){var i=e.left,a=e.top,o=e.right,l=e.gap;return r===void 0&&(r="margin"),`
|
|
373
|
+
.`+y8+` {
|
|
374
374
|
overflow: hidden `+n+`;
|
|
375
375
|
padding-right: `+l+"px "+n+`;
|
|
376
376
|
}
|
|
@@ -403,10 +403,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
body {
|
|
406
|
-
`+
|
|
406
|
+
`+b8+": "+l+`px;
|
|
407
407
|
}
|
|
408
|
-
`},
|
|
408
|
+
`},F8=function(e){var t=w.useState(zS(e.gapMode)),r=t[0],n=t[1];w.useEffect(function(){n(zS(e.gapMode))},[e.gapMode]);var i=e.noRelative,a=e.noImportant,o=e.gapMode,l=o===void 0?"margin":o;return w.createElement(P8,{styles:A8(r,!i,l,a?"":"!important")})},O8=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},M8=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},DS=function(e,t){var r=t;do{var n=$S(e,r);if(n){var i=NS(e,r),a=i[1],o=i[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},R8=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},I8=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},$S=function(e,t){return e==="v"?O8(t):M8(t)},NS=function(e,t){return e==="v"?R8(t):I8(t)},L8=function(e,t,r,n,i){var a=n,o=r.target,l=t.contains(o),s=!1,u=a>0,c=0,d=0;do{var f=NS(e,o),p=f[0],m=f[1],y=f[2],v=m-y-p;(p||v)&&$S(e,o)&&(c+=v,d+=p),o=o.parentNode}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(u&&(i&&c===0||!i&&a>c)||!u&&(i&&d===0||!i&&-a>d))&&(s=!0),s},rv=!1;if(typeof window!="undefined")try{var su=Object.defineProperty({},"passive",{get:function(){return rv=!0,!0}});window.addEventListener("test",su,su),window.removeEventListener("test",su,su)}catch{rv=!1}var Mi=rv?{passive:!1}:!1,uu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},VS=function(e){return[e.deltaX,e.deltaY]},jS=function(e){return e&&"current"in e?e.current:e},B8=function(e,t){return e[0]===t[0]&&e[1]===t[1]},z8=function(e){return`
|
|
409
409
|
.block-interactivity-`+e+` {pointer-events: none;}
|
|
410
410
|
.allow-interactivity-`+e+` {pointer-events: all;}
|
|
411
|
-
`},z8=0,Ii=[];function D8(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(z8++)[0],a=w.useState(function(){return BS()})[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(jS)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!o.current.allowPinchZoom;var h=uu(y),g=r.current,b="deltaX"in y?y.deltaX:g[0]-h[0],x="deltaY"in y?y.deltaY:g[1]-h[1],k,_=y.target,T=Math.abs(b)>Math.abs(x)?"h":"v",O=DS(T,_);if(!O)return!0;if(O?k=T:(k=T==="v"?"h":"v",O=DS(T,_)),!O)return!1;if(!n.current&&"changedTouches"in y&&(b||x)&&(n.current=k),!k)return!0;var F=n.current||k;return R8(F,v,y,F==="h"?b:x,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!Ii.length||Ii[Ii.length-1]!==a)){var h="deltaY"in v?VS(v):uu(v),g=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&L8(k.delta,h)})[0];if(g&&g.should){v.preventDefault();return}if(!g){var b=(o.current.shards||[]).map(jS).filter(Boolean).filter(function(k){return k.contains(v.target)}),x=b.length>0?l(v,b[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,h,g){var b={name:y,delta:v,target:h,should:g};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=w.useCallback(function(y){r.current=uu(y),n.current=void 0},[]),d=w.useCallback(function(y){u(y.type,VS(y),y.target,l(y,e.lockRef.current))},[]),f=w.useCallback(function(y){u(y.type,uu(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return Ii.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Mi),document.addEventListener("touchmove",s,Mi),document.addEventListener("touchstart",c,Mi),function(){Ii=Ii.filter(function(y){return y!==a}),document.removeEventListener("wheel",s,Mi),document.removeEventListener("touchmove",s,Mi),document.removeEventListener("touchstart",c,Mi)}},[]);var p=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(a,{styles:B8(i)}):null,p?w.createElement(A8,{gapMode:"margin"}):null)}var $8=CR(LS,D8),HS=w.forwardRef(function(e,t){return w.createElement(lu,Oi({},e,{ref:t,sideCar:$8}))});HS.classNames=lu.classNames;var N8=HS,V8=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ri=new WeakMap,cu=new WeakMap,fu={},nv=0,j8=function(e,t,r){t===void 0&&(t=V8(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];fu[r]||(fu[r]=new WeakMap);var i=fu[r],a=[],o=new Set,l=function(u){!u||o.has(u)||(o.add(u),l(u.parentNode))};n.forEach(l);var s=function(u){!u||n.indexOf(u)>=0||Array.prototype.forEach.call(u.children,function(c){if(o.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(Ri.get(c)||0)+1,m=(i.get(c)||0)+1;Ri.set(c,p),i.set(c,m),a.push(c),p===1&&f&&cu.set(c,!0),m===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),o.clear(),nv++,function(){a.forEach(function(u){var c=Ri.get(u)-1,d=i.get(u)-1;Ri.set(u,c),i.set(u,d),c||(cu.has(u)||u.removeAttribute("aria-hidden"),cu.delete(u)),d||u.removeAttribute(r)}),nv--,nv||(Ri=new WeakMap,Ri=new WeakMap,cu=new WeakMap,fu={})}};function Pn(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 Fe(){return Fe=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},Fe.apply(this,arguments)}var H8=["preset"],W8={slideInBottom:Fe({},Zb,{custom:{offsetY:16,reverse:!0}}),slideInRight:Fe({},Zb,{custom:{offsetX:16,reverse:!0}}),scale:Fe({},CI,{custom:{initialScale:.95,reverse:!0}}),none:{}},U8=ee(Ap.section),G8=w.forwardRef(function(e,t){var r=e.preset,n=Pn(e,H8),i=W8[r];return w.createElement(U8,Fe({ref:t},i,n))}),Y8=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),iv=new Y8;function K8(e,t){M.useEffect(function(){return t&&iv.add(e),function(){iv.remove(e)}},[t,e])}function X8(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=M.useRef(null),p=M.useRef(null),m=T2(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],h=m[2];Z8(f,t&&u),K8(f,t);var g=M.useRef(null),b=M.useCallback(function(q){g.current=q.target},[]),x=M.useCallback(function(q){q.key==="Escape"&&(q.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),k=M.useState(!1),_=k[0],T=k[1],O=M.useState(!1),F=O[0],H=O[1],J=M.useCallback(function(q,ne){return q===void 0&&(q={}),ne===void 0&&(ne=null),Fe({role:"dialog"},q,{ref:oh(ne,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":F?h:void 0,onClick:$n(q.onClick,function(Re){return Re.stopPropagation()})})},[h,F,y,v,_]),X=M.useCallback(function(q){q.stopPropagation(),g.current===q.target&&(!iv.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),Z=M.useCallback(function(q,ne){return q===void 0&&(q={}),ne===void 0&&(ne=null),Fe({},q,{ref:oh(ne,p),onClick:$n(q.onClick,X),onKeyDown:$n(q.onKeyDown,x),onMouseDown:$n(q.onMouseDown,b)})},[x,b,X]);return{isOpen:t,onClose:r,headerId:v,bodyId:h,setBodyMounted:H,setHeaderMounted:T,dialogRef:f,overlayRef:p,getDialogProps:J,getDialogContainerProps:Z}}function Z8(e,t){var r=e.current;M.useEffect(function(){if(!(!e.current||!t))return j8(e.current)},[t,e,r])}var q8=["className","children","containerProps"],Q8=["className","transition"],J8=["className"],eL=["className"],tL=["className"],rL=["onClick","className"],WS=en({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),nL=WS[0],An=WS[1],av=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=Bg("Modal",t),v=X8(t),h=Fe({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(nL,{value:h},w.createElement(x5,{value:y},w.createElement(Kb,{onExitComplete:m},h.isOpen&&w.createElement(as,r,n))))};av.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var iL=ee(Ap.div),aL=Pe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Pn(e,q8),o=An(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=ze("chakra-modal__content",r),f=hi(),p=Fe({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Fe({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=An(),v=y.motionPreset;return w.createElement(oL,null,w.createElement(ee.div,Fe({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(G8,Fe({preset:v,className:d},u,{__css:p}),n)))});function oL(e){var t=An(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=Sp(),p=f[0],m=f[1];return w.useEffect(function(){!p&&m&&setTimeout(m)},[p,m]),w.createElement(h8,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(N8,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var lL=Pe(function(e,t){var r=e.className;e.transition;var n=Pn(e,Q8),i=ze("chakra-modal__overlay",r),a=hi(),o=Fe({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=An(),s=l.motionPreset,u=s==="none"?{}:xI;return w.createElement(iL,Fe({},u,{__css:o,ref:t,className:i},n))}),sL=Pe(function(e,t){var r=e.className,n=Pn(e,J8),i=An(),a=i.headerId,o=i.setHeaderMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=ze("chakra-modal__header",r),s=hi(),u=Fe({flex:0},s.header);return w.createElement(ee.header,Fe({ref:t,className:l,id:a},n,{__css:u}))}),uL=Pe(function(e,t){var r=e.className,n=Pn(e,eL),i=An(),a=i.bodyId,o=i.setBodyMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=ze("chakra-modal__body",r),s=hi();return w.createElement(ee.div,Fe({ref:t,className:l,id:a},n,{__css:s.body}))}),cL=Pe(function(e,t){var r=e.className,n=Pn(e,tL),i=ze("chakra-modal__footer",r),a=hi(),o=Fe({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return w.createElement(ee.footer,Fe({ref:t},n,{__css:o,className:i}))}),fL=Pe(function(e,t){var r=e.onClick,n=e.className,i=Pn(e,rL),a=An(),o=a.onClose,l=ze("chakra-modal__close-btn",n),s=hi();return w.createElement(GI,Fe({ref:t,__css:s.closeButton,className:l,onClick:$n(r,function(u){u.stopPropagation(),o()})},i))});en(),ee(TI);function US(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 Li(){return Li=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},Li.apply(this,arguments)}var dL=zn({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),pL=zn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});zn({"0%":{left:"-40%"},"100%":{left:"100%"}}),zn({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function vL(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=S2(r,n,i),u=function(){if(r!=null)return Sr(o)?o(r,s):a};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var hL=["size","isIndeterminate"],mL=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],GS=function(t){return w.createElement(ee.circle,Li({cx:50,cy:50,r:42,fill:"transparent"},t))},gL=function(t){var r=t.size,n=t.isIndeterminate,i=US(t,hL);return w.createElement(ee.svg,Li({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?pL+" 2s linear infinite":void 0}},i))},yL=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,d=t.value,f=t.capIsRound,p=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,h=v===void 0?"#0078d4":v,g=t.trackColor,b=g===void 0?"#edebe9":g,x=t.isIndeterminate,k=US(t,mL),_=vL({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=_.percent)!=null?r:0)*2.64,O=Gw(T)?void 0:T+" "+(264-T),F=x?{css:{animation:dL+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:O,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},H={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(ee.div,Li({className:"chakra-progress"},_.bind,k,{__css:H}),w.createElement(gL,{size:i,isIndeterminate:x},w.createElement(GS,{stroke:b,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(GS,Li({stroke:h,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:_.value===0&&!x?0:void 0},F))),p)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});var bL=M5;bL.defaultProps={theme:py};function SL(){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 T6(i)&&n.length>1?n=n.slice(0,n.length-1):i=py,h2.apply(void 0,n.map(function(a){return function(o){return Sr(a)?a(o):xL(o,a)}}))(i)}function xL(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ct.apply(void 0,[{}].concat(t,[YS]))}function YS(e,t,r,n){if((Sr(e)||Sr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Sr(e)?e.apply(void 0,arguments):e,a=Sr(t)?t.apply(void 0,arguments):t;return Ct({},i,a,YS)}}const du={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Fn={main:du,secondary:{pumpkin:"#FF7A14"},alert:{deepSkyBlue:du.deepSkyBlue,veryLightBlue:du.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:du.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},wL={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},To="solid .063rem",CL={borders:{normal:`${To} ${Fn.neutral.darkCharcoal}`,light:`${To} ${Fn.neutral.platinum}`,active:`${To} ${Fn.main.deepSkyBlue}`,success:`${To} ${Fn.alert.jadeGreen}`,error:`${To} ${Fn.alert.red}`,white:`solid .125rem ${Fn.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var oz="",lz="",sz="",uz="",cz="";const EL={fonts:{body:"Roboto",outstanding:"Lora"}},kL=SL(L(R(R({colors:Fn},CL),EL),{styles:wL})),W=e=>`var(--chakra-${e})`;function _o({children:e,bg:t=W("colors-icon-ripeMango"),color:r=W("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return P(it,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}_o.displayName="Label";function ov({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),P(yL,{size:"1rem",value:t,thickness:"1rem",color:W("colors-main-deepSkyBlue"),trackColor:W("colors-neutral-platinum")})}ov.displayName="Progress";var TL=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Bi=globalThis&&globalThis.__assign||function(){return Bi=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},Bi.apply(this,arguments)},_L=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},PL={position:"relative",display:"inline-flex",overflow:"hidden"},AL=function(e){e===void 0&&(e={});var t;return t=function(r){TL(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,m=p.getBoundingClientRect(),y=d-(m.left+window.scrollX),v=f-(m.top+window.scrollY),h=Math.max(m.width,m.height);a.setState(function(g){return{rippleStyle:Bi({},g.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(g){return{rippleStyle:Bi({},g.rippleStyle,{opacity:0,transform:"scale("+h/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=_L(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return br.default.createElement("div",Bi({},l,{className:("react-ripples "+o).trim(),style:PL,onClick:this.onClick}),a,br.default.createElement("s",{style:s}))},n}(br.default.PureComponent),t.displayName="Ripples",t.propTypes={during:tu.number,color:tu.string,onClick:tu.func,className:tu.string},t.defaultProps=Bi({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},lv=globalThis&&globalThis.__assign||function(){return lv=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},lv.apply(this,arguments)},FL=function(e){return function(t){return br.default.createElement(e,lv({},t))}},KS=FL(AL());function sv({children:e,color:t="rgba(204,204,204,0.2)"}){return P(KS,{during:1e3,color:t,children:P(it,{children:e})})}sv.displayName="Ripples";function Ne({w:e="1rem",h:t="1rem",color:r=W("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a,title:o}){return re(hy,{w:e,h:t,viewBox:i,color:r,m:n,children:[re("title",{children:["icon",o&&`-${o}`]}),a]})}function XS(e){return P(Ne,L(R({},e),{children:re("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[P("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),P("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),P("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),P("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),P("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})}))}XS.displayName="ArrowRight";function ZS(e){return re(Ne,L(R({},e),{children:[re("g",{clipPath:"url(#clip0)",children:[P("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:P("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),P("g",{mask:"url(#mask0)",children:P("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),P("defs",{children:P("clipPath",{id:"clip0",children:P("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}ZS.displayName="ArrowRight";function qS(e){return re(Ne,L(R({},e),{children:[P("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),P("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]}))}qS.displayName="Certificate";function QS(e){return P(Ne,L(R({},e),{children:P("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})}))}QS.displayName="CircularCheck";function uv(e){return P(Ne,L(R({},e),{children:P("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})}))}uv.displayName="CircularInformation";function OL({fill:e="#fff"}){return P("div",{className:"loaderAsync","data-testid":"loaderAsync",children:re("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[P("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),P("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),P("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),P("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function JS(e){return P(Ne,L(R({},e),{viewBox:"0 0 12 12",w:"12px",title:"profile",children:P("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})}))}JS.displayName="Profile";function ex(e){return re(Ne,L(R({},e),{children:[P("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),P("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),P("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),P("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),P("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),P("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),P("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}ex.displayName="Schedule";function tx(e){return re(Ne,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),P("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),P("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]}))}tx.displayName="TinyAlertInfo";function rx(e){return re(Ne,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[re("g",{clipPath:"url(#clip0_2165_6683)",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),P("defs",{children:P("clipPath",{id:"clip0_2165_6683",children:P("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}rx.displayName="TinyAlertError";function nx(e){return re(Ne,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),P("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),P("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]}))}nx.displayName="TinyAlertWarning";function ix(e){return re(Ne,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[re("g",{clipPath:"url(#clip0_2191_1138)",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),P("defs",{children:P("clipPath",{id:"clip0_2191_1138",children:P("rect",{width:"12",height:"12",fill:"white"})})})]}))}ix.displayName="TinyAlertSuccess";function ax(e){return re(Ne,L(R({},e),{w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[P("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),P("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),P("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),P("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]}))}ax.displayName="Multimedia";function ox(e){return P(Ne,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"goBack",children:P("path",{d:"M9.92593 2L4 8L9.92593 14L12 11.9L8.14815 8L12 4.1L9.92593 2Z",fill:"currentColor"})}))}ox.displayName="GoBack";function lx(e){return P(Ne,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"password",children:P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1C5.95714 1 4.28571 2.67143 4.28571 4.71429V5.64286H2.42857C1.87143 5.64286 1.5 6.01429 1.5 6.57143V14.9286C1.5 15.4857 1.87143 15.8571 2.42857 15.8571H13.5714C14.1286 15.8571 14.5 15.4857 14.5 14.9286V6.57143C14.5 6.01429 14.1286 5.64286 13.5714 5.64286H11.7143V4.71429C11.7143 2.67143 10.0429 1 8 1ZM8.92857 11.8643V13.0714H7.07143V11.8643C6.51429 11.5857 6.14286 10.9357 6.14286 10.2857C6.14286 9.26429 6.97857 8.42857 8 8.42857C9.02143 8.42857 9.85714 9.26429 9.85714 10.2857C9.85714 10.9357 9.48571 11.5857 8.92857 11.8643ZM6.14286 4.71429V5.64286H9.85714V4.71429C9.85714 3.69286 9.02143 2.85714 8 2.85714C6.97857 2.85714 6.14286 3.69286 6.14286 4.71429Z",fill:"currentColor"})}))}lx.displayName="Password";function sx(e){return re(Ne,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[P("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),P("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]}))}sx.displayName="Pen";function ux(e){return P(Ne,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})}))}ux.displayName="PlusSign";function cx(e){return re(Ne,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[P("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),P("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]}))}cx.displayName="TrashCan";function fx(e){return P(Ne,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:P("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})}))}fx.displayName="TextBubble";function dx({status:e,text:t,margin:r="0"}){const n={success:{icon:P(ix,{}),text:"Success",bg:W("colors-alert-ice"),color:W("colors-neutral-darkCharcoal")},error:{icon:P(rx,{}),text:"Error",bg:W("colors-alert-veryLightPinkThree"),color:W("colors-neutral-darkCharcoal")},info:{icon:P(tx,{}),text:"Info",bg:W("colors-alert-veryLightBlue"),color:W("colors-neutral-darkCharcoal")},warning:{icon:P(nx,{}),text:"Warning",bg:W("colors-alert-pale"),color:W("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:W("colors-main-blueGrey"),color:W("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:W("colors-main-ziggurat"),color:W("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:W("colors-neutral-cultured"),color:W("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:W("colors-neutral-white")}};return n[e]?re(it,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&P(it,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),P(it,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}dx.displayName="TinyAlert";function pu({bg:e,borderColorActive:t=[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],children:r,color:n=W("colors-neutral-white"),disabled:i=!1,fillLoader:a=W("colors-neutral-white"),isFullWidth:o=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:m=!1,type:y="button",tabIndex:v,id:h}){var T,O,F;let g=r!=null?r:null;!r&&!d&&!l&&(g="Button");const b=f?"12px":W("radii-small"),x=(T=e==null?void 0:e.main)!=null?T:W("colors-main-deepSkyBlue"),k=m?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",_=!r&&(d!=null?d:l)?"onlyIcon":"";return P(it,{margin:s,sx:{".react-ripples":{borderRadius:b,display:`${o?"grid":"inline-flex!important"}`}},children:P(KS,{color:k,children:P(Rp,{id:h,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:x,size:p==="regular"?"md":"sm",borderRadius:b,color:n,className:_,disabled:i,height:"auto",iconSpacing:W("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:H=>{!u&&!i&&(c==null||c(H))},type:y,tabIndex:v,paddingTop:W(p==="regular"?"space-xs":"space-xxs"),paddingBottom:W(p==="regular"?"space-xs":"space-xxs"),paddingLeft:W(p==="regular"?"space-s":"space-xs"),paddingRight:W(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:o,rightIcon:d,spinner:P(OL,{fill:a}),_active:{bg:(O=e==null?void 0:e.main)!=null?O:W("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:(F=e==null?void 0:e.hover)!=null?F:W("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:g})})})}pu.displayName="Btn";function px({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return P(pu,{id:d,disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}px.displayName="BtnPrimary";function vx({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return P(pu,{id:d,bg:{main:W("colors-main-veryLightBlue"),hover:W("colors-main-linkWater")},fillLoader:W("colors-main-deepSkyBlue"),borderColorActive:[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],color:W("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}vx.displayName="BtnSecondary";function hx({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:a="button",tabIndex:o,id:l,onClick:s}){var h;const u=W("colors-neutral-gray"),c=W("colors-main-deepSkyBlue"),d=W("colors-neutral-white"),f=n?u:c,p={answer:P(fx,{color:f}),back:P(ox,{color:f}),edit:P(sx,{color:f}),eliminate:P(cx,{color:f}),more:P(ux,{color:f}),password:P(lx,{color:f}),multimedia:P(ax,{color:f})},m=(h=p[t])!=null?h:p.multimedia;return P(Rp,{id:l,type:a,tabIndex:o,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",color:u,rightIcon:r?m:void 0,leftIcon:r?void 0:m,m:i,onClick:s,_hover:{color:c},_focus:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},sx:{"&:hover":{"svg path":{fill:c}}},children:e})}hx.displayName="BtnTertiary";function mx({children:e,m:t="0",onClick:r,id:n}){return P(it,{as:"button",id:n,width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:W("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:W("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}mx.displayName="BtnLink";const ML=4;function gx(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(vu);return re(it,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:W("borders-light"),pos:"relative",children:[re(it,{p:"1rem",children:[(i==null?void 0:i.id)!==ML&&P(_o,{bg:W("colors-neutral-white"),m:"0 0 .625rem 0",children:re(eu,{children:[P(JS,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&P(aS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>P(_o,{bg:a.id==="NEW"?W("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&P(nS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:W("borders-light"),bg:W("colors-neutral-white"),overflow:"hidden",borderRadius:W("radii-small"),w:"6.25rem",children:P(OI,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}gx.displayName="Header";function cv({date:e}){return e==null||e.length===0?null:P(_i,{fontSize:".75rem",color:W("colors-neutral-darkCharcoal"),m:"0",children:e})}cv.displayName="DateStatus";function yx({type:e,progressValue:t=0}){switch(e){case"schedule":return P(ex,{});case"certificate":return P(qS,{});case"circularCheck":return P(QS,{});case"progress":return P(ov,{value:t});case"circularInformation":return P(uv,{});case"info":return P(uv,{});default:return null}}const IL=7;function bx(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(vu);return n==null?null:re(it,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&re(lR,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?P(it,{h:".5rem",w:"1px",bg:W("colors-neutral-silverSand"),alignSelf:"center"}):P(Kf,{}),children:[P(cv,{date:t.init}),P(cv,{date:t.end})]}),P(XI,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),re(eu,{mt:"1rem",justify:"space-between",children:[re(eu,{children:[P(yx,{type:n.icon,progressValue:n.progress}),P(_i,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:n==null?void 0:n.label})]}),(i==null?void 0:i.id)===IL&&(n==null?void 0:n.finalGrade)&&(n==null?void 0:n.finalGrade.length)>0&&P(_o,{size:"sm",bg:n.isApproved?W("colors-alert-jadeGreen"):W("colors-alert-red"),color:W("colors-neutral-white"),children:n==null?void 0:n.finalGrade})]}),r!=null&&(r==null?void 0:r.length)>0&&P(tR,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:W("borders-light"),children:r.map((a,o)=>{var l;return re(rR,{display:"flex",children:[P(yx,{type:a.icon}),P(it,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?P(qI,{isExternal:!0,href:a.href,color:W("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):P(_i,{m:"0",color:W("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}bx.displayName="Section";const D={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},Sx={noHabilitado:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:L(R({},D),{id:3,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:L(R({},D),{id:5,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!0}),information:[],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:L(R({},D),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{enabled:!1}),labels:[]}),noDisponible3:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{enabled:!1}),labels:[]}),activado:L(R({},D),{id:8,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:5,name:"disponible"}),progress:L(R({},D.progress),{label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:L(R({},D),{id:9,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:L(R({},D),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:L(R({},D),{id:11,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:L(R({},D),{id:13,hasFinanzeFreezed:!0,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:L(R({},D.progress),{label:"Has completado un 25% de tu curso",icon:"progress",progress:25}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:L(R({},D),{id:14,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:L(R({},D.progress),{label:"Has completado un 100% de tu curso",icon:"progress",progress:100}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:8,name:"pendiente"}),progress:L(R({},D.progress),{label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado:L(R({},D),{id:16,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.progress),{label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:L(R({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.progress),{label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:L(R({},D),{id:18,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:9,name:"terminado"}),progress:L(R({},D.progress),{label:"Curso finalizado",icon:"circularCheck"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]})},RL=Object.keys(Sx).map(e=>Sx[e]),xx=4,fv=(e,t=xx)=>e||t!==xx;function LL(e=4){const t=e*kx+Ex*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function BL({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return P(lL,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(P(o,{}));return w.useEffect(()=>{n&&s(P(o,{}))},[n]),re(av,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,re(aL,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[re(sL,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[P(XS,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),P(fL,{size:"md",color:W("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),P(uL,{p:"1rem 2rem 2rem 2rem",children:P(_i,{align:"center",children:i.body})}),P(cL,{justifyContent:"center",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),p:"1rem",children:P(Rp,{onClick:r,color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}av.displayName="Modal";function wx({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(vu),{isOpen:i,onOpen:a,onClose:o}=_2(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:re(nS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),children:[fv(t.enabled,r==null?void 0:r.id)?re(Kf,{children:[n?P(it,{color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):P(_i,{color:W("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&P(ZS,{color:W("colors-main-deepSkyBlue")})]}):P(_i,{fontWeight:"500",lineHeight:"1.172rem",color:W("colors-neutral-spanishGrey"),m:"0",children:t.text}),P(BL,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}wx.displayName="Footer";const vu=w.createContext({});function zL({enabled:e,children:t}){return e?P(sv,{children:t}):P(Kf,{children:t})}function Cx({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${W("colors-neutral-silverSand")}`};return P(vu.Provider,{value:e,children:P(dR,{as:"article",border:W("borders-light"),borderRadius:W("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:P(zL,{enabled:fv((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:re(eu,{direction:"column",justify:"space-between",h:"100%",children:[re(it,{children:[!e.hasFinanzeFreezed&&fv((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&P(fR,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),P(gx,{}),P(bx,{})]}),P(wx,{modalPaymentText:t})]})})})})}Cx.displayName="CourseBox";const Ex=1.25,kx=17.8125;function Tx({courses:e,modalPaymentText:t,m:r="0 auto"}){return e===void 0?null:P(it,{display:"grid",gridColumnGap:`${Ex}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${kx}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(n=>P(Cx,{data:n,modalPaymentText:t},n.id))})}Tx.displayName="CourseList",se.Btn=pu,se.BtnLink=mx,se.BtnPrimary=px,se.BtnSecondary=vx,se.BtnTertiary=hx,se.CourseList=Tx,se.Label=_o,se.Progress=ov,se.Ripples=sv,se.TinyAlert=dx,se.dataFake=RL,se.maxWidthCoursesList=LL,se.theme=kL,se.vars=W,Object.defineProperties(se,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
411
|
+
`},D8=0,Ri=[];function $8(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(D8++)[0],a=w.useState(function(){return BS()})[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(jS)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!o.current.allowPinchZoom;var h=uu(y),g=r.current,b="deltaX"in y?y.deltaX:g[0]-h[0],x="deltaY"in y?y.deltaY:g[1]-h[1],k,_=y.target,T=Math.abs(b)>Math.abs(x)?"h":"v",O=DS(T,_);if(!O)return!0;if(O?k=T:(k=T==="v"?"h":"v",O=DS(T,_)),!O)return!1;if(!n.current&&"changedTouches"in y&&(b||x)&&(n.current=k),!k)return!0;var F=n.current||k;return L8(F,v,y,F==="h"?b:x,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!Ri.length||Ri[Ri.length-1]!==a)){var h="deltaY"in v?VS(v):uu(v),g=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&B8(k.delta,h)})[0];if(g&&g.should){v.preventDefault();return}if(!g){var b=(o.current.shards||[]).map(jS).filter(Boolean).filter(function(k){return k.contains(v.target)}),x=b.length>0?l(v,b[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,h,g){var b={name:y,delta:v,target:h,should:g};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=w.useCallback(function(y){r.current=uu(y),n.current=void 0},[]),d=w.useCallback(function(y){u(y.type,VS(y),y.target,l(y,e.lockRef.current))},[]),f=w.useCallback(function(y){u(y.type,uu(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return Ri.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Mi),document.addEventListener("touchmove",s,Mi),document.addEventListener("touchstart",c,Mi),function(){Ri=Ri.filter(function(y){return y!==a}),document.removeEventListener("wheel",s,Mi),document.removeEventListener("touchmove",s,Mi),document.removeEventListener("touchstart",c,Mi)}},[]);var p=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(a,{styles:z8(i)}):null,p?w.createElement(F8,{gapMode:"margin"}):null)}var N8=EI(LS,$8),HS=w.forwardRef(function(e,t){return w.createElement(lu,Oi({},e,{ref:t,sideCar:N8}))});HS.classNames=lu.classNames;var V8=HS,j8=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ii=new WeakMap,cu=new WeakMap,fu={},nv=0,H8=function(e,t,r){t===void 0&&(t=j8(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];fu[r]||(fu[r]=new WeakMap);var i=fu[r],a=[],o=new Set,l=function(u){!u||o.has(u)||(o.add(u),l(u.parentNode))};n.forEach(l);var s=function(u){!u||n.indexOf(u)>=0||Array.prototype.forEach.call(u.children,function(c){if(o.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(Ii.get(c)||0)+1,m=(i.get(c)||0)+1;Ii.set(c,p),i.set(c,m),a.push(c),p===1&&f&&cu.set(c,!0),m===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),o.clear(),nv++,function(){a.forEach(function(u){var c=Ii.get(u)-1,d=i.get(u)-1;Ii.set(u,c),i.set(u,d),c||(cu.has(u)||u.removeAttribute("aria-hidden"),cu.delete(u)),d||u.removeAttribute(r)}),nv--,nv||(Ii=new WeakMap,Ii=new WeakMap,cu=new WeakMap,fu={})}};function Pn(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 Fe(){return Fe=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},Fe.apply(this,arguments)}var W8=["preset"],U8={slideInBottom:Fe({},Zb,{custom:{offsetY:16,reverse:!0}}),slideInRight:Fe({},Zb,{custom:{offsetX:16,reverse:!0}}),scale:Fe({},ER,{custom:{initialScale:.95,reverse:!0}}),none:{}},G8=ee(Ap.section),Y8=w.forwardRef(function(e,t){var r=e.preset,n=Pn(e,W8),i=U8[r];return w.createElement(G8,Fe({ref:t},i,n))}),K8=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),iv=new K8;function X8(e,t){M.useEffect(function(){return t&&iv.add(e),function(){iv.remove(e)}},[t,e])}function Z8(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=M.useRef(null),p=M.useRef(null),m=_2(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],h=m[2];q8(f,t&&u),X8(f,t);var g=M.useRef(null),b=M.useCallback(function(q){g.current=q.target},[]),x=M.useCallback(function(q){q.key==="Escape"&&(q.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),k=M.useState(!1),_=k[0],T=k[1],O=M.useState(!1),F=O[0],W=O[1],J=M.useCallback(function(q,ne){return q===void 0&&(q={}),ne===void 0&&(ne=null),Fe({role:"dialog"},q,{ref:oh(ne,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":F?h:void 0,onClick:$n(q.onClick,function(Le){return Le.stopPropagation()})})},[h,F,y,v,_]),X=M.useCallback(function(q){q.stopPropagation(),g.current===q.target&&(!iv.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),Z=M.useCallback(function(q,ne){return q===void 0&&(q={}),ne===void 0&&(ne=null),Fe({},q,{ref:oh(ne,p),onClick:$n(q.onClick,X),onKeyDown:$n(q.onKeyDown,x),onMouseDown:$n(q.onMouseDown,b)})},[x,b,X]);return{isOpen:t,onClose:r,headerId:v,bodyId:h,setBodyMounted:W,setHeaderMounted:T,dialogRef:f,overlayRef:p,getDialogProps:J,getDialogContainerProps:Z}}function q8(e,t){var r=e.current;M.useEffect(function(){if(!(!e.current||!t))return H8(e.current)},[t,e,r])}var Q8=["className","children","containerProps"],J8=["className","transition"],eL=["className"],tL=["className"],rL=["className"],nL=["onClick","className"],WS=en({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),iL=WS[0],An=WS[1],av=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=Bg("Modal",t),v=Z8(t),h=Fe({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(iL,{value:h},w.createElement(w5,{value:y},w.createElement(Kb,{onExitComplete:m},h.isOpen&&w.createElement(as,r,n))))};av.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var aL=ee(Ap.div),oL=Pe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Pn(e,Q8),o=An(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=De("chakra-modal__content",r),f=hi(),p=Fe({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Fe({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=An(),v=y.motionPreset;return w.createElement(lL,null,w.createElement(ee.div,Fe({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(Y8,Fe({preset:v,className:d},u,{__css:p}),n)))});function lL(e){var t=An(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=Sp(),p=f[0],m=f[1];return w.useEffect(function(){!p&&m&&setTimeout(m)},[p,m]),w.createElement(m8,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(V8,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var sL=Pe(function(e,t){var r=e.className;e.transition;var n=Pn(e,J8),i=De("chakra-modal__overlay",r),a=hi(),o=Fe({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=An(),s=l.motionPreset,u=s==="none"?{}:wR;return w.createElement(aL,Fe({},u,{__css:o,ref:t,className:i},n))}),uL=Pe(function(e,t){var r=e.className,n=Pn(e,eL),i=An(),a=i.headerId,o=i.setHeaderMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=De("chakra-modal__header",r),s=hi(),u=Fe({flex:0},s.header);return w.createElement(ee.header,Fe({ref:t,className:l,id:a},n,{__css:u}))}),cL=Pe(function(e,t){var r=e.className,n=Pn(e,tL),i=An(),a=i.bodyId,o=i.setBodyMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=De("chakra-modal__body",r),s=hi();return w.createElement(ee.div,Fe({ref:t,className:l,id:a},n,{__css:s.body}))}),fL=Pe(function(e,t){var r=e.className,n=Pn(e,rL),i=De("chakra-modal__footer",r),a=hi(),o=Fe({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return w.createElement(ee.footer,Fe({ref:t},n,{__css:o,className:i}))}),dL=Pe(function(e,t){var r=e.onClick,n=e.className,i=Pn(e,nL),a=An(),o=a.onClose,l=De("chakra-modal__close-btn",n),s=hi();return w.createElement(YR,Fe({ref:t,__css:s.closeButton,className:l,onClick:$n(r,function(u){u.stopPropagation(),o()})},i))});en(),ee(_R);function US(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 Li(){return Li=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},Li.apply(this,arguments)}var pL=zn({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),vL=zn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});zn({"0%":{left:"-40%"},"100%":{left:"100%"}}),zn({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function hL(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=x2(r,n,i),u=function(){if(r!=null)return Sr(o)?o(r,s):a};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var mL=["size","isIndeterminate"],gL=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],GS=function(t){return w.createElement(ee.circle,Li({cx:50,cy:50,r:42,fill:"transparent"},t))},yL=function(t){var r=t.size,n=t.isIndeterminate,i=US(t,mL);return w.createElement(ee.svg,Li({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?vL+" 2s linear infinite":void 0}},i))},bL=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,d=t.value,f=t.capIsRound,p=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,h=v===void 0?"#0078d4":v,g=t.trackColor,b=g===void 0?"#edebe9":g,x=t.isIndeterminate,k=US(t,gL),_=hL({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=_.percent)!=null?r:0)*2.64,O=Yw(T)?void 0:T+" "+(264-T),F=x?{css:{animation:pL+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:O,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},W={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(ee.div,Li({className:"chakra-progress"},_.bind,k,{__css:W}),w.createElement(yL,{size:i,isIndeterminate:x},w.createElement(GS,{stroke:b,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(GS,Li({stroke:h,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:_.value===0&&!x?0:void 0},F))),p)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});var SL=R5;SL.defaultProps={theme:py};function xL(){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 _6(i)&&n.length>1?n=n.slice(0,n.length-1):i=py,m2.apply(void 0,n.map(function(a){return function(o){return Sr(a)?a(o):wL(o,a)}}))(i)}function wL(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ct.apply(void 0,[{}].concat(t,[YS]))}function YS(e,t,r,n){if((Sr(e)||Sr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Sr(e)?e.apply(void 0,arguments):e,a=Sr(t)?t.apply(void 0,arguments):t;return Ct({},i,a,YS)}}const du={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Fn={main:du,secondary:{pumpkin:"#FF7A14"},alert:{deepSkyBlue:du.deepSkyBlue,veryLightBlue:du.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:du.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},CL={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},To="solid .063rem",EL={borders:{normal:`${To} ${Fn.neutral.darkCharcoal}`,light:`${To} ${Fn.neutral.platinum}`,active:`${To} ${Fn.main.deepSkyBlue}`,success:`${To} ${Fn.alert.jadeGreen}`,error:`${To} ${Fn.alert.red}`,white:`solid .125rem ${Fn.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var lz="",sz="",uz="",cz="",fz="";const kL={fonts:{body:"Roboto",outstanding:"Lora"}},TL=xL(L(R(R({colors:Fn},EL),kL),{styles:CL})),j=e=>`var(--chakra-${e})`;function _o({children:e,bg:t=j("colors-icon-ripeMango"),color:r=j("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return P(it,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}_o.displayName="Label";function ov({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),P(bL,{size:"1rem",value:t,thickness:"1rem",color:j("colors-main-deepSkyBlue"),trackColor:j("colors-neutral-platinum")})}ov.displayName="Progress";var _L=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Bi=globalThis&&globalThis.__assign||function(){return Bi=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},Bi.apply(this,arguments)},PL=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},AL={position:"relative",display:"inline-flex",overflow:"hidden"},FL=function(e){e===void 0&&(e={});var t;return t=function(r){_L(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,m=p.getBoundingClientRect(),y=d-(m.left+window.scrollX),v=f-(m.top+window.scrollY),h=Math.max(m.width,m.height);a.setState(function(g){return{rippleStyle:Bi({},g.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(g){return{rippleStyle:Bi({},g.rippleStyle,{opacity:0,transform:"scale("+h/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=PL(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return br.default.createElement("div",Bi({},l,{className:("react-ripples "+o).trim(),style:AL,onClick:this.onClick}),a,br.default.createElement("s",{style:s}))},n}(br.default.PureComponent),t.displayName="Ripples",t.propTypes={during:tu.number,color:tu.string,onClick:tu.func,className:tu.string},t.defaultProps=Bi({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},lv=globalThis&&globalThis.__assign||function(){return lv=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},lv.apply(this,arguments)},OL=function(e){return function(t){return br.default.createElement(e,lv({},t))}},KS=OL(FL());function sv({children:e,color:t="rgba(204,204,204,0.2)"}){return P(KS,{during:1e3,color:t,children:P(it,{children:e})})}sv.displayName="Ripples";function Ie({w:e="1rem",h:t="1rem",color:r=j("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a,title:o}){return te(hy,{w:e,h:t,viewBox:i,color:r,m:n,children:[te("title",{children:["icon",o&&`-${o}`]}),a]})}function XS(e){return P(Ie,L(R({},e),{children:te("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[P("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),P("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),P("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),P("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),P("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})}))}XS.displayName="ArrowRight";function ZS(e){return te(Ie,L(R({},e),{children:[te("g",{clipPath:"url(#clip0)",children:[P("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:P("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),P("g",{mask:"url(#mask0)",children:P("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),P("defs",{children:P("clipPath",{id:"clip0",children:P("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}ZS.displayName="ArrowRight";function qS(e){return te(Ie,L(R({},e),{children:[P("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),P("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]}))}qS.displayName="Certificate";function QS(e){return P(Ie,L(R({},e),{children:P("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})}))}QS.displayName="CircularCheck";function uv(e){return P(Ie,L(R({},e),{children:P("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})}))}uv.displayName="CircularInformation";function ML({fill:e="#fff"}){return P("div",{className:"loaderAsync","data-testid":"loaderAsync",children:te("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[P("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),P("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),P("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),P("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function JS(e){return P(Ie,L(R({},e),{viewBox:"0 0 12 12",w:"12px",title:"profile",children:P("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})}))}JS.displayName="Profile";function ex(e){return te(Ie,L(R({},e),{children:[P("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),P("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),P("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),P("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),P("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),P("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),P("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}ex.displayName="Schedule";function tx(e){return te(Ie,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),P("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),P("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]}))}tx.displayName="TinyAlertInfo";function rx(e){return te(Ie,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[te("g",{clipPath:"url(#clip0_2165_6683)",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),P("defs",{children:P("clipPath",{id:"clip0_2165_6683",children:P("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}rx.displayName="TinyAlertError";function nx(e){return te(Ie,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),P("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),P("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]}))}nx.displayName="TinyAlertWarning";function ix(e){return te(Ie,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[te("g",{clipPath:"url(#clip0_2191_1138)",children:[P("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),P("defs",{children:P("clipPath",{id:"clip0_2191_1138",children:P("rect",{width:"12",height:"12",fill:"white"})})})]}))}ix.displayName="TinyAlertSuccess";function ax(e){return te(Ie,L(R({},e),{w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[P("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),P("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),P("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),P("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]}))}ax.displayName="Multimedia";function ox(e){return P(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"goBack",children:P("path",{d:"M9.92593 2L4 8L9.92593 14L12 11.9L8.14815 8L12 4.1L9.92593 2Z",fill:"currentColor"})}))}ox.displayName="GoBack";function lx(e){return P(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"password",children:P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1C5.95714 1 4.28571 2.67143 4.28571 4.71429V5.64286H2.42857C1.87143 5.64286 1.5 6.01429 1.5 6.57143V14.9286C1.5 15.4857 1.87143 15.8571 2.42857 15.8571H13.5714C14.1286 15.8571 14.5 15.4857 14.5 14.9286V6.57143C14.5 6.01429 14.1286 5.64286 13.5714 5.64286H11.7143V4.71429C11.7143 2.67143 10.0429 1 8 1ZM8.92857 11.8643V13.0714H7.07143V11.8643C6.51429 11.5857 6.14286 10.9357 6.14286 10.2857C6.14286 9.26429 6.97857 8.42857 8 8.42857C9.02143 8.42857 9.85714 9.26429 9.85714 10.2857C9.85714 10.9357 9.48571 11.5857 8.92857 11.8643ZM6.14286 4.71429V5.64286H9.85714V4.71429C9.85714 3.69286 9.02143 2.85714 8 2.85714C6.97857 2.85714 6.14286 3.69286 6.14286 4.71429Z",fill:"currentColor"})}))}lx.displayName="Password";function sx(e){return te(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[P("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),P("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]}))}sx.displayName="Pen";function ux(e){return P(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:P("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})}))}ux.displayName="PlusSign";function cx(e){return te(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[P("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),P("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]}))}cx.displayName="TrashCan";function fx(e){return P(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:P("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})}))}fx.displayName="TextBubble";function dx(e){return te(Ie,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[P("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),P("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),P("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}dx.displayName="AcademicRecord";function px({status:e,text:t,margin:r="0"}){const n={success:{icon:P(ix,{}),text:"Success",bg:j("colors-alert-ice"),color:j("colors-neutral-darkCharcoal")},error:{icon:P(rx,{}),text:"Error",bg:j("colors-alert-veryLightPinkThree"),color:j("colors-neutral-darkCharcoal")},info:{icon:P(tx,{}),text:"Info",bg:j("colors-alert-veryLightBlue"),color:j("colors-neutral-darkCharcoal")},warning:{icon:P(nx,{}),text:"Warning",bg:j("colors-alert-pale"),color:j("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:j("colors-main-blueGrey"),color:j("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:j("colors-main-ziggurat"),color:j("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:j("colors-neutral-cultured"),color:j("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:j("colors-neutral-white")}};return n[e]?te(it,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&P(it,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),P(it,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}px.displayName="TinyAlert";function pu({bg:e,borderColorActive:t=[j("colors-main-deepSkyBlue"),j("colors-neutral-white")],children:r,color:n=j("colors-neutral-white"),disabled:i=!1,fillLoader:a=j("colors-neutral-white"),isFullWidth:o=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:m=!1,type:y="button",tabIndex:v,id:h}){var O,F,W;let g=r!=null?r:null;!r&&!d&&!l&&(g="Button");const b=".75rem",x=f?"12px":j("radii-small"),k=(O=e==null?void 0:e.main)!=null?O:j("colors-main-deepSkyBlue"),_=m?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",T=!r&&(d!=null?d:l)?"onlyIcon":"";return P(it,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${o?"grid":"inline-flex!important"}`}},children:P(KS,{color:_,children:P(Ip,{id:h,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:k,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:T,disabled:i,height:"auto",iconSpacing:j("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:J=>{!u&&!i&&(c==null||c(J))},type:y,tabIndex:v,paddingTop:p==="regular"?b:j(T?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:j(T?"space-xs":"space-xxs"),paddingLeft:j(p==="regular"?"space-s":"space-xs"),paddingRight:j(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:o,rightIcon:d,spinner:P(ML,{fill:a}),_active:{bg:(F=e==null?void 0:e.main)!=null?F:j("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:(W=e==null?void 0:e.hover)!=null?W:j("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:g})})})}pu.displayName="Btn";function vx({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return P(pu,{id:d,disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}vx.displayName="BtnPrimary";function hx({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return P(pu,{id:d,bg:{main:j("colors-main-veryLightBlue"),hover:j("colors-main-linkWater")},fillLoader:j("colors-main-deepSkyBlue"),borderColorActive:[j("colors-main-deepSkyBlue"),j("colors-neutral-white")],color:j("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}hx.displayName="BtnSecondary";function mx({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:a="button",tabIndex:o,id:l,onClick:s}){var h;const u=j("colors-neutral-gray"),c=j("colors-main-deepSkyBlue"),d=j("colors-neutral-white"),f=n?u:c,p={answer:P(fx,{color:f}),back:P(ox,{color:f}),edit:P(sx,{color:f}),delete:P(cx,{color:f}),more:P(ux,{color:f}),password:P(lx,{color:f}),multimedia:P(ax,{color:f}),record:P(dx,{color:f})},m=(h=p[t])!=null?h:p.multimedia,y=r?m:void 0,v=r?void 0:m;return P(Ip,{id:l,type:a,tabIndex:o,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:j("space-xxs"),paddingBottom:j("space-xxs"),paddingLeft:j("space-xs"),paddingRight:j("space-xs"),color:u,rightIcon:y,leftIcon:v,m:i,onClick:s,_hover:{color:c},_focus:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},sx:{"&:hover":{"svg path":{fill:c}}},children:e})}mx.displayName="BtnTertiary";function gx({children:e,m:t="0",onClick:r,id:n}){return P(it,{as:"button",id:n,backgroundColor:"transparent",borderStyle:"none",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:j("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:j("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}gx.displayName="BtnLink";const RL=4;function yx(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(vu);return te(it,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:j("borders-light"),pos:"relative",children:[te(it,{p:"1rem",children:[(i==null?void 0:i.id)!==RL&&P(_o,{bg:j("colors-neutral-white"),m:"0 0 .625rem 0",children:te(eu,{children:[P(JS,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&P(aS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>P(_o,{bg:a.id==="NEW"?j("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&P(nS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:j("borders-light"),bg:j("colors-neutral-white"),overflow:"hidden",borderRadius:j("radii-small"),w:"6.25rem",children:P(MR,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}yx.displayName="Header";function cv({date:e}){return e==null||e.length===0?null:P(_i,{fontSize:".75rem",color:j("colors-neutral-darkCharcoal"),m:"0",children:e})}cv.displayName="DateStatus";function bx({type:e,progressValue:t=0}){switch(e){case"schedule":return P(ex,{});case"certificate":return P(qS,{});case"circularCheck":return P(QS,{});case"progress":return P(ov,{value:t});case"circularInformation":return P(uv,{});case"info":return P(uv,{});default:return null}}const IL=7;function Sx(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(vu);return n==null?null:te(it,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&te(sI,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?P(it,{h:".5rem",w:"1px",bg:j("colors-neutral-silverSand"),alignSelf:"center"}):P(Kf,{}),children:[P(cv,{date:t.init}),P(cv,{date:t.end})]}),P(ZR,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),te(eu,{mt:"1rem",justify:"space-between",children:[te(eu,{children:[P(bx,{type:n.icon,progressValue:n.progress}),P(_i,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:n==null?void 0:n.label})]}),(i==null?void 0:i.id)===IL&&(n==null?void 0:n.finalGrade)&&(n==null?void 0:n.finalGrade.length)>0&&P(_o,{size:"sm",bg:n.isApproved?j("colors-alert-jadeGreen"):j("colors-alert-red"),color:j("colors-neutral-white"),children:n==null?void 0:n.finalGrade})]}),r!=null&&(r==null?void 0:r.length)>0&&P(rI,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:j("borders-light"),children:r.map((a,o)=>{var l;return te(nI,{display:"flex",children:[P(bx,{type:a.icon}),P(it,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?P(QR,{isExternal:!0,href:a.href,color:j("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):P(_i,{m:"0",color:j("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}Sx.displayName="Section";const D={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},xx={noHabilitado:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:L(R({},D),{id:3,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:L(R({},D),{id:5,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!0}),information:[],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:L(R({},D),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{enabled:!1}),labels:[]}),noDisponible3:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.progress),{label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"}),dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{enabled:!1}),labels:[]}),activado:L(R({},D),{id:8,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:5,name:"disponible"}),progress:L(R({},D.progress),{label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:L(R({},D),{id:9,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:L(R({},D),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:L(R({},D),{id:11,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.progress),{label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:L(R({},D),{id:13,hasFinanzeFreezed:!0,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:L(R({},D.progress),{label:"Has completado un 25% de tu curso",icon:"progress",progress:25}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:L(R({},D),{id:14,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:L(R({},D.progress),{label:"Has completado un 100% de tu curso",icon:"progress",progress:100}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:8,name:"pendiente"}),progress:L(R({},D.progress),{label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"}),dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado:L(R({},D),{id:16,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.progress),{label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:L(R({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.progress),{label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:L(R({},D),{id:18,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:9,name:"terminado"}),progress:L(R({},D.progress),{label:"Curso finalizado",icon:"circularCheck"}),dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ir a mi curso"}),labels:[]})},LL=Object.keys(xx).map(e=>xx[e]),wx=4,fv=(e,t=wx)=>e||t!==wx;function BL(e=4){const t=e*Tx+kx*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function zL({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return P(sL,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(P(o,{}));return w.useEffect(()=>{n&&s(P(o,{}))},[n]),te(av,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,te(oL,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[te(uL,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[P(XS,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),P(dL,{size:"md",color:j("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),P(cL,{p:"1rem 2rem 2rem 2rem",children:P(_i,{align:"center",children:i.body})}),P(fL,{justifyContent:"center",borderTop:"1px solid",borderTopColor:j("colors-neutral-platinum"),p:"1rem",children:P(Ip,{onClick:r,color:j("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}av.displayName="Modal";function Cx({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(vu),{isOpen:i,onOpen:a,onClose:o}=P2(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:te(nS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:j("colors-neutral-platinum"),children:[fv(t.enabled,r==null?void 0:r.id)?te(Kf,{children:[n?P(it,{color:j("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):P(_i,{color:j("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&P(ZS,{color:j("colors-main-deepSkyBlue")})]}):P(_i,{fontWeight:"500",lineHeight:"1.172rem",color:j("colors-neutral-spanishGrey"),m:"0",children:t.text}),P(zL,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}Cx.displayName="Footer";const vu=w.createContext({});function DL({enabled:e,children:t}){return e?P(sv,{children:t}):P(Kf,{children:t})}function Ex({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${j("colors-neutral-silverSand")}`};return P(vu.Provider,{value:e,children:P(pI,{as:"article",border:j("borders-light"),borderRadius:j("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:P(DL,{enabled:fv((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:te(eu,{direction:"column",justify:"space-between",h:"100%",children:[te(it,{children:[!e.hasFinanzeFreezed&&fv((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&P(dI,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),P(yx,{}),P(Sx,{})]}),P(Cx,{modalPaymentText:t})]})})})})}Ex.displayName="CourseBox";const kx=1.25,Tx=17.8125;function _x({courses:e,modalPaymentText:t,m:r="0 auto"}){return e===void 0?null:P(it,{display:"grid",gridColumnGap:`${kx}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Tx}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(n=>P(Ex,{data:n,modalPaymentText:t},n.id))})}_x.displayName="CourseList",se.Btn=pu,se.BtnLink=gx,se.BtnPrimary=vx,se.BtnSecondary=hx,se.BtnTertiary=mx,se.CourseList=_x,se.Label=_o,se.Progress=ov,se.Ripples=sv,se.TinyAlert=px,se.dataFake=LL,se.maxWidthCoursesList=BL,se.theme=TL,se.vars=j,Object.defineProperties(se,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
412
412
|
//# sourceMappingURL=eclass-ui-kit.umd.js.map
|